Questionning about Lua scripts.

Shizuma

Shizuma

Expert Cheater
Joined
Jun 8, 2017
Messages
55
Hello people of the cheats!

I want to try to do a table with elegent lua code like you.
And to understand and feel how that work y have some questions about LUA code/script, like what is the greatest differences with AOB table .

It's Lua more stable/less crash, more efficient, less cpu usage?
It is used only on pointers, or that a convention to use/change more pointer than code?
Why there are so much jmp in AOB and so less in LUA?
Can i post an existing lua script to ask questions?
 
P

predprey

Expert Cheater
Fearless Donors
Joined
Mar 2, 2017
Messages
181
Shizuma said:
Hello people of the cheats!

I want to try to do a table with elegent lua code like you.
And to understand and feel how that work y have some questions about LUA code/script, like what is the greatest differences with AOB table .

It's Lua more stable/less crash, more efficient, less cpu usage?
It is used only on pointers, or that a convention to use/change more pointer than code?
Why there are so much jmp in AOB and so less in LUA?
Can i post an existing lua script to ask questions?
The greatest difference is a Lua script is not a substitute for an AA script but a complement to it for when an AA script isn’t enough to do what we want e.g. reading values ingame to populate a dropdown list for the table. In such cases we embed a Lua script in the AA script after the {$lua} tag. The AA script then starts after the {$asm} tag.
 
SunBeam

SunBeam

Administrator
Staff member
Administrator
Joined
Feb 4, 2018
Messages
3,492
Lua coding in CE allows a high-level-programming-like feel :p While some things can be done simpler and more elegant, others may prove difficult (like inter-twining ASM and Lua). You should start with the celua.txt file found in CE folder ;) You got all you need there; else, CEF (cheatengine.org > Forums) is full of examples.
 
Shizuma

Shizuma

Expert Cheater
Joined
Jun 8, 2017
Messages
55
Thanks SunBeam for your precious advise :p
 
Top