Hi all,
i can't figure it out...
the address is correct, triple checked with CE and should result in Player Name:
0x011ca298, but when i read it, it returns just "0".
char[13] should be ok since max chars allowed is 12
Can someone tell me where exactly is the error? It should just show me my name. I did the same with x,y,z address but i still get "0" as answer.
Code:
#include <Memory_new.au3>
#include <GUIConstants.au3>
#include <File.au3>
#include <math.au3>
SetPrivilege("SetDebugPrivilege", 1)
$ProcessID = ProcessExists('Wow.exe')
$nMsg = GUIGetMsg()
Local $DllInformation = _MemoryOpen($ProcessID)
Local $name
$name = _MemoryRead(0x011ca298, $DllInformation, 'char[13]')
If @error Then
MsgBox(4096, "ERROR", "Failed to read memory.")
Exit
EndIf
_MemoryClose($DllInformation)
msgbox(0,"My name",$name)
Thanks everyone,
M.