View previous topic :: View next topic |
Author |
Message |
HotBitz80 How do I cheat? Reputation: 0
Joined: 19 Nov 2016 Posts: 2
|
Posted: Sat Jan 07, 2017 5:06 am Post subject: my Auto-Assemble code not is perfect |
|
|
My code work for enable 100%, but when disable, the code make wrong changes writting next instruction that no want, and not disable the cheat. I no know that is wrong. Can help?
[ENABLE]
alloc(itemsmodscript,2048)
label(itemsmod)
registersymbol(modscan)
aobscan(modscan,8B 45 08 8B 48 0C 2B 4D 0C 89 48 0C B8 01 00 00 00)
modscan+6:
itemsmod:
nop
nop
nop
[DISABLE]
//originalcode:
//mov eax,[ebp+08]
//mov ecx,[eax+0C]
modscan+6:
sub ecx,[ebp+0C]
//mov [eax+0C],ecx
//mov eax,00000001
unregistersymbol(modscan)
dealloc(itemsmodscript)
modscan+6, in disable is correct? or already is +6 and i no need, only put modscan ?
|
|
Back to top |
|
|
ulysse31 Master Cheater Reputation: 2
Joined: 19 Mar 2015 Posts: 324 Location: Paris
|
Posted: Sat Jan 07, 2017 5:58 am Post subject: |
|
|
modscan+6 in disable is correct (it refers to the same address in disable as in enable which i think is what you are asking.
It's also weird that you alloc space that you do not use, but it shouldn't affect the success of your script either way.
|
|
Back to top |
|
|
STN I post too much Reputation: 42
Joined: 09 Nov 2005 Posts: 2672
|
Posted: Sat Jan 07, 2017 6:53 am Post subject: |
|
|
[ENABLE]
aobscan(modscan,8B 45 08 8B 48 0C 2B 4D 0C 89 48 0C B8 01 00 00 00)
registersymbol(modscan)
modscan+6:
nop
nop
nop
[DISABLE]
modscan+6:
sub ecx,[ebp+0C]
unregistersymbol(modscan)
Better
_________________
|
|
Back to top |
|
|
|