rain-13 Expert Cheater
Reputation: 0
Joined: 18 Mar 2009 Posts: 110
|
Posted: Mon Feb 24, 2020 12:10 pm Post subject: Need help ith making gui |
|
|
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>
|
|
|