Intravenous 2
Posted: Tue Aug 27, 2024 5:34 pm
So this game uses the LOVE engine which is entirely lua based. It requires adding the lua.dll to the release folder so that makes it easy for us to find the loadstring and pcall functions for executing lua code and the gettop function which we need to grab the luaState.
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:
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