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 


Pause in Trainer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
User100
Newbie cheater
Reputation: 0

Joined: 10 Nov 2018
Posts: 14

PostPosted: Sat Jun 24, 2023 6:53 am    Post subject: Pause in Trainer Reply with quote

How would I use the pause function in a generated, stand-alone trainer?
I have assigned it to a hotkey in my setup, but if I wanted to create one in the trainer's exe, what would be the process?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4724

PostPosted: Sat Jun 24, 2023 10:07 am    Post subject: Reply with quote

Create some UI element and/or a hotkey that calls `pause` and `unpause` as necessary
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
User100
Newbie cheater
Reputation: 0

Joined: 10 Nov 2018
Posts: 14

PostPosted: Tue Jun 27, 2023 7:33 am    Post subject: Reply with quote

Thanks!

Getting the pause itself to work was fairly straightforward.
Integrating it with the automatically generated cheat options was a bit more of a challenge, but I did finally figure it out.

But when doing that I noticed that the form data seems to be stored in encrypted format in the CT file.
Is it possible store this in plain text instead, so one could manually edit it? I searched, but couldn't find an option for that.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4724

PostPosted: Tue Jun 27, 2023 9:05 am    Post subject: Reply with quote

It's probably serialized in some binary format, not encrypted.

Are you using that automatic trainer maker thing? I think you can edit that manually by going to the "Table" menu in the main window.

Another option for pause/unpause is to make a memory record that calls those functions and have a hotkey control that memory record. AA script:
Code:
{$lua}
if syntaxcheck then return end
[ENABLE]
pause()
[DISABLE]
unpause()

If you're just making a trainer to release it to the public, strongly consider releasing a table instead.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
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 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