deja Posted August 29, 2009 Posted August 29, 2009 (edited) Hello mates 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.Thanks for fast answeres Edited August 29, 2009 by deja
deja Posted August 29, 2009 Author Posted August 29, 2009 Problem solved, needed to add 0x before the offsets
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now