Jump to content
Korean Random
Mixaill

[1.6.1.3/8.1.6_7] [Fixed] Ранговые бои: корёжит уши

Recommended Posts

Дополню. Не работает макрос {{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>"
    },

image.png.ef00878cd3c4929be3ea92a5847d500b.png

image.png.96d99913bc4ec185d152255b67240ae2.png

image.png.b2c9c06d442b009ae6ce4dee5cf7434f.png

image.png.7c5288e4ff8ee7aed47715e17b8a80d1.png

 

Share this post


Link to post

Short link
Share on other sites
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>"
    },

image.png.ef00878cd3c4929be3ea92a5847d500b.png

image.png.96d99913bc4ec185d152255b67240ae2.png

image.png.b2c9c06d442b009ae6ce4dee5cf7434f.png

image.png.7c5288e4ff8ee7aed47715e17b8a80d1.png

 

Спасибо за подсказку! Всё отображается теперь как обычно! 

Только макрос {{pp.mode}} начинать убирать предлагаю с "Заголовок лога нанесенного урона". У кого то же он включен... 

48 минут назад, koresch_32_rus сказал:

чёт у меня не работает

 

xvm.zip 555 kB · 1 скачивание

Так в твоём конфиге напрочь отсутствует файл battleLabelsTemplates.xc

Edited by Sergey1

Share this post


Link to post

Short link
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...