View previous topic :: View next topic |
Author |
Message |
mrally2 Cheater
Reputation: 0
Joined: 01 Apr 2020 Posts: 43
|
Posted: Tue Oct 17, 2023 7:38 pm Post subject: Need help developing a trainer from scratch |
|
|
I have a complex cheat table with lots of scripts and addresses. My trainer consists of 5 checkboxes (enable/disable) and 6 "menus" which I have to program in order for the user to set their own hotkeys taking as a basis this script:
https://forum.cheatengine.org/viewtopic.php?t=602091
I tried to do it on my own but provided that I haven’t made a trainer in 3 years and I cannot understand the code from the hotkey script very well, I am currently in front of a huge roadblock.
I get confused since my table doesnt have stuff such as CHEAT0, CHEAT1... and no tcheat either. Plus, I don’t remember how to link the checkboxes with the addresslist items.
TIA.
|
|
Back to top |
|
 |
mrally2 Cheater
Reputation: 0
Joined: 01 Apr 2020 Posts: 43
|
Posted: Wed Oct 18, 2023 11:29 pm Post subject: |
|
|
anyone?
|
|
Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4702
|
Posted: Wed Oct 18, 2023 11:58 pm Post subject: |
|
|
I'd open the form designer and use that to make the GUI for the trainer. Easier than creating each element in Lua. Go to Table -> Create Form and play around with it.
There's plenty of tutorials on the form designer if you want the basics. Experiment with it yourself.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1520
|
Posted: Thu Oct 19, 2023 4:51 am Post subject: |
|
|
If you have time,
I will be at the PC over the weekend and I can provide you with a code to get started.
I want an answer to this detail:
Are your codes to be activated and deactivated in the address list or in the lua script?
(Just a detail. To eliminate extra questions.)
And a note:
To request, Lua or code help, please use the corridor in the link below.
Do not misuse the current corridor, which is reserved solely for CE errors or negative CE behavior.
I hope that the section in the link I provided is where you can get more answers to your questions and opinions about Lua, Gui, Form and similar questions.
https://forum.cheatengine.org/viewforum.php?f=126
This will save moderators the trouble of moving the topic from the wrong section to the correct section.
_________________
|
|
Back to top |
|
 |
mrally2 Cheater
Reputation: 0
Joined: 01 Apr 2020 Posts: 43
|
Posted: Fri Oct 20, 2023 6:14 am Post subject: |
|
|
ParkourPenguin wrote: | I'd open the form designer and use that to make the GUI for the trainer. Easier than creating each element in Lua. Go to Table -> Create Form and play around with it.
There's plenty of tutorials on the form designer if you want the basics. Experiment with it yourself. |
I did years ago but it was just for checkboxes as I only needed to enable/disable scripts.
Now with this hotkey bind thing, is way different.
AylinCE wrote: | If you have time,
I will be at the PC over the weekend and I can provide you with a code to get started. |
That would be awesome, thank you very much.
AylinCE wrote: |
I want an answer to this detail:
Are your codes to be activated and deactivated in the address list or in the lua script?
(Just a detail. To eliminate extra questions.)
|
I am not sure what you are asking here since I only know the basics of ce, lua and asm.
But the keybinds would be for the following:
- To set the value of one address from 1000.0 to 0.0 while it’s pressed
- To enable a script while a key is pressed and disable it when its released
- To toggle a script
- To toggle a script
- To disable a script when pressed (requested) that is enabled when pressing F12 ONLY ONE TIME that is set to be used to enable a lot of necessary scripts at once.
The rest are checkboxes for toggling scripts.
[/quote]
AylinCE wrote: |
And a note:
To request, Lua or code help, please use the corridor in the link below.
Do not misuse the current corridor, which is reserved solely for CE errors or negative CE behavior.
I hope that the section in the link I provided is where you can get more answers to your questions and opinions about Lua, Gui, Form and similar questions.
https://forum.cheatengine.org/viewforum.php?f=126
This will save moderators the trouble of moving the topic from the wrong section to the correct section. |
Oh, my bad. I am not very active in this community. Will have it mind for the next time.
|
|
Back to top |
|
 |
|