- changed status to resolved
Game often randomly tries to divide by zero
Issue #254
resolved
So I’ll be playing the game and I go to use a charm to bring my stats up to like 255, or in some cases I’ll be getting stuff from a chest and the moment I try to move away from where I had been I’ll be hit with an error message telling me the game tried to divide by zero. Unless I load to an earlier save I’m screwed. However I have gotten this error message right after saving which corrupted my save, thus I lost all my progress. Note that I did not use the debug, cause I really don’t get how that one works.
Comments (4)
-
repo owner -
repo owner Resolved as of v10
-
repo owner - changed status to resolved
-
repo owner - removed version
Removing version: v0.8.9 (2nd Anniversary) (automated comment)
- Log in to comment
After some debugging, I traced this back to the mana regeneration. When your will gets really high, the game sets the wait time to zero turns. Since the turn delay is done through a division/remainder, this hoses the game.
I'm getting a patch ready for this atm