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 


Is this Lua thing like an API?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Starless
Newbie cheater
Reputation: 0

Joined: 31 Oct 2016
Posts: 21

PostPosted: Mon May 08, 2017 7:51 pm    Post subject: Is this Lua thing like an API? Reply with quote

I wanted to build a cheat on top of cheat engine, a small window with buttons to press to do stuff, instead of having to edit things in the tables. Is this what Lua scripting is? If yes, can somebody give me a few tips? If not, is it possible to create an API such as this? Just like: "change value of X to Y", stuff like that.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 135

Joined: 25 Jan 2006
Posts: 7125
Location: 127.0.0.1

PostPosted: Tue May 09, 2017 1:25 am    Post subject: Reply with quote

Lua can do what you mentioned but no that is not "what it is". Lua is a scripting language that can be embedded into other applications (in this case, Cheat Engine) and extended to work with your own custom functionality and so on, such as what CE does with it. You can use the trainer generator thats built into CE and combine it with a Lua script to create a simple trainer. Check this section for various examples.

Also inside of the main Cheat Engine folder, you should find main.lua, this has all the exposed functions that are custom to Cheat Engine for Lua.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Starless
Newbie cheater
Reputation: 0

Joined: 31 Oct 2016
Posts: 21

PostPosted: Tue May 09, 2017 8:32 am    Post subject: Reply with quote

I will, thank you!
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 Lua Scripting 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