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 


Auto assembler scripts in trainers
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> Auto Assembler tutorials
View previous topic :: View next topic  
Author Message
Kenji2007
Cheater
Reputation: 0

Joined: 26 Sep 2006
Posts: 33

PostPosted: Sun Oct 08, 2006 8:40 pm    Post subject: Reply with quote

Can someone explain this - I noticed DB trainer was activated on Contol B. Also noticed it is able to toggel between red and black. How do I go about doing it that way ?
Back to top
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Thu Jan 18, 2007 10:12 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> Auto Assembler tutorials All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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