Jump to content
Korean Random
Sign in to follow this  
phantasm

[1.0.1/8321] [Invalid] Ошибка в макросе total_Efficiency

Recommended Posts

А потому что надо .shell, а не ['shell'], причем давно. Странно, как это не заметили раньше.

2018-05-02 12:26:12.841: NOTICE: [NOTE] (mods/xfw/python/xfw/events.py, 71): [SPACE] Loading space: spaces/10_hills
2018-05-02 12:26:13.859: INFO: =============================
2018-05-02 12:26:13.859: INFO: 2018-05-02 12:26:13: [ERROR] mods/xfw/python/xfw/events.pyc
2018-05-02 12:26:13.859: ERROR: Traceback (most recent call last):
2018-05-02 12:26:13.859: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2018-05-02 12:26:13.859: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2018-05-02 12:26:13.860: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\total_Efficiency.py", line 231, in onEnterWorld
2018-05-02 12:26:13.860: ERROR:     isStuns = 'st' if 'stunDuration' in self.typeDescriptor.shot['shell'] else None
2018-05-02 12:26:13.860: ERROR:   File "scripts/common/items/components/legacy_stuff.py", line 57, in __getitem__
2018-05-02 12:26:13.861: ERROR: SoftException: Operation is not allowed
2018-05-02 12:26:13.861: INFO: =============================
2018-05-02 12:26:16.044: WARNING: [WARNING] (mods/xfw/python/xfw/events.py, 71): Class with alias `teamBasesPanel` alre...

 

20180502_1226_italy-It05_Carro_L6_40_10_hills_wotreplay.wotreplay

@ktulho это вроде твоё, не?

Edited by phantasm

Share this post


Link to post

Short link
Share on other sites

@phantasm , похоже ты этот файл сам давно не обновлял, в дефолтной поставке XVM-ма давно все исправлено:

isStuns = 'st' if self.typeDescriptor.shot.shell.hasStun else None

Обновись :wink:

  • Upvote 2

Share this post


Link to post

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...