Jump to content

Recommended Posts

Posted

Hello,

I'm trying to convert Wowhead coordinates (XY) in the coordinates used in the game (XYZ) , but not exactly how to do, try three rules to get the equivalence but do not add up, I have an error of more than 30%, quite high.

Is there any formula to make the conversion?

Thanks

PD: I don't know if this thread are good here

Posted

it is impossible to reconstruct 3d coordinates from a 2d projection of them;

assume you have some terrain where you have different possible hight-levels for spawning, for such cases it is impossible to know which hight-level to select for the third coordinate

Posted

Yes, I think about it, the coordinate Z it's the height.

So now my question is how to take the creators of data bases to put the npcs spawns, make by hand 1 to 1, from WDB files or where?

With and coordinate addon, I can go to the exact coordinate and make Wowhead says, but they are too for do 1 to 1, I think.

Thanks

Posted

The DB creators use packet logs to find creature spawn data. It isn't stored in any WDB files, and Wowhead is neither accurate enough or reliable enough.

As for the co-ordinates, there are functions in mangos that you can dig around and find for converting map coords (0-100) into real in-game coords. Map2GameCoords or something like that. Again, no Z coordinate = no height data, so you'd have to find that for a co-ordinate.

Posted

Hello,

Where I can find or extract the logs to make me my own spawns, because If I convert the XY coordinate, the Z coordinate not exist, and it´s a big problem xD.

Maybe with a sniffer?

Posted

What logs do you have that are recording it in map loc data? Every log I've seen has recorded the actual in-game data (i.e. the real XYZ). If you want to make custom spawns, just use the .gps command. Otherwise, you need a better sniffer.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use