Jump to content
Korean Random
ktulho

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

Recommended Posts

41 минуту назад, ktulho сказал:

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

прокрутил 2 реплея + сыграл бой. Ошибок нет.

non_banana1.gif

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Уважаемый HEKPOMAHT, СПАСИБО за помощь!

shot_092.jpg.e9e4acabb0cf83abd8dddd6bc6a468ee.jpg

Всё получилось на 122ТМ.

Проблема была в моде, "Калькулятор боевой эффективности" от PROТанки:

shot_073.jpg.3d5c61285b8a75a2614fcfacb8cd0c78.jpgДля другой технике

shot_085.jpg.7e62a4d88a16d3a663c9895fcfdcf49d.jpg Для 122ТМ

 

МОЁ МНЕНИЕ, в файле "itemsPrice.json" (20.10.2020) т.к. цена и тип снаряда для данного танка НАВЕРНОЕ ещё не прописана.

Ещё раз, СПАСИБО за помощь!!!

 

Кому надо, нашёл, мод "Калькулятор боевой эффективности" (не на официальном сайте PROТанки, странно...) и файл: itemsPrice.json от 08.12.2020, теперь ВСЁ работает правильно (и мод "Калькулятор боевой эффективности" и hitLog).

Всем удачи в БОЯХ :honoring:

 

Edited by sergey spb
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Хитлог у всех нормально работает? 

Задолбался искать причину, но почему-то не отображается (как и ассист лог и углы наводки со сферой для арты). 

Дефолтный конфиг работает, хитлог показывает, закидываю свои файлы под замену, в целом работает, кроме выше перечисленного. Заменял файл хитлога и хоткей на дефолтные (на всякий случай), не помогло. 

Может в логах что видно...

xvm.log python.log

Edited by Antoshkaaa

Share this post


Link to post

Short link
Share on other sites

anglesAiming.py  обновил и половина пофиксилась (хитлог, асисст и углы) 

теперь нужно разобраться со сферой для арты, она не пофиксилась

 

Share this post


Link to post

Short link
Share on other sites

удалил т.к зря беспокоил ,баг

Edited by Magadgan

Share this post


Link to post

Short link
Share on other sites

I get this entry in python.log since 1.12.1.1, XVM 8.7.8_0022, but hitlog seems somehow working in the game.

 

2021-04-28 13:13:23.056: INFO: 2021-04-28 13:13:23: [ERROR] mods/xfw_libraries/xfw/events.pyc
2021-04-28 13:13:23.056: ERROR: Traceback (most recent call last):
2021-04-28 13:13:23.056: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2021-04-28 13:13:23.056: ERROR:   File "./xfw/events.py", line 24, in fire
2021-04-28 13:13:23.057: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 874, in _Vehicle_showDamageFromShot
2021-04-28 13:13:23.057: ERROR:     g_dataHitLog.showDamageFromShot(self, attackerID, points, effectsIndex, damageFactor)
2021-04-28 13:13:23.057: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\hitLog.py", line 364, in showDamageFromShot
2021-04-28 13:13:23.057: ERROR:     self.criticalHit = (maxHitEffectCode == 5)
2021-04-28 13:13:23.057: ERROR: UnboundLocalError: local variable 'maxHitEffectCode' referenced before assignment

Share this post


Link to post

Short link
Share on other sites
2 часа назад, Heliomalt сказал:

@ktulho  you can take any replay you want, error appears in every replay, so far as I know 3 times in the attached. If hitlog is disabled, there is no error.

20210427_2156_sweden-S25_EMIL_51_105_germany.wotreplay

У меня нет ошибок. Прикрепите файлы python.log и xvm.log.

Share this post


Link to post

Short link
Share on other sites

@ktulho здравствуйте, почему то не отображается количество пробитий в подложке хитлога,не посмотрите?

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...