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 ith making gui

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

Joined: 18 Mar 2009
Posts: 110

PostPosted: Mon Feb 24, 2020 12:10 pm    Post subject: Need help ith making gui Reply with quote

Hi!

Whats the easiest way to make simple GUI trainer that does nothing?

My steps:
1) Table -> create form
2) File -> generate generic trainer from lua script form table.
3) click Generate trainer

And then I get
Code:
Failure loading the trainer. Reason :This is not a valid cheat table (Error executing this table's lua script: [string "function FormClick(sender)
..."]:3: syntax error near 'end')


Why does this happen? I mean I have not changed manually any code, so why does it generate code that has errors in it?


Also why is the form editor so limited and allow me to only edit specific events such as onclick for example? Why doesnt it allow me to edit entire code?


From CE wiki I can see that lua has all kinds of nice functions like read/write for every possible data type, open process and so on.

How do I make a simple GUI that:
1) has combobox with predefined values.
2) has button that says Apply
3) opens process "name.exe"
5) reads from opened process pAddress +offset
6) selects from combobox element that matches the value from memory.
7) when user clicks apply writes value from combobox to pAddress +offset.

I figured that when I go to tools -> Auto assemle and leave everything empty acd click ececute and then generate trainer again then it does generate working trainer, but the trainer comes with default GUI and not the one that I designed.


Also why does the generated frm file look so crypti when opened with Notepad++c?
Code:
<?xml version="1.0" encoding="utf-8"?>
<FormData>
  <UDF1 Class="TCEForm" Encoding="Ascii85">,rz-X5E9@Kz#ii4;Xu*W%M$A1X2^{]npVPW$.jrBnwg$a!u*{OIV8V.DU;xlGo;Vh+?2PWIkBK5Ge3[FtenR:Co=s#1g?AH!iOnl-}pN*lAoTQlj?XT!GpwxSj3bLwTDR?Y;hR/8m1[=Ehu[8LK2hwi(9dHn1D]a000</UDF1>
</FormData>
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