Okxa 1 Posted April 30, 2015 After using my config long time I deciced to remake it again. So I copied default folder and started changing stuff However, when i run WoT, XVM loads only default values. I figured that log file must say something. It says: 2015-04-30 19:52:03: [X:025] Error parsing file Okxa/statisticForm.xc: [1444] JSONxError: Bad string ----}}</font>] <font color='{{c:kb}}'>{{kb%2d~k|--k}}</font> {{vehicle}}", >>>}<<<} okxa/statisticForm.xc: /** * Parameters of the Battle Statistics form. */ { "statisticForm": { // true - Enable display of battle tier. "showBattleTier": false, // Disable Live Win Change % -Okxa "showChancesLive": false, // Disable Win Change % -Okxa "showChances": false, // true - Disable Platoon icons. "removeSquadIcon": false, // Display options for Team/Clan logos (see battleLoading.xc). "clanIcon": { "show": true, "x": 0, "y": 6, "xr": 0, "yr": 6, "w": 16, "h": 16, "alpha": 90 }, // Display format for the left panel (macros allowed, see macros.txt). "formatLeftNick": "{{nick}}", // Display format for the right panel (macros allowed, see macros.txt). "formatRightNick": "{{nick}}", // Display format for the left panel (macros allowed, see macros.txt). "formatLeftVehicle": "{{vehicle}} <font color='{{c:kb}}'>{{kb%2d~k|--k}}</font> [<font color='{{c:xwn8}}'>{{xwn8%2s|--}}</font>=<font color='{{c:wn8}}'>{{wn8%4d|----}}</font>] <font color='{{c:winrate}}'>{{winrate%d~%|--%}}</font>", // Display format for the right panel (macros allowed, see macros.txt). "formatRightVehicle": "<font color='{{c:winrate}}'>{{winrate%d~%|--%}}</font> [<font color='{{c:xwn8}}'>{{xwn8%2s|--}}</font>=<font color='{{c:wn8}}'>{{wn8%4d|----}}</font>] <font color='{{c:kb}}'>{{kb%2d~k|--k}}</font> {{vehicle}}", } } But when I made WoT load my old config, it worked like it used to, no errors in log either The statisticForm.xc file seems essentially the same!: { "statisticForm": { "clanIcon": { "y": 6, "x": 0, "w": 16, "h": 16, "yr": 6, "xr": 0, "show": true, "alpha": 90 }, "showChancesLive": false, "showChances": false, "formatLeftNick": "{{nick}}", "formatRightNick": "{{nick}}", "formatLeftVehicle": "{{vehicle}} <font color='{{c:kb}}'>{{kb%2d~k|--k}}</font> [<font color='{{c:xwn8}}'>{{xwn8%2s|--}}</font>=<font color='{{c:wn8}}'>{{wn8%4d|----}}</font>] <font color='{{c:rating}}'>{{rating%d~%|--%}}</font>", "removeSquadIcon": false, "formatRightVehicle": "<font color='{{c:rating}}'>{{rating%d~%|--%}}</font> [<font color='{{c:xwn8}}'>{{xwn8%2s|--}}</font>=<font color='{{c:wn8}}'>{{wn8%4d|----}}</font>] <font color='{{c:kb}}'>{{kb%2d~k|--k}}</font> {{vehicle}}", "showBattleTier": false } } I also tried running the new config with rating in place of winrate macro and even without the optional stuff which would have shown placeholder if no data was found (for example {{xwn8%2s|--}}, if no stats are found then show -- instead). So I couldnt figure it out by myself and deciced to post here if someone would know the answer. Quote Share this post Link to post Short link Share on other sites
Helkar 385 #267245 Posted April 30, 2015 remove last comma 1 Quote Share this post Link to post Short link Share on other sites
Okxa 1 #267254 Posted April 30, 2015 Thank you, I knew I was blind. Quote Share this post Link to post Short link Share on other sites