 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
rog9001 Expert Cheater
Reputation: 2
Joined: 22 Dec 2015 Posts: 214 Location: Jupiter
|
Posted: Thu Mar 31, 2016 6:16 am Post subject: Need Help |
|
|
Ok so I made a AOB script with the bytes [33 05 6C AD ?? ??] and the last 2 constantly change. so I was wondering is there a way to implement into the script something so it reads the bytes for example the last 2 were [C7 10] and it would read [33 05 6C AD C7 10] so after disabling the script it would declare [33 05 6C AD C7 10] and after restarting the game it would read something like [33 05 6C AD 90 D0] and then after disabling it would db [33 05 6C AD 90 D0]. here is the script:
Code: |
aobscanmodule(INF_HP_KO,DH4.exe,33 05 6C AD ?? ??)
alloc(newmem,$1000)
label(code)
label(return)
newmem:
cmp esi,A
jl code
mov [ebp-20],,453FF000
jmp return
code:
movss xmm0,[ebp-20]
movss [ebp-1C],xmm0
jmp return
INF_HP_KO:
jmp newmem
nop
nop
nop
nop
return:
registersymbol(INF_HP_KO)
[DISABLE]
INF_HP_KO:
db 33 05 6C AD [C1 01] <---- always change
unregistersymbol(INF_HP_KO)
dealloc(newmem)
|
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Mar 31, 2016 7:25 am Post subject: |
|
|
Code: | aobscanmodule(INF_HP_KO,DH4.exe,33 05 6C AD ?? ??)
alloc(newmem,$1000)
label(code)
label(return)
label(saveme)
newmem:
cmp esi,A
jl code
mov [ebp-20],,453FF000
jmp return
code:
movss xmm0,[ebp-20]
movss [ebp-1C],xmm0
jmp return
saveme:
readmem(INF_HP_KO,9)
INF_HP_KO:
jmp newmem
nop
nop
nop
nop
return:
registersymbol(INF_HP_KO)
registersymbol(saveme)
[DISABLE]
INF_HP_KO:
readmem(saveme,9)
unregistersymbol(INF_HP_KO)
unregistersymbol(saveme)
dealloc(newmem) |
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|