Does anyone know how to convert X and Y positions that are reported by for example the "GetPlayerMapPosition("player")" function into the ones returned by reading the WoW process' memory?
I'm not really good at the math stuff, but what I've found out so far is that for example 22.38,46.14 and 24.05,50.07 in-game are the coordinates for -1241,-1672 and -1335,-1733 in memory (As reported by WoWrobot). Calculating the length between gives a distance of ~4.27 in-game and ~112.05 in memory. So some kind of formula should do it... I'm sure it already exists, but I can't find it.
Could anyone help me?