yea, i think i still have the source code on my computer, i have to look thought i lsot some of my programs i wrote when my hard drive died.
Edit: i found the forumla i worked out for this, here it is.
Code:
(LOC_0x + LOC_x)
MAP_x = ---------------- + Map_0x - (IconW / 2)
wdpp_x
MAP_x = x coordiante on the map for the icon.
LOC_0x = the first x number in the zonerect
Map_0x = 0 (i can explain if you want but just know that this is always 0)
IconW = Icons width
MAP_1x = the width of the map (its 436)
Map_1y = 506
LOC_1x = the second x number in the zonerect
wdpp_x = (LOC_1x - LOC_0x) / MAP_1x
Repeat this forumula for y as well so you have both the x and y coordiantes.