[1.06/1.123][BUG]Duplicate Values in XML & Duplicated Values from XML stack

I completely uninstalled, removed all the mods I had created and reinstalled.

What I've noticed is that there are problems in the data files.  For example, KingdomSpecialImprovements.xml has two Irrigation Systems (also two barracks, two war colleges, etc).  The effect of these seem to stack.  An irrigation system costs twice the amount it should and provides twice the effect.

I'm enjoying the game enough that I'm tempted to go through and remove all the duplicates, but .... ugh.  Who knows how many duplicated entries there are throughout the plethora of xml files.

2,180 views 4 replies
Reply #1 Top

So digging into the XML files a bit more, it looks like the problem is messed up comments in the XML file (speaking specifically about KingdomSpecialImprovements.xml).  Maybe the engine is supposed to filter them out with some XSL or when they parse it... but that doesn't seem to be working for me when I run the game, so the net result is all the duplication.  The strange thing is that it worked fine before 1.06.  The really really strange thing is that the comments say version 1.123...  is it possible I have some file from a future patch somehow?

Reply #2 Top

Ugh, I give up.  The files reference things that don't even exist.  I'm not sure how but I think I have some files from a future build.

Reply #3 Top

Delete your C:\Users\"Username"\Documents\My Games\Elemental folder, and afterwards open Impulse and shift+right click Elemental, click 'Verify Installation'.

Once Impulse is done checking and updating Elemental, check to see if the issue still persists after that.

Reply #4 Top

That worked (kind of).  Your suggestion gave me the idea to delete the data.zip and verify the installation.

Thanks for the suggestion!  The XML files are still messed up but as long as I don't try to compile a new data.zip I'm fine.