Mixaill 1,740 Posted October 28, 2019 (edited) ranked_pp_xvm.logranked_pp_python.log Edited October 31, 2019 by Mixaill 3 Share this post Link to post Short link Share on other sites
ktulho 5,790 #469806 Posted October 29, 2019 Дополню. Не работает макрос {{pp.mode}} в ранговых боя. Макрос всегда возвращает 0. В качестве временного решения можно его не использовать в конфиге. Например для default конфига: // Log of applied damage (see hitLog.xc). // Лог нанесенного урона (см. hitLog.xc). "hitLogBody": { "enabled": true, "updateEvent": "PY(ON_HIT_LOG), ON_PANEL_MODE_CHANGED", "x": "{{battletype-key=epic_battle?240|{{py:sum({{pp.widthLeft}},{{py:xvm.hitLog.log.x}})}}}}", "y": "{{battletype-key=epic_battle?80|{{py:xvm.hitLog.log.y}}}}", "width": 500, "height": 1000, "layer": "bottom", "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{py:xvm.hitLog.log}}", "mouseEvents": { "mouseDown": "hitLog_mouseDown", "mouseUp": "hitLog_mouseUp", "mouseMove": "hitLog_mouseMove" } }, // Background of the log of applied damage. // Подложка лога нанесенного урона. "hitLogBackground": { "enabled": false, "$ref": { "path":"def.hitLogBody" }, "format": "{{py:xvm.hitLog.log.bg}}" }, "totalEfficiency": { "enabled": true, "updateEvent": "PY(ON_TOTAL_EFFICIENCY), ON_PANEL_MODE_CHANGED", "x": "{{battletype-key=epic_battle?240|{{py:sum({{pp.widthLeft}},50)}}}}", "y": "{{battletype-key=epic_battle?55|35}}", "width": "{{py:xvm.isStuns?350|260}}", "height": 22, "textFormat": { "size": 16 }, "format": "<textformat tabstops='[65,130,196,261]' leading='-2' ><img src='xvm://res/icons/Efficiency/damage.png' vspace='-2'> <font color='{{py:xvm.totalDamage>0?{{py:xvm.totalDamageColor}}}}'>{{py:xvm.totalDamage}}</font><tab><img src='xvm://res/icons/Efficiency/assist.png' vspace='-2'> {{py:xvm.totalAssist}}<tab><img src='xvm://res/icons/Efficiency/reflect.png' vspace='-2'> {{py:xvm.totalBlocked}}<tab><img src='xvm://res/icons/Efficiency/discover.png' vspace='-2'> {{py:xvm.detection}}<tab><img src='xvm://res/icons/Efficiency/stun.png' vspace='-2'> {{py:xvm.totalStun}}</textformat>" }, Share this post Link to post Short link Share on other sites
nehalemex 24 #469810 Posted October 29, 2019 @ktulho уважаемый, вы бы для страждущих еще написали где искать это все. спасибо 1 Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #469812 Posted October 29, 2019 @nehalemex battleLabelsTemplates.xc Share this post Link to post Short link Share on other sites
nehalemex 24 #469813 Posted October 29, 2019 @night_dragon_on благодарю Share this post Link to post Short link Share on other sites
koresch_32_rus 5 #469826 Posted October 29, 2019 (edited) чёт у меня не работает xvm.zip Edited October 29, 2019 by koresch_32_rus Share this post Link to post Short link Share on other sites
Wild_RNB 114 #469827 Posted October 29, 2019 31 минуту назад, koresch_32_rus сказал: чёт у меня не работает xvm.zip 555 kB · 0 скачиваний Конфиг обновите Share this post Link to post Short link Share on other sites
Sergey1 9 #469828 Posted October 29, 2019 (edited) 7 часов назад, ktulho сказал: Дополню. Не работает макрос {{pp.mode}} в ранговых боя. Макрос всегда возвращает 0. В качестве временного решения можно его не использовать в конфиге. Например для default конфига: // Log of applied damage (see hitLog.xc). // Лог нанесенного урона (см. hitLog.xc). "hitLogBody": { "enabled": true, "updateEvent": "PY(ON_HIT_LOG), ON_PANEL_MODE_CHANGED", "x": "{{battletype-key=epic_battle?240|{{py:sum({{pp.widthLeft}},{{py:xvm.hitLog.log.x}})}}}}", "y": "{{battletype-key=epic_battle?80|{{py:xvm.hitLog.log.y}}}}", "width": 500, "height": 1000, "layer": "bottom", "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{py:xvm.hitLog.log}}", "mouseEvents": { "mouseDown": "hitLog_mouseDown", "mouseUp": "hitLog_mouseUp", "mouseMove": "hitLog_mouseMove" } }, // Background of the log of applied damage. // Подложка лога нанесенного урона. "hitLogBackground": { "enabled": false, "$ref": { "path":"def.hitLogBody" }, "format": "{{py:xvm.hitLog.log.bg}}" }, "totalEfficiency": { "enabled": true, "updateEvent": "PY(ON_TOTAL_EFFICIENCY), ON_PANEL_MODE_CHANGED", "x": "{{battletype-key=epic_battle?240|{{py:sum({{pp.widthLeft}},50)}}}}", "y": "{{battletype-key=epic_battle?55|35}}", "width": "{{py:xvm.isStuns?350|260}}", "height": 22, "textFormat": { "size": 16 }, "format": "<textformat tabstops='[65,130,196,261]' leading='-2' ><img src='xvm://res/icons/Efficiency/damage.png' vspace='-2'> <font color='{{py:xvm.totalDamage>0?{{py:xvm.totalDamageColor}}}}'>{{py:xvm.totalDamage}}</font><tab><img src='xvm://res/icons/Efficiency/assist.png' vspace='-2'> {{py:xvm.totalAssist}}<tab><img src='xvm://res/icons/Efficiency/reflect.png' vspace='-2'> {{py:xvm.totalBlocked}}<tab><img src='xvm://res/icons/Efficiency/discover.png' vspace='-2'> {{py:xvm.detection}}<tab><img src='xvm://res/icons/Efficiency/stun.png' vspace='-2'> {{py:xvm.totalStun}}</textformat>" }, Спасибо за подсказку! Всё отображается теперь как обычно! Только макрос {{pp.mode}} начинать убирать предлагаю с "Заголовок лога нанесенного урона". У кого то же он включен... 48 минут назад, koresch_32_rus сказал: чёт у меня не работает xvm.zip 555 kB · 1 скачивание Так в твоём конфиге напрочь отсутствует файл battleLabelsTemplates.xc Edited October 29, 2019 by Sergey1 Share this post Link to post Short link Share on other sites
ktulho 5,790 #469844 Posted October 30, 2019 Запулил исправление. 2 Share this post Link to post Short link Share on other sites
koresch_32_rus 5 #469850 Posted October 30, 2019 во сегодня всё норм Share this post Link to post Short link Share on other sites