Jump to content
Korean Random
ktulho

[Лог нанесенного урона / Hitlog] V2 (py_macro)

Recommended Posts

@motaro , я не знаю что у тебя за солянка установлена в директории с модами.

На всякий случай задай параметр:

"layer": "top",

Для полей:

  • battleLabelsTemplates.xc > "damageLog"
  • hitLogTemplates.xc > "hitLogBody"

Возможно у тебя какой то сторонний мод перекрывает эти поля.

 

Share this post


Link to post

Short link
Share on other sites

Лучше поставь только XVM (крайнюю сборку) + свой конфиг. И скатай бой.

Share this post


Link to post

Short link
Share on other sites
7 минут назад, motaro сказал:

а по логу что нибудь понял

обновите папку py_macro.

Share this post


Link to post

Short link
Share on other sites
1 минуту назад, motaro сказал:

да обновлял уже с последней сборки хвм

Если бы обновляли, у вас не было бы ошибки:

2019-03-25 15:01:43: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 157, in process_python_macro
    return (func(), deterministic)
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 150, in <lambda>
    return (lambda: func(*args), deterministic)
  File "res_mods/configs/xvm/py_macro\repairTime.py", line 186, in repairTimeComplex
    return RepairTimers.getTime(COMPLEX)
  File "res_mods/configs/xvm/py_macro\repairTime.py", line 115, in getTime
    result = self.timers[device].get('duration', None)
KeyError: 'rightTrack'
arg='repairTimeComplex'

 

Edited by ktulho

Share this post


Link to post

Short link
Share on other sites

@ktulho File "xfw_actionscript/python/xfwview.py", line 95, in xfw_cmd
2019-03-25 15:01:46.241: INFO:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2019-03-25 15:01:46.241: INFO:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 679, in mouse_move
2019-03-25 15:01:46.241: INFO:     self._mouse_move(_data, 'ON_HIT')
2019-03-25 15:01:46.241: INFO:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 641, in _mouse_move
2019-03-25 15:01:46.241: INFO:     self.x += (_data['x'] - self._data['x'])
2019-03-25 15:01:46.242: INFO: TypeError: cannot concatenate 'str' and 'int' objects еще и такая ошибка 

@ktulho удалил сою папку макро поставил из последней сборки попробую сейчас

@ktulho 2019-03-25 15:33:19: [ERROR] Traceback (most recent call last):
2019-03-25 15:33:19.180: INFO:   File "xfw_actionscript/python/xfwview.py", line 95, in xfw_cmd
2019-03-25 15:33:19.180: INFO:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2019-03-25 15:33:19.180: INFO:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 679, in mouse_move
2019-03-25 15:33:19.180: INFO:     self._mouse_move(_data, 'ON_HIT')
2019-03-25 15:33:19.180: INFO:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 641, in _mouse_move
2019-03-25 15:33:19.180: INFO:     self.x += (_data['x'] - self._data['x'])
2019-03-25 15:33:19.180: INFO: TypeError: cannot concatenate 'str' and 'int' objects обновил поставил последную сбоку и не двигаетя дамаг панель,может делов модах

@ktulho а хитлог стал двигаться

Share this post


Link to post

Short link
Share on other sites

@motaro попробуйте удалить все файлы из папки %AppData%\Wargaming.net\WorldOfTanks\xvm\DamageLog\

Share this post


Link to post

Short link
Share on other sites

@ktulho хорошо,а в конфиге все норм или видно что то не то

@ktulhoудалил  сыграю бой посмотрю

@ktulho удалил, помогло огромное спасибо за помощь бестолковому

@night_dragon_on СПАСИБО БОЛЬШОЕ ЗА ПОМОЩЬ

Share this post


Link to post

Short link
Share on other sites

Помогите пожалуйста восстановить работоспособность настроек мода после последнего обновления.

default.zip

Share this post


Link to post

Short link
Share on other sites

Может кто поможет, в заголовку хитлога отображается не танк по которому стрелял последний раз (т-50-2), а танк на которому я играю(Hellcat)

2SFHM.jpg

 

Проблема в выделеном тексте

battleLabelsTemplates.xc

"hitLogHeader": {
      "enabled": true,
      "updateEvent": "PY(ON_TOTAL_EFFICIENCY), ON_PANEL_MODE_CHANGED",
      "x": "{{pp.mode=0?5|{{py:sum({{pp.widthLeft}},50)}}}}",
      "y": "{{pp.mode=0?65|35}}",
      "width": 300,
      "height": 22,
      "textFormat": { "color": "0xF4EFE8", "size": 15 },
      "format": "{{py:xvm.totalDamage=0?{{l10n:Hits}}: <font size='13'>#0</font>|{{l10n:Total}}: <b><font color='#00FF00'>{{py:xvm.totalDamage}} хп</font></b> {{l10n:Last}}: <font color='#00FFFF'><b>{{py:xvm.dmg}} хп</b></font> <font color='{{c:vtype}}'>  ({{vehicle}})</font></font> <font color='#FFFFFF'> x:</font> <font size='12'>{{py:xvm.numberHitsDealt}}</font>}}"
    }

 

battleLabelsTemplates.xc

hitLog.xc

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...