I have run into some problems with scripts and AOB's.
In the game that i want to cheat in, I have found the section where all the adresses are stored.
I cannot find a reliable AOB array in the vicinity there.
I found however the instruction that changes shield in this example.
I made a script that stops it from ever going down.
Now my question, is it possible to use that instruction to give me pointer that always points to the shield value ?
Here the code:
Code: Select all
[ENABLE]
aobscan(tits_shield,41 89 48 5? 48 8B 8D 48 FF FF FF)
alloc(newmem,$100)
label(code)
label(return)
newmem:
code:
mov [r8+58],ecx
mov rcx,[rbp-000000B8]
jmp return
tits_shield:
db 90 90 90 90
return:
registersymbol(tits_shield)
[DISABLE]
tits_shield:
db 41 89 48 58 48 8B 8D 48 FF FF FF
unregistersymbol(tits_shield)
dealloc(newmem)
The [r8+58] part points to the shield value.
Is it possible to assign it a register somehow, so I can build a table around it ?
Thanks in advance :)