mordax Expert Cheater
Reputation: 1
Joined: 16 Apr 2010 Posts: 138
|
Posted: Mon Apr 20, 2015 7:43 pm Post subject: how to read value of register and add into cheat list? |
|
|
hi. title should describe my issue. i need a way to read value of specific register and use it in cheat list.
i usually like to use pointer scans but this game does not seem to have any pointers for this specific cheat so im forced to use instructions or aob, but this way i can only find the breakpoint that writes to the address.
so basically i found points and i want to edit them. works great, but when i restart game. address changes obviously and pointers are dynamic too.
maybe there's easier way?
but right now only thing i can think of is to read register of the breakpoint and add it into cheat list and then edit it.
i looked around on forum and found somebody's post that is similar, so i copied that code and tried to modify to work for me, but it doesn't do anything.
can someone pls look at my code and tell me what i did wrong?
Code: | alloc(newmem,150,"game.exe"+1238090)
alloc(points,10)
label(returnhere)
label(exit)
newmem:
mov [points],rdx
mov [rdx+rcx*8],rax
jmp game.exe+1238090
exit:
jmp returnhere
"game.exe"+1238090:
jmp newmem
nop
nop
nop
nop
returnhere:
|
i got parts of this code from some topic on ce forums where someone tried reading the value of register.
so rdx holds the address for the points and rax holds the value for total points that i have. if i could get value of either, it would be fine. i tried reading both, but fails.
|
|