Problem affecting 2 of the World War II Europe/global maps.
On two of the maps, there is a bug that seems to happen every time, when you take Paris round 1 (as you're supposed to). It says "unknown property named 'turns' "
it generates that error once the battle ends (and is won), and then the programs does not advance to the next phase.
I tested with doing no other combat moves or other actions than pouring all the troops into paris for that attack. using 2.5.22294 engine version offline.
This affects WW2 Global 1940 original and WW2 Europe 1940 original.
I haven't observed the bug in any other maps, but I have not exhaustively tested the conditions that cause it.
Perhaps because almost nobody uses the 'original' versions is why this was not noticed before.
I only heard about it because someone came into lobby asking for help with the bug.
Having so many different sub-versions seems like it increases the risk of errors creeping in on the less played ones when engine updates are made. Not that I'm clear on why this error is even occurring here.
Next step is other people confirming they can get this same bug to occur. If so, then one of us will look at the xml to fix it.
I think 'turns' has been replaced with 'rounds'. PoS2 still says 'turns', but it is not used. So try and replace "turns" with "rounds" and see if you still get this error.
RogerCooper last edited by
@wc_sumpton You can also change "turns" to "turn". I will put this on my list of things to fix.
If I'm reading this right, the xml was parsed, so the error is caused by a trigger that is changing raw data, since those type of triggers are not validated. In this case I believe that 'rounds' is used in the original condition so the changing trigger must also use 'rounds'.
Setting the changing trigger to 'turn', 'turns', or 'round' will still parse, yet give a gameplay error.