ktulho 5,793 #397025 Posted July 9, 2017 Ещё одно исправление в макросах: {{py:sight.autoAimName}}, {{py:sight.autoAimVehicle}}, {{py:sight.autoAimHealth}}. и ещё замечал часто , что надпись "Готов" сначала красным окрашивается, потом зелёным (и с этим вариантом тоже) - писал где-то уже об этом :) Исправлено. В файл sight.xc добавил параметр: // время отображения макросов {{py:....Target}} после потери цели "delayHideTarget": 3, 7 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,178 #397073 Posted July 9, 2017 Скрипт: sight.xc Файл конфига: sight.xc вместо скрипта sight.py конфиг 1 Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #397074 Posted July 9, 2017 вместо скрипта sight.py конфиг Залил. Quote Share this post Link to post Short link Share on other sites
krok65 79 #397094 Posted July 9, 2017 (edited) В файл sight.xc добавил параметр: // время отображения макросов {{py:....Target}} после потери цели "delayHideTarget": 3, Спасибо огромное за время отображения!!! Edited July 10, 2017 by krok65 Quote Share this post Link to post Short link Share on other sites
Kapany3uk 948 #397203 Posted July 11, 2017 (edited) Залил. у меня вот такую ошибку выдает в лог 2017-07-11 17:00:31.395: INFO: ============================= 2017-07-11 17:00:31.395: INFO: 2017-07-11 17:00:31: [ERROR] mods/com.modxvm.xfw/python/xfw/events.pyc 2017-07-11 17:00:31.395: ERROR: Traceback (most recent call last): 2017-07-11 17:00:31.395: ERROR: File "mods/xfw/python/xfw/events.py", line 55, in __event_handler 2017-07-11 17:00:31.396: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2017-07-11 17:00:31.396: ERROR: File "res_mods/configs/xvm/py_macro\z_sight.py", line 280, in CrosshairPanelContainerMeta_as_setReloadingS 2017-07-11 17:00:31.396: ERROR: reloading(duration, baseTime, startTime) 2017-07-11 17:00:31.396: ERROR: File "res_mods/configs/xvm/py_macro\z_sight.py", line 193, in reloading 2017-07-11 17:00:31.396: ERROR: explosionRadius() 2017-07-11 17:00:31.396: ERROR: NameError: global name 'explosionRadius' is not defined 2017-07-11 17:00:31.396: INFO: ============================= Edited July 11, 2017 by Kapany3uk Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #397209 Posted July 11, 2017 А это точно мой файл z_sight.py? Quote Share this post Link to post Short link Share on other sites
Kapany3uk 948 #397212 Posted July 11, 2017 (edited) А это точно мой файл z_sight.py? сорь, не обновил скрипт :) я переименовываю твой, чтобы при обновлении хвм все ру-макросы были внизу списка... Edited July 11, 2017 by Kapany3uk Quote Share this post Link to post Short link Share on other sites
fgcwsxjegcbk2014 34 #397232 Posted July 11, 2017 (edited) 2017-07-11 20:38:46.598: NOTICE: [NOTE] (scripts/client/game.py, 464): [sPACE] Loading space: spaces/35_steppes2017-07-11 20:38:47.256: INFO: PYmodsGUI: no-GUI mode activated2017-07-11 20:38:47.256: INFO: ButtonReplacer: no-GUI mode activated2017-07-11 20:38:47.256: INFO: CamoSelector: no-GUI mode activated2017-07-11 20:38:49.483: WARNING: [WARNING] (scripts/client/gui/Scaleform/framework/entities/BaseDAAPIComponent.py, 62): Class with alias `teamBasesPanel` already registered in object <gui.Scaleform.daapi.view.battle.classic.page.ClassicPage object at 0x2E734750>. It will be rewritten.2017-07-11 20:39:08.276: INFO: =============================2017-07-11 20:39:08.276: INFO: 2017-07-11 20:39:08: [ERROR] mods/com.modxvm.xfw/python/xfw/events.pyc2017-07-11 20:39:08.276: ERROR: Traceback (most recent call last):2017-07-11 20:39:08.276: ERROR: File "mods/xfw/python/xfw/events.py", line 55, in __event_handler2017-07-11 20:39:08.277: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire2017-07-11 20:39:08.277: ERROR: File "res_mods/configs/xvm/py_macro\sight.py", line 425, in onLockTarget2017-07-11 20:39:08.277: ERROR: autoAim['vehicle'] = target.typeDescriptor.type.shortUserString2017-07-11 20:39:08.277: ERROR: AttributeError: 'NoneType' object has no attribute 'typeDescriptor'2017-07-11 20:39:08.277: INFO: =============================2017-07-11 20:39:36.013: INFO: =============================2017-07-11 20:39:36.013: INFO: 2017-07-11 20:39:36: [ERROR] mods/com.modxvm.xfw/python/xfw/events.pyc2017-07-11 20:39:36.013: ERROR: Traceback (most recent call last):2017-07-11 20:39:36.013: ERROR: File "mods/xfw/python/xfw/events.py", line 55, in __event_handler2017-07-11 20:39:36.013: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire2017-07-11 20:39:36.014: ERROR: File "res_mods/configs/xvm/py_macro\sight.py", line 425, in onLockTarget2017-07-11 20:39:36.014: ERROR: autoAim['vehicle'] = target.typeDescriptor.type.shortUserString2017-07-11 20:39:36.014: ERROR: AttributeError: 'NoneType' object has no attribute 'typeDescriptor'2017-07-11 20:39:36.014: INFO: =============================2017-07-11 20:39:41.260: INFO: =============================2017-07-11 20:39:41.260: INFO: 2017-07-11 20:39:41: [ERROR] mods/com.modxvm.xfw/python/xfw/events.pyc2017-07-11 20:39:41.260: ERROR: Traceback (most recent call last):2017-07-11 20:39:41.260: ERROR: File "mods/xfw/python/xfw/events.py", line 55, in __event_handler2017-07-11 20:39:41.261: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire2017-07-11 20:39:41.261: ERROR: File "res_mods/configs/xvm/py_macro\sight.py", line 425, in onLockTarget2017-07-11 20:39:41.261: ERROR: autoAim['vehicle'] = target.typeDescriptor.type.shortUserString2017-07-11 20:39:41.261: ERROR: AttributeError: 'NoneType' object has no attribute 'typeDescriptor'2017-07-11 20:39:41.261: INFO: ============================= 14997865289263_france_F87_Batignolles-Chatillon_12t_steppes.wotreplay сборка XVM 7706 скрипт был обновлен из шапки Edited July 11, 2017 by fgcwsxjegcbk2014 Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #397234 Posted July 11, 2017 Проверьте только с XVM. Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,178 #397236 Posted July 11, 2017 Проверьте только с XVM. у меня такие ошибки повторяются с этим реплеем - модов нет 2017-07-11 18:53:57.510: INFO: 2017-07-11 18:53:57: [ERROR] mods/com.modxvm.xfw/python/xfw/events.pyc 2017-07-11 18:53:57.510: ERROR: Traceback (most recent call last): 2017-07-11 18:53:57.510: ERROR: File "mods/xfw/python/xfw/events.py", line 55, in __event_handler 2017-07-11 18:53:57.510: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2017-07-11 18:53:57.511: ERROR: File "res_mods/configs/xvm/py_macro\sight.py", line 427, in onLockTarget 2017-07-11 18:53:57.511: ERROR: autoAim['vehicle'] = target.typeDescriptor.type.shortUserString 2017-07-11 18:53:57.511: ERROR: AttributeError: 'NoneType' object has no attribute 'typeDescriptor' Quote Share this post Link to post Short link Share on other sites
fgcwsxjegcbk2014 34 #397237 Posted July 11, 2017 Проверьте только с XVM. поверил только со сборкой, на реплее из поста выше python.log очень похоже что ошибка появляется при включении/отключении автоприцела на танке небольшой косячок со счетчиками - нет предпросмотра во время 30сек отсчета перед началом боя , а потом все ОК Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,178 #397238 Posted July 11, 2017 небольшой косячок со счетчиками - нет предпросмотра во время 30сек отсчета перед началом боя , а потом все ОК формат макросов поменять нужно {{py:sight.reloadTime%3.2f|0.0}} и т.д 1 Quote Share this post Link to post Short link Share on other sites
fgcwsxjegcbk2014 34 #397239 Posted July 11, 2017 формат макросов поменять нужно {{py:sight.reloadTime%3.2f|0.0}} и т.д спасибо, посмотрю у себя в конфиге Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #397241 Posted July 11, 2017 Дело в том, что мне уже писали про такую ошибку. Там была проблема с модом mod_autoaim_indicator. @fgcwsxjegcbk2014, ошибка действительно связана с автоприцелом. Попробуйте снова поставить все ваши моды, ошибка должна повторяться при каждой попытке захвата в автоприцел. Затем удаляйте по одному моды связанные с наведением на цель. Quote Share this post Link to post Short link Share on other sites
fgcwsxjegcbk2014 34 #397243 Posted July 11, 2017 Дело в том, что мне уже писали про такую ошибку. Там была проблема с модом mod_autoaim_indicator. @fgcwsxjegcbk2014, ошибка действительно связана с автоприцелом. Попробуйте снова поставить все ваши моды, ошибка должна повторяться при каждой попытке захвата в автоприцел. Затем удаляйте по одному моды связанные с наведением на цель. попробовал оба варианта и с ХVM и со всеми модами, автоаимами не пользуюсь и модов таких у меня нет ошибка проскакивает во обеих вариантах. до того как вами был сделана обработка событий PY(ON_AUTO_AIM) - срабатывает при захвате техники в автоприцел ({{py:sight.autoAimName}}, {{py:sight.autoAimVehicle}}, {{py:sight.autoAimHealth}}). никаких ошибок в питон-логе не возникало Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #397245 Posted July 11, 2017 Выходили в бой только с XVM? Quote Share this post Link to post Short link Share on other sites
fgcwsxjegcbk2014 34 #397246 Posted July 11, 2017 (edited) Выходили в бой только с XVM? напрямую через клиент нет пока не играл, проверял исключительно на реплее ... я так понял у вас все чисто ? Edited July 11, 2017 by fgcwsxjegcbk2014 Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #397247 Posted July 11, 2017 Я на работе.) Риплей записанный с другими модами не подойдёт. Можете сыграть учебный бой (где с ботами 15х15) Quote Share this post Link to post Short link Share on other sites
fgcwsxjegcbk2014 34 #397249 Posted July 11, 2017 Я на работе.) Риплей записанный с другими модами не подойдёт. Можете сыграть учебный бой (где с ботами 15х15) только завтра :)) сейчас делаю сборку, смотрю что поломала картошка в этот раз Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #397252 Posted July 11, 2017 (edited) попробовал оба варианта и с ХVM и со всеми модами, автоаимами не пользуюсь и модов таких у меня нет ошибка проскакивает во обеих вариантах. Мод не обязательно должен быть на автозахват, это может быть и infoPanel или обводка цели. Любой мод срабатывающий при наведении на цель. Edited July 11, 2017 by ktulho Quote Share this post Link to post Short link Share on other sites