.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Integer Overflow When Enemies Attack Sphereworld. (http://forum.shrapnelgames.com/showthread.php?t=5410)

NKD March 20th, 2002 06:58 AM

Integer Overflow When Enemies Attack Sphereworld.
 
http://forum.shrapnelgames.com/images/icons/icon9.gif Only workaround i can think of is just be sure they are killed before they reach it.

pathfinder March 20th, 2002 07:36 PM

Re: Integer Overflow When Enemies Attack Sphereworld.
 
Ah, I wasn't aware of the sphereworld problem. Hehe, I usually do not make it that far http://forum.shrapnelgames.com/images/icons/icon12.gif

[ 20 March 2002: Message edited by: pathfinder ]</p>

Arak Koba March 20th, 2002 09:15 PM

Re: Integer Overflow When Enemies Attack Sphereworld.
 
Does this apply to SE4 Gold?

PvK March 20th, 2002 09:43 PM

Re: Integer Overflow When Enemies Attack Sphereworld.
 
<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>Originally posted by Arak Koba:
Does this apply to SE4 Gold?<hr></blockquote>

Sounds like it applies to the release Version, but is fixed in first patch (not out yet).

PvK

pathfinder March 21st, 2002 02:08 AM

Re: Integer Overflow When Enemies Attack Sphereworld.
 
Had that a couple of times in my current game. I just quit game without save then come back in. Seems to clear whatever action the AI was trying.

Gimboid March 21st, 2002 02:37 AM

Re: Integer Overflow When Enemies Attack Sphereworld.
 
I remember hearing that there is a limit to amount of damage in combat that SE4 will allow.


Because a sphereworld can have huge numbers of weapon platforms on it (particularly with cargo storage racial trait) it is possible to go over that limit and cause such an overflow because all your weapon platform damage stacks on top of each other as the weapon platforms act as a group

Limit is ~65k IIRC

Can someone who knows what the limit is confirm this? or am i off the mark for the cause?


Gimboid

Suicide Junkie March 21st, 2002 02:40 AM

Re: Integer Overflow When Enemies Attack Sphereworld.
 
I did some beta testing on this:
It sounds like the Sphereworld has more than an unsigned INT of hitpoints, and therein lies the problem.

If you break up the designs of your defenses, you should be able to avoid the crash; try to not let any one group of units exceed 64K hitpoints.
You can make two or more identical designs, and build an smaller number of each.
As an example, a platform design with 2000 hitpoints (incl armor AND shields) can only be used in 30 unit stacks. A second identical design allows you to add another 30 platforms, and so on.

For the short term, launch any sats and/or fighters into space, and build carrier starbases to hold excess fighters
Medium term, start replacing weapon platforms as above.
Long term, install the next patch that will come out. http://forum.shrapnelgames.com/images/icons/icon10.gif


All times are GMT -4. The time now is 10:08 PM.

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