SHARE
TWEET

Read Position

a guest Jul 16th, 2010 333 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <NomadMemory.au3>
  2. $vBase = 10437900
  3. $vBaseOffset = 32
  4. $vXOffset = 60
  5. $vZOffset = 64
  6. $vYOffset = 68
  7.  
  8. $vOpen = _MemoryOpen(WinGetProcess("[CLASS:ElementClient Window]"))
  9. $vRead = _MemoryRead($vBase, $vOpen) + $vBaseOffset
  10. $vX = _MemoryRead(_MemoryRead($vRead,$vOpen) + $vXOffset,$vOpen,"float")
  11. $vZ = _MemoryRead(_MemoryRead($vRead,$vOpen) + $vZOffset,$vOpen,"float")
  12. $vY = _MemoryRead(_MemoryRead($vRead,$vOpen) + $vYOffset,$vOpen,"float")
  13. ConsoleWrite("X: " & Round(($vX+4000)/10,2) & @CRLF & "Z: " & Round($vZ/10,2) & @CRLF & "Y: " & Round(($vY+5500)/10,2) & @CRLF)
  14. _MemoryClose($vOpen)
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top