ktulho Posted July 9, 2017 Author Share Posted July 9, 2017 Ещё одно исправление в макросах: {{py:sight.autoAimName}}, {{py:sight.autoAimVehicle}}, {{py:sight.autoAimHealth}}. и ещё замечал часто , что надпись "Готов" сначала красным окрашивается, потом зелёным (и с этим вариантом тоже) - писал где-то уже об этом :) Исправлено. В файл sight.xc добавил параметр: // время отображения макросов {{py:....Target}} после потери цели "delayHideTarget": 3, 7 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted July 9, 2017 Share Posted July 9, 2017 Скрипт: sight.xc Файл конфига: sight.xc вместо скрипта sight.py конфиг 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 9, 2017 Author Share Posted July 9, 2017 вместо скрипта sight.py конфиг Залил. @ Quote Link to comment Short link Share on other sites More sharing options...
krok65 Posted July 9, 2017 Share Posted July 9, 2017 (edited) В файл sight.xc добавил параметр: // время отображения макросов {{py:....Target}} после потери цели "delayHideTarget": 3, Спасибо огромное за время отображения!!! Edited July 10, 2017 by krok65 @ Quote Link to comment Short link Share on other sites More sharing options...
Kapany3uk Posted July 11, 2017 Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 11, 2017 Author Share Posted July 11, 2017 А это точно мой файл z_sight.py? @ Quote Link to comment Short link Share on other sites More sharing options...
Kapany3uk Posted July 11, 2017 Share Posted July 11, 2017 (edited) А это точно мой файл z_sight.py? сорь, не обновил скрипт :) я переименовываю твой, чтобы при обновлении хвм все ру-макросы были внизу списка... Edited July 11, 2017 by Kapany3uk @ Quote Link to comment Short link Share on other sites More sharing options...
fgcwsxjegcbk2014 Posted July 11, 2017 Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 11, 2017 Author Share Posted July 11, 2017 Проверьте только с XVM. @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted July 11, 2017 Share 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 Link to comment Short link Share on other sites More sharing options...
fgcwsxjegcbk2014 Posted July 11, 2017 Share Posted July 11, 2017 Проверьте только с XVM. поверил только со сборкой, на реплее из поста выше python.log очень похоже что ошибка появляется при включении/отключении автоприцела на танке небольшой косячок со счетчиками - нет предпросмотра во время 30сек отсчета перед началом боя , а потом все ОК @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted July 11, 2017 Share Posted July 11, 2017 небольшой косячок со счетчиками - нет предпросмотра во время 30сек отсчета перед началом боя , а потом все ОК формат макросов поменять нужно {{py:sight.reloadTime%3.2f|0.0}} и т.д 1 @ Quote Link to comment Short link Share on other sites More sharing options...
fgcwsxjegcbk2014 Posted July 11, 2017 Share Posted July 11, 2017 формат макросов поменять нужно {{py:sight.reloadTime%3.2f|0.0}} и т.д спасибо, посмотрю у себя в конфиге @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 11, 2017 Author Share Posted July 11, 2017 Дело в том, что мне уже писали про такую ошибку. Там была проблема с модом mod_autoaim_indicator. @fgcwsxjegcbk2014, ошибка действительно связана с автоприцелом. Попробуйте снова поставить все ваши моды, ошибка должна повторяться при каждой попытке захвата в автоприцел. Затем удаляйте по одному моды связанные с наведением на цель. @ Quote Link to comment Short link Share on other sites More sharing options...
fgcwsxjegcbk2014 Posted July 11, 2017 Share Posted July 11, 2017 Дело в том, что мне уже писали про такую ошибку. Там была проблема с модом mod_autoaim_indicator. @fgcwsxjegcbk2014, ошибка действительно связана с автоприцелом. Попробуйте снова поставить все ваши моды, ошибка должна повторяться при каждой попытке захвата в автоприцел. Затем удаляйте по одному моды связанные с наведением на цель. попробовал оба варианта и с ХVM и со всеми модами, автоаимами не пользуюсь и модов таких у меня нет ошибка проскакивает во обеих вариантах. до того как вами был сделана обработка событий PY(ON_AUTO_AIM) - срабатывает при захвате техники в автоприцел ({{py:sight.autoAimName}}, {{py:sight.autoAimVehicle}}, {{py:sight.autoAimHealth}}). никаких ошибок в питон-логе не возникало @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 11, 2017 Author Share Posted July 11, 2017 Выходили в бой только с XVM? @ Quote Link to comment Short link Share on other sites More sharing options...
fgcwsxjegcbk2014 Posted July 11, 2017 Share Posted July 11, 2017 (edited) Выходили в бой только с XVM? напрямую через клиент нет пока не играл, проверял исключительно на реплее ... я так понял у вас все чисто ? Edited July 11, 2017 by fgcwsxjegcbk2014 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 11, 2017 Author Share Posted July 11, 2017 Я на работе.) Риплей записанный с другими модами не подойдёт. Можете сыграть учебный бой (где с ботами 15х15) @ Quote Link to comment Short link Share on other sites More sharing options...
fgcwsxjegcbk2014 Posted July 11, 2017 Share Posted July 11, 2017 Я на работе.) Риплей записанный с другими модами не подойдёт. Можете сыграть учебный бой (где с ботами 15х15) только завтра :)) сейчас делаю сборку, смотрю что поломала картошка в этот раз @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 11, 2017 Author Share Posted July 11, 2017 (edited) попробовал оба варианта и с ХVM и со всеми модами, автоаимами не пользуюсь и модов таких у меня нет ошибка проскакивает во обеих вариантах. Мод не обязательно должен быть на автозахват, это может быть и infoPanel или обводка цели. Любой мод срабатывающий при наведении на цель. Edited July 11, 2017 by ktulho @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
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.