Ress 21 #445476 Posted November 21, 2018 (edited) Decided to give it a test run and i noticed for some reason doesn't register every hit. Don't know if i messed up something with config, i watched same replay twice and same result.assistLog.xcbattleLabelsTemplates.xc random 2 replays i used for testing:15404136734602_france_F88_AMX_13_105_prohorovka.wotreplay15416262142737_usa_A37_M40M43_steppes.wotreplay also every time i get any assistance ingame this is usually printed inside logs. 2018-11-21 19:58:18.627: INFO: ============================= 2018-11-21 19:58:50.694: INFO: ============================= 2018-11-21 19:58:50.694: INFO: 2018-11-21 19:58:50: [ERROR] mods/xfw/python/xfw/events.pyc 2018-11-21 19:58:50.694: ERROR: Traceback (most recent call last): 2018-11-21 19:58:50.694: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-11-21 19:58:50.695: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-11-21 19:58:50.695: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 636, in BattleRibbonsPanel__onRibbonUpdated 2018-11-21 19:58:50.695: ERROR: _data.ribbonUpdated(ribbon) 2018-11-21 19:58:50.695: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 420, in ribbonUpdated 2018-11-21 19:58:50.695: ERROR: self.updateData() 2018-11-21 19:58:50.695: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 393, in updateData 2018-11-21 19:58:50.695: ERROR: self.updateLabels() 2018-11-21 19:58:50.695: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 245, in updateLabels 2018-11-21 19:58:50.695: ERROR: _altLog.output() 2018-11-21 19:58:50.695: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 605, in output 2018-11-21 19:58:50.695: ERROR: self.groupHitsPlayer() 2018-11-21 19:58:50.695: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 580, in groupHitsPlayer 2018-11-21 19:58:50.695: ERROR: self.updatePlayers(vehID) 2018-11-21 19:58:50.695: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 534, in updatePlayers 2018-11-21 19:58:50.695: ERROR: self.updateList(pl, CHANGE) 2018-11-21 19:58:50.695: ERROR: NameError: global name 'pl' is not defined 2018-11-21 19:58:50.695: INFO: ============================= 2018-11-21 19:58:55.726: INFO: ============================= 2018-11-21 19:58:55.726: INFO: 2018-11-21 19:58:55: [ERROR] mods/xfw/python/xfw/events.pyc 2018-11-21 19:58:55.726: ERROR: Traceback (most recent call last): 2018-11-21 19:58:55.726: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-11-21 19:58:55.727: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-11-21 19:58:55.727: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 648, in BattleRibbonsPanel__onRibbonAdded 2018-11-21 19:58:55.727: ERROR: _data.ribbonAdded(ribbon) 2018-11-21 19:58:55.727: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 447, in ribbonAdded 2018-11-21 19:58:55.727: ERROR: self.updateData() 2018-11-21 19:58:55.727: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 393, in updateData 2018-11-21 19:58:55.727: ERROR: self.updateLabels() 2018-11-21 19:58:55.727: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 245, in updateLabels 2018-11-21 19:58:55.727: ERROR: _altLog.output() 2018-11-21 19:58:55.727: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 605, in output 2018-11-21 19:58:55.727: ERROR: self.groupHitsPlayer() 2018-11-21 19:58:55.727: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 580, in groupHitsPlayer 2018-11-21 19:58:55.727: ERROR: self.updatePlayers(vehID) 2018-11-21 19:58:55.727: ERROR: File "res_mods/configs/xvm/py_macro\xvm\assistLog.py", line 534, in updatePlayers 2018-11-21 19:58:55.727: ERROR: self.updateList(pl, CHANGE) 2018-11-21 19:58:55.727: ERROR: NameError: global name 'pl' is not defined 2018-11-21 19:58:55.727: INFO: ============================= 2018-11-21 19:59:15.701: INFO: ============================= Edited November 21, 2018 by Ress 2 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #445478 Posted November 21, 2018 @Ress Прикрепите файлы xvm.log и python.log. Quote Share this post Link to post Short link Share on other sites
Pensioner 55 #445479 Posted November 21, 2018 (edited) Если отключить группирование по танкам, то считает нормально до последнего выстрела по ИС-4 , почему то -550, но если уменьшить скорость воспроизведения перед уничтожением ИС-4, пишет всё правильно. Edited November 22, 2018 by Pensioner Quote Share this post Link to post Short link Share on other sites
Ress 21 #445482 Posted November 21, 2018 (edited) @ktulhopython.logxvm.log ...there are few battleTimer errors inside xvm.log, ignore it, timers work just fine. EDIT: just in case someone corrects me about using "600 mods" (removed 6 mods i was using, cleared cache, run same replay, same result...)python2.logxvm2.log Edited November 21, 2018 by Ress Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #445525 Posted November 22, 2018 21 час назад, Ress сказал: Don't know if i messed up something with config, i watched same replay twice and same result. Исправил, обновил скрипт assistLog.py 3 Quote Share this post Link to post Short link Share on other sites
Ress 21 #445530 Posted November 22, 2018 2 hours ago, ktulho said: Fixed, updated the assistLog.py script Updated and tested new .py, appears to be working fine, also logs show no errors. Thanks! Quote Share this post Link to post Short link Share on other sites
id_nexus 4 #451319 Posted February 23, 2019 Подскажите, можно ли в тело хитлога добавить значение ассиста? Чтобы было например: количество попаданий | суммарный урон игроку | суммарный урон по ассисту игроку | техника | ник То есть объединить логи. Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #451370 Posted February 24, 2019 17 часов назад, id_nexus сказал: Подскажите, можно ли в тело хитлога добавить значение ассиста? Нет. Quote Share this post Link to post Short link Share on other sites
xZirus 201 #451393 Posted February 24, 2019 В 17.10.2018 в 09:53, Pensioner сказал: Вот, пожалуйста. assistLog.xc Приветствую! А можешь скинуть свой блок "assistLogHeader" из battleLabelsTemplates.xc ? В 22.11.2018 в 20:12, ktulho сказал: Исправил, обновил скрипт assistLog.py Приветствую! А планируется добавление этого мода в общую сборку XVM ? Quote Share this post Link to post Short link Share on other sites
Pensioner 55 #451402 Posted February 24, 2019 41 минуту назад, xZirus сказал: Приветствую! А можешь скинуть свой блок "assistLogHeader" из battleLabelsTemplates.xc ? Шапку, если ты это имеешь ввиду, я делал из "totalEfficiency"средствами XVM". "totalEfficiencyassistLog": { "enabled": true, "updateEvent": "PY(ON_TOTAL_EFFICIENCY)", "visibleOnHotKey": false, "onHold": true, "x": 1345, "y": 40, "width": 300, "height": 30, "screenVAlign": "top", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 3 }, "textFormat": { "font": "DS-Digital", "color": "0xE3E3E3", "size": 15}, "format": "<textformat leading='-3' tabstops='[60,120,180,240]'><font><img src='img://../icons/TotalEfficiency/spot.png' vspace='-3'>{{py:xvm.numberAssistSpot}}:{{py:xvm.assistSpot}}</font><tab><font><img src='img://../icons/TotalEfficiency/track.png' vspace='-3'>{{py:xvm.numberAssistTrack}}:{{py:xvm.assistTrack}}</font><tab><font><img src='img://../icons/TotalEfficiency/stun.png' vspace='-3'>{{py:xvm.numberAssistStun}}:{{py:xvm.totalStun}}</font><tab><font><img src='img://../icons/TotalEfficiency/assist.png' vspace='-3'>{{py:xvm.numberAssistAndStuns}}:{{py:xvm.totalAssistAndStuns}} </font></textformat>" }, 1 Quote Share this post Link to post Short link Share on other sites
xZirus 201 #451404 Posted February 24, 2019 2 минуты назад, Pensioner сказал: Шапку, если ты это имеешь ввиду, я делал из "totalEfficiency"средствами XVM". Да, именно шапка меня и интересует! Благодарю Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #451405 Posted February 24, 2019 45 минут назад, xZirus сказал: А планируется добавление этого мода в общую сборку XVM ? Нужен конфиг подходящий для default. И можно будет обсудить его в этой теме. Quote Share this post Link to post Short link Share on other sites
xZirus 201 #457240 Posted April 29, 2019 Всем привет! Допиливаю до конца свой конфиг и вот с чем столкнулся. Хочется суммарный (общий) дамаг красить в разные цвета, в hitLog для этого используется вот такой макрос: {{py:xvm.totalDamageColor}} может и для ассиста есть подобный?! Помимо этого, но уже на уровне опции можно было бы красить аналогичным образом суммарный дамаг от "гусления", "засвета" и "стана". Quote Share this post Link to post Short link Share on other sites
xZirus 201 #459026 Posted May 14, 2019 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #459032 Posted May 14, 2019 В 30.04.2019 в 00:13, xZirus сказал: Хочется суммарный (общий) дамаг красить в разные цвета, в hitLog для этого используется вот такой макрос: {{py:xvm.totalDamageColor}} Макрос {{py:xvm.totalDamageColor}} возвращает значения на основе макроса {{xtdb}}. На основе чего красить "суммарный (общий) дамаг"? Quote Share this post Link to post Short link Share on other sites
xZirus 201 #459103 Posted May 14, 2019 5 часов назад, ktulho сказал: На основе чего красить "суммарный (общий) дамаг"? А по какому принципу {{xtdb}} высчитывает значение? Возможно можно взять за основу max и min значения по данному параметру из игровой статистики. Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #459105 Posted May 14, 2019 1 минуту назад, xZirus сказал: А по какому принципу {{xtdb}} высчитывает значение? Собирается статистика и высчитывается. Quote Share this post Link to post Short link Share on other sites
motaro 5 #460149 Posted May 21, 2019 @ktulho Здравствуйте, не подскажите,если меняю параметр move in battle с false на true то возникает ошибка ,если параметр оставить false то все работает нормально battleLabelsTemplates.xc xvm.log assistLog.xc 1 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #460151 Posted May 21, 2019 13 минут назад, motaro сказал: @ktulho Здравствуйте, не подскажите,если меняю параметр move in battle с false на true то возникает ошибка ,если параметр оставить false то все работает нормально battleLabelsTemplates.xc 11 kB · 0 скачиваний xvm.log 12 kB · 1 скачивание assistLog.xc 12 kB · 0 скачиваний Исправил, обновил в шапке скрипт assistLog.py. Quote Share this post Link to post Short link Share on other sites
motaro 5 #460153 Posted May 21, 2019 (edited) @ktulho понял, благодарю @ktulho по нажатию и удержанию alt пропадает лог, как сделать чтобы по нажатию и удержанию alt появлялся, в hokeys прописано так: "assistLogAltMode": { "enabled": true, "keyCode": 56, "onHold": true }, assistLog.xc @motaro а вроде дошло, сейчас попробую Edited May 21, 2019 by motaro Quote Share this post Link to post Short link Share on other sites