I have successfully used both of these hacks using CE, but am trying to automate the process.
I only currently know autoit so that's what im using...
This is my code so far, but I get error:26 because I think ReadProcessMemory isnt working. I've been stuck on this for a day or so and would be very happy if someone could point me in the right direction. Thanks!
I only currently know autoit so that's what im using...
Code:
#include <KDMemory.au3>
#AutoIt3Wrapper_UseX64=n
#RequireAdmin
Global $Offset[1] = [0xD0]
HotKeySet ( "{F10}", "Start")
HotKeySet ( "{F11}", "Stop")
$pid = WinGetProcess ("Aura Kingdom Online")
$MemoryOpen = _KDMemory_OpenProcess($pid)
$Address = _KDMemory_GetModuleBaseAddress($MemoryOpen, "game.bin") + 0x749B49D0
MsgBox(0,"Msg", "Memory Opened")
While 1
Sleep(100)
WEnd
Func Start()
While True
If Not @error Then
$Value = _KDMemory_ReadProcessMemory($MemoryOpen, $Address, "DWORD", $Offset)
If @error Then
ToolTip("Can't read memory! @error: " & @error & ", @extended: " & @extended, 0, 0)
Else
ToolTip("Address: " & $memoryData[0] & @CRLF & "Value: " & $memoryData[1], 0, 0)
EndIf
EndIf
WEnd
EndFunc
_MemoryClose($MemoryOpen)
Func Stop()
Exit
EndFunc