My small RPG Darkness Springs
is now running for several months, but last week, something unexpected happened: A user claimed that he wasn't able to die. That he was invincible. Interesting.
Curiously, I took a look at this, and the user was right. When I let a group of monsters attack his character, nothing happened. He simply didn't die. He also wasn't able to use health potions, but he didn't need them anyway. :)
Strange. After some examination, I found the problem: The user had managed to get his character to have 128 points of health. For Darkness Springs, this is quite a lot, actually nobody ever trained his character until this value before. Everything was fine, but when the user closed the game and started it again later, this value turned into -127, and the described symptoms manifested.
Of course, this was a bad server side programming error (typical value overflow, and it's my fault), but hey, 128 points of health? Who could have expected this :)