05.07.2011, 02:27
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]
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]
"Auf dieser Welt gibt es mehr Scheisse als auf Festivalklos"