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 


Create cheat engine Lua script that can be opened like exe?

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

Joined: 10 Apr 2020
Posts: 172

PostPosted: Thu Apr 16, 2020 12:23 pm    Post subject: Create cheat engine Lua script that can be opened like exe? Reply with quote

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.

Wink
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Thu Apr 16, 2020 3:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 172

PostPosted: Fri Apr 17, 2020 1:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Fri Apr 17, 2020 1:46 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
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