Lua is a script language that is embedded in larger programs like CE. You can use it to do most commands you can also do with CE, but a lot quicker. You can also use it to make messages appear, to force a keypress, set the speedhack to a certain speed, or to close CE.
Important commands in lua are:
|AutoAssemble||runs commands in the autoassembler|
|speedhack_setspeed||Sets the speedhack to a certain speed|
|Readbytes/writebytes||Reads/writes a numbers of bytes to a certain adress|
Lua also has a lot of commands that aren't too usefull, but have fun effects. A few of them are listed below
|showMessage||Shows a message with the entered text|
|beep||plays a beeping sound|
|supportCheatEngine||Opens an advertising window|
|fuckCheatEngine||Closes the advertising window|
How to use the autoAssemble command:
The most used format is:
autoAssemble([[aobscan(labelyourcheat, array of bytes here)
db array of bytes to change to)labelyourcheat:
db array of bytes to change to]])
For more Information visit:
If you want to see Lua being used check out the game Minetest, which uses Lua for its mods.
When you find an assembly code that you want to nop out or change without having to search for it again, you must open up lua table and use the format above, write down a bunch of bytes from the assembly code with spaces in between starting at the opcode you want to change the more the better.
Question marks are wildcards, you may have to use them if the game uses DMA. In the autoassembler, change the opcode you're changing to whatever you want to change it to, write the new bytes at "db array of bytes" to change it. The next time you play the game, run the lua table. You may have to repeat the action you did to manually find the cheat, but just once this time. And you can add as many of these as you want, and build up a lua table for ur game.