Silver Raven Posted December 22, 2016 Share Posted December 22, 2016 Народ, выручайте! Только сегодня адаптировал свой конфиг к свежей версии XVM-а (юзаю notepad++ и winmere для сравнения файлов). В игре же идет явно дефолтный. По логу не могу понять где искать ошибку(и): 2016-12-22 23:17:09: XVM: eXtended Visualisation Mod ( http://www.modxvm.com/ ) 2016-12-22 23:17:09: XVM Version : 6.5.1.1 2016-12-22 23:17:09: XVM Revision : 6963 2016-12-22 23:17:09: XVM Branch : default 2016-12-22 23:17:09: XVM Hash : 1f66780902ee15af46506308a06ef88a1cd551cf 2016-12-22 23:17:09: WoT Supported : 0.9.17.0.1 2016-12-22 23:17:09: WoT Current : 0.9.17.0.1 2016-12-22 23:17:09: --------------------------- 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\xvm.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\xvm.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\minimapAlt.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\minimap.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\minimapCircles.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\minimapMapSize.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\minimapLabelsAlt.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\minimapLabelsTemplates.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\minimapLines.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\minimapLabelsData.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\hitLog.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\battle.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\colors.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\export.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\elements.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\camera.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\sounds.xc 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\configs\xvm\Silver_Raven\battleLabels.xc 2016-12-22 23:17:09: [ERROR] Traceback (most recent call last): File "D:\Games\World of Tanks\res_mods\mods/packages\xvm_main\python\config.py", line 97, in _load_xvm_xc result = JSONxLoader.load(filename, _load_log) File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\__init__.py", line 9, in load return config_loader.load() File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\loader.py", line 25, in load result = self.visit(root, [], '', 32) File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\loader.py", line 44, in visit return self.visit_dict(root, path, file_name, level) File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\loader.py", line 69, in visit_dict return self.visit(result, path, config_file, level - 1) File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\loader.py", line 44, in visit return self.visit_dict(root, path, file_name, level) File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\loader.py", line 69, in visit_dict return self.visit(result, path, config_file, level - 1) File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\loader.py", line 44, in visit return self.visit_dict(root, path, file_name, level) File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\loader.py", line 52, in visit_dict return {key: self.visit(value, path + [key], file_name, level - 1) for key, value in root.iteritems()} File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\loader.py", line 52, in <dictcomp> return {key: self.visit(value, path + [key], file_name, level - 1) for key, value in root.iteritems()} File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\loader.py", line 44, in visit return self.visit_dict(root, path, file_name, level) File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\loader.py", line 58, in visit_dict config = self.load_config(config_file) File "D:\Games\World of Tanks\res_mods\mods/xfw/python/lib\JSONxLoader\loader.py", line 38, in load_config raise JSONxLoaderException("{} at {}:{} in \"{}\"".format(e.message, line, col, path), path) JSONxLoaderException: ARRAY: "]" expected, got "$" at 26:4 in "res_mods\configs\xvm\Silver_Raven\battleLabels.xc" 2016-12-22 23:17:09: [JSONxLoader] load: res_mods\mods\shared_resources\xvm\l10n\ru.xc 2016-12-22 23:17:09: Config loaded. Region: RU (detected), Language: ru (detected) 2016-12-22 23:17:15: [INFO] HTTP: /wn8.json 2016-12-22 23:17:15: [INFO] Time: 150 ms, Size: 10134 (46404) bytes 2016-12-22 23:17:15: [INFO] HTTPS: /4.0/getToken//4443380 2016-12-22 23:17:15: [INFO] Time: 385 ms, Size: 42 (22) bytes 2016-12-22 23:17:15: [INFO] HTTPS: /4.0/getVersionWithLimit//4443380/50 2016-12-22 23:17:16: [INFO] Time: 416 ms, Size: 1530 (7501) bytes 2016-12-22 23:17:17: WARNING: TODO: len(hulls) != 1 for vehicle ussr:R03_BT-7 2016-12-22 23:17:17: WARNING: TODO: len(hulls) != 1 for vehicle ussr:R81_IS8 2016-12-22 23:17:17: WARNING: TODO: len(hulls) != 1 for vehicle germany:G04_PzVI_Tiger_I 2016-12-22 23:17:17: WARNING: TODO: len(hulls) != 1 for vehicle germany:G27_VK3001P 2016-12-22 23:17:17: WARNING: TODO: len(hulls) != 1 for vehicle usa:A25_M2_med 2016-12-22 23:17:17: WARNING: TODO: len(hulls) != 1 for vehicle usa:A46_T3 2016-12-22 23:17:17: WARNING: TODO: len(hulls) != 1 for vehicle france:F44_Somua_S35 2016-12-22 23:17:17: WARNING: TODO: len(hulls) != 1 for vehicle uk:GB11_Caernarvon 2016-12-22 23:17:17: WARNING: TODO: len(hulls) != 1 for vehicle uk:GB12_Conqueror 2016-12-22 23:17:17: WARNING: TODO: len(hulls) != 1 for vehicle uk:GB22_Comet 2016-12-22 23:17:17: [B:000] [XVM:BATTLE] processView: classicBattlePage 2016-12-22 23:17:19: [B:001] onLibLoaded: ../../res_mods/mods/packages/xvm_battle/as_battle/xvm_battle.swf 2016-12-22 23:17:19: [B:002] [XFW] Mod loaded: xvm_battle.swf 2016-12-22 23:17:20: [X:000] onLibLoaded: 2016-12-22 23:17:20: [VM] initialized Похоже на скрипты, но я их не трогал. Link to comment Short link Share on other sites More sharing options...
ktulho Posted December 22, 2016 Share Posted December 22, 2016 Ошибка в 26 строке в файле res_mods\mods\shared_resources\xvm\l10n\ru.xc Link to comment Short link Share on other sites More sharing options...
Silver Raven Posted December 22, 2016 Author Share Posted December 22, 2016 (edited) Хм, файлик локализации у меня оригинальный. Я только удалил все остальные, да выставил привязку в xvm.xc. (на всякий случай кинул из оригинального архива снова - безрезультатно) P.S. И да, не знаю в XVM тут дело или нет - но буквально через раз клиент игры запускает реплеи вообще без интерфейса. Edited December 22, 2016 by Silver Raven Link to comment Short link Share on other sites More sharing options...
ktulho Posted December 22, 2016 Share Posted December 22, 2016 смотрите, где используете эту подстановку. Или прикрепите конфиг. Link to comment Short link Share on other sites More sharing options...
konrad509 Posted December 22, 2016 Share Posted December 22, 2016 Ошибка в 26 строке в файле res_mods\mods\shared_resources\xvm\l10n\ru.xc в battleLabels.xc Link to comment Short link Share on other sites More sharing options...
Silver Raven Posted December 22, 2016 Author Share Posted December 22, 2016 (edited) battleLabels.xc /** * List of battle interface labels. * Список текстовых полей боевого интерфейса. */ { "labels": { // Referenced labels: // * every custom field can be separate enabled or disabled by "enabled" switch in their settings. // * extended format supported, see extra-field.txt // Подключенные текстовые поля: // * кастомные поля можно отдельно отключать и включать с помощью "enabled" в их настройках. // * поддерживается расширенный формат, см. extra-field.txt "formats": [ ${ "battleLabelsTemplates.xc":"def.hitlogHeader" }, ${ "battleLabelsTemplates.xc":"def.hitlogBody" }, ${ "battleLabelsTemplates.xc":"def.winChance" }, ${ "battleLabelsTemplates.xc":"def.totalHP" }, ${ "battleLabelsTemplates.xc":"def.avgDamage" }, ${ "battleLabelsTemplates.xc":"def.mainGun" }, ${ "battleLabelsTemplates.xc":"def.damageLog" }, ${ "battleLabelsTemplates.xc":"def.lastHit" }, ${ "battleLabelsTemplates.xc":"def.fire" }, ${ "battleLabelsTemplates.xc":"def.totalEfficiency" } // Device repair timer. // Таймер починки модулей. ${ "deviceRepairTimer.xc":"def.repairTimeEngine" }, ${ "deviceRepairTimer.xc":"def.repairTimeGun" }, ${ "deviceRepairTimer.xc":"def.repairTimeTurret" }, ${ "deviceRepairTimer.xc":"def.repairTimeTracks" }, ${ "deviceRepairTimer.xc":"def.repairTimeSurveying"}, // Device repair on press Ctrl. // Ремонт модулей по нажатию Ctrl. ${ "deviceRepairCtrl.xc":"def.repairEngine" }, ${ "deviceRepairCtrl.xc":"def.repairAmmoBay" }, ${ "deviceRepairCtrl.xc":"def.repairGun" }, ${ "deviceRepairCtrl.xc":"def.repairTurret" }, ${ "deviceRepairCtrl.xc":"def.repairTracks"}, ${ "deviceRepairCtrl.xc":"def.repairSurveying" }, ${ "deviceRepairCtrl.xc":"def.repairRadio" }, ${ "deviceRepairCtrl.xc":"def.repairFuelTank" } ] } } XCPad - ошибок не увидел. Может я сплю и тут тупая опечатка? Если понадобится весь конфиг, пишите - выложу. P.S. Проблема с интерфейсом в реплеях, похоже, связана со скриптами прицелов. Во всяком случае в тестовой ветке так думают. Edited December 22, 2016 by Silver Raven Link to comment Short link Share on other sites More sharing options...
konrad509 Posted December 22, 2016 Share Posted December 22, 2016 (edited) Добавьте запятую после ${ "battleLabelsTemplates.xc":"def.totalEfficiency" } Edited December 22, 2016 by konrad509 Link to comment Short link Share on other sites More sharing options...
Silver Raven Posted December 22, 2016 Author Share Posted December 22, 2016 Боже я дебил. Тупейшая опечатка. Теперь все ок, тема закрыта. Link to comment Short link Share on other sites More sharing options...
Recommended Posts