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 create a manual user interface in trainers

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
vergilganesh
Expert Cheater
Reputation: 0

Joined: 01 Jul 2013
Posts: 134
Location: India

PostPosted: Fri Jul 12, 2013 2:32 am    Post subject: How to create a manual user interface in trainers Reply with quote

My question is really simple. see the picture?
how do i merge the picture without slicing by the hotkey and description



merge.jpg
 Description:
 Filesize:  324.7 KB
 Viewed:  6804 Time(s)

merge.jpg


Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25296
Location: The netherlands

PostPosted: Fri Jul 12, 2013 3:07 am    Post subject: Reply with quote

You have to get rid of the TCheat objects and use labels yourself that you control manually by code
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
vergilganesh
Expert Cheater
Reputation: 0

Joined: 01 Jul 2013
Posts: 134
Location: India

PostPosted: Fri Jul 12, 2013 3:23 am    Post subject: Reply with quote

I have tried but nothing happened. I want to write hotkeys and effect over the picture not by tearing like the above one. can you please elaborate the things that i should do?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25296
Location: The netherlands

PostPosted: Fri Jul 12, 2013 3:39 am    Post subject: Reply with quote

In the trainer window select unlimited health and press the delete key
Then select unlimited devil and press delete again
Then add a label (Abc) to the form and fiddle with the properties till it looks good, labels are transparent so should look ok

Then write code outside of the trainer block to register hotkey events or click handlers to change the color if you like. If you don't care about that you can just create the trainer.
Tip: generate the trainer script instead of exe so you get an idea what kind of code will work

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
vergilganesh
Expert Cheater
Reputation: 0

Joined: 01 Jul 2013
Posts: 134
Location: India

PostPosted: Fri Jul 12, 2013 4:01 am    Post subject: Reply with quote

yep.,, now the trainer looks awesome. If i want a checkbox that controls the script enable/disable then how will i configure., i found some options in the events tab, i have so many scripts how to configure that particular checkbox to a particular script?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25296
Location: The netherlands

PostPosted: Fri Jul 12, 2013 6:09 am    Post subject: Reply with quote

read main.lua and check examples in the forum

e.g a checkbox onChange event that sets the first entry in the addresslist to the same as the checkbox:
Code:

function CECheckbox1Change(sender)
  getAddressList()[0].Active=sender.Checked;
end


or for a unique description:
Code:

function CECheckbox1Change(sender)
  getAddressList().getMemoryRecordByDescription('Unique Description').Active=sender.Checked;
end

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
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 Lua Scripting 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