masterit146 How do I cheat? Reputation: 0
Joined: 10 Jul 2013 Posts: 3 Location: Viet Nam
|
Posted: Fri Sep 27, 2013 3:46 am Post subject: Help me insert script Cheat Engine ! |
|
|
i have a source code onehit kill game Counter Strike. But, when i insert in Cheat Engine and enable, my computer will be crash, before restart. My friend say : Cheat Engine and Visual Basic 6.0 have a link. Please help me insert this code to Cheat Engine. Thanks you !
Code: |
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
alloc(newmem1,2048) //2kb should be enough
alloc(newmem2,8) //8bytes should be enough
label(returnhere)
label(originalcode)
label(exit)
label(exit1)
label(onehit)
registersymbol(onehit)
aobscan(onehitaob,d9 98 60 01 00 00 00 00 00 00 00 00 00)
onehitaob:
onehit:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
pushfd
cmp [eax+00000000],0
jne newmem1
popfd
fstp dword ptr [eax+00000000]
exit:
jmp returnhere
newmem1: //this is allocated memory, you have read,write,execute access
//place your code here
popfd
push ecx
mov [newmem2],(float)0
mov ecx,newmem2
fld [ecx]
fstp dword ptr [eax+00000000]
fstp [ecx]
pop ecx
exit1:
jmp returnhere
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
dealloc(newmem1)
dealloc(newmem2)
onehit:
fstp dword ptr [eax+00000000]
//Alt: db D9 98 60 01 00 00
unregistersymbol(onehit) |
|
|