greko2009 Posted July 10, 2010 Posted July 10, 2010 After reading this very nice post about memory reading ( http://www.autoitscript.com/forum/index.php?showtopic=55095 ) I have a question. Used Cheat Engine to find the pointer to the score variable and it returned: ;pinball + 25040 (offset 52) ;pinball + 25658 (offset 52) ;points to 00A90C62 Thus I somehow have to put this inside my code by translating "pinball" to some memory address. How do I do that with autoit? Here is my first attempt to mess with windows pinball which successfully changes the score to 12345678. #include "NomadMemory.au3"; Global $Game_ID=WinGetProcess("3D Pinball for Windows - Space Cadet") ;Score address is: 00A90C62 $Address=0x00A90C62 $result = _MemoryOpen($Game_ID) $CurrentScore=_MemoryRead($Address,$result) MsgBox(0,"Current score",$CurrentScore) _MemoryWrite($Address,$result,12345678) _MemoryClose($result) Thanks
JohnOne Posted July 10, 2010 Posted July 10, 2010 Read this http://www.autoitscript.com/forum/index.php?showtopic=78834 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
greko2009 Posted July 11, 2010 Author Posted July 11, 2010 Thanks a 1000, exactly what I was looking for but was too dumb to properly search for it.
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