View Issue Details

IDProjectCategoryLast Update
0023764AI War 2Crash/ExceptionOct 6, 2020 8:55 pm
ReporterGreatYng Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.507 Bugfixes 
Fixed in Version2.607 MP Stability, Exo Syncs, And Limbo Mods 
Summary0023764: Error on map generation related to Praetorian Guard using saved settings with custom start
DescriptionI had finished a campaign with four AIs and when I removed one of them in the lobby it no longer starts and throws up a message. If I remove two AI factions I get two of these lines with different indices, and if I remove three I get three different lines with different indices.

Resetting to defaults allow me start with any number of AIs, for example if I start two AIs (as in the map has been generated and I was in-game) it also works. But then I have two AI stored in my settings, and attempting to remove one for a new game gives the error again.

I attached the debug log, and have included a small extract below (where I removed three AIs).
--------------------------------
9/17/2020 9:17:23 PM Start Generate FULL Map with Simple and seed 1503499548 and planet count 100 and 30 factions (StartingMainGameAfterLobby NotLoadingAnything)
9/17/2020 9:17:24 PM SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 9)

SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 10)

SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 22)


9/17/2020 9:17:24 PM Generate Partial Map Complete 732ms
TagsNo tags attached.

Relationships

related to 0023806 resolvedChris_McElligottPark Exception for praetorian during seed entitied 

Activities

GreatYng

Sep 17, 2020 4:55 pm

reporter  

Map generation error.png (52,530 bytes)   
Map generation error.png (52,530 bytes)   
PraetorianLog.txt (10,602 bytes)   
9/17/2020 9:16:20 PM	Current directory used: C:/Games - GoG/AI War 2/
Process Count = 0 so PlayerDataDirectory used: C:/Games - GoG/AI War 2/PlayerData/
9/17/2020 9:16:20 PM	Boot up FleetOS (0.3218s)
9/17/2020 9:16:20 PM	graphicsDeviceType in use: Direct3D11
graphicsDeviceVersion in use: Direct3D 11.0 [level 11.0]
graphicsMultiThreaded: True
graphicsShaderLevel: 50
operatingSystem: Windows 10  (10.0.0) 64bit
graphicsDeviceName: NVIDIA GeForce GTX 960M
graphicsDeviceID: 5019
graphicsDeviceVendor: NVIDIA
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: Direct3D 11.0 [level 11.0]
graphicsMemorySize: 2010
maxTextureSize: 16384
npotSupport: Full
processorType: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
processorCount: 8
processorFrequency: 2394
systemMemorySize: 8111
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: True
9/17/2020 9:16:20 PM	Check System Logs For Rogue Intelligence (0.1419s)
9/17/2020 9:16:20 PM	Game Version: 2.507
9/17/2020 9:16:20 PM	Eject Trash Into Hyperspace (0.1099s)
9/17/2020 9:16:20 PM	Check For Extra Modules (0.0250s)
9/17/2020 9:16:20 PM	Bring Cloaking Systems Online (0.0240s)
9/17/2020 9:16:20 PM	Recalculate Speed Of Light (0.0250s)
9/17/2020 9:16:20 PM	Optimize Comfort On Command Decks (0.0270s)
9/17/2020 9:16:20 PM	Generating Framerates (0.0060s)
9/17/2020 9:16:20 PM	Expansions:  The Spire Rises (Installed And Enabled!)  Zenith Onslaught (NOT INSTALLED)  
9/17/2020 9:16:20 PM	Mods:  MoreStartingOptions (Disabled)  SKCivilianIndustry (Disabled)  SpireRailgunShop (Enabled!)  
9/17/2020 9:16:20 PM	Check Nearby Stellar Masses (0.0530s)
9/17/2020 9:16:20 PM	Remembering Alamo (0.0170s)
9/17/2020 9:16:20 PM	Boot Audio Comms (0.0090s)
9/17/2020 9:16:20 PM	Establish Individual Audio Links (0.0220s)
9/17/2020 9:16:20 PM	Prepare Explosions and Crackles (0.0320s)
9/17/2020 9:16:20 PM	No resolution change was required.
9/17/2020 9:16:20 PM	Applied graphics settings: 
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
9/17/2020 9:16:20 PM	Applied Framerate Type: 120 FPS (vsync: 0 targetFPS:120)
9/17/2020 9:16:20 PM	Refresh Optical Lensing (0.0120s)
9/17/2020 9:16:20 PM	Revise Fundamental Physical Laws (0.0090s)
9/17/2020 9:16:20 PM	Calculate Odds Of Success (0.0500s)
9/17/2020 9:16:21 PM	Briefly Panic (0.6913s)
9/17/2020 9:16:21 PM	Hello GOG user 'GreatYng'
9/17/2020 9:16:22 PM	Install Confidence Routines (0.9866s)
9/17/2020 9:16:22 PM	Bring Commander Interface Online (0.1459s)
9/17/2020 9:16:22 PM	Motivate All Crews (0.0710s)
9/17/2020 9:16:22 PM	Locating Available Networks (0.0350s)
9/17/2020 9:16:22 PM	Externalizing Patterns (0.0400s)
9/17/2020 9:16:22 PM	Hooking Externals (0.0140s)
9/17/2020 9:16:22 PM	Handlizing Hooks (0.0150s)
9/17/2020 9:16:22 PM	Disengaging Constants (0.0490s)
9/17/2020 9:16:22 PM	Late Axionic Computations (0.1137s)
9/17/2020 9:16:22 PM	Connecting to Fleet Command (0.0100s)
9/17/2020 9:16:22 PM	Thinking Of Advice (0.0090s)
9/17/2020 9:16:22 PM	Degaussing Advice (0.0200s)
9/17/2020 9:16:22 PM	Reading Alien Diaries (0.0140s)
9/17/2020 9:16:22 PM	Naming All Known Planets (0.0080s)
9/17/2020 9:16:22 PM	Remembering Speeds (0.0110s)
9/17/2020 9:16:22 PM	Prioritizing Targets (0.0110s)
9/17/2020 9:16:22 PM	Rebooting Sensor Arrays (0.0100s)
9/17/2020 9:16:22 PM	Unloading Prismatic Grid (0.0070s)
9/17/2020 9:16:22 PM	Thinking Of Objectives (0.0080s)
9/17/2020 9:16:22 PM	Inhibiting Visual Scans (0.0160s)
9/17/2020 9:16:22 PM	Synthesizing Vocals (0.0080s)
9/17/2020 9:16:23 PM	Investigating Map Signatures (0.0170s)
9/17/2020 9:16:23 PM	Ventilating Scenarios (0.0100s)
9/17/2020 9:16:23 PM	Decontaminating Targeting Systems (0.0090s)
9/17/2020 9:16:23 PM	Ejecting Tactical Core (0.0080s)
9/17/2020 9:16:23 PM	Calibrating Formations (0.0090s)
9/17/2020 9:16:23 PM	Intercepting Galactic Maps (0.0100s)
9/17/2020 9:16:23 PM	Discharging Colored Ions (0.0240s)
9/17/2020 9:16:23 PM	Replicating Ion Colors (0.0100s)
9/17/2020 9:16:23 PM	Faction Diagnostics (0.0190s)
9/17/2020 9:16:23 PM	Buffering Hackers (0.0220s)
9/17/2020 9:16:23 PM	Inverting Death (0.0100s)
9/17/2020 9:16:23 PM	Linear Field Variance (0.0130s)
9/17/2020 9:16:23 PM	Charging Marks (0.0110s)
9/17/2020 9:16:23 PM	Guarding The Posts (0.1519s)
9/17/2020 9:16:23 PM	Range Manifolds (0.0090s)
9/17/2020 9:16:23 PM	Purging ROFs (0.0080s)
9/17/2020 9:16:23 PM	Manipulating Speeds (0.0100s)
9/17/2020 9:16:23 PM	Detecting Projectiles (0.0060s)
9/17/2020 9:16:23 PM	Grouping Flow Fields (0.0110s)
9/17/2020 9:16:23 PM	Modulating Flow Field Groups (0.0270s)
9/17/2020 9:16:23 PM	Designing Fleets (0.0220s)
9/17/2020 9:16:23 PM	Thinking Of Technologies (0.0150s)
9/17/2020 9:16:23 PM	Categorizing Starboard Sensors (0.0090s)
9/17/2020 9:16:23 PM	Injecting Galactic Variables (0.0180s)
9/17/2020 9:16:23 PM	Weepinig Over Starfields (0.0280s)
9/17/2020 9:16:23 PM	Gazing At Distant Planets (0.3074s)
9/17/2020 9:16:23 PM	Categorizing All Planets (0.0100s)
9/17/2020 9:16:23 PM	Organizing Commands (0.0240s)
9/17/2020 9:16:23 PM	Calculating Firing Cones (0.0080s)
9/17/2020 9:16:24 PM	Ruining Perfectly Good Ship Parts (0.6007s)
9/17/2020 9:16:24 PM	Re-Aligning Objectives (0.0210s)
9/17/2020 9:16:24 PM	Sterilizing Test Chamber (0.0150s)
9/17/2020 9:16:36 PM	Download Extra RAM (11.9902s)
9/17/2020 9:16:36 PM	Issuing Orders (0.0290s)
9/17/2020 9:16:36 PM	Augmenting Infusers (0.0070s)
9/17/2020 9:16:36 PM	Infusing (0.0270s)
9/17/2020 9:16:36 PM	Post-Proton Surge (0.0060s)
9/17/2020 9:16:36 PM	Stimulate Modulation (0.0390s)
9/17/2020 9:16:36 PM	ArcenAssetBundleCache.InstantiatedObjects: 980
9/17/2020 9:16:36 PM	Load Surrogates (0.1129s)
9/17/2020 9:16:37 PM	Final Checks (0.8789s)
9/17/2020 9:16:37 PM	Load Historical Documents (0.0040s)
9/17/2020 9:16:37 PM	17.8 seconds total load time.
Boot up FleetOS (0.3s)
Briefly Panic (0.7s)
Install Confidence Routines (1.0s)
Gazing At Distant Planets (0.3s)
Ruining Perfectly Good Ship Parts (0.6s)
Download Extra RAM (12.0s)
Final Checks (0.9s)
9/17/2020 9:16:54 PM	Start load save: C:/Games - GoG/AI War 2/PlayerData/Save/_Internal/LastLobbySettings.save Source1: StartingTheLobbyFromPrior Source3: LoadingLastLobbySettings
9/17/2020 9:16:54 PM	PlayerAccount Adelbrecht has now been put in control of faction 1.
9/17/2020 9:16:54 PM	Clear out factions that should not be in UI based on savegame: 7  Macrophage Infestation - Tamed  Scourge  Outguard  Anti-Player Zombie  Anti-Everyone Zombie  Anti-AI Zombie  AI Reserves
9/17/2020 9:16:54 PM	loading as template
9/17/2020 9:16:54 PM	Added the faction AIReserves.
9/17/2020 9:16:54 PM	Added the faction AntiAIZombie.
9/17/2020 9:16:54 PM	Added the faction AntiEveryoneZombie.
9/17/2020 9:16:54 PM	Added the faction AntiPlayerZombie.
9/17/2020 9:16:54 PM	Added the faction Mercenary.
9/17/2020 9:16:54 PM	Finish load save in 469.8ms
9/17/2020 9:16:54 PM	Start Generate Partial Map with Simple and seed 1503499548 and planet count 100 and 39 factions (StartingTheLobbyFromPrior LoadingLastLobbySettings)
9/17/2020 9:16:54 PM	PlayerAccount Adelbrecht has now been put in control of faction 1.
9/17/2020 9:16:54 PM	Generate Partial Map Complete  123ms
9/17/2020 9:17:07 PM	Start Generate FULL Map with Simple and seed 1503499548 and planet count 100 and 36 factions (StartingMainGameAfterLobby NotLoadingAnything)
9/17/2020 9:17:08 PM	SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 28)


9/17/2020 9:17:08 PM	Generate Partial Map Complete  619ms
9/17/2020 9:17:09 PM	Start Generate FULL Map with Simple and seed 1503499548 and planet count 100 and 36 factions (StartingMainGameAfterLobby NotLoadingAnything)
9/17/2020 9:17:10 PM	SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 28)


9/17/2020 9:17:10 PM	Generate Partial Map Complete  515ms
9/17/2020 9:17:11 PM	Start Generate FULL Map with Simple and seed 1503499548 and planet count 100 and 36 factions (StartingMainGameAfterLobby NotLoadingAnything)
9/17/2020 9:17:12 PM	SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 28)


9/17/2020 9:17:12 PM	Generate Partial Map Complete  493ms
9/17/2020 9:17:15 PM	Start Generate FULL Map with Simple and seed 1503499548 and planet count 100 and 33 factions (StartingMainGameAfterLobby NotLoadingAnything)
9/17/2020 9:17:16 PM	SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 13)

SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 25)


9/17/2020 9:17:16 PM	Generate Partial Map Complete  706ms
9/17/2020 9:17:17 PM	Start Generate FULL Map with Simple and seed 1503499548 and planet count 100 and 33 factions (StartingMainGameAfterLobby NotLoadingAnything)
9/17/2020 9:17:18 PM	SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 13)

SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 25)


9/17/2020 9:17:18 PM	Generate Partial Map Complete  577ms
9/17/2020 9:17:21 PM	Start Generate FULL Map with Simple and seed 1503499548 and planet count 100 and 30 factions (StartingMainGameAfterLobby NotLoadingAnything)
9/17/2020 9:17:21 PM	SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 9)

SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 10)

SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 22)


9/17/2020 9:17:21 PM	Generate Partial Map Complete  714ms
9/17/2020 9:17:23 PM	Start Generate FULL Map with Simple and seed 1503499548 and planet count 100 and 30 factions (StartingMainGameAfterLobby NotLoadingAnything)
9/17/2020 9:17:24 PM	SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 9)

SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 10)

SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 22)


9/17/2020 9:17:24 PM	Generate Partial Map Complete  732ms
PraetorianLog.txt (10,602 bytes)   

Chris_McElligottPark

Sep 17, 2020 5:23 pm

administrator   ~0058570

Oof -- if you can get this to happen again, if you can upload your PlayerData\Save\_Internal\LastLobbySettings.save file, I'll need that in order to solve the issue. But it probably won't happen again, though it's hard to be sure. Once the defaults are reset, that overwrites LastLobbySettings.save, though, so it wouldn't be the same anymore.

GreatYng

Sep 18, 2020 1:16 pm

reporter   ~0058578

Resetting to defaults only temporarily fixes the problem.

If I reset to default and then create a new single-player game with four new AIs and press start game, then I can start the game without issues (I get to the planet view of a new game).
I can then immediately quit, because the new lobby settings have been saved. Starting a new campaign I have the same four AI listed automatically, but if I remove one or more of them the error shows up again.

I added the lobby settings at the time when this problem occurs (i.e. there are four AI factions stored).
LastLobbySettings.save (207,432 bytes)

BadgerBadger

Oct 6, 2020 1:20 am

manager   ~0059007

I mean, it is a workaround. You just then wind up triggering the problem again every time you start a custom lobby with 2 AIs

Chris_McElligottPark

Oct 6, 2020 8:40 pm

administrator   ~0059053

Thanks! Part 1:

* Previously, if you had multiple AIs and then removed one of them, it would leave behind an extra Praetorian Guard faction that would then error out. Now, when you remove the extra AI faction it will also remove the extra PG subfaction.
** For existing lobbies that are unable to start, you can hit Reset To Defaults in order to work around this.

Chris_McElligottPark

Oct 6, 2020 8:55 pm

administrator   ~0059054

Thanks!

* Added a new remove_if_more_than_one_per_ai_prior_to_this field for factions, which is set to true for the hunter, warden, and praetorian guard sub-factions.
** This causes any extra of those sub-factions to be removed when you load up your lobby settings or quick start or whatever it is that you're loading into the lobby.
** This makes it so that existing bad data doesn't require resetting to defaults to get back to it.

Issue History

Date Modified Username Field Change
Sep 17, 2020 4:55 pm GreatYng New Issue
Sep 17, 2020 4:55 pm GreatYng File Added: Map generation error.png
Sep 17, 2020 4:55 pm GreatYng File Added: PraetorianLog.txt
Sep 17, 2020 5:23 pm Chris_McElligottPark Note Added: 0058570
Sep 17, 2020 5:23 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Sep 17, 2020 5:23 pm Chris_McElligottPark Status new => feedback
Sep 18, 2020 1:16 pm GreatYng File Added: LastLobbySettings.save
Sep 18, 2020 1:16 pm GreatYng Note Added: 0058578
Sep 18, 2020 1:16 pm GreatYng Status feedback => assigned
Oct 6, 2020 1:19 am BadgerBadger Relationship added related to 0023806
Oct 6, 2020 1:20 am BadgerBadger Note Added: 0059007
Oct 6, 2020 8:40 pm Chris_McElligottPark Note Added: 0059053
Oct 6, 2020 8:55 pm Chris_McElligottPark Status assigned => resolved
Oct 6, 2020 8:55 pm Chris_McElligottPark Resolution open => fixed
Oct 6, 2020 8:55 pm Chris_McElligottPark Fixed in Version => 2.607 MP Stability, Exo Syncs, And Limbo Mods
Oct 6, 2020 8:55 pm Chris_McElligottPark Note Added: 0059054