coords getting

03/07/2011 09:43 miss.X#1
Heya, dunno if its right section for this. Does anybody know a way to get all 4 coordinates?

For example: 23602 1225 1447 529

As you can see its not only X and Y.
03/07/2011 10:22 kevin_owner#2
I assume this is something similar to the npcpos.txt

The first value is a short which is the x section and y section. I converted it for my emulator to 2 bytes so you have an x sectiona and y section at this way you can calculate the radar position ingame. the second value is the x pos the thirds value is the z position and the last one the y.

to convert the X position to the x position ingame you need this calculation:

(x - (xSector - 135) * 192) * 10

for the Y position you need this calculation:


(y - (ySector - 92) * 192) * 10

I am still need to calculate a way back to the xsection and ysection so I can't give you those yet.

Is this what you asked for?
03/07/2011 14:15 miss.X#3
yeah something like that :) thanks