View Issue Details

IDProjectCategoryLast Update
0026809AI War 2Bug - GameplayApr 4, 2022 10:09 pm
ReporterGlyoxim Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version4.008 Exogalactic Wayfinding 
Fixed in Version4.011 Multiplayer Stability 
Summary0026809: Empire Ark not present after continuing multiplayer session
DescriptionArk not present when loading manual save or Autosave at 4h 0m 0s.
The Ark is present when loading the prior Autosave at 3h 50m 0s.
Relevant section of the ArcenDebugLog is in the log.txt but full log also included.
My guess is that this is linked to the Ark being on an AI owned planet during the save (same planet as the support factory).
TagsNo tags attached.

Activities

Glyoxim

Mar 31, 2022 4:19 pm

reporter  

ArcenDebugLog.txt (2,334,916 bytes)
Autosave at 4h 0m 0s.save (558,170 bytes)
Bois1.save (571,662 bytes)
log.txt (4,363 bytes)   
3/31/2022 7:54:34 PM	4.008	SINGLEP	Clearing player accounts.
3/31/2022 7:54:44 PM	4.008	HOST	Start load save: F:/SteamLibrary/steamapps/common/AI War 2/PlayerData/Save/Bois\Autosave at 4h 0m 0s.save Source1: AnythingElse Source3: LoadingSaveGame
3/31/2022 7:54:44 PM	4.008	HOST	Clearing player accounts.
3/31/2022 7:54:45 PM	4.008	HOST	Finish load save in 585ms
3/31/2022 7:54:57 PM	4.008	HOST	DELAYED20 TID30 HostOnlyJournalsAndAutosaveAndSimilarHandler Error at debug stage 25000:
System.Exception: No king found for Molecule Bois index 1
  at Arcen.AIW2.External.HostOnlyJournalsAndAutosaveAndSimilarHandler.Journal_WarpGateNearKing_AnyPlayer (Arcen.AIW2.Core.Faction aPlayerFaction, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, System.Int32 planetsOwnedByMePersonally) [0x0005e] in <c32193cbc3cf406e909a46fd3714ba89>:0 
  at Arcen.AIW2.External.HostOnlyJournalsAndAutosaveAndSimilarHandler.HandleHelperJournals_HostOnly_RunOnEachPlayerFaction (Arcen.AIW2.Core.Faction aPlayerFaction, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x000a2] in <c32193cbc3cf406e909a46fd3714ba89>:0 
  at Arcen.AIW2.External.HostOnlyJournalsAndAutosaveAndSimilarHandler.GeneratePersonalNotificationOnClientOrHost_BackgroundThread (Arcen.AIW2.Core.Faction focalFaction, Arcen.AIW2.Core.ArcenSimContextAnyStatus baseContext) [0x00151] in <c32193cbc3cf406e909a46fd3714ba89>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <16b64163e0654b91aaa9a5e637546c85>:0 
  at Arcen.AIW2.External.HostOnlyJournalsAndAutosaveAndSimilarHandler.GeneratePersonalNotificationOnClientOrHost_BackgroundThread (Arcen.AIW2.Core.Faction focalFaction, Arcen.AIW2.Core.ArcenSimContextAnyStatus baseContext) [0x00000] in <c32193cbc3cf406e909a46fd3714ba89>:0 
  at Arcen.AIW2.Core.PersonalNotificationGenerator.GenerateAllPersonalNotifications_FromBGThread (Arcen.AIW2.Core.ArcenSimContextAnyStatus Context) [0x00000] in <3bc68911c82746c1abea6c292dacb293>:0 
  at Arcen.AIW2.External.PerSecondNonSimPlanning.DoCentralLoop_ClientAndHost () [0x00000] in <5b73b996993140af92461924aa79cd9e>:0 
  at Arcen.AIW2.External.PerSecondNonSimPlanning.Execute () [0x00000] in <5b73b996993140af92461924aa79cd9e>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.BackgroundThreadRunHandler (System.Single SuicidesAfterTime, System.Boolean FailSilentlyIfNotFinishedYet) [0x00000] in <5b73b996993140af92461924aa79cd9e>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext+<>c__DisplayClass15_0.<RunOnBackgroundThread>b__0 () [0x00000] in <5b73b996993140af92461924aa79cd9e>:0 
  at Arcen.Universal.ArcenThreading+<>c__DisplayClass11_0.<RunTaskOnBackgroundThread>b__0 () [0x00000] in <16b64163e0654b91aaa9a5e637546c85>:0 
  at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
log.txt (4,363 bytes)   

Glyoxim

Apr 1, 2022 2:44 am

reporter   ~0065660

added .savemet files in case they are required
Autosave at 3h 50m 0s.savemet (113 bytes)   
UK
324086722
13800
Bois
Random
Difficulty 7
1
<color=#318ce7>Glyoxim</color>, <color=#ff007f>Random_22026</color>
Autosave at 4h 0m 0s.savemet (113 bytes)   
UK
324086722
14400
Bois
Random
Difficulty 7
1
<color=#318ce7>Glyoxim</color>, <color=#ff007f>Random_22026</color>
Bois1.savemet (113 bytes)   
UK
324086722
14486
Bois
Random
Difficulty 7
2
<color=#318ce7>Glyoxim</color>, <color=#ff007f>Random_22026</color>
Bois1.savemet (113 bytes)   

Chris_McElligottPark

Apr 4, 2022 9:45 pm

administrator   ~0065765

This is super duper strange! The good news is, in the Bois1.save, I can see that the OrchidHomeArk is actually present in the save file as it loads in. But then once the save is loaded, it is definitely also gone. So it's dying on load, somehow. Looking into that now!

Chris_McElligottPark

Apr 4, 2022 10:09 pm

administrator   ~0065769

Okay, the existing saves will work again now!

* Fixed a frankly insane bit of VERY old code (it was mine) that would delete fleets that were missing their centerpieces for whatever reason.
** This could lead, in some super rare cases, to the centerpiece for an ark empire not being found, and it then just deleting your king unit and all the related units in its fleet.
** Additionally, fixed a related bug where it home arks were the one kind of centerpiece that could not self-repair when their fleet had lost a reference to them.

Thanks!

Issue History

Date Modified Username Field Change
Mar 31, 2022 4:19 pm Glyoxim New Issue
Mar 31, 2022 4:19 pm Glyoxim File Added: ArcenDebugLog.txt
Mar 31, 2022 4:19 pm Glyoxim File Added: Autosave at 3h 50m 0s.save
Mar 31, 2022 4:19 pm Glyoxim File Added: Autosave at 4h 0m 0s.save
Mar 31, 2022 4:19 pm Glyoxim File Added: Bois1.save
Mar 31, 2022 4:19 pm Glyoxim File Added: log.txt
Apr 1, 2022 2:44 am Glyoxim Note Added: 0065660
Apr 1, 2022 2:44 am Glyoxim File Added: Autosave at 3h 50m 0s.savemet
Apr 1, 2022 2:44 am Glyoxim File Added: Autosave at 4h 0m 0s.savemet
Apr 1, 2022 2:44 am Glyoxim File Added: Bois1.savemet
Apr 4, 2022 1:01 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Apr 4, 2022 1:01 pm Chris_McElligottPark Status new => assigned
Apr 4, 2022 9:45 pm Chris_McElligottPark Note Added: 0065765
Apr 4, 2022 10:09 pm Chris_McElligottPark Status assigned => resolved
Apr 4, 2022 10:09 pm Chris_McElligottPark Resolution open => fixed
Apr 4, 2022 10:09 pm Chris_McElligottPark Fixed in Version => 4.011 Multiplayer Stability
Apr 4, 2022 10:09 pm Chris_McElligottPark Note Added: 0065769