HEKPOMAHT 2,168 #413443 Posted November 29, 2017 17 минут назад, ktulho сказал: Исправил. 10 минут назад, agachaul сказал: Сказать что я охренел от оперативности это ничего не сказать, спасибо Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #413818 Posted December 3, 2017 [0.9.21/Build: 8091] ERROR Цитата 2017-12-03 08:42:11.200: INFO: ============================= 2017-12-03 08:42:11.200: INFO: 2017-12-03 08:42:11: [ERROR] mods/com.modxvm.xfw/python/xfw/events.pyc 2017-12-03 08:42:11.200: ERROR: Traceback (most recent call last): 2017-12-03 08:42:11.200: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2017-12-03 08:42:11.201: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2017-12-03 08:42:11.201: ERROR: File "res_mods/configs/xvm/py_macro\sight.py", line 483, in Vehicle_onEnterWorld 2017-12-03 08:42:11.202: ERROR: isNotEvent = player.arenaGuiType not in [ARENA_GUI_TYPE.EVENT_BATTLES, ARENA_GUI_TYPE.EVENT_BATTLES_2] 2017-12-03 08:42:11.202: ERROR: AttributeError: class ARENA_GUI_TYPE has no attribute 'EVENT_BATTLES_2' 2017-12-03 08:42:11.202: INFO: ============================= Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #413874 Posted December 3, 2017 Добавил в шапку скрипт для 0.9.21_CT. P.S. Кто успел скачать скрипт для 0.9.21_CT, перекачайте 3 Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #413909 Posted December 3, 2017 здесь проблемы с временем перезагрузки не отображаются версия CT9.21 2017-12-03 20:10:49.116: DEBUG: [DEBUG] (scripts/client/gui/Scaleform/daapi/view/battle/shared/crosshair/container.py, 230): Present view settings of gun markers ([_ViewSettings(viewID=2, linkage='GunMarkerUI', name='sniperGunMarker', hasView=False), _ViewSettings(viewID=1, linkage='GunMarkerUI', name='arcadeGunMarker', hasView=False)],) 2017-12-03 20:10:49.116: ERROR: Traceback (most recent call last): 2017-12-03 20:10:49.116: ERROR: File "scripts/client/gui/Scaleform/Flash.py", line 293, in __call__ 2017-12-03 20:10:49.117: ERROR: File "scripts/client/gui/Scaleform/Flash.py", line 262, in handleExternalInterfaceCallback 2017-12-03 20:10:49.117: ERROR: File "scripts/client/gui/Scaleform/framework/application.py", line 61, in _onSWFInited 2017-12-03 20:10:49.117: ERROR: File "scripts/client/gui/Scaleform/framework/entities/BaseDAAPIModule.py", line 47, in setFlashObject 2017-12-03 20:10:49.117: ERROR: File "scripts/client/gui/Scaleform/framework/entities/DisposableEntity.py", line 62, in create 2017-12-03 20:10:49.118: ERROR: File "scripts/client/gui/Scaleform/daapi/view/battle/shared/crosshair/container.py", line 210, in _populate 2017-12-03 20:10:49.118: ERROR: File "scripts/client/gui/Scaleform/daapi/view/battle/shared/crosshair/container.py", line 201, in startPlugins 2017-12-03 20:10:49.118: ERROR: File "scripts/client/gui/shared/utils/plugins.py", line 76, in start 2017-12-03 20:10:49.119: ERROR: File "scripts/client/gui/shared/utils/plugins.py", line 88, in _invoke 2017-12-03 20:10:49.119: ERROR: File "scripts/client_common/shared_utils/__init__.py", line 48, in forEach 2017-12-03 20:10:49.119: ERROR: File "scripts/client/gui/Scaleform/daapi/view/battle/shared/crosshair/plugins.py", line 628, in start 2017-12-03 20:10:49.119: ERROR: File "scripts/client/gui/Scaleform/daapi/view/battle/shared/crosshair/plugins.py", line 664, in __setup 2017-12-03 20:10:49.120: ERROR: File "scripts/client/gui/Scaleform/daapi/view/battle/shared/crosshair/container.py", line 163, in createGunMarkers 2017-12-03 20:10:49.120: ERROR: File "scripts/client/gui/Scaleform/daapi/view/battle/shared/crosshair/container.py", line 236, in __setGunMarkers 2017-12-03 20:10:49.120: ERROR: File "scripts/client/gui/Scaleform/daapi/view/meta/CrosshairPanelContainerMeta.py", line 90, in as_createGunMarkerS Можете что-то изменить MFG SicFunzler Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #413910 Posted December 3, 2017 @sicfunzler прикрепите файлы python.log и xvm.log. 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #413911 Posted December 3, 2017 @ktulho , скинь пож. образец оформления параметра, надо что-то всё таки придумать... ну очень надо Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #413914 Posted December 3, 2017 Python.log https://pastebin.com/Fb5yvF3L xvm.log https://pastebin.com/53cb6Jb4 Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #413915 Posted December 3, 2017 @sicfunzler это ошибка не из-за срипта sights.py. 1 Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #413917 Posted December 3, 2017 Виновен и что мне делать, потому что это так? sigth.xc https://pastebin.com/FL1498ES Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #413918 Posted December 3, 2017 16 минут назад, H_E_K_P_O_M_A_H_T_ сказал: @ktulho , скинь пож. образец оформления параметра, надо что-то всё таки придумать... ну очень надо Думал примерно так сделать: "leftTimeText": { "reloaded": "Готов", "countdown": "0.00" } Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #413920 Posted December 3, 2017 (edited) где это должно произойти в battleLabelsSight.xc или в sigth.xc Я его построил в sight.xc не имеет никакого значения battleLabelsSight.xc https://pastebin.com/wHiYGZc5 MFG SicFunzler Edited December 3, 2017 by sicfunzler Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #413923 Posted December 3, 2017 @ktulho , моя такое предлагает: "leftTimeText": { "battle": "Готов", "prebattle": "0.00" } 1 Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #413925 Posted December 3, 2017 Где я должен вставить этот текст, пожалуйста, помогите СПАСИБО Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #413926 Posted December 3, 2017 1 минуту назад, sicfunzler сказал: Где я должен вставить этот текст, пожалуйста, помогите СПАСИБО пока ни где, это пока только на стадии обсуждения :) 1 Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #413927 Posted December 3, 2017 Хорошо, спасибо, тогда я супер помощь СПАСИБО 1 Quote Share this post Link to post Short link Share on other sites
SmashPuppet 72 #413941 Posted December 3, 2017 (edited) On 11/24/2017 at 12:04 PM, H_E_K_P_O_M_A_H_T_ said: I have something to think about this: {{ py : sight . prebattleText ? 0.00 | {{ py : sight . leftTime = 0 ? {{ l10n : Ready }} | {{ py : sight . leftTime % 3.1f }}}}}} I may not be understanding some of the conversations (translation!), but this has always worked for me concerning "READY" when reload timer is zero. Works on Public but not on Common Test server as already mentioned. ( I am not complaining =) ) - I would guess that new "advanced equipment" has changed the formula for reload time on CT. Just a guess. Anyway, this is the macro line that I currently use... (Note: shows blank after reload of shell for auto loaders) - Maybe someone better than I can fix this?battleLabelSight.xc => def.timeReload "format": "<font face='DS-Digital' size='24'>{{py:sight.leftTime=0?{{py:sight.quantityInClipShells>0?{{py:sight.leftTime=0?Ready|{{py:sight.reloadTimeClip%3.2f}}}}|Ready}}|{{py:sight.leftTime%3.2f}}}}</font>" Is this what you are looking for? Example: Auto Loader (AMX 50 120) Example: Regular Loader (VK 3002.DB) And thank you for everyone's work, time and enthusiasm. I truly appreciate this forum! =) Edited December 4, 2017 by SmashPuppet Fixed macro line for auto loaders Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #413948 Posted December 4, 2017 >Сейчас таймер до начала боя показывает пусто: {{py:sight.leftTime=0?Ready|{{py:sight.leftTime%3.1f}}}} > Я предлагаю сделать как в клиенте: {{py:sight.leftTime=0{{py:sight.leftTimeText}}|{{py:sight.leftTime%3.1f}}}} "leftTimeText": { "battle": "Ready", "prebattle": "0.00" } @SmashPuppet , я думаю так будет лучше. 1 Quote Share this post Link to post Short link Share on other sites
SmashPuppet 72 #413951 Posted December 4, 2017 10 minutes ago, H_E_K_P_O_M_A_H_T_ said: @SmashPuppet , I think it will be better. Certainly easier for the config. Have to keep Ktulho on his toes! Though I do not mind it being empty before the battle starts. Cheers! Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #413952 Posted December 4, 2017 @H_E_K_P_O_M_A_H_T_ я думал сделать, чтобы макрос {{py:sight.leftTime}} возвращал: во время отсчёта, то что указано в "prebattle"; во время перезарядки время пеоезарядки; если перезаряжен, то параметр "battle"; если уничтожен, то пусто. P. S. Надо ещё параметр на единицы измерения добавить. Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #414002 Posted December 4, 2017 @ktulho , я привёл пример так как я вижу со своей колокольни . Ну что ж, ждём тогда обновления скрипта. >слушай, может можно сделать макрос для УНГ для арты, чтоб через "rotation" вращать поле по отношению к камере? Их то же доделать не мешало бы. Quote Share this post Link to post Short link Share on other sites