Posted: Mon Nov 08, 2021 3:22 pm Post subject: Yo I'm wondering something
Hi guys, I'm new to this stuff. I wanna know how Lua works on Cheat Engine like do you need to know Lua to start learning the CE Lua version or can you just straight up learn CE Lua. I'm also wondering where I can learn the very, very basics since I'm new. Thanks you all
They're pretty much the same. See celua.txt for commands that you can use. If you haven't started with the CE tutorial already, I would recommend that as a basis.
Posted: Tue Nov 09, 2021 5:41 am Post subject: Re: Yo I'm wondering something
Aimlessly wrote:
I wanna know how Lua works on Cheat Engine
I'd recommend you check the CE source code.
There is not clearer description than that to understand how it works on CE.
If you want to learn about LUA (as opposed to how it works in CE).
There are people who learn by reading smart things others have already written.
There are people who learn by starting entering LUA code and see what comes back, then use a reference manual to correct things that don't work.
I'd recommend a healthy combination of the two.
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
Posted: Tue Nov 09, 2021 9:19 pm Post subject:
Lua is an embedded language, meaning the application that embeds and implements it can extend it and add its own objects, calls, etc. to the language. In most cases, there are no actual syntax changes made when something embeds Lua and exposes it to be used. Thus, learning the base language is definitely ideal and worth while.
(Look for the Lua*.pas files for each file that contains usages of exposing functionality to Lua. CE also uses Lua for other parts such as some interpreter stuff, debugging, etc. which you can find in the various other source files.) _________________
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