HEKPOMAHT 2,169 #537605 Posted October 18, 2023 7 часов назад, ktulho сказал: Тут надо @Mixaill позвать, он быстрее разберется. так и есть - ошибка была от замочков в ангаре ---- по myHP.py: В Лесте работает текщий с шапки: @registerEvent(DamagePanel, 'updateVehicleParams') def updateVehicleParams(self, vehicle, _, __): global maxHealth, health maxHealth = health = self._maxHealth as_event('ON_MY_HP') @registerEvent(DamagePanel, '_DamagePanel__onVehicleControlling') def DamagePanel__onVehicleControlling(self, vehicle): global maxHealth, health maxHealth = health = self._maxHealth as_event('ON_MY_HP') В ВГ работает старый: @registerEvent(DamagePanel, 'updateVehicleParams') def updateVehicleParams(self, vehicle, _): global maxHealth, health maxHealth = health = self._DamagePanel__maxHealth as_event('ON_MY_HP') @registerEvent(DamagePanel, '_DamagePanel__onVehicleControlling') def DamagePanel__onVehicleControlling(self, vehicle): global maxHealth, health maxHealth = health = self._DamagePanel__maxHealth as_event('ON_MY_HP') ---- и вот ещё с ВГ: 2023-10-18 18:44:48.655: INFO: ============================= 2023-10-18 18:44:48.655: INFO: 2023-10-18 18:44:48: [ERROR] mods/xfw_libraries/xfw/events.pyc 2023-10-18 18:44:48.655: ERROR: Traceback (most recent call last): 2023-10-18 18:44:48.655: ERROR: File "./xfw/events.py", line 57, in __event_handler 2023-10-18 18:44:48.656: ERROR: File "./xfw/events.py", line 24, in fire 2023-10-18 18:44:48.656: ERROR: TypeError: reloading_setGunReloadTime() got an unexpected keyword argument 'clipTime' 2023-10-18 18:44:48.656: INFO: ============================= Эта походу с прицела reloading.py Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #537616 Posted October 18, 2023 1 час назад, HEKPOMAHT сказал: по myHP.py: Обновил скрипт myHP.py в шапке из аддона Очки прочности своей техники. Не проверял. Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #537622 Posted October 18, 2023 20 minutes ago, ktulho said: Обновил скрипт myHP.py в шапке из аддона Очки прочности своей техники. Не проверял. No go MFG SicFunzler Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #537623 Posted October 18, 2023 19 минут назад, ktulho сказал: Обновил скрипт myHP.py в шапке из аддона Очки прочности своей техники. Не проверял. не работает: 2023-10-18 20:49:19: [ERROR] Traceback (most recent call last): File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 156, in process (func, deterministic) = __get_function(arg) File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 120, in __get_function (func, deterministic) = _container.get(func_name) TypeError: 'NoneType' object is not iterable arg='my_hp.health(3)' 2023-10-18 20:49:19: [ERROR] Traceback (most recent call last): File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 156, in process (func, deterministic) = __get_function(arg) File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 120, in __get_function (func, deterministic) = _container.get(func_name) TypeError: 'NoneType' object is not iterable arg='my_hp.health' python.log xvm.log Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #537634 Posted October 18, 2023 @HEKPOMAHT есть реплей для обоих клиентов? Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #537637 Posted October 18, 2023 8 минут назад, ktulho сказал: @HEKPOMAHT есть реплей для обоих клиентов? ВГ.wotreplay Леста.wotreplay 1 Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #537641 Posted October 18, 2023 2 часа назад, HEKPOMAHT сказал: не работает: Проверь на последнем билде Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #537657 Posted October 19, 2023 11 часов назад, ktulho сказал: Проверь на последнем билде не работает: 2023-10-19 11:26:42.812: INFO: ============================= 2023-10-19 11:26:42.812: INFO: 2023-10-19 11:26:42: [ERROR] mods/xfw_libraries/xfw/events.pyc 2023-10-19 11:26:42.812: ERROR: Traceback (most recent call last): 2023-10-19 11:26:42.812: ERROR: File "./xfw/events.py", line 56, in __event_handler 2023-10-19 11:26:42.813: ERROR: File "scripts/client/gui/Scaleform/daapi/view/battle/shared/damage_panel.py", line 393, in _updateDeviceState 2023-10-19 11:26:42.813: ERROR: File "scripts/client/gui/Scaleform/daapi/view/meta/DamagePanelMeta.py", line 73, in as_updateDeviceStateS 2023-10-19 11:26:42.814: ERROR: SystemError: PyGFxValue - Failed to invoke method as_updateDeviceState. 2023-10-19 11:26:42.814: INFO: ============================= Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #537658 Posted October 19, 2023 18.10.2023 в 11:00, Aslain сказал: I mean it was always working fine, I press key defined to hide, and it was working, now they key is hidding it, I see the OFF message but some messages still showing up... А эта опция работает? Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #537661 Posted October 19, 2023 1 час назад, HEKPOMAHT сказал: не работает: 2023-10-19 11:26:42.812: INFO: ============================= 2023-10-19 11:26:42.812: INFO: 2023-10-19 11:26:42: [ERROR] mods/xfw_libraries/xfw/events.pyc 2023-10-19 11:26:42.812: ERROR: Traceback (most recent call last): 2023-10-19 11:26:42.812: ERROR: File "./xfw/events.py", line 56, in __event_handler 2023-10-19 11:26:42.813: ERROR: File "scripts/client/gui/Scaleform/daapi/view/battle/shared/damage_panel.py", line 393, in _updateDeviceState 2023-10-19 11:26:42.813: ERROR: File "scripts/client/gui/Scaleform/daapi/view/meta/DamagePanelMeta.py", line 73, in as_updateDeviceStateS 2023-10-19 11:26:42.814: ERROR: SystemError: PyGFxValue - Failed to invoke method as_updateDeviceState. 2023-10-19 11:26:42.814: INFO: ============================= Эти ошибки не от myHP.py. Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #537663 Posted October 19, 2023 7 минут назад, ktulho сказал: Эти ошибки не от myHP.py. так это с xvm. Я подумал, что из-за этого скрипт не работает. Написал в gitlab с логами, чтоб Миша посмотрел. Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #537670 Posted October 19, 2023 42 минуты назад, HEKPOMAHT сказал: Я подумал, что из-за этого скрипт не работает. Не из-за этого. 1 Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #537676 Posted October 19, 2023 Ещё раз обновил скрипт myHP.py в шапке из аддона Очки прочности своей техники. 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #537678 Posted October 19, 2023 1 час назад, ktulho сказал: Ещё раз обновил скрипт myHP.py в шапке из аддона Очки прочности своей техники. на Лесте - работает, на ВГ - нет (постоянно фул хп) Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #537679 Posted October 19, 2023 20 минут назад, HEKPOMAHT сказал: на Лесте - работает, на ВГ - нет (постоянно фул хп) Ошибки есть? Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #537681 Posted October 19, 2023 8 минут назад, ktulho сказал: Ошибки есть? всё работает на обеих кластерах. Походу скрипт не заменился при копировании... аномалия какая-то либо нажал пропустить при копировании ---- скорее всего в один клиент два раза копировал... Quote Share this post Link to post Short link Share on other sites
justdj 13 #537761 Posted October 21, 2023 collection.py убивает лог над миникартой. глянешь, плез? 1 Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #537764 Posted October 21, 2023 @justdj логи? Quote Share this post Link to post Short link Share on other sites
justdj 13 #537765 Posted October 21, 2023 @ktulho если бы в логах что-то было, то я бы скинул сразу. благо умею их смотреть 1 Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #537766 Posted October 21, 2023 @justdj тогда подожду ещё "свидетелей". Quote Share this post Link to post Short link Share on other sites