I'm implementing a Lua interpreter for advanced cheat code execution on the PS3. I believe scripts are the direction cheat codes are heading. Modern platforms have both the memory and CPU power to run a full-fledged interpreter in the background. Using hex codes to save space and simplify the interpreter is no longer necessary.
I'd love to know what your thoughts are on writing cheats in Lua. If you've got years of experience writing codes or none at all please post your thoughts below.
Some questions to think about:
1. WIll people be willing to learn something new?
2. Will it be easy to port existing codes?
3. How will these new codes integrate with this site's cheat database/framework?
4. What are the potential security implications?
Here are some example Lua scripts:
To clarify, earlier platforms like the PS2 would not receive Lua support.
I'd love to know what your thoughts are on writing cheats in Lua. If you've got years of experience writing codes or none at all please post your thoughts below.
Some questions to think about:
1. WIll people be willing to learn something new?
2. Will it be easy to port existing codes?
3. How will these new codes integrate with this site's cheat database/framework?
4. What are the potential security implications?
Here are some example Lua scripts:
Code:
memWriteFloat(0x010D7250, 50.0)
Code:
ptr = memReadInt(0x00B32268) if ptr > 0 then print("pointer found: ", ptr) memWriteUShort(ptr + 0xAFC, 0xFFFF) end
Code:
pad = padRead(0) if (pad & PAD_R3) ~= 0 then print("R3 pressed!") memWriteFloat(0x010D4430, 1.0) end
To clarify, earlier platforms like the PS2 would not receive Lua support.
Comment