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 


How can I get the script of a trainer?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Stacktrace
Expert Cheater
Reputation: 1

Joined: 04 Jul 2015
Posts: 105

PostPosted: Sat Jul 23, 2016 9:27 am    Post subject: How can I get the script of a trainer? Reply with quote

Hi, I'm scratching my head over here while wondering how I'm gonna get the actual code of the trainer menu let's use this as an example:
https://gyazo.com/42d740b431bf4e2671a4582d5a84dc57

So I can open a fresh Cheat Engine, go to Lua Engine and paste in a long script which will create a trainer with the exact same button positions and everything shown in the picture... Literally it's code.

Thanks1`!
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Sat Jul 23, 2016 9:34 am    Post subject: Reply with quote

Create a trainer using trainer generator

Table>Show Cheat table lua script

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Stacktrace
Expert Cheater
Reputation: 1

Joined: 04 Jul 2015
Posts: 105

PostPosted: Sat Jul 23, 2016 10:27 am    Post subject: Reply with quote

STN wrote:
Create a trainer using trainer generator

Table>Show Cheat table lua script


Yeah that's exactly what I did.. I got a code that looks like this
https://gyazo.com/336eb315950c28ac82bef105699ac615

which obviously isn't the actual source of the whole trainer layout w/e itself.. I might just be stupid here and i'm sorry if I am haha

Subscribed to your YouTube channel by the way :- )
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4725

PostPosted: Sat Jul 23, 2016 11:17 am    Post subject: Reply with quote

When you create a form with the trainer generator or the form designer, it's not writing Lua code to create the items. CE is just creating the items itself.

You can loop through all the components of a form and get whatever information you want to pull from them (i.e. position, size, borders, constraints, anchors, etc.).

_________________
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