mildblue How do I cheat?
Reputation: 0
Joined: 22 May 2009 Posts: 9
|
Posted: Sat May 23, 2009 7:27 pm Post subject: what is wrong with this script? >_> |
|
|
i'm currently using the following code, to get from a base pointer to the value, i'm looking for, but the script still throws out different values, then my cheatengine(wich shows them exactly how i want them), can you see any mistakes in it? $1 is the only thing, wich is shown right(as in cheatengine), from $2 on, the returned value is wrong, so i think it has something to do with the offsets...
| Code: | #include <Array.au3>
#include <NomadMemory.au3>
SetPrivilege("SeDebugPrivilege", 1)
$ID=_MemoryOpen(ProcessExists("alefclient.exe"))
$Address = 9023416
$OFFSET1 = 1188
$OFFSET2 = 92
$OFFSET3 = 36
$OFFSET4 = 116
$OFFSET5 = 1824
$1 = _MemoryRead($Address, $ID)
$2 = _MemoryRead($1 + $OFFSET1, $ID)
$3 = _MemoryRead($2 + $OFFSET2, $ID)
$4 = _MemoryRead($3 + $OFFSET3, $ID)
$5 = _MemoryRead($4 + $OFFSET4, $ID)
MsgBox(0,"My value", $5)
_MemoryClose($ID) |
|
|