|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
IamNosa How do I cheat? Reputation: 0
Joined: 02 Apr 2021 Posts: 3 Location: dk
|
Posted: Sat Apr 03, 2021 8:11 am Post subject: game crashes when disable trainers |
|
|
unlimited ammo Code: |
[ENABLE]
aobscan(INJECT,8B 87 C4 00 00 00 48 89 87 C4 00 00 00 85 C0) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
mov [edi+000000C4],(float)01
code:
mov eax,[edi+000000C4]
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 8B 87 C4 00 00 00
unregistersymbol(INJECT)
dealloc(newmem)
rapid fire [code]
[ENABLE]
aobscan(INJECT,D9 9F A0 00 00 00 C6) // should be unique
alloc(newmem,$10)
label(code)
label(return)
newmem:
code:
//fstp dword ptr [edi+000000A0]
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db D9 9F A0 00 00 00
unregistersymbol(INJECT)
dealloc(newmem)
no punch cooldown [/code]
[ENABLE]
aobscan(INJECT,D9 9F A0 00 00 00 D9 EE) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
//fstp dword ptr [edi+000000A0]
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db D9 9F A0 00 00 00
unregistersymbol(INJECT)
dealloc(newmem)
no punch dmg, one punch kills |
[ENABLE]
aobscan(INJECT,D95F3083EC0C68xxxxxxxxE8xxxxxxxx83C4100FB605F23Exxxx85C00F84C9000000) // should be unique
alloc(newmem,$10)
label(code)
label(return)
newmem:
add [edi+30],(float)01
code:
fstp dword ptr [edi+30]
//sub esp,0C
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db D9 5F 30 83 EC 0C
unregistersymbol(INJECT)
dealloc(newmem)
_________________
noah santana |
|
Back to top |
|
|
sbryzl Master Cheater Reputation: 6
Joined: 25 Jul 2016 Posts: 252
|
Posted: Sat Apr 03, 2021 10:14 pm Post subject: |
|
|
They all use the same symbol name. This will cause a crash when disabling.
Any time you have a registersymbol in a script it must be a unique name. So you could use INJECT1, INJECT2, INJECT3 ... or some other unique names.
|
|
Back to top |
|
|
IamNosa How do I cheat? Reputation: 0
Joined: 02 Apr 2021 Posts: 3 Location: dk
|
Posted: Sun Apr 04, 2021 6:48 am Post subject: |
|
|
sbryzl wrote: | They all use the same symbol name. This will cause a crash when disabling.
Any time you have a registersymbol in a script it must be a unique name. So you could use INJECT1, INJECT2, INJECT3 ... or some other unique names. |
omg thank u ur a genius
_________________
noah santana |
|
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
|
|