My implementation is just using two consecutive calls of executeCodeEx, one for loadstring which adds the handle to the luastate stack, and one for executing the pcall which executes the last handle on the stack. I pause and unpause the game to try and ensure nothing messes with it during the function calls but it can occasionally crash so be aware.
Forgot to mention that despite not using the asm from his table, I did learn about this stuff from Sunbeam's post here and this [Link]
Oh and feel free to post any lua scripts that you come up with that you might want me to add to the table. Cheers.
Current Table: Current Options:
- Scripts
- God Mode
- Debug Mode - (Buggy, can crash game) -Press Y to add ammo for current weapon
- Invisible
- Set Health Max
- Set Health Max
- Unlock Weapons
- Unlock Weapon Mods
- Fast Reload
- Add Money
- Debug
- Dump Globals
- Dump Player Actor
Old Versions
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1