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 


How to make lua library, post on github, and include it?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
edisecrinorthi
How do I cheat?
Reputation: 0

Joined: 24 Dec 2018
Posts: 4

PostPosted: Mon Dec 24, 2018 9:25 pm    Post subject: How to make lua library, post on github, and include it? Reply with quote

Is it possible to write a lua library, post it on github or some other external source, and somehow include it my trainer?

I saw some cheat tables that have a lua script at the bottom of their cheat table which defines functions and then calls those functions from other cheats. I'd like different cheat tables for different games include the same library helper functions, that way when it's updated, it will be brought to all my cheat tables.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 146

Joined: 25 Jan 2006
Posts: 7571
Location: 127.0.0.1

PostPosted: Tue Dec 25, 2018 12:07 am    Post subject: Reply with quote

Use LuaSocket to download the script locally and run it within the Lua engine.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
edisecrinorthi
How do I cheat?
Reputation: 0

Joined: 24 Dec 2018
Posts: 4

PostPosted: Sun Dec 30, 2018 7:34 pm    Post subject: Reply with quote

I couldn't get LuaSocket to work but I was able to use the getInternet function to retrieve a file's contents and then write the file locally.
Back to top
View user's profile Send private message
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