acidfear Posted May 10, 2007 Share Posted May 10, 2007 I am starting to work on a simple bot for a game I play (Eudemons if you need to know). It gives you an x,y coordinate on the map. I have been able to find this with Cheat engine. How can I make autoit read those 2 memory allocations and give me back an x,y coordinate? (Cheat engine gives me both hex and exact value) Link to comment Share on other sites More sharing options...
Paulie Posted May 10, 2007 Share Posted May 10, 2007 I am starting to work on a simple bot for a game I play (Eudemons if you need to know). It gives you an x,y coordinate on the map. I have been able to find this with Cheat engine. How can I make autoit read those 2 memory allocations and give me back an x,y coordinate? (Cheat engine gives me both hex and exact value)http://www.autoitscript.com/forum/index.ph...c=19329&hl=Gives much infos Link to comment Share on other sites More sharing options...
acidfear Posted May 11, 2007 Author Share Posted May 11, 2007 Oh yah!! I forgot about that. Thanks a lot!! Link to comment Share on other sites More sharing options...
acidfear Posted May 11, 2007 Author Share Posted May 11, 2007 Ok, I looked around a bit, and whipped up some simple code to try it out. The program runs with no errors, but the value that's being read from memory is gibberish. I think I had the correct value for the memory. At first I tried decimal, and I recieved ones with that. I changed it to what I think the hex was, and now I get some strange text. here's the code: #include <_Mem.au3> HotKeySet("'","_start") HotKeySet("/","_end") while 1 sleep(10) WEnd Func _start() $Process = ProcessExists("soul.exe") If $Process = 0 Then MsgBox(16, "Error", "The process doesn't exists!") Exit EndIf $Address = 0x6DD17C $Handle = _MemOpen($Process) $Value = _MemRead($Handle, $Address) While 1 $data = _MemRead($Handle, $Address) msgbox(0,"",$data) WEnd EndFunc func _end() Exit EndFunc 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