Hacking an FPS for fun but not profit
I’ve been playing AssaultCube recently. I love it. It’s a fast, minimal, and strangely addicting FPS. It’s also the first game that I’ve tried joining multiplayer servers with. I was curious about what type of cheating detection game servers do, so I downloaded the source and started reading. I soon came across this;
Cheat Protection: The cheat protection described in README_CUBEENGINE.txt is not used in AssaultCube. Binaries compiled from source are compatible with the official binaries… You MUST NOT connect to servers that are not yours with a modified client that contains changes that were not made for platform-compatibility or to fix bugs. This would be cheating. Thank you for supporting fair play gaming.
After a few more minutes of searching I started making changes to source/src/weapon.cpp — just to see what the results would look like. In the end, I decided to grant myself unlimited ammo, reduced reload time, and damage-steroids.
With great power comes great responsibility. These changes do still work when you join a game server: don’t use them. If you’re feeling savage, you can hack around the codebase and allow yourself to carry out unspeakable acts of cruelty against the helpless bots. Feel free to do all of this on your local machine. People online will notice if your assault rifle starts spewing grenades and they will kick you.