Rats in a Cage

Rats in a Cage

View Stats:
mike_earnest 23 Nov, 2024 @ 3:59pm
Game breaking bug: stuck in a GAME OVER loop
I have encountered a weird bug which makes this game unplayable.

I got to the final level with the four red enemy rats. After some failed attempts, I quit the game, but when I started the game again, something weird happened. On the "select a floor" screen, before I could select a floor, I heard the stabbing sound effect coupled with a red flash, and then GAME OVER popped up. After a couple of seconds, yet another stabbing sound/flash happens, the "select a floor" screen briefly reappears, and then another GAME OVER pops up. This repeats on and on until I closed the game window. The same thing happens now every time I try to play the game.

If necessary, I will provide any game files and operating system info which are relevant, and I can take a screen recording of this weird behavior.
Originally posted by Rats in a Cage:
Okay. I managed to recreate the bug. First of all, here's the quick fix for your trouble:

1) Resume the game
2) Press F12 (console will pop up)
3) Copy and paste this below to the console and then press Enter:

$gameSwitches.setValue(117, false);
$gamePlayer.reserveTransfer(49, 0, 0, 0, 0);
$gameTemp.reserveCommonEvent(29)

You should be now on the building whre you choose floors. Let me know if you have trouble with above.


The bug itself appears when you quit the game just before being stabbed (possibly other GameOvers as well). For some reason, the engine/game remembers that event happening even after restart.

Right now I don't have a good fix to prevent it from happening in the future, but I'll find something and push it to the next game update.


Big thank you for reporting this!
< >
Showing 1-5 of 5 comments
Rats in a Cage  [developer] 24 Nov, 2024 @ 8:57am 
Hi. I'm really sorry for the trouble! I'm looking into it.
The author of this thread has indicated that this post answers the original topic.
Rats in a Cage  [developer] 24 Nov, 2024 @ 10:02am 
Okay. I managed to recreate the bug. First of all, here's the quick fix for your trouble:

1) Resume the game
2) Press F12 (console will pop up)
3) Copy and paste this below to the console and then press Enter:

$gameSwitches.setValue(117, false);
$gamePlayer.reserveTransfer(49, 0, 0, 0, 0);
$gameTemp.reserveCommonEvent(29)

You should be now on the building whre you choose floors. Let me know if you have trouble with above.


The bug itself appears when you quit the game just before being stabbed (possibly other GameOvers as well). For some reason, the engine/game remembers that event happening even after restart.

Right now I don't have a good fix to prevent it from happening in the future, but I'll find something and push it to the next game update.


Big thank you for reporting this!
mike_earnest 24 Nov, 2024 @ 7:34pm 
The fix worked! Thank you for the quick reply. Now I will go get that promotion :^)
Rats in a Cage  [developer] 25 Nov, 2024 @ 6:48am 
I'm glad to hear it. Sorry for the immersion break at the end. Have fun!
Rats in a Cage  [developer] 27 Nov, 2024 @ 6:55am 
UPDATE: I just pushed an update of the game that should prevent this bug from ever happening again. Thank you again for reporting it!
< >
Showing 1-5 of 5 comments
Per page: 1530 50