View Issue Details

IDProjectCategoryLast Update
0025912AI War 2Gameplay IssueDec 15, 2021 10:33 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Fixed in VersionBeta 3.766 The Red Harvest 
Summary0025912: Figure out why the game breaks (what is different?) after trying to reload xml (changing mods or DLCs)
DescriptionI have no idea what the actual problem is. I'm going to need to instrument the load process in some fashion and then do diffs to see what is different from now and before.

If this seems like an excess, it's an important note that this will also definitely be relevant to future projects which will be built on this framework. Asking players to reload the game, particularly when they want to join a multiplayer game, is really annoying.
TagsNo tags attached.

Relationships

related to 0025918 resolvedChris_McElligottPark For xml auto-reload logic, using reflection make it handle dictionaries and lists directly. 
child of 0025884 resolvedChris_McElligottPark Parent: Todo prior to beta exit 

Activities

Chris_McElligottPark

Dec 15, 2021 10:33 pm

administrator   ~0063469

This was the hardest thing on my todo list, so I decided to tackle it first.

* Fixed an issue with my ArcenTypeAnalyzer where it was incorrectly resetting arrays during xml reloads.
** There's now a subset of the ApplyDefaults code that explicitly handles arrays.

* Fixed another issue with ArcenTypeAnalyzer where if something was a list but initially null, it was not being handled quite right, either.

* Fixed an issue with how surrogate tables (external tables) were reloaded in xml since the great refactor. This had been making all of them come through blank, but now they're fine.

* FleetItemCategory now implements IClearableDuringXmlReload, which means that the entire xml is now able to reload properly again!

* There are now new debug settings that allow for doing the table exports that I used to find and fix all these issues.

Issue History

Date Modified Username Field Change
Dec 14, 2021 2:48 pm Chris_McElligottPark New Issue
Dec 14, 2021 2:48 pm Chris_McElligottPark Relationship added child of 0025884
Dec 14, 2021 4:57 pm Chris_McElligottPark Relationship added related to 0025918
Dec 15, 2021 10:33 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Dec 15, 2021 10:33 pm Chris_McElligottPark Status new => resolved
Dec 15, 2021 10:33 pm Chris_McElligottPark Resolution open => fixed
Dec 15, 2021 10:33 pm Chris_McElligottPark Fixed in Version => Beta 3.766 The Red Harvest
Dec 15, 2021 10:33 pm Chris_McElligottPark Note Added: 0063469