BTW those are dynamic memory addresses, when u restart conquer and run it again, they will no longer be at the same address.
(The memory addresses obtained from IAmHawtness's thread "Lets talk about the new changes")
$ID=_MemoryOpen(ProcessExists("conquer.exe"))
$PlayerBase = _MemoryRead(0x0064FF48, $ID)
$X=0x0298
$Y=0x029C
$CurrentX=_MemoryRead($PlayerBase + $X, $ID)
$CurrentY=_MemoryRead($PlayerBase + $Y, $ID)
The HP value will always change too, but i dont know an easy way to obtain that using only memory reads.
What it looks like u wanna do is convert map coordinates into mouse coordinates?, so u click in the right spot to jump to the right map coords?
What i would do is from ur player coords calculate the delta to the map coords u wanna move to.
deltaX = mapX - playerX
deltaY = mapY - playerY
And then try and convert those Delta map coordinates into Delta screen coordinates (using the centre of the screen as a reference).
One thing u know is a (0,+a) delta screen coords, causes a (+c,+c) delta map coords AND a (+b,0) delta screen coords, causes a (+d,-d) delta map coordinates... which means its possible to convert from delta screen coords to delta map coords, and what u need to do is convert it backwards (possibly by solving some linear equation).
Let dx be map delta x
Let dy be map delta y
Let mdx be mouse delta x (mouse x minus center x of screen)
Let mdy be mouse delta y (mouse y minus center y of screen)
dx = Q*mdx + R*mdy
dy = Q*mdx - R*mdy
so now take 2 sample datas from conquer in order to solve for Q & R
now after u have solved Q & R u can produce the following matrix formula.
PHP Code:
[ dx ] [ Q R ] [ mdx ]
[ dy ] = [ Q -R ] x [ mdy ]
and solving for the inverse of the following matrix...
u can use the inverse matrix to move from delta map coordinates to delta mouse coordinates and thus find out where u need to click in order to move to a certain map coordinate.
PHP Code:
( [ Q R ] ) [ R R ]
inverse( [ Q -R ] ) = (1 / (2*Q*R)) x [ Q -Q ]
and forgive me if there are any errors... its 4am in the morning xD
Edit: I've done a similar thing b4
The matrix equations might like look a bit crazy... they never seem to line up properly