i mentioned this about a year or so ago, but didnt get much feedback. at the time i wasnt sure how to even pursue it, but here goes...
this project would be huge... bottom line
we could store every color of the runescape map in an array (perhaps a c++ dll type deal)
first effort: store the approximate coords of every quest symbol relative to an rs map we have, so that if there are quest symbols in the minimap we can get an approximate position, within 3 or so runescape blocks, with that found, we can use the max x, max y, minx, min y, of the minimap in relation to the symbols, and search that portion of the array for the colors surrounding the white square that signifies your position, in order to get an almost exact location.
(maybe saving the colors in the array as a 256 color bitmap would allow for easier and much faster manipulation, plus it would not be very susceptible to the frequent minor color changes
second effort: if there were no quest symbols around, or not enough to pinpoint a position, you use the possible positions based on that symbol and check the positions of relatively large amounts of color, in relation to the center of the minimap (since the colore has been degraded to 256 colors it would be easier to pinpoint... maybe
to be honest, if written well it might take about 25 seconds on a good machine (quite possibly longer) to get a position if it had to go to the second step, but if it was in c++ with 256 colors, it would minimize the cpu cycles and it could be used as a last stitch effort for a script that maybe has to walk a very long distance
i think it could be done.... what do you all think?


Reply With Quote












