• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Cannot set values in server browser filters

I'm currently working to bring my A21 mods up to v2.5 so I started with a simple mod, Additional Time. It modifies two lines of code in window.xml to allow users to select up to six hour long days and to search for servers with those new times. I easily got the option to allow up to 360min for day length on the new/continue game menu, but I can NOT seem to get the server filters updated and I'm not sure why. I've triple-checked and it just won't work. It throws no errors or warnings in the console either.

The line that is failing to do anything:
XML:
<set xpath="/windows/window[@name='serverBrowser']/rect[@name='browser']/panel[@name='serverfilters']/panel[@controller='TabSelector']/rect[@name='tabsContents']/rect[@tab_key='xuiGameSettingsGeneral']/grid/browsergameoptioncombined[@name='DayNightLength']/@values">10, 20, 30, 40, 50, 60, 90, 120, 180, 240, 300, 360</set>

Am I missing something here? I've checked the windows.xml file from v2.5 and this appears to be correct, but clearly I'm not doing something properly.
 
Back
Top