Romario87 32 Posted March 8, 2019 (edited) Не работает хвм в бою. На сайте все включено и активировано. xvm.log python.log Edited March 8, 2019 by Romario87 Share this post Link to post Short link Share on other sites
Romario87 32 #452686 Posted March 9, 2019 Проблема в моем конфиге, похоже он устарел. С дефолтным конфигом всё показывает, но не так как мне нужно.Старый у меня уже несколько лет. Может можно как то конфиг реанимировать? Share this post Link to post Short link Share on other sites
ktulho 5,790 #452687 Posted March 9, 2019 (edited) Скорее всего проблема связана с этим. Можете пока закомментировать всё, что находиться внутри квадратных скобок параметра "special": [ ] в файле minimapCircles.xc. Edited March 9, 2019 by ktulho 1 Share this post Link to post Short link Share on other sites
Romario87 32 #452689 Posted March 9, 2019 (edited) Скинул целиком minimapCircles.xc Edited March 9, 2019 by Romario87 Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #452690 Posted March 9, 2019 @Romario87 minimapCircles.xc Share this post Link to post Short link Share on other sites
ktulho 5,790 #452691 Posted March 9, 2019 После открывающейся квадратной скобки поставьте /* и перед закрывающей квадратной скобкой поставьте */ "special": [ /* . . . */] Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #452692 Posted March 9, 2019 Можно просто очистить полностью секцию ибо системное наименование техники в корне не верно прописано. Share this post Link to post Short link Share on other sites
ktulho 5,790 #452693 Posted March 9, 2019 Ещё надо поправить battlelabels.xc и battleLabelsTemplates.xc. 2019-03-08 17:20:55: [ERROR] Traceback (most recent call last): File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 156, in process_python_macro (func, deterministic) = get_function(arg) File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 147, in get_function (func, deterministic) = _container.get(func_name) TypeError: 'NoneType' object is not iterable arg='repairTimeTracks' Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #452694 Posted March 9, 2019 И после фикса в ночниках она будет чуть более чем бесполезна. Share this post Link to post Short link Share on other sites
ktulho 5,790 #452695 Posted March 9, 2019 Ну поправить названия техники проще, чем заново писать все. Share this post Link to post Short link Share on other sites
Romario87 32 #452696 Posted March 9, 2019 Я изменил minimapCircles.xc и всё заработало. Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #452697 Posted March 9, 2019 (edited) 17 минут назад, ktulho сказал: Ну поправить названия техники проще, чем заново писать все. Не требуется их обратно вносить с правками, у него секция в этом файле устаревшая. Вместо этих записей давным давно есть соответствующий параметр: // Максимальная дальность стрельбы для артиллерии. "artillery": { "enabled": true, "alpha": 55, "color": "0xFF6666", "thickness": 0.5 }, Edited March 9, 2019 by night_dragon_on 1 Share this post Link to post Short link Share on other sites
Romario87 32 #452698 Posted March 9, 2019 (edited) 12 минут назад, ktulho сказал: Ещё надо поправить battlelabels.xc и battleLabelsTemplates.xc. 2019-03-08 17:20:55: [ERROR] Traceback (most recent call last): File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 156, in process_python_macro (func, deterministic) = get_function(arg) File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 147, in get_function (func, deterministic) = _container.get(func_name) TypeError: 'NoneType' object is not iterable arg='repairTimeTracks' Не понял как и что менять. battleLabels.xc battleLabelsTemplates.xc Edited March 9, 2019 by Romario87 Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #452700 Posted March 9, 2019 @Romario87 , тебе необходимо заменить: В файле battlelabels.xc "def.repairTimeTracks" > "def.repairTimeComplex" В файле battleLabelsTemplates.xc "{{py:repairTimeEngine%0.1f}}" > "{{py:repairTimeEngine}}" "{{py:repairTimeGun%0.1f}}" > "{{py:repairTimeGun}}" "PY(ON_TURRET_UPDATE)" > "PY(ON_TURRETROTATOR_UPDATE)" "{{py:repairTimeTurret%0.1f}}" > "{{py:repairTimeTurret}}" "repairTimeTracks": { > "repairTimeComplex": { "{{py:repairTimeTracks%0.1f}}" > "{{py:repairTimeComplex}}" "PY(ON_SURVEYING_UPDATE)" > "PY(ON_SURVEYINGDEVICE_UPDATE)" "{{py:repairTimeSurveying%0.1f}}" > "{{py:repairTimeSurveying}}" "{{py:repairTimeSurveying%0.1f}}" > "{{py:repairTimeSurveying}}" 1 Share this post Link to post Short link Share on other sites
Romario87 32 #452702 Posted March 9, 2019 И что изменится? Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #452705 Posted March 9, 2019 Ошибка исчезнет о которой ранее @ktulho упомянул. 1 Share this post Link to post Short link Share on other sites
ktulho 5,790 #452706 Posted March 9, 2019 24 минуты назад, Romario87 сказал: И что изменится? Как минимум, в панели повреждений начнет отображаться время ремонта шасси. 1 Share this post Link to post Short link Share on other sites
Romario87 32 #452708 Posted March 9, 2019 (edited) Спасибо за помощь. Всё сделал. Edited March 9, 2019 by Romario87 Share this post Link to post Short link Share on other sites