masterit146 How do I cheat?
Reputation: 0
Joined: 10 Jul 2013 Posts: 3 Location: Viet Nam
|
Posted: Tue Sep 10, 2013 7:17 pm Post subject: Please help me ! Thanks ! |
|
|
Tôi có một đoạn code script của Cheat Engine. ( hack onehit in game Counter Strike 1.6 And Counter Strike 1.5 ) Nhưng tôi không biết làm cách nào để chèn. Một người bạn của tôi nói rằng, giữa cheat engine và visual basic 6.0 có một sự liên kết. Tôi không hiểu về vấn đề này. Tôi đă chèn thử đoạn mă trên vào Cheat Engine nhưng kết quả là bị treo máy. Làm ơn giúp tôi với !
source Code :
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 83 be 3c 01 00 00 06)
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+000000a0],0
jne newmem1
popfd
fstp dword ptr [eax+00000160]
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+00000160]
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+00000160]
//Alt: db D9 98 60 01 00 00
unregistersymbol(onehit)
[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)
|
|
|