HEKPOMAHT 2,158 #411624 Posted November 14, 2017 1 минуту назад, ktulho сказал: @H_E_K_P_O_M_A_H_T_ вместо {{c:wn8}} используй {{c:xwn8}}. ошибки с дефолтного конфига, т.е дамаглога нет совсем. Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #411627 Posted November 14, 2017 (edited) Да, надо править и дефолтный конфиг. Хотя нет, надо скрипт править. Edited November 14, 2017 by ktulho Quote Share this post Link to post Short link Share on other sites
Wild_RNB 114 #412484 Posted November 19, 2017 (edited) Возможно ли в секцию "type-shell" в параметр "not_shell": "" добавить слова "таран", "утопление", "переворот"? Что бы в логе не было пустого места при таране и т.д. Edited November 20, 2017 by Wild_RNB Quote Share this post Link to post Short link Share on other sites
Jack_ppc 77 #414211 Posted December 7, 2017 вопрос по синтаксису, сделал так: "critical-hit":{ "critical": "<font face='xvm'> Ė</font>", Как поднять символ Ė по вертикали на 2-3 пикселя? Заранее благодарен! Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,158 #414213 Posted December 7, 2017 В 20.11.2017 в 00:53, Wild_RNB сказал: Возможно ли в секцию "type-shell" в параметр "not_shell": "" добавить слова "таран", "утопление", "переворот"? Что бы в логе не было пустого места при таране и т.д. логичнее добавить "нет данных" "not_shell": "н/д" Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #414214 Posted December 7, 2017 5 минут назад, Jack_ppc сказал: вопрос по синтаксису, сделал так: "critical-hit":{ "critical": "<font face='xvm'> Ė</font>", Как поднять символ Ė по вертикали на 2-3 пикселя? Заранее благодарен! Попробуйте так: "critical-hit":{ "critical": "<textformat leading='-2'><font face='xvm'> Ė</font></textformat>", Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,158 #414215 Posted December 7, 2017 @ktulho , мне кажется, что так не получится. Вроде как пространство задаётся строчке целиком. тут обсуждался похожий вопрос. Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #414217 Posted December 7, 2017 16 минут назад, H_E_K_P_O_M_A_H_T_ сказал: Вроде как пространство задаётся строчке целиком. Наверно ты прав. Можно попробовать изменить размер символа. Quote Share this post Link to post Short link Share on other sites
Jack_ppc 77 #414225 Posted December 7, 2017 Да, наверное, проще взять картинку из клиента и с помощью vspace ее двигать. Правда, тогда она не будет краситься Quote Share this post Link to post Short link Share on other sites
bes1 115 #417431 Posted January 2, 2018 Цитата 2018-01-02 19:55:54.938: INFO: ============================= 2018-01-02 19:55:54.963: INFO: 2018-01-02 19:55:54: [ERROR] mods/xfw/python/xfw/events.pyc 2018-01-02 19:55:54.963: ERROR: Traceback (most recent call last): 2018-01-02 19:55:54.963: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-01-02 19:55:55.016: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-01-02 19:55:55.017: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 841, in Vehicle_onHealthChanged 2018-01-02 19:55:55.133: ERROR: data.onHealthChanged(self, newHealth, attackerID, attackReasonID) 2018-01-02 19:55:55.134: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 463, in onHealthChanged 2018-01-02 19:55:55.134: ERROR: self.updateData() 2018-01-02 19:55:55.134: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 302, in updateData 2018-01-02 19:55:55.134: ERROR: self.updateLabels() 2018-01-02 19:55:55.135: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 366, in updateLabels 2018-01-02 19:55:55.135: ERROR: _logAlt.output() 2018-01-02 19:55:55.135: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 684, in output 2018-01-02 19:55:55.135: ERROR: self.addLine(attackerID, attackReasonID) 2018-01-02 19:55:55.135: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 650, in addLine 2018-01-02 19:55:55.135: ERROR: self.dataLog['fireDuration'] = BigWorld.time() - beginFire if attackReasonID == 1 else None 2018-01-02 19:55:55.135: ERROR: TypeError: unsupported operand type(s) for -: 'float' and 'NoneType' 2018-01-02 19:55:55.135: INFO: ============================= 2018-01-02 19:55:55.416: INFO: ============================= 2018-01-02 19:55:55.416: INFO: 2018-01-02 19:55:55: [ERROR] mods/xfw/python/xfw/events.pyc 2018-01-02 19:55:55.416: ERROR: Traceback (most recent call last): 2018-01-02 19:55:55.416: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-01-02 19:55:55.416: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-01-02 19:55:55.417: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 841, in Vehicle_onHealthChanged 2018-01-02 19:55:55.417: ERROR: data.onHealthChanged(self, newHealth, attackerID, attackReasonID) 2018-01-02 19:55:55.417: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 463, in onHealthChanged 2018-01-02 19:55:55.417: ERROR: self.updateData() 2018-01-02 19:55:55.417: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 302, in updateData 2018-01-02 19:55:55.417: ERROR: self.updateLabels() 2018-01-02 19:55:55.417: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 366, in updateLabels 2018-01-02 19:55:55.417: ERROR: _logAlt.output() 2018-01-02 19:55:55.417: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 681, in output 2018-01-02 19:55:55.417: ERROR: self.addLine(attackerID, attackReasonID) 2018-01-02 19:55:55.417: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 650, in addLine 2018-01-02 19:55:55.417: ERROR: self.dataLog['fireDuration'] = BigWorld.time() - beginFire if attackReasonID == 1 else None 2018-01-02 19:55:55.417: ERROR: TypeError: unsupported operand type(s) for -: 'float' and 'NoneType' Вылетает при отчете начала боя Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #417434 Posted January 2, 2018 @_bes_1 прикрепите оба лога целиком. Quote Share this post Link to post Short link Share on other sites
GodzillaUA 20 #417465 Posted January 3, 2018 подскажите, почему у меня макросы {{py:xvm.detection}} {{py:xvm.assistSpot}} {{py:xvm.assistTrack}} {{py:xvm.crits}} постоянно возвращают нулевые значения? при том, что {{py:xvm.totalDamage}} {{py:xvm.totalBlocked}} {{py:xvm.totalAssist}} и т.д. работают верно где я что упустил? Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,158 #417467 Posted January 3, 2018 4 минуты назад, GodzillaUA сказал: подскажите, почему у меня макросы {{py:xvm.detection}} {{py:xvm.assistSpot}} {{py:xvm.assistTrack}} {{py:xvm.crits}} постоянно возвращают нулевые значения? в игре должны быть включены "События в бою", для обновления макросов в поле должно быть вписано событие: "updateEvent": "PY(ON_TOTAL_EFFICIENCY)" 1 Quote Share this post Link to post Short link Share on other sites
GodzillaUA 20 #417468 Posted January 3, 2018 10 минут назад, H_E_K_P_O_M_A_H_T_ сказал: должно быть вписано событие вписано... (я выше написал, часть макросов работает корректно) 13 минут назад, H_E_K_P_O_M_A_H_T_ сказал: в игре должны быть включены "События в бою" а вот это ща проверю... 29 минут назад, H_E_K_P_O_M_A_H_T_ сказал: в игре должны быть включены "События в бою" терь всё пашет замечательно спасибо! (кучу времени убил, думал у меня с головой что-то) 1 Quote Share this post Link to post Short link Share on other sites
GT_22rus 118 #422177 Posted February 24, 2018 Взял дефолтный дамаг лог, изменил шрифт и цвет урона. При нанесении урона союзником никаких изменений нет. Как будто это противник по мне стреляет. Подскажите куда копать? Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #422178 Posted February 24, 2018 2 минуты назад, GT_22rus сказал: При нанесении урона союзником никаких изменений нет. А что вы хотите изменить? Quote Share this post Link to post Short link Share on other sites
GT_22rus 118 #422179 Posted February 24, 2018 Только что, ktulho сказал: А что вы хотите изменить? Обозначить что это урон от союзника. Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #422180 Posted February 24, 2018 Только что, GT_22rus сказал: Обозначить что это урон от союзника. Как вы хотите обозначить? Цветом, словом? Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,158 #422181 Posted February 24, 2018 @ktulho загляни потом в ТЕ - форум всё в одно сообщение объединяет. Quote Share this post Link to post Short link Share on other sites
GT_22rus 118 #422182 Posted February 24, 2018 1 минуту назад, ktulho сказал: Как вы хотите обозначить? Цветом, словом? Цветом. Урон менял свой цвет. Так же если возможно то если получил рикошет или не пробил от союзника то они тоже в этот же цвет красились что и урон. Quote Share this post Link to post Short link Share on other sites