View Issue Details

IDProjectCategoryLast Update
0024519AI War 2Crash/ExceptionMar 9, 2021 3:24 pm
Reporteralocritani Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 2.752 Golden Devourer 
Fixed in VersionBeta 2.754 Buffs And Bugfixes 
Summary0024519: GetPraetorianGuardExternal: Could not find any next 'PraetorianGuard' faction for faction of type AI
DescriptionStart a new quick start - classic, level 5, 2 AI
edit setup
remove a faction
regenerate map

log:

3/8/2021 7:13:22 PM 2.752 SINGLEP Start Generate Partial Map with Realistic and seed 1846806436 and planet count 40 and 20 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
3/8/2021 7:13:22 PM 2.752 SINGLEP GetPraetorianGuardExternal: Could not find any next 'PraetorianGuard' faction for faction of type AI
  at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00000] in <7bfdf0d895e842858d535c8845451841>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <7bfdf0d895e842858d535c8845451841>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <7bfdf0d895e842858d535c8845451841>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <7bfdf0d895e842858d535c8845451841>:0
  at Arcen.AIW2.External.ExtensionMethodsFor_ExternalData_AIFaction.GetPraetorianGuardExternal (Arcen.AIW2.Core.Faction ParentObject, Arcen.Universal.ExternalDataRetrieval RetrievalRules) [0x00000] in <d8ec37ed0af24cc681f10b6e216b0446>:0
  at Arcen.AIW2.External.BaseSpecialFaction.ProcessFactionConfigCustomFields (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.WorldSetup ParentSetup, Arcen.AIW2.Core.ConfigurationForFaction FactionConfig) [0x00000] in <d8ec37ed0af24cc681f10b6e216b0446>:0
  at Arcen.AIW2.Core.Faction.DoAfterAllCreationEvents (Arcen.AIW2.Core.WorldSetup ParentSetup, Arcen.AIW2.Core.ConfigurationForFaction FactionConfig) [0x00000] in <a8c2c1328bad490294d0ffd699bcab0a>:0
  at Arcen.AIW2.Core.Mapgen.WorkThreadOnly_GenerateNewGame () [0x00000] in <a8c2c1328bad490294d0ffd699bcab0a>:0
  at Arcen.AIW2.Core.Engine_AIW2.WorkThreadOnly_StartNewGame () [0x00000] in <a8c2c1328bad490294d0ffd699bcab0a>:0
  at Arcen.AIW2.Core.World_AIW2.GenerateMap (Arcen.AIW2.Core.Tutorial TutOrNullToUse) [0x00000] in <a8c2c1328bad490294d0ffd699bcab0a>:0
  at Arcen.AIW2.External.SimPlannerImplementation.DoActualSimStep (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in <d8ec37ed0af24cc681f10b6e216b0446>:0
  at Arcen.AIW2.Core.Engine_AIW2.ProcessSimStep (System.Boolean& stalledWaitingOnConnections, System.String& reasonForNoVisualUpdates) [0x00000] in <a8c2c1328bad490294d0ffd699bcab0a>:0
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <7bfdf0d895e842858d535c8845451841>:0
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <a8c2c1328bad490294d0ffd699bcab0a>:0
  at ArcenGameController.Update () [0x00000] in <14f1c75f68204a3f8c456fbd19057562>:0

3/8/2021 7:13:22 PM 2.752 SINGLEP CoreTable: Could not find nextPraetorianGuardFaction for PraetorianGuard_TrimColor

AIDifficulty_PraetorianGuard: Could not find praetorianExternal, probably because no Praetorian Guard faction after this AI faction.


3/8/2021 7:13:22 PM 2.752 SINGLEP Added the faction PraetorianGuard.
3/8/2021 7:13:22 PM 2.752 SINGLEP PlayerAccount Angelo is controlling faction 6 already.
TagsNo tags attached.

Activities

Chris_McElligottPark

Mar 9, 2021 3:24 pm

administrator   ~0060708

Thank you! Having those exact steps to follow was CRUCIAL to me being able to fix this. That was such a big help!

* Fixed the remnants of an exception that could happen when there was a missing praetorian guard faction in loading the lobby settings. This is something that should be remedied on actually generating the new map in general, but there was some overzealous error checking that was getting in the way of that process.
** This was something that happened in particular when editing older quick starts after loading them into the lobby.
** Overall this involved some extra plumbing to make sure that older quick starts and saves self-repair new information in. At some point it may be required to explicitly link up some of the AI sub-factions to their parent AI in multi-AI games, which is where these problems seem to crop up. But for now this works, and so minimal changes seems like the wiser way to go.

Issue History

Date Modified Username Field Change
Mar 8, 2021 1:57 pm alocritani New Issue
Mar 9, 2021 3:24 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Mar 9, 2021 3:24 pm Chris_McElligottPark Status new => resolved
Mar 9, 2021 3:24 pm Chris_McElligottPark Resolution open => fixed
Mar 9, 2021 3:24 pm Chris_McElligottPark Fixed in Version => Beta 2.754 Buffs And Bugfixes
Mar 9, 2021 3:24 pm Chris_McElligottPark Note Added: 0060708