View Issue Details

IDProjectCategoryLast Update
0006596AI War 1 / ClassicBug - OtherMar 11, 2012 11:44 pm
ReporterToranth Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version5.028/5.029 
Fixed in Version5.030 
Summary0006596: Hacking when existing aggrevation exceeds 810,000 causes AI War to hang
DescriptionWhile experimenting with the new Hacking mechanic, I got the hacking antagonism up to 810,000. I was able to hack one more ARS at that level. However, after that, the first spawn that would occur in reaction to any hacking activity (ARS SDHack, K-raid, or SuperTerminal usage) causes the game to hang. One processor was pegged at 100%, but the game did not respond to any input. After leaving it in this state for 1 hour, I was forced to terminate the process in order to regrain control of the system.

Attached is a save one spawn cycle before the issue occurs. There is an active SDHacker in the Tejat system (Middle of the galaxy map). Just load the game and wait several seconds for the next spawn cycle.
TagsNo tags attached.
Internal WeightNew

Activities

Toranth

Mar 11, 2012 10:09 pm

reporter  

TechSY730

Mar 11, 2012 10:48 pm

reporter   ~0020751

Probably trying to spawn something like a million raid starships or something.

The recent changes to how aggressive the multipliers work should help with this, though if aggrevation can get that high, there might still be some possibility for overflow or at least absurdly large (like, eat your memory or CPU) spawns.

What are the datatypes involved again? (int, long, etc)

keith.lamothe

Mar 11, 2012 11:44 pm

administrator   ~0020754

For 5.030:

* Added a sanity check preventing QueueAnotherSpawnAfterThisOne wild-rolls from causing an theoretically infinite loop on spawns with a very high number of rolls. This probably wasn't happening, but it was probably happening enough to bog things down if you hacked all 5 Advanced Research Stations or whatever.

It was probably more due to the multiplicative strength stuff (that's already been changed for 5.030), but better safe than sorry, thanks :)

Issue History

Date Modified Username Field Change
Mar 11, 2012 10:09 pm Toranth New Issue
Mar 11, 2012 10:09 pm Toranth File Added: Bug Report - Excessive Hack Aggro Causes Hang.sav
Mar 11, 2012 10:48 pm TechSY730 Note Added: 0020751
Mar 11, 2012 11:44 pm keith.lamothe Internal Weight => New
Mar 11, 2012 11:44 pm keith.lamothe Note Added: 0020754
Mar 11, 2012 11:44 pm keith.lamothe Status new => resolved
Mar 11, 2012 11:44 pm keith.lamothe Fixed in Version => 5.030
Mar 11, 2012 11:44 pm keith.lamothe Resolution open => fixed
Mar 11, 2012 11:44 pm keith.lamothe Assigned To => keith.lamothe