Leopardfist Posted January 12, 2009 Share Posted January 12, 2009 If I know a memory address of a value from a separate process (Game), and I want to write a script that can read this value, and maybe change it, how can I do this? For Example: I use Cheat Engine to find the memory address for a game that measures health, let's say it is 001A03 What I want to do in this instance is simply read that value from my autoit script, to maintain a measure of my health in game. I will not write to this location, but I will want to write to others if possible, so if you can leave those instructions as well please do. Thanks for any assistance you can grant . Link to comment Share on other sites More sharing options...
igotandrew Posted January 12, 2009 Share Posted January 12, 2009 Nomadmemory.au3 I believe. Link to comment Share on other sites More sharing options...
Fend Posted January 12, 2009 Share Posted January 12, 2009 #include <NomadMemory.au3> $ID=_MemoryOpen(ProcessExists("yourgame.exe")) $Address=0x1F35CFB8;;the address your are looking to read $Res = _MemoryRead($Address,$ID) MsgBox(0,"My value",$Res) _MemoryClose($ID) I like cookies? Link to comment Share on other sites More sharing options...
Leopardfist Posted January 13, 2009 Author Share Posted January 13, 2009 Where do I get nomadmemory.au3 from? I do not see anything about it in my help file, and I searched my harddrive for it and cannot find it. Do I need to download it? Link to comment Share on other sites More sharing options...
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