View previous topic :: View next topic |
Author |
Message |
Tyilo Newbie cheater Reputation: 0
Joined: 06 Nov 2012 Posts: 13
|
Posted: Mon Dec 03, 2012 8:23 pm Post subject: Make a trainer EXE from Lua-script with UI build from Lua |
|
|
I have created a trainer in Lua and I would like to know if it is possible to make this into a standalone EXE-file.
It generates the UI with code.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Tue Dec 04, 2012 2:27 am Post subject: |
|
|
If your script sets up the gui when executed and shows it as well, then just click the save button, and save as an .exe
That will open a dialog asking if you wish to add in extra files, and then generate the .exe
_________________
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 |
|
|
Tyilo Newbie cheater Reputation: 0
Joined: 06 Nov 2012 Posts: 13
|
Posted: Tue Dec 04, 2012 8:36 am Post subject: |
|
|
Where should I paste the lua code?
Edit:
OK, I think I found out where, however how do I can I do so the user of the trainer can choose which process to inject into?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Tue Dec 04, 2012 11:00 am Post subject: |
|
|
You can show a window with a listbox filled with the results of getProcessList, or just find and open the process yourself. Or add the process to the autoattach stringlist so ce opens it when it sees it
You can look at the example lua code ce generates when you do file->create generic trainerscipt from table and then generate a trainerscript there. The code it generates adds the target process to the auto attach list
_________________
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 |
|
|
|