WoW Memory EditingWoW Memory Editing for learning purposes only.
This section is more advanced than others on MMOwnedRead the section specific rules, infractions will be given out if u break them!That is including the expectations! - If you don't meet them then don't post
hello, is there anyone thats been working on a system to auto receive info about nodes trough databases provided like gatherer/cartographer.
the point is that the positions those addons use are most likely relative to the continent(zone) the object is in, as shown below. i THINK these coords are retrieved with a function like getPlayerMapPostition(obviously not the same function)
0.294 [x]
0.714 [y]
local posX, posY = GetPlayerMapPosition("player");
this returns somehow the same ''zone-relative'' coords(0.4332, 0.6936).
The thing is that im trying to get from these relative positions to worldspace positions as in the image below, i used the zone information to produce any kind of formula to do this, but it seems that im kinda stuck.
is there anyone that has tried something like this before, or knows a way to get from zonespace to worldspace?
[Only registered and activated users can see links. ]
You do realize, that the zones are specified to be between two coordinates in the WorldMapArea.dbc, or?
[Only registered and activated users can see links. ]
Enough?
if you read into my post you see that i posted the zone info coords, so ofcourse i do realize that the zones are between 2 coordinates in the worldmap(doh...?)
but that doesnt have much to do with my main question.
how to get from relative zone coords back to worldspace....
-------------------------------------------------------------------
search and u will find, that sounds real spectacular, but really wth is this for useless info
is there anyone who has encountered this problem. Or that has already done research on this topic...?????
if you read into my post you see that i posted the zone info coords, so ofcourse i do realize that the zones are between 2 coordinates in the worldmap(doh...?)
but that doesnt have much to do with my main question.
how to get from relative zone coords back to worldspace....
-------------------------------------------------------------------
search and u will find, that sounds real spectacular, but really wth is this for useless info
is there anyone who has encountered this problem. Or that has already done research on this topic...?????
Uhm .. Yah?
Take your coordinate, say [0.2;0.5]. You know from WorldMapArea.dbc, that your current map is from [123734.122;723.2] to [163262.162;836.25]. So now, you get the math started..
I hope, you realize that my post was everything you need. I was just amazed by the work you did for getting all those values as they are just listed in the DBC. And are exactely what you need.
Take your coordinate, say [0.2;0.5]. You know from WorldMapArea.dbc, that your current map is from [123734.122;723.2] to [163262.162;836.25]. So now, you get the math started..
I hope, you realize that my post was everything you need. I was just amazed by the work you did for getting all those values as they are just listed in the DBC. And are exactely what you need.
really, why is everyone influenced by others swearing on this forums, whats the use as im just trying to improve(bah)??
anyway, i didnt do that much work to get the values, as i just took them from the data file as you stated above. i just tried to see the logic between them so i wrote them on a screen.
tnx anyway , ill try what u said and will see if thats what i meant.
Last edited by felixdekat; 07-23-2009 at 06:15 PM.