HI,
Whatever I'm trying to do on that save game, I always get following exception when hitting end turn :
Attached save game file and log files.
1.5.5 Exception_INT_DIVIDE_BY_ZERO
Moderators: Pandora Moderators, Slitherine Core
1.5.5 Exception_INT_DIVIDE_BY_ZERO
- Attachments
-
Pandora Beta.zip
- logs
- (8.31 KiB) Downloaded 152 times
-
auto save 4.zip
- save game
- (99.79 KiB) Downloaded 151 times
Re: 1.5.5 Exception_INT_DIVIDE_BY_ZERO
Most likely my fault. I'll see if it is fixed in my current development-version and if not I will track it down.
Edit:
Yes, the log shows it crashes in the method that determines which tile-improvements shall be built.
I remember having had an issue with that. This happens because one of the AIs ran out of usable food-tiles and I was checking for the tile with the lowest yield to see if it needs more farms.
And since it ran out, it had a tile with 0 food, hence the division by zero error.
I had already fixed that in my dev-version by no longer considering tiles with 0 food as valid food-sources and thus making 1 the lowest possible to divide through.
But thanks for reporting anyways. That was very examplary of how it should be done.
Edit:
Yes, the log shows it crashes in the method that determines which tile-improvements shall be built.
I remember having had an issue with that. This happens because one of the AIs ran out of usable food-tiles and I was checking for the tile with the lowest yield to see if it needs more farms.
And since it ran out, it had a tile with 0 food, hence the division by zero error.
I had already fixed that in my dev-version by no longer considering tiles with 0 food as valid food-sources and thus making 1 the lowest possible to divide through.
But thanks for reporting anyways. That was very examplary of how it should be done.

Re: 1.5.5 Exception_INT_DIVIDE_BY_ZERO
@Xilmi - thanks for the feedback. Glad to hear that You found the root cause and that it will be deployed with next beta build.
Re: 1.5.5 Exception_INT_DIVIDE_BY_ZERO
There should be an update available.
And when you continue to play: I'd suggest you immediately pull back your troops to your city before the aliens wreck it!
And when you continue to play: I'd suggest you immediately pull back your troops to your city before the aliens wreck it!

Re: 1.5.5 Exception_INT_DIVIDE_BY_ZERO
That's a very fast update! Thought it'll take much longer. Anyways the fix works like a charm. No error after next ~30 turns. Now back to defending my colony. Some sort of a eclipse is coming in few turns and aliens are spreading everywhere.