1.5.5 Exception_INT_DIVIDE_BY_ZERO

Moderators: Pandora Moderators, Slitherine Core

Post Reply
dejagore
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Fri May 23, 2014 2:32 pm

1.5.5 Exception_INT_DIVIDE_BY_ZERO

Post by dejagore »

HI,

Whatever I'm trying to do on that save game, I always get following exception when hitting end turn :
pandora_crash.PNG
pandora_crash.PNG (7.35 KiB) Viewed 2586 times
Attached save game file and log files.
Attachments
Pandora Beta.zip
logs
(8.31 KiB) Downloaded 152 times
auto save 4.zip
save game
(99.79 KiB) Downloaded 151 times
Xilmi
Pandora Community Developer
Pandora Community Developer
Posts: 523
Joined: Fri May 23, 2014 3:21 pm

Re: 1.5.5 Exception_INT_DIVIDE_BY_ZERO

Post by Xilmi »

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. :)
dejagore
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Fri May 23, 2014 2:32 pm

Re: 1.5.5 Exception_INT_DIVIDE_BY_ZERO

Post by dejagore »

@Xilmi - thanks for the feedback. Glad to hear that You found the root cause and that it will be deployed with next beta build.
Xilmi
Pandora Community Developer
Pandora Community Developer
Posts: 523
Joined: Fri May 23, 2014 3:21 pm

Re: 1.5.5 Exception_INT_DIVIDE_BY_ZERO

Post by Xilmi »

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! ;)
dejagore
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Fri May 23, 2014 2:32 pm

Re: 1.5.5 Exception_INT_DIVIDE_BY_ZERO

Post by dejagore »

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.
Post Reply

Return to “Pandora : Tech Support”