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 


Need help with event

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

Joined: 08 Nov 2018
Posts: 4

PostPosted: Sun Dec 09, 2018 10:31 pm    Post subject: Need help with event Reply with quote

Hello I need some help. How can I make a CEPanel into a togglebox? And If I have auto attach process can I automatically cast a cheat whrn I open a trainer? And lastly, how do you make something like Game : Not running and Game : Running? Ty Very Happy
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 41

Joined: 09 Aug 2013
Posts: 1047

PostPosted: Mon Dec 10, 2018 8:38 am    Post subject: Reply with quote

sure, set an on click event handler and change some state variable that's used. It won't look like one of course, but it'd function about the same.

yes you can auto enable a cheat, just find the memrec and set the active property to true in MainForm.onOpenProcess.

have a label start off saying it's not running, using same as above set to running when attached and then create a timer that checks if it can read from the game eg. readInteger(process) or readBytes(process,1) (the first is shorter), if it fails and returns nil then the game is no longer active and you change the label to not running.

_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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