Domestic Advisor Changes are not saved

Snofru1

Emperor
Joined
Dec 29, 2005
Messages
1,356
Location
Germany
I am not sure if this is a bug or I am doing something wrong.

I want to adjust the city overview of the Domestic Advisor (press F1). I´d like to add views of the Properties like crime, disease, etc. (not sure why these are not included anyway). To reach this I open Domestic Advisor, press the "Edit Mode" button, select a Property to the right (at the end of the awfully long list) and press the "Add Column" button. I then press "Save" and "Exit Edit Mode". Everything looks just like I wanted. But only until I finish my playing session and start C2C again. Pressing F1 then leads to the original view and all my changes are lost.
I see that the changes are saved in a "CustomDomAdv.txt" file but somehow this is not loaded again when I restart Civ. Could it be that the txt file is saved in the wrong location?

I am on current SVN.
 
I am not sure if this is a bug or I am doing something wrong.

I want to adjust the city overview of the Domestic Advisor (press F1). I´d like to add views of the Properties like crime, disease, etc. (not sure why these are not included anyway). To reach this I open Domestic Advisor, press the "Edit Mode" button, select a Property to the right (at the end of the awfully long list) and press the "Add Column" button. I then press "Save" and "Exit Edit Mode". Everything looks just like I wanted. But only until I finish my playing session and start C2C again. Pressing F1 then leads to the original view and all my changes are lost.
I see that the changes are saved in a "CustomDomAdv.txt" file but somehow this is not loaded again when I restart Civ. Could it be that the txt file is saved in the wrong location?

I am on current SVN.

My information may be incorrect:
Try saving twice both in the domestic advisor edit screen, and then do two hard saves. It could be that this acts somewhat similar to the bug options in that you need two manual saves to get them to properly stick.
 
This is info that needs to be in the Modders Documentation thread.

Could one of you 2 add it there please? Thanks
 
Fascinating work around. Is this a .dll not properly deleting or inside the Exe itself? Regardless of the cause, wow.
 
Fascinating work around. Is this a .dll not properly deleting or inside the Exe itself? Regardless of the cause, wow.
I suspect it's in the python somewhere. Being a screen and all.
 
It is python. It looks in the subfolder that contains the default version with all its language variations but saves in the main UserSettings folder.

What it should do is:-
  • look in the UserSettings folder first and load the information from there if it exists
  • if it can't find it there then load it from the default file.
If it did that then as long as the SVN is not updated with a file there the save file will never be corrupted. Which means that you could update from the SVN without worry.
 
Back
Top Bottom