ktulho 5,790 #414029 Posted December 4, 2017 2 часа назад, H_E_K_P_O_M_A_H_T_ сказал: Ну что ж, ждём тогда обновления скрипта. Добавлю после выхода патча, а то я запутаюсь в скриптах. 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,164 #414030 Posted December 4, 2017 скрипт из шапки [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: ============================= Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #414032 Posted December 4, 2017 Исправил. 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,164 #414035 Posted December 4, 2017 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: ============================= глянь - может от текущего патча скрипт прикрепил. Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #414036 Posted December 4, 2017 2 минуты назад, H_E_K_P_O_M_A_H_T_ сказал: глянь - может от текущего патча скрипт прикрепил. Я же говорил, что запутаюсь.)) Обновил. 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,164 #414038 Posted December 4, 2017 @ktulho , глянь ещё разок - без изменений Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #414041 Posted December 4, 2017 7 минут назад, H_E_K_P_O_M_A_H_T_ сказал: @ktulho , глянь ещё разок - без изменений Теперь точно обновил. 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,164 #414042 Posted December 4, 2017 увы, проверить пока нет возможности отпишусь, когда сервер заработает Quote Share this post Link to post Short link Share on other sites
SEREGA_SF 611 #414046 Posted December 4, 2017 @H_E_K_P_O_M_A_H_T_, заездил вхлам ktulho седня, ему теперь ночью будет снится, как он скрипт обновляет Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,164 #414047 Posted December 4, 2017 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,164 #414185 Posted December 7, 2017 скрипт для 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: ============================= 1 Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #414187 Posted December 7, 2017 . Вечером исправлю. 1 Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #414208 Posted December 7, 2017 11 часов назад, H_E_K_P_O_M_A_H_T_ сказал: скрипт для 0.9.21_CT Перезалил. 3 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,164 #414210 Posted December 7, 2017 49 минут назад, ktulho сказал: Перезалил. Прицел работает. Ошибок нет. 1 Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #414219 Posted December 7, 2017 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 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,164 #414221 Posted December 7, 2017 4 минуты назад, sicfunzler сказал: как я уже сказал, левой стороны нет или у вас уже есть решение ;) будет только в 0.9.21. 1 Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #414222 Posted December 7, 2017 хорошо, тогда мы ждем обновления 9.21 извините, не хочу быть плохой мыслью, может быть, вы что-то оптимизировали Теперь я не спрашиваю, как глупо, как я сказал, извините 1 Quote Share this post Link to post Short link Share on other sites
Slava7572 1,685 #414268 Posted December 8, 2017 (edited) 22 часа назад, ktulho сказал: Перезалил. А возможно добавить угол вхождения в броню на маркере?Само значение.Есть такая возможность выудить этот параметр из клиента,маркер бронепробития же сейчас высчитывает угол?С этими новыми шведоПТ этот параметр очень роляет,приходится кумули рядить,у них порог рикошета 85",а не 70" как у ББ,БП.Если бы ты видел какой именно угол,то можно понять какой снаряд рядить.На будущее к примеру)) Edited December 8, 2017 by Slava7572 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,164 #414363 Posted December 10, 2017 (edited) @ktulho , привет. Решил прокачать ПТ-САУ Швеции, и после первого боя на UDES 03 вопрос возник: Можно ли сделать, чтобы иконки пропадали после уничтожения ? Edited December 23, 2017 by H_E_K_P_O_M_A_H_T_ очистка вложений Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #414751 Posted December 13, 2017 Сейчас все работает, только дисплей проникновения не помогает "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>" }, Quote Share this post Link to post Short link Share on other sites