ktulho 5,790 #501515 Posted May 4, 2021 @motaro у вас не обновлены какие то скрипты в папке py_macro Quote Share this post Link to post Short link Share on other sites
motaro 5 #501516 Posted May 4, 2021 @ktulho там есть ошибка,но не знаю имеет ли она отношение к данной проблеме @ktulho hitlog.py обновил точно, раньше работало Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #501517 Posted May 4, 2021 Это может быть любой скрипт, где есть функция onHealthChanged Quote Share this post Link to post Short link Share on other sites
motaro 5 #501518 Posted May 4, 2021 @ktulho значит надо все обновить и тогда должна уйти такая проблема с хитлогом? Quote Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #501520 Posted May 4, 2021 4 минуты назад, motaro сказал: значит надо все обновить Желательно. Но если там у вас много файлов и все их искать в данном разделе (для того чтобы скачать актуальные версии) не хотите и/или нет времени, то можно упростить задачу. В notepad++ (или аналогичном текст.редакторе) произвести поиск по файлам указав путь до папки "py_macro". В поиске ввести onHealthChanged И обновить только те файлы где будет найдено словосочетание. Quote Share this post Link to post Short link Share on other sites
motaro 5 #501522 Posted May 4, 2021 @night_dragon_on логично, спасибо @night_dragon_on вроде обновил а все равно ошибка @night_dragon_on @ktulho разобрался, удалил скрипт sight.py,ошибка исчезла и хитлог заработал,а я думал он нужен Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #501537 Posted May 5, 2021 8 часов назад, motaro сказал: разобрался, удалил скрипт sight.py,ошибка исчезла и хитлог заработал,а я думал он нужен Я же писал, что его давно нет. Quote Share this post Link to post Short link Share on other sites
motaro 5 #501583 Posted May 6, 2021 @ktulho просто у меня остался с давних времен Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #504085 Posted June 20, 2021 @ktulho на тесте хитлог и дамаглог не работают. С боя ошибки в лог не пишутся. В реплее пишутся: 2021-06-20 18:40:13.432: INFO: ============================= 2021-06-20 18:40:13.432: INFO: 2021-06-20 18:40:13: [ERROR] mods/xfw_libraries/xfw/events.pyc 2021-06-20 18:40:13.432: ERROR: Traceback (most recent call last): 2021-06-20 18:40:13.432: ERROR: File "./xfw/events.py", line 57, in __event_handler 2021-06-20 18:40:13.433: ERROR: File "./xfw/events.py", line 24, in fire 2021-06-20 18:40:13.434: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 853, in PlayerAvatar__processVehicleAmmo 2021-06-20 18:40:13.435: ERROR: g_dataHitLog.loaded() 2021-06-20 18:40:13.435: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 306, in loaded 2021-06-20 18:40:13.435: ERROR: self.intCD = self.ammo.getCurrentShellCD() 2021-06-20 18:40:13.435: ERROR: AttributeError: 'NoneType' object has no attribute 'getCurrentShellCD' 2021-06-20 18:40:13.435: INFO: ============================= 2021-06-20 18:40:19.227: INFO: ============================= 2021-06-20 18:40:19.227: INFO: 2021-06-20 18:40:19: [ERROR] mods/xfw_libraries/xfw/events.pyc 2021-06-20 18:40:19.227: ERROR: Traceback (most recent call last): 2021-06-20 18:40:19.227: ERROR: File "./xfw/events.py", line 57, in __event_handler 2021-06-20 18:40:19.228: ERROR: File "./xfw/events.py", line 24, in fire 2021-06-20 18:40:19.229: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 1018, in Vehicle_onHealthChanged 2021-06-20 18:40:19.229: ERROR: data.onHealthChanged(self, newHealth, oldHealth, attackerID, attackReasonID) 2021-06-20 18:40:19.229: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 564, in onHealthChanged 2021-06-20 18:40:19.229: ERROR: self.updateData() 2021-06-20 18:40:19.229: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 318, in updateData 2021-06-20 18:40:19.229: ERROR: self.data['dmgRatio'] = self.data['damage'] * 100 // self.data['maxHealth'] 2021-06-20 18:40:19.229: ERROR: ZeroDivisionError: integer division or modulo by zero 2021-06-20 18:40:19.229: INFO: ============================= и со сборника одну нашёл: 2021-06-20 18:40:19.276: INFO: ============================= 2021-06-20 18:40:19.276: INFO: 2021-06-20 18:40:19: [ERROR] mods/xfw_libraries/xfw/events.pyc 2021-06-20 18:40:19.276: ERROR: Traceback (most recent call last): 2021-06-20 18:40:19.276: ERROR: File "./xfw/events.py", line 53, in __event_handler 2021-06-20 18:40:19.277: ERROR: File "./xfw/events.py", line 24, in fire 2021-06-20 18:40:19.278: ERROR: File "res_mods/configs/xvm/py_macro\collection.py", line 48, in onHealthChanged 2021-06-20 18:40:19.278: ERROR: if attackerID not in _vehicles: 2021-06-20 18:40:19.278: ERROR: TypeError: argument of type 'NoneType' is not iterable 2021-06-20 18:40:19.278: INFO: ============================ 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #504137 Posted June 21, 2021 20.06.2021 в 18:45, HEKPOMAHT сказал: на тесте хитлог и дамаглог не работают исправлено в Build: 8.8.0_0015 Quote Share this post Link to post Short link Share on other sites
Turbina 52 #506098 Posted July 25, 2021 Пропал хитлог после восстановления игры и моего старого конфига.Подскажите,как быть?Замена моего файла hitLog.xc на дефолтный не помогло. xvm.log python.log Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #506116 Posted July 25, 2021 6 часов назад, Turbina сказал: и моего старого конфига. На сколько старый конфиг? Quote Share this post Link to post Short link Share on other sites
BuSH 174 #506164 Posted July 27, 2021 Там первый хитлог (не V2). @Turbina ещё в battleLabels нужно заменить секции hitlog_header и hitlog_body на свежие hitLogHeader и hitLogBody. Дёрнуть можно в default/battleLabelsTemplates.xc 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #507385 Posted August 19, 2021 @ktulho если не перепутал - с ЛФ: 2021-08-19 20:43:48.308: INFO: ============================= 2021-08-19 20:43:48.308: INFO: 2021-08-19 20:43:48: [ERROR] mods/xfw_libraries/xfw/events.pyc 2021-08-19 20:43:48.308: ERROR: Traceback (most recent call last): 2021-08-19 20:43:48.308: ERROR: File "./xfw/events.py", line 57, in __event_handler 2021-08-19 20:43:48.310: ERROR: File "./xfw/events.py", line 24, in fire 2021-08-19 20:43:48.311: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 854, in PlayerAvatar__processVehicleAmmo 2021-08-19 20:43:48.311: ERROR: g_dataHitLog.loaded() 2021-08-19 20:43:48.311: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 307, in loaded 2021-08-19 20:43:48.311: ERROR: self.intCD = self.ammo.getCurrentShellCD() 2021-08-19 20:43:48.311: ERROR: AttributeError: 'NoneType' object has no attribute 'getCurrentShellCD' 2021-08-19 20:43:48.311: INFO: ============================= думал, что сохранил реплей... да сохранил не тот Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #510013 Posted October 18, 2021 14:05 убил экипаж. Не срабатывает: "{{alive? |{{blownup?||<font size='19'>w</font>}}}}" хитлог экипаж убит.wotreplay Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #510036 Posted October 19, 2021 Запулил исправление. 2 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #510040 Posted October 19, 2021 18 минут назад, ktulho сказал: Запулил исправление. бодрячком в Build: 8.9.0_0017 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #510793 Posted November 6, 2021 @ktulho с затоплением можно что сделать? // тест "dmg-kind": { "shot": "попадание", // shot / попадание. "ramming": "таран", // ramming / таран. "drowning": "утопление", // drowning / утопление. ... }, "formatHistory": "{{dmg-kind}} <font color='{{c:vtype}}'>{{vehicle}}</font>" ---- и чтоб при "groupHitsByPlayer": true исходя из реплея сгруппировал урон тараном с остатком хп при затоплении 8-53 затопил.wotreplay Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #510802 Posted November 6, 2021 3 часа назад, HEKPOMAHT сказал: с затоплением можно что сделать? Наверное нет. 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #511462 Posted November 19, 2021 @ktulho 2021-11-19 18:19:19.191: INFO: ============================= 2021-11-19 18:19:19.191: INFO: 2021-11-19 18:19:19: [ERROR] mods/xfw_libraries/xfw/events.pyc 2021-11-19 18:19:19.191: ERROR: Traceback (most recent call last): 2021-11-19 18:19:19.191: ERROR: File "./xfw/events.py", line 57, in __event_handler 2021-11-19 18:19:19.193: ERROR: File "./xfw/events.py", line 24, in fire 2021-11-19 18:19:19.194: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 915, in _Vehicle_onHealthChanged 2021-11-19 18:19:19.195: ERROR: g_dataHitLog.onHealthChanged(self, newHealth, attackerID, attackReasonID) 2021-11-19 18:19:19.195: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 350, in onHealthChanged 2021-11-19 18:19:19.195: ERROR: self.updateData() 2021-11-19 18:19:19.195: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 304, in updateData 2021-11-19 18:19:19.195: ERROR: self.updateLabels() 2021-11-19 18:19:19.195: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 222, in updateLabels 2021-11-19 18:19:19.195: ERROR: g_hitLogs.output() 2021-11-19 18:19:19.195: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 829, in output 2021-11-19 18:19:19.195: ERROR: log.output() 2021-11-19 18:19:19.195: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 784, in output 2021-11-19 18:19:19.195: ERROR: self.listLog = self.groupHitByPlayer.getListLog() 2021-11-19 18:19:19.195: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 623, in getListLog 2021-11-19 18:19:19.196: ERROR: self.updatePlayers() 2021-11-19 18:19:19.196: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 583, in updatePlayers 2021-11-19 18:19:19.196: ERROR: self.updateList(self.CHANGE) 2021-11-19 18:19:19.196: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 540, in updateList 2021-11-19 18:19:19.196: ERROR: macros = self.udateMacros() 2021-11-19 18:19:19.196: ERROR: File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 489, in udateMacros 2021-11-19 18:19:19.196: ERROR: data['dmg-kind-player'] = ''.join([conf['dmg-kind-player'].get(ATTACK_REASONS[i], None) for i in player.get('dmg-kind-player', [])]) 2021-11-19 18:19:19.196: ERROR: KeyError: 34 2021-11-19 18:19:19.196: INFO: ============================= лф-резервы - отобразилась только подложка хитлога.wotreplay в лини фронта урон от резервов не отображается. Вроде ж чинили раньше. 1 Quote Share this post Link to post Short link Share on other sites