Home of Gamehacking - Archiv
The Asskickers (Health, Energy) - Druckversion

+- Home of Gamehacking - Archiv (http://archiv-homeofgamehacking.de)
+-- Forum: Coding (http://archiv-homeofgamehacking.de/forumdisplay.php?fid=15)
+--- Forum: CE Scripts (http://archiv-homeofgamehacking.de/forumdisplay.php?fid=32)
+--- Thema: The Asskickers (Health, Energy) (/showthread.php?tid=436)



The Asskickers (Health, Energy) - Acubra - 05.07.2011

Hey,
hier mal meine Scripts zu "The Asskickers".
Nichts besonderes :rolleyes:

Energy:
[code=asm]
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
mov eax, [ecx+42C] //max energy in eax

originalcode:
mov [ecx+00000444],eax

exit:
jmp returnhere

"TheAsskickers.exe"+23F0E4:
jmp newmem
nop
returnhere:
[/code]

Health:
[code=asm]
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
pushfd //save flags
cmp [eax+444], 0 //player
je originalcode
mov [eax+43C], #999


originalcode:
popfd //load flags
mov eax,[eax+0000043C]

exit:
jmp returnhere

"TheAsskickers.exe"+23EC27:
jmp newmem
nop
returnhere:
[/code]