Short summary of your issue
Duplicate character IDs in vanilla history folder
Game Version
1.3.1
What OS are you playing on?
Windows
What platform are you using?
Windows Store
Do you have mods enabled?
No
Have you tried verifying your game files (Steam only)?
No
How much "pain" is this causing you?
1
Please explain the issue you experienced in the most condensed way possible
This bug is a bit different than usual, it's not specifically an in-game issue.
I'm basically building a modding interface in my spare time and I parse all the files into metadata to use. Considering all character instances in the history folder must have a unique ID, I put them in a key-value set. However, I got some errors where the ID given is already contained in the set.
For ease of use, I've attached a text file with all instances of duplicate IDs and where they are present.
I'm not sure how the game handles duplicate IDs (I believe mods can't load if this happens?), but it might cause some weird issues of the history of some countries not being correct character-wise.
Please explain how to reproduce the issue
Download the text file
Check the history files to confirm duplicate IDs
Is there anything else you think could help us identify/replicate the issue?
I've got my current code up on GitHub if you're willing to check if my parser is correct: https://github.com/Randehh/CK3MK/tree/main/CK3MK
The parsing code is in Utilities -> AssetUtil.cs -> ReadCK3ConfigFile.
Note: it is not complete and parses only to depth of 1 (base attributes), however that is not relevant to the bug.
I have attached a save game
No
Upload Attachment
File(s) attached
Duplicate character IDs in vanilla history folder
Game Version
1.3.1
What OS are you playing on?
Windows
What platform are you using?
Windows Store
Do you have mods enabled?
No
Have you tried verifying your game files (Steam only)?
No
How much "pain" is this causing you?
1
Please explain the issue you experienced in the most condensed way possible
This bug is a bit different than usual, it's not specifically an in-game issue.
I'm basically building a modding interface in my spare time and I parse all the files into metadata to use. Considering all character instances in the history folder must have a unique ID, I put them in a key-value set. However, I got some errors where the ID given is already contained in the set.
For ease of use, I've attached a text file with all instances of duplicate IDs and where they are present.
I'm not sure how the game handles duplicate IDs (I believe mods can't load if this happens?), but it might cause some weird issues of the history of some countries not being correct character-wise.
Please explain how to reproduce the issue
Download the text file
Check the history files to confirm duplicate IDs
Is there anything else you think could help us identify/replicate the issue?
I've got my current code up on GitHub if you're willing to check if my parser is correct: https://github.com/Randehh/CK3MK/tree/main/CK3MK
The parsing code is in Utilities -> AssetUtil.cs -> ReadCK3ConfigFile.
Note: it is not complete and parses only to depth of 1 (base attributes), however that is not relevant to the bug.
I have attached a save game
No
Upload Attachment
File(s) attached