paindubreak Newbie cheater Reputation: 0
Joined: 06 Jan 2023 Posts: 11
|
Posted: Thu Mar 21, 2024 8:34 am Post subject: Script not working one aob scans but multiples value to take |
|
|
I just want testacde2 to take the address with a value of 300 and testacde3 to take the address with a value of 600. When I launch my script, my game crashes. Knowing that there are several other values that I need to find, there is many value in one opcode.
Code: |
[ENABLE]
aobscanmodule(testacde,godfather2.exe,D9 86 50 01 00 00 33) // should be unique
alloc(newmem,$1000)
alloc(newmem2,$1000)
label(code)
label(return)
label(testacde2)
label(testacde3)
newmem:
cmp [esi+00000150],(float)300
jne code
mov [testacde2],esi
add [testacde2],00000150
newmem2:
cmp [esi+00000150],(float)600
jne code
mov [testacde3],esi
add [testacde3],00000150
code:
fld dword ptr [esi+00000150]
jmp return
testacde2:
dd 0
testacde3:
dd 0
testacde:
jmp newmem
nop
return:
registersymbol(testacde)
registersymbol(testacde2)
registersymbol(testacde3)
[DISABLE]
testacde:
db D9 86 50 01 00 00
unregistersymbol(testacde3)
unregistersymbol(testacde2)
unregistersymbol(testacde)
dealloc(newmem)
dealloc(newmem2)
|
|
|