Changes between Initial Version and Version 2 of Ticket #3431


Ignore:
Timestamp:
Sep 19, 2015, 11:30:45 AM (9 years ago)
Author:
elexis
Comment:

http://wildfiregames.com/forum/index.php?s=63819c21195ce79c90c23b607d4d0b20&showtopic=20059

Thanks for reporting. Yes, we noticed that too yesterday and I had uploaded a patch already, will be committed as soon as possible ;)

The reason for this bug is that the persist-matchsettings files of alpha 18 were not sanitized. For example they contain "Colour" instead of "Color" and sometimes both or neither.

The bug doesn't occur if svn creates the matchsettings file, as it was sanitized when changing the map.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3431

    • Property Status newreopened
    • Property Component Core engineUI & Simulation
    • Property Summary ERROR:Change player color in the gamesetup.[PATCH] Color Picker fails with MatchSettings of alpha 18
    • Property Priority Should HaveMust Have
    • Property Milestone BacklogAlpha 19
  • Ticket #3431 – Description

    initial v2  
    11Today I tested the latest SVN17040, when I choose a single player game, when you choose your faction, the error appears:
     2{{{
    23WARNING: JavaScript warning: gui/gamesetup/gamesetup.js line 901 reference to undefined property pData.Color
    34
     
    910
    1011ERROR: JavaScript error: gui/gamesetup/gamesetup.js line 383 TypeError: g_GameAttributes.settings.PlayerData[playerSlot] is undefined initMain/civ.onSelectionChange@gui/gamesetup/gamesetup.js:383:5 initCivNameList@gui/gamesetup/gamesetup.js:588:3 initMain@gui/gamesetup/gamesetup.js:121:2 onTick@gui/gamesetup/gamesetup.js:829:3 __eventhandler36 (tick)@setupWindow tick:0:1
     12}}}