Jump to content
Korean Random
ktulho

damageLog средствами XVM.

Recommended Posts

 

 

Все, сам разобрался, вопрос снят

Edited by Viller

Share this post


Link to post

Short link
Share on other sites

@Viller обновите скрипт battleEfficiency.py, если не поможет прикрепите конфиг.

Share this post


Link to post

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

@Viller обновите скрипт battleEfficiency.py, если не поможет прикрепите конфиг.

Спасибо, разобрался. но дело не в скрипте было, и не в XVM вообще. Дамаг панель была с ошибкой.

Share this post


Link to post

Short link
Share on other sites
2019-06-11 23:43:53.376: INFO: =============================
2019-06-11 23:43:53.376: INFO: 2019-06-11 23:43:53: [ERROR] mods/xfw/python/xfw/events.pyc
2019-06-11 23:43:53.376: ERROR: Traceback (most recent call last):
2019-06-11 23:43:53.376: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2019-06-11 23:43:53.377: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2019-06-11 23:43:53.378: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 990, in Vehicle_onHealthChanged
2019-06-11 23:43:53.378: ERROR:     data.onHealthChanged(self, newHealth, attackerID, attackReasonID)
2019-06-11 23:43:53.378: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 552, in onHealthChanged
2019-06-11 23:43:53.378: ERROR:     self.updateData()
2019-06-11 23:43:53.378: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 374, in updateData
2019-06-11 23:43:53.378: ERROR:     self.updateLabels()
2019-06-11 23:43:53.378: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 438, in updateLabels
2019-06-11 23:43:53.378: ERROR:     _logAlt.output()
2019-06-11 23:43:53.378: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 825, in output
2019-06-11 23:43:53.378: ERROR:     self.groupDmg()
2019-06-11 23:43:53.378: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 806, in groupDmg
2019-06-11 23:43:53.378: ERROR:     self.updateGroupedValues(parametersDmg)
2019-06-11 23:43:53.378: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 794, in updateGroupedValues
2019-06-11 23:43:53.379: ERROR:     self.dataLog['fireDuration'] = BigWorld.time() - parametersDmg['startAction'] if (attackReasonID == 1) and (parametersDmg['startAction'] is not None) else None
2019-06-11 23:43:53.379: ERROR: NameError: global name 'attackReasonID' is not defined
2019-06-11 23:43:53.379: INFO: =============================

 

 

Edited by HEKPOMAHT
✂ удаление реплея
  • Upvote 1

Share this post


Link to post

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

Запулил исправление.

Build: 9167 - норм.

Share this post


Link to post

Short link
Share on other sites

нашёл ошибку:

2019-06-24 14:26:18.476: INFO: =============================
2019-06-24 14:26:18.476: INFO: 2019-06-24 14:26:18: [ERROR] mods/xfw/python/xfw/events.pyc
2019-06-24 14:26:18.476: ERROR: Traceback (most recent call last):
2019-06-24 14:26:18.476: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2019-06-24 14:26:18.477: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2019-06-24 14:26:18.477: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 1050, in Vehicle_showDamageFromShot
2019-06-24 14:26:18.478: ERROR:     data.showDamageFromShot(self, attackerID, points, effectsIndex, damageFactor)
2019-06-24 14:26:18.478: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 457, in showDamageFromShot
2019-06-24 14:26:18.478: ERROR:     compName = decodedPoints[0].componentName
2019-06-24 14:26:18.478: ERROR: IndexError: list index out of range
2019-06-24 14:26:18.478: INFO: =============================

Прокрутил 5 раз реплей - не воспроизводится. Наверно случайно выскочила. 

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.

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.

×