Jump to content

Recommended Posts

Posted (edited)

Hello mates :D Im new in autoit and then i need som help, i trying to get a value from the memory with pointers, here is the code.

#include <NomadMemory.au3>
 $baseaddr = 0x006a9ec0
 $baseoffset = 768
 $secoffset = 5560

 $pID = WinGetProcess("Plants vs. Zombies","")
 $reading = _MemoryOpen($pID)  

 $addr = _MemoryRead($baseaddr,$reading) + $baseoffset 
 Msgbox(0,"","Addr: " & $addr) 

 $addr2 = _MemoryRead($addr,$reading) + $secoffset 

 Msgbox(0,"","Addr: " & $addr2) msgbox(0,"","Suns: " & _MemoryRead($addr2,$reading))

And here come the pointers.

Posted Image

Thanks for fast answeres :D

Edited by deja

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...