.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old March 20th, 2002, 06:58 AM

NKD NKD is offline
Private
 
Join Date: Mar 2002
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
NKD is on a distinguished road
Default Integer Overflow When Enemies Attack Sphereworld.

Only workaround i can think of is just be sure they are killed before they reach it.
Reply With Quote
  #2  
Old March 20th, 2002, 07:36 PM
pathfinder's Avatar

pathfinder pathfinder is offline
Major General
 
Join Date: Sep 2000
Location: Midlothian, Va, USA
Posts: 2,142
Thanks: 0
Thanked 1 Time in 1 Post
pathfinder is on a distinguished road
Default 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

[ 20 March 2002: Message edited by: pathfinder ]

__________________
L++, Gd?, $++, Fr-, C---, S*, T?, Sf+++, Tcp, A+, Bb++@, M++, MpB5, MpT, MpD, MpSa, MpM, RV, Pwt, Fqt, Nd-, Rpt, G+, Au, Mmt,S++, Ss+,
Reply With Quote
  #3  
Old March 20th, 2002, 09:15 PM

Arak Koba Arak Koba is offline
Corporal
 
Join Date: Jan 2002
Location: Sol III
Posts: 162
Thanks: 0
Thanked 0 Times in 0 Posts
Arak Koba is on a distinguished road
Default Re: Integer Overflow When Enemies Attack Sphereworld.

Does this apply to SE4 Gold?
__________________
Refined SE4g system pics here!
I love colonizing small gas giants with no atmosphere. Let me know if you see any.
Reply With Quote
  #4  
Old March 20th, 2002, 09:43 PM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Integer Overflow When Enemies Attack Sphereworld.

quote:
Originally posted by Arak Koba:
Does this apply to SE4 Gold?


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

PvK
Reply With Quote
  #5  
Old March 21st, 2002, 02:08 AM
pathfinder's Avatar

pathfinder pathfinder is offline
Major General
 
Join Date: Sep 2000
Location: Midlothian, Va, USA
Posts: 2,142
Thanks: 0
Thanked 1 Time in 1 Post
pathfinder is on a distinguished road
Default 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.
__________________
L++, Gd?, $++, Fr-, C---, S*, T?, Sf+++, Tcp, A+, Bb++@, M++, MpB5, MpT, MpD, MpSa, MpM, RV, Pwt, Fqt, Nd-, Rpt, G+, Au, Mmt,S++, Ss+,
Reply With Quote
  #6  
Old March 21st, 2002, 02:37 AM

Gimboid Gimboid is offline
Corporal
 
Join Date: May 2001
Location: Sydney, Australia
Posts: 157
Thanks: 0
Thanked 0 Times in 0 Posts
Gimboid is on a distinguished road
Default 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
__________________
Latest program Version. Updated 9/30!!
Component Modding Program Version 0.92
Reply With Quote
  #7  
Old March 21st, 2002, 02:40 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default 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.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:44 AM.


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