Ress Posted November 21, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted November 21, 2018 Author Share Posted November 21, 2018 @Ress Прикрепите файлы xvm.log и python.log. @ Quote Link to comment Short link Share on other sites More sharing options...
Pensioner Posted November 21, 2018 Share Posted November 21, 2018 (edited) Если отключить группирование по танкам, то считает нормально до последнего выстрела по ИС-4 , почему то -550, но если уменьшить скорость воспроизведения перед уничтожением ИС-4, пишет всё правильно. Edited November 22, 2018 by Pensioner @ Quote Link to comment Short link Share on other sites More sharing options...
Ress Posted November 21, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted November 22, 2018 Author Share 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 Link to comment Short link Share on other sites More sharing options...
Ress Posted November 22, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
id_nexus Posted February 23, 2019 Share Posted February 23, 2019 Подскажите, можно ли в тело хитлога добавить значение ассиста? Чтобы было например: количество попаданий | суммарный урон игроку | суммарный урон по ассисту игроку | техника | ник То есть объединить логи. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted February 24, 2019 Author Share Posted February 24, 2019 17 часов назад, id_nexus сказал: Подскажите, можно ли в тело хитлога добавить значение ассиста? Нет. @ Quote Link to comment Short link Share on other sites More sharing options...
xZirus Posted February 24, 2019 Share 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 Link to comment Short link Share on other sites More sharing options...
Pensioner Posted February 24, 2019 Share 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 Link to comment Short link Share on other sites More sharing options...
xZirus Posted February 24, 2019 Share Posted February 24, 2019 2 минуты назад, Pensioner сказал: Шапку, если ты это имеешь ввиду, я делал из "totalEfficiency"средствами XVM". Да, именно шапка меня и интересует! Благодарю @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted February 24, 2019 Author Share Posted February 24, 2019 45 минут назад, xZirus сказал: А планируется добавление этого мода в общую сборку XVM ? Нужен конфиг подходящий для default. И можно будет обсудить его в этой теме. @ Quote Link to comment Short link Share on other sites More sharing options...
xZirus Posted April 29, 2019 Share Posted April 29, 2019 Всем привет! Допиливаю до конца свой конфиг и вот с чем столкнулся. Хочется суммарный (общий) дамаг красить в разные цвета, в hitLog для этого используется вот такой макрос: {{py:xvm.totalDamageColor}} может и для ассиста есть подобный?! Помимо этого, но уже на уровне опции можно было бы красить аналогичным образом суммарный дамаг от "гусления", "засвета" и "стана". @ Quote Link to comment Short link Share on other sites More sharing options...
xZirus Posted May 14, 2019 Share Posted May 14, 2019 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted May 14, 2019 Author Share Posted May 14, 2019 В 30.04.2019 в 00:13, xZirus сказал: Хочется суммарный (общий) дамаг красить в разные цвета, в hitLog для этого используется вот такой макрос: {{py:xvm.totalDamageColor}} Макрос {{py:xvm.totalDamageColor}} возвращает значения на основе макроса {{xtdb}}. На основе чего красить "суммарный (общий) дамаг"? @ Quote Link to comment Short link Share on other sites More sharing options...
xZirus Posted May 14, 2019 Share Posted May 14, 2019 5 часов назад, ktulho сказал: На основе чего красить "суммарный (общий) дамаг"? А по какому принципу {{xtdb}} высчитывает значение? Возможно можно взять за основу max и min значения по данному параметру из игровой статистики. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted May 14, 2019 Author Share Posted May 14, 2019 1 минуту назад, xZirus сказал: А по какому принципу {{xtdb}} высчитывает значение? Собирается статистика и высчитывается. @ Quote Link to comment Short link Share on other sites More sharing options...
motaro Posted May 21, 2019 Share Posted May 21, 2019 @ktulho Здравствуйте, не подскажите,если меняю параметр move in battle с false на true то возникает ошибка ,если параметр оставить false то все работает нормально battleLabelsTemplates.xc xvm.log assistLog.xc 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted May 21, 2019 Author Share 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 Link to comment Short link Share on other sites More sharing options...
motaro Posted May 21, 2019 Share 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 Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.