HELP!!! I can't toggle script after restarting game
Posted: Wed Oct 17, 2018 3:21 pm
Hi.
I recently did a script for Salt and Sanctuary for infinite health and one hit kill using code injection and comparison. When I close the game and restart, the script doesn't work. I've done similar scripts using the Code Injection template and I've not had any issues with them. Any help will be greatly appreciated. Thanks
The script
I recently did a script for Salt and Sanctuary for infinite health and one hit kill using code injection and comparison. When I close the game and restart, the script doesn't work. I've done similar scripts using the Code Injection template and I've not had any issues with them. Any help will be greatly appreciated. Thanks
The script
Code: Select all
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem:
cmp [edx+68],0
jne originalcode
nop
nop
nop
jmp exit
originalcode:
fstp dword ptr [edx+60]
mov [edx+60],00
fldz
exit:
jmp returnhere
ProjectTower.character.update.CharUpdate::ReduceHealth+17:
jmp newmem
returnhere:
[DISABLE]
dealloc(newmem)
ProjectTower.character.update.CharUpdate::ReduceHealth+17:
fstp dword ptr [edx+60]
fldz
//Alt: db D9 5A 60 D9 EE