Jump to content
Korean Random

Прицел (без сведения) средствами XVM


Recommended Posts

скрипт из шапки

[0.9.21/Build: 8091]  ERROR

Цитата

2017-12-04 19:40:31.930: INFO: =============================
2017-12-04 19:40:31.930: INFO: 2017-12-04 19:40:31: [ERROR] mods/com.modxvm.xfw/python/xfw/events.pyc
2017-12-04 19:40:31.930: ERROR: Traceback (most recent call last):
2017-12-04 19:40:31.930: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2017-12-04 19:40:31.930: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2017-12-04 19:40:31.931: ERROR:   File "res_mods/configs/xvm/py_macro\sight.py", line 127, in __onGunMarkerStateChanged
2017-12-04 19:40:31.931: ERROR:     if markerType != GUN_MARKER_TYPE.SUB:
2017-12-04 19:40:31.931: ERROR: AttributeError: type object 'GUN_MARKER_TYPE' has no attribute 'SUB'
2017-12-04 19:40:31.931: INFO: =============================

 

Link to comment
Short link
Share on other sites

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

Исправил.

 

Цитата

2017-12-04 20:13:18.065: INFO: =============================
2017-12-04 20:13:18.065: INFO: 2017-12-04 20:13:18: [ERROR] mods/com.modxvm.xfw/python/xfw/events.pyc
2017-12-04 20:13:18.065: ERROR: Traceback (most recent call last):
2017-12-04 20:13:18.065: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2017-12-04 20:13:18.066: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2017-12-04 20:13:18.066: ERROR:   File "res_mods/configs/xvm/py_macro\sight.py", line 481, in Vehicle_onEnterWorld
2017-12-04 20:13:18.067: ERROR:     isNotEvent = player.arenaGuiType not in [ARENA_GUI_TYPE.EVENT_BATTLES, ARENA_GUI_TYPE.EVENT_BATTLES_2]
2017-12-04 20:13:18.067: ERROR: AttributeError: class ARENA_GUI_TYPE has no attribute 'EVENT_BATTLES_2'
2017-12-04 20:13:18.067: INFO: =============================

 

глянь - может от текущего патча скрипт прикрепил.

Link to comment
Short link
Share on other sites

скрипт для 0.9.21_CT

[0.9.21/Build: 8094]  ERROR

Цитата

2017-12-07 09:23:45.374: INFO: =============================
2017-12-07 09:23:45.374: INFO: 2017-12-07 09:23:45: [ERROR] mods/com.modxvm.xfw/python/xfw/events.pyc
2017-12-07 09:23:45.374: ERROR: Traceback (most recent call last):
2017-12-07 09:23:45.374: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2017-12-07 09:23:45.374: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2017-12-07 09:23:45.374: ERROR:   File "res_mods/configs/xvm/py_macro\sight.py", line 483, in Vehicle_onEnterWorld
2017-12-07 09:23:45.375: ERROR:     isNotEvent = player.arenaGuiType not in [ARENA_GUI_TYPE.EVENT_BATTLES, ARENA_GUI_TYPE.EVENT_BATTLES_2]
2017-12-07 09:23:45.375: ERROR: AttributeError: class ARENA_GUI_TYPE has no attribute 'EVENT_BATTLES_2'
2017-12-07 09:23:45.375: INFO: =============================

ext_cigar.gif

  • Upvote 1
Link to comment
Short link
Share on other sites

2017-12-07 21:40:31.460: ERROR: [EXCEPTION] (scripts/client/account_helpers/settings_core/options.py, 229):
Traceback (most recent call last):
  File "scripts/client/account_helpers/settings_core/options.py", line 227, in __forEach
  File "scripts/client/account_helpers/settings_core/options.py", line 304, in <lambda>
  File "scripts/client/account_helpers/settings_core/options.py", line 517, in dump
  File "scripts/client/BattleReplay.py", line 1224, in setSetting
  File "scripts/common/Event.py", line 44, in __call__
  File "scripts/client/gui/Scaleform/daapi/view/battle/shared/crosshair/plugins.py", line 232, in __onSettingsChanged
ReferenceError: weakly-referenced object no longer exists

2017-12-07 21:40:31.461: ERROR: [EXCEPTION] (scripts/common/Event.py, 46):
Traceback (most recent call last):
  File "scripts/common/Event.py", line 44, in __call__

как я уже сказал, левой стороны нет или у вас уже есть решение ;)

 

MFG

SicFunzler

 

 

shot_001.jpg

Link to comment
Short link
Share on other sites

хорошо, тогда мы ждем обновления 9.21 извините, не хочу быть плохой мыслью, может быть, вы что-то оптимизировали

 

Теперь я не спрашиваю, как глупо, как я сказал, извините

  • Upvote 1
Link to comment
Short link
Share on other sites

22 часа назад, ktulho сказал:

Перезалил.

А возможно добавить угол вхождения в броню на маркере?Само значение.Есть такая возможность выудить этот параметр из клиента,маркер бронепробития же сейчас высчитывает угол?С этими новыми шведоПТ этот параметр очень роляет,приходится кумули рядить,у них порог рикошета 85",а не 70" как у ББ,БП.Если бы ты видел какой именно угол,то можно понять какой снаряд рядить.На будущее к примеру))

Edited by Slava7572
Link to comment
Short link
Share on other sites

@ktulho , привет.

Решил прокачать ПТ-САУ Швеции, и после первого боя на UDES 03 вопрос возник:

0e32c5b548df7b51aaf912fd3771b8a3.png

Можно ли сделать, чтобы иконки пропадали после уничтожения ?

 

 

Edited by H_E_K_P_O_M_A_H_T_
очистка вложений
Link to comment
Short link
Share on other sites

Сейчас все работает, только дисплей проникновения не помогает

 

    "piercingChance": {
      "enabled": true,
      "flags": [ "alive" ],
      "updateEvent": "PY(ON_CALC_ARMOR), PY(ON_CAMERA_MODE)",
      "x": 0,
      "y": "{{py:sight.cameraMode=arc?-49|{{py:sight.cameraMode=sn?39|44}}}}",
      "width": 100,
      "height": 26,
      "screenHAlign": "center",
      "screenVAlign": "center",
      "alpha" : 100,
      "shadow": { "distance": 1, "angle": 90, "alpha": 90, "blur": 5, "strength": 3 },
      "textFormat": { "align": "center", "valign": "center" },
      "format": "<font color='{{py:sight.c_piercingChance}}' size='16'>{{py:sight.piercingActual~/}}{{py:sight.armorActual}}</font>"
    }, 

Link to comment
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...