View Issue Details

IDProjectCategoryLast Update
0002190AI War 1 / ClassicCrash/ExceptionDec 28, 2010 3:14 pm
ReporterSunshine Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version4.058 
Fixed in Version4.059 
Summary0002190: Game-start crash
DescriptionNot sure what's going on here, we tried a couple different starting seeds and numbers of planets to start with, and got this crash a couple times in a row. Started with a 16 planet start, 40 planet galaxy, continued on for a couple start attempts after that. We eventually quit, haven't tried again yet.
TagsNo tags attached.
Internal Weight

Activities

Sunshine

Dec 28, 2010 2:44 am

reporter  

ai_war_start_crash_v4058.jpg (42,110 bytes)   
ai_war_start_crash_v4058.jpg (42,110 bytes)   

keith.lamothe

Dec 28, 2010 11:02 am

administrator   ~0007156

Ok, I'm looking into this one, and think I've found it. Thanks :)

keith.lamothe

Dec 28, 2010 11:21 am

administrator   ~0007157

Ok, got it for 4.059 :)

* Fixed a crash-on-game-start bug that could happen if the players selected more than 8 homeworlds in the lobby with some combination of fairly high difficulty and an AI type that has high defensive multipliers on some or all of its planets. The bug was in the "randomly promote tech level of AI planet" code, because the old algorithm was now returning a more than 100% chance of promoting the tech level and our random number generator is not amused by requests to generate a random number with a low-bound higher than the high-bound. The game will now just treat that case as a 100% chance to promote tech level, which means a mkIV AI planet.
** Thanks to Sunshine for the report.

Sunshine

Dec 28, 2010 3:14 pm

reporter   ~0007162

You guys rock my socks so much.

Issue History

Date Modified Username Field Change
Dec 28, 2010 2:44 am Sunshine New Issue
Dec 28, 2010 2:44 am Sunshine File Added: ai_war_start_crash_v4058.jpg
Dec 28, 2010 11:02 am keith.lamothe Note Added: 0007156
Dec 28, 2010 11:02 am keith.lamothe Assigned To => keith.lamothe
Dec 28, 2010 11:02 am keith.lamothe Status new => assigned
Dec 28, 2010 11:21 am keith.lamothe Note Added: 0007157
Dec 28, 2010 11:21 am keith.lamothe Status assigned => resolved
Dec 28, 2010 11:21 am keith.lamothe Fixed in Version => 4.059
Dec 28, 2010 11:21 am keith.lamothe Resolution open => fixed
Dec 28, 2010 3:14 pm Sunshine Note Added: 0007162
Apr 14, 2014 9:27 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception