View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0019281 | AI War 2 | Bug - Other | Nov 3, 2017 3:46 pm | Nov 4, 2017 2:11 pm | |
Reporter | BadgerBadger | Assigned To | keith.lamothe | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.601 | ||||
Fixed in Version | 0.602 | ||||
Summary | 0019281: Save game thinks the first AI Type is "Tutorial" | ||||
Description | I am getting saved games that tell me that the Master AI Type is "Tutorial". I tweaked my version of the code to print all the various AI Type Names, but all the names are "tutorial"! Here's my tweaked code You generate the AI type for the save game by the following code internal static string GetFirstAITypeName() { AITypeData firstAIType = null; for ( int i = 0; i < World_AIW2.Instance.Factions.Count; i++ ) { Faction faction = World_AIW2.Instance.Factions[i]; ArcenDebugging.ArcenDebugLogSingleLine( "Faction " + i + " type " + faction.AITypeData.Name, Verbosity.DoNotShow ); if ( faction.Type != FactionType.AI ) continue; firstAIType = faction.AITypeData; break; } string firstAITypeName = firstAIType == null ? "nullAI" : firstAIType.Name; return firstAITypeName; } And here's what my log generated 11/3/2017 3:44:04 PM Faction 0 type Tutorial 01 11/3/2017 3:44:04 PM Faction 1 type Tutorial 01 11/3/2017 3:44:04 PM Faction 2 type Tutorial 01 I am perplexed by this | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
Nov 3, 2017 3:46 pm | BadgerBadger | New Issue | |
Nov 4, 2017 2:11 pm | keith.lamothe | Assigned To | => keith.lamothe |
Nov 4, 2017 2:11 pm | keith.lamothe | Status | new => resolved |
Nov 4, 2017 2:11 pm | keith.lamothe | Resolution | open => fixed |
Nov 4, 2017 2:11 pm | keith.lamothe | Fixed in Version | => 0.602 |
Nov 4, 2017 2:11 pm | keith.lamothe | Note Added: 0046574 |