Jump to content
Sign in to follow this  
acidfear

Reading Coordinates

Recommended Posts

acidfear

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)

Share this post


Link to post
Share on other sites
Paulie

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

Share this post


Link to post
Share on other sites
acidfear

Oh yah!! I forgot about that. Thanks a lot!!

Share this post


Link to post
Share on other sites
acidfear

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×