Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Please help me ! Thanks !

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
masterit146
How do I cheat?
Reputation: 0

Joined: 10 Jul 2013
Posts: 3
Location: Viet Nam

PostPosted: Tue Sep 10, 2013 7:17 pm    Post subject: Please help me ! Thanks ! Reply with quote

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)
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites