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 to change the default line space when we make trainer?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
cancandodo
Advanced Cheater
Reputation: 0

Joined: 09 Mar 2012
Posts: 70

PostPosted: Sun Feb 03, 2019 4:56 pm    Post subject: how to change the default line space when we make trainer? Reply with quote

when use the "Generate generic trainer lua srcipt from table " button,
it will creat a auto hotkey function panel

but the defaul line space is 38
how to change the defaul line spae?



2019-02-04_064830.jpg
 Description:
 Filesize:  180.32 KB
 Viewed:  2503 Time(s)

2019-02-04_064830.jpg


Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Sun Feb 03, 2019 5:31 pm    Post subject: Reply with quote

"design userinterface manually"
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
cancandodo
Advanced Cheater
Reputation: 0

Joined: 09 Mar 2012
Posts: 70

PostPosted: Sun Feb 03, 2019 5:59 pm    Post subject: Reply with quote

OldCheatEngineUser wrote:
"design userinterface manually"


i know ,but it is too much trouble
i have 20 hotkey, everytime refresh my trainer,i need to change top manually 20times
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Sun Feb 03, 2019 8:12 pm    Post subject: Reply with quote

1. Generate generic trainer
2. Design userinterface manually
3. 1st save as CT file
4. Open that saved CT file
5. Edit trainer form there
6. 2nd save with all permanent trainer interface (save should be CETRAINER, EXE or CT file)
7. Done

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sun Feb 03, 2019 10:27 pm    Post subject: Reply with quote

1. click "generate generic trainer"
2. type process name
3. select output "script only"
4. click generate
5. close "lua script" and "trainer generator" window
6. save as CT file (better with different name), just click save icon. You can open this file when something goes wrong.

7. now, click menu Table->CETrainer->Edit , "Form Designer" will show up


8. in Lua Engine (CTRL+SHIFT+ALT+L in main CE window) execute this script:

Code:
start=30
space=25
for i=0,200 do
  local tcheat=CETrainer['CHEAT'..i]
  if tcheat~=nil then
    tcheat.Top = start+i*space
  end
end


you can play with start and space variables and execute above script multiple times.




9. close "Form Designer"
10. save as CT file


11. Now you can do whatever you want, save as EXE(Gigantic/Tiny), CETRAINER (protected or not)

_________________
Back to top
View user's profile Send private message MSN Messenger
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