.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   PBW Manual Turn Processing Error (http://forum.shrapnelgames.com/showthread.php?t=26952)

Atrocities December 7th, 2005 05:32 PM

PBW Manual Turn Processing Error
 
I have tried twice now to get PBW to process the turn for Star Trek Final Frontier III (which is actually VI), but it has failed both times.

So I donwload the player files, and after many hours of trying to remember the Administration password I am successful in processing the turn only to be stopped by:

"Division by Zeron" Error. Now I ask you, what kind of error is this and can it be over come?

Phoenix-D December 7th, 2005 05:35 PM

Re: PBW Manual Turn Processing Error
 
Divide by 0? That's when the game tries to, well, divide by 0. Since that particular question doesn't have an answer, programs don't like it when they're asked to do that.

I can't remember where SEIV uses division offhand, though..but the game is likely screwed. At best you'll have to go back a turn. :/

Atrocities December 7th, 2005 05:48 PM

Re: PBW Manual Turn Processing Error
 
Before any one says it, yes I am using v1.91 SEIV, and yes that is the version for the PBW game. http://forum.shrapnelgames.com/images/smilies/happy.gif

Perhaps Geo or Fyron can shed some ling on this problem.

Will December 7th, 2005 06:05 PM

Re: PBW Manual Turn Processing Error
 
Divide by zero is basically what Phoenix-D says; the program tries to divide something by zero, which is basically impossible. If there isn't any code in there to check if something is zero before dividing, or any code to recover from that error, then the default action is to just give up. That's the error dialog you saw, the program giving up and telling you why.

If it has gone through three times, and presumably encountered the same error each time, then you're probably crap out of luck for processing that turn. Rolling back the turn, and having everyone replay an earlier turn probably would get around the problem, since it seems to be a freak incident where somehow either the game file or the player files results in a zero that divides something. I would first try having everyone replay the current turn, and if that doesn't work, roll back to the previous turn and replay that.

--edit: Ok, the filters don't like a certain term describing excrement, so I replaced with another one... you get the idea.

geoschmo December 7th, 2005 06:12 PM

Re: PBW Manual Turn Processing Error
 
You could also try processing the turn again offline several more times, but each time eliminating one of the .plr files before running it. By this process of elimination you may be able to figure out which players turn file is causing the problem. It doesn't always work, but it's a start.

Once you narrow it down to the player, you still have the problem of what they are doing that's causign the error. It's probably nothing they are doing that's illegal or anything. Just a fluke like PhoenixD says.

We used to get divide by zero errors when a ship rammed a planet in combat, or when a player hit mines that had been designed with no warheads, or when you tried to colonize a planet in sector 0,0 of a system. But I believe all of those bugs have been patched out.

geoschmo December 7th, 2005 06:14 PM

Re: PBW Manual Turn Processing Error
 
er, sorry, wasn't done there. http://forum.shrapnelgames.com/images/smilies/happy.gif

Sometimes you can't ever figure it out and as PD suggest rolling back the turn and everybody replaying solves the problem. On some rare occasions even that doesn't work though and the game is basically hosed.

You could try running it in 1.94. It supposedly fixed a couple rare RCE errors. It might be worth a try.

Atrocities December 8th, 2005 11:56 AM

Re: PBW Manual Turn Processing Error
 
Ok thanks Geo, will try both methods. http://forum.shrapnelgames.com/images/smilies/happy.gif

Atrocities December 8th, 2005 12:48 PM

Re: PBW Manual Turn Processing Error
 
The problem was in one of the PLR files. Thanks Geo.


All times are GMT -4. The time now is 07:24 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.