HEKPOMAHT 2,168 #429099 Posted May 2, 2018 17 минут назад, Pensioner сказал: перестал работать ру-хитлог проверьте подключение: В файл battleLabels.xc добавить: ${ "battleLabelsTemplates.xc":"def.py_hitLog_Background"}, ${ "battleLabelsTemplates.xc":"def.py_hitLog"}, В файле @xvm.xc нужно добавить ссылку на файл py_hitLog.xc: "py_hitLog": ${"py_hitLog.xc":"py_hitLog"}, 1 Quote Share this post Link to post Short link Share on other sites
Pensioner 55 #429101 Posted May 2, 2018 10 минут назад, ktulho сказал: @Pensioner проверяйте конфиг или прикрепите его сюда. Ясно дело, сам накосячил, старый кинул работает, буду искать что "обновил" :). 7 минут назад, HEKPOMAHT сказал: В файле @xvm.xc нужно добавить ссылку на файл py_hitLog.xc: "py_hitLog": ${"py_hitLog.xc":"py_hitLog"}, Точно обновил @xvm.xc добавил нижние что ещё использую, а это стояло в середине рядом со старым хит логом, вот его и не добавил. Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #429786 Posted May 5, 2018 Исправил работу макросов {{costShell}} и {{c:costShell}}. Обновил в шапке скрипт hitLog.py. 5 Quote Share this post Link to post Short link Share on other sites
Xotabych 337 #431234 Posted May 20, 2018 Лог урона у меня выключен в Линии Фронта. Вот ошибки в логе: 2018-05-20 14:05:53.184: INFO: ============================= 2018-05-20 14:05:53.184: INFO: 2018-05-20 14:05:53: [ERROR] mods/xfw/python/xfw/events.pyc 2018-05-20 14:05:53.184: ERROR: Traceback (most recent call last): 2018-05-20 14:05:53.184: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-05-20 14:05:53.184: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-05-20 14:05:53.185: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 809, in _Vehicle_onHealthChanged 2018-05-20 14:05:53.185: ERROR: _data.onHealthChanged(self, newHealth, attackerID, attackReasonID) 2018-05-20 14:05:53.185: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 447, in onHealthChanged 2018-05-20 14:05:53.185: ERROR: self.updateData() 2018-05-20 14:05:53.185: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 423, in updateData 2018-05-20 14:05:53.185: ERROR: self.updateLabels() 2018-05-20 14:05:53.185: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 306, in updateLabels 2018-05-20 14:05:53.185: ERROR: _altLog.output() 2018-05-20 14:05:53.185: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 745, in output 2018-05-20 14:05:53.185: ERROR: self.groupHitsPlayer() 2018-05-20 14:05:53.185: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 645, in groupHitsPlayer 2018-05-20 14:05:53.185: ERROR: self.updatePlayers(vehID) 2018-05-20 14:05:53.185: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 598, in updatePlayers 2018-05-20 14:05:53.185: ERROR: self.updateList(pl, CHANGE) 2018-05-20 14:05:53.185: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 533, in updateList 2018-05-20 14:05:53.185: ERROR: updateValueMacros(self.section, playerData) 2018-05-20 14:05:53.185: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 232, in updateValueMacros 2018-05-20 14:05:53.185: ERROR: 'dmg-kind-player': ''.join([conf['dmg-kind-player'].get(ATTACK_REASONS[i], None) for i in value['dmg-kind-player']]), 2018-05-20 14:05:53.185: ERROR: KeyError: 13 2018-05-20 14:05:53.185: INFO: ============================= Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #431285 Posted May 21, 2018 19 часов назад, Xotabych сказал: Вот ошибки в логе: Вроде исправил. 1 Quote Share this post Link to post Short link Share on other sites
Pensioner 55 #431325 Posted May 21, 2018 (edited) 5 часов назад, ktulho сказал: Вроде исправил. Кидаю новый hitLog.py и хитлог(ру) вообще ничего не пишет, случайные бои, линию фронта не играл и до этого ошибок не было. python.log xvm.log Edited May 21, 2018 by Pensioner Quote Share this post Link to post Short link Share on other sites
Xotabych 337 #431333 Posted May 22, 2018 14 часов назад, ktulho сказал: Вроде исправил. Как писал выше@Pensioner не работает от слова вообще. Если нужны еще логи могу приложить. Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #431343 Posted May 22, 2018 15 часов назад, Pensioner сказал: Кидаю новый hitLog.py и хитлог(ру) вообще ничего не пишет, случайные бои, Исправил. 1 Quote Share this post Link to post Short link Share on other sites
Pensioner 55 #431415 Posted May 22, 2018 9 часов назад, ktulho сказал: Исправил. Так точно, работает! 1 Quote Share this post Link to post Short link Share on other sites
Pensioner 55 #434082 Posted June 18, 2018 (edited) Прикол с трупом союзника, взял столкнул его с горы вот что прописало. 20180617_2015_france-F25_Lorraine155_51_29_el_hallouf.wotreplay Edited June 18, 2018 by Pensioner 1 Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #434289 Posted June 20, 2018 В 18.06.2018 в 20:34, Pensioner сказал: Прикол с трупом союзника, взял столкнул его с горы вот что прописало. Исправил, обновил скрипт hitLog.py. 2 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #437598 Posted August 6, 2018 Build 8535 СТ 2018-08-06 17:29:08.804: INFO: ============================= 2018-08-06 17:29:08.804: INFO: 2018-08-06 17:29:08: [ERROR] mods/xfw/python/xfw/events.pyc 2018-08-06 17:29:08.804: ERROR: Traceback (most recent call last): 2018-08-06 17:29:08.804: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-08-06 17:29:08.805: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-08-06 17:29:08.805: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 758, in _PlayerAvatar_updateVehicleGunReloadTime 2018-08-06 17:29:08.806: ERROR: _data.reload() 2018-08-06 17:29:08.806: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 421, in reload 2018-08-06 17:29:08.806: ERROR: self.data['intCD'] = self.ammo.getCurrentShellCD() 2018-08-06 17:29:08.806: ERROR: AttributeError: 'NoneType' object has no attribute 'getCurrentShellCD' 2018-08-06 17:29:08.806: INFO: ============================= 1 Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #437635 Posted August 6, 2018 (edited) Скрипт для WoT 1.1 CT: hitLog.py Edited August 6, 2018 by ktulho 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #437641 Posted August 6, 2018 глянь ещё, ошибку пишет. На реплее воспроизводится 2018-08-06 23:04:53.486: INFO: ============================= 2018-08-06 23:04:53.486: INFO: 2018-08-06 23:04:53: [ERROR] mods/xfw/python/xfw/events.pyc 2018-08-06 23:04:53.486: ERROR: Traceback (most recent call last): 2018-08-06 23:04:53.486: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-08-06 23:04:53.486: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-08-06 23:04:53.487: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 816, in _Vehicle_onHealthChanged 2018-08-06 23:04:53.487: ERROR: _data.onHealthChanged(self, newHealth, attackerID, attackReasonID) 2018-08-06 23:04:53.487: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 449, in onHealthChanged 2018-08-06 23:04:53.487: ERROR: self.updateData() 2018-08-06 23:04:53.487: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 425, in updateData 2018-08-06 23:04:53.487: ERROR: self.updateLabels() 2018-08-06 23:04:53.487: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 309, in updateLabels 2018-08-06 23:04:53.487: ERROR: _log.output() 2018-08-06 23:04:53.487: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 754, in output 2018-08-06 23:04:53.487: ERROR: as_event('ON_HIT_LOG') 2018-08-06 23:04:53.487: ERROR: NameError: global name 'as_event' is not defined 2018-08-06 23:04:53.488: INFO: ============================= прикреплю реплей, если нужно Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #437642 Posted August 6, 2018 Перезалил. 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #437643 Posted August 6, 2018 4 минуты назад, ktulho сказал: Перезалил. работает, ошибок с новыми скриптами нет! Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #439040 Posted August 28, 2018 Обновил скрипт в шапке для патча 1.1.0. Quote Share this post Link to post Short link Share on other sites
Pensioner 55 #441743 Posted September 25, 2018 А что в рухитлоге нет макроса: {{number}} - line number / номер строки.? Quote Share this post Link to post Short link Share on other sites
Darthame 5 #442035 Posted October 2, 2018 Возможно ли сделать оставшееся ХП у противников по alt(вместо хитлога), как это было раньше? Quote Share this post Link to post Short link Share on other sites
Wild_RNB 114 #442159 Posted October 4, 2018 Каким образом можно изменять ширину хитлога? Quote Share this post Link to post Short link Share on other sites