View previous topic :: View next topic |
Author |
Message |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 173
|
Posted: Thu Apr 16, 2020 12:23 pm Post subject: Create cheat engine Lua script that can be opened like exe? |
|
|
Is this possible?
So far i only came accross scripts that are called via hotkeys. By assigning an hotkey to activate the script. Thats nice. But im planning to create many cool scripts. And im afraid they will occupy way too much of my keyboard.
So i was thinking, if it is possible to just create the scripts that can be called as exe files? Or if i can call them in any other way, outside of cheat engine?
Please help me.
Thanks.
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 204
Joined: 25 Jan 2006 Posts: 8577 Location: 127.0.0.1
|
Posted: Thu Apr 16, 2020 3:29 pm Post subject: |
|
|
If you are looking to make useful shortcuts for normal system use, then I'd suggest you look into a different script engine and not use Cheat Engine's Lua stuff just for that. (ie. AutoHotKey, AutoIt, etc.)
If you are looking to do hotkeys for cheating/trainer related things, then you can use CE's Lua engine to do this fairly easily. You can make a bare-bones trainer that is designed to just execute other Lua scripts from disk instead of being bundled inside of the trainer. You can then use those scripts to create/modify the trainer UI as needed to keep growing/expanding things without having to alter/update the base trainer itself.
_________________
- Retired. |
|
Back to top |
|
 |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 173
|
Posted: Fri Apr 17, 2020 1:42 am Post subject: |
|
|
Thanks Atomos.
What i want to do, is to create a script or a trainer that does not need cheat engine installed to execute.
In other words. I want it to be able to run in every pc, just like a trainer.
As for autohotkey. It would be nice if i could simply call a script from Authotkey. Instead of having the cheat engine opened.
So what you are saying is using Cheat engine to get the pointers. And then use Autohotkey to do the rest?
Thanks.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 467
Joined: 09 May 2003 Posts: 25701 Location: The netherlands
|
Posted: Fri Apr 17, 2020 1:46 am Post subject: |
|
|
Put your lua code in the table-lua field and then save your table with the .exe extension. It opens the exe builder.
once done and you run the .exe it will execute the table's lua 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 |
|
 |
|