AtheistCrusader Grandmaster Cheater Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Thu Jan 18, 2007 10:12 am Post subject: |
|
|
but when i use this script then it wont work in trainer
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
010036FA:
jmp newmem
nop
nop
nop
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov byte ptr [eax],8a
originalcode:
//or byte ptr [eax],80
dec [01005330]
exit:
jmp returnhere
alloc(newmem1,2048) //2kb should be enough
label(returnhere1)
label(originalcode1)
label(exit1)
010036fa:
jmp newmem1
nop
nop
nop
nop
returnhere1:
newmem1: //this is allocated memory, you have read,write,execute access
//place your code here
mov byte ptr [eax],8E
originalcode1:
or byte ptr [eax],80
dec [01005330]
exit1:
jmp returnhere1
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
|
|