HEKPOMAHT Posted July 16, 2022 Share Posted July 16, 2022 Только что, ktulho сказал: То есть все работает, просто в лог предупреждение один раз выводиться? да - всё работает. Раньше в логах пусто было, теперь предупреждение Сам скрипт работает штатно @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 16, 2022 Author Share Posted July 16, 2022 1 минуту назад, HEKPOMAHT сказал: Раньше в логах пусто было, теперь предупреждение В какой момент появляется предупреждение? При загрузке игры, или при каждом входе в ангар, или при включении резервов, или при окончании действия резервов? @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted July 16, 2022 Share Posted July 16, 2022 9 минут назад, ktulho сказал: В какой момент появляется предупреждение? При загрузке игры, или при каждом входе в ангар, или при включении резервов, или при окончании действия резервов? клановые резервы уже включены: просто зашёл в ангар - предупреждений нет зашёл в бой - не появилось бой закончился, танк в ангаре - тоже не появилось потыкал по вкладкам - не появилось Осталось проверить, когда резервы не активированы и кто-то из клана из подключает (либо я сам включу) ---- короче причину не нашёл. Пару боёв при активированном резерве сыграешь - появляется предупреждение. Хз... @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted July 16, 2022 Share Posted July 16, 2022 @ktulho во втором варианте предупреждение пропадает: {{py:bst.typeCR(1)?<img src='cfg://.../{{py:bst.leftTimeMinCR(1)<1?clan|empty}}.png'>}} {{py:bst.typeCR(1)?{{py:bst.leftTimeMinCR(1)<1?<img src='cfg://.../clan.png'>|<img src='cfg://.../empty.png'>}}}} хз @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted September 15, 2022 Share Posted September 15, 2022 на тесте новые резервы: или я уже слепым стал, или вооще нихрена не видно... не, пожалуй буду своими пользоваться ---- а с этими нужно будет подумать, может можно сами квадратики скрывать, оставив только кнопку доступа к окну активации @ Quote Link to comment Short link Share on other sites More sharing options...
EngineExt Posted September 15, 2022 Share Posted September 15, 2022 (edited) Не прошло и сто лет.. Edited September 15, 2022 by EngineExt 1 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 9, 2022 Share Posted October 9, 2022 @ktulho на тесте не работает: 2022-10-09 19:28:23: [ERROR] Traceback (most recent call last): File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 101, in __load_lib __execute(code, file_name, {'xvm': XvmNamespace}) File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 93, in __execute raise ExecutionException("{} at file '{}' line {}: {}".format(error_name, file_name, line_number, message)) ExecutionException: AttributeError at file 'res_mods/configs/xvm/py_macro\boosters.py' line 70: type object 'LobbyHeaderMeta' has no attribute 'as_setBoosterDataS' 2022-10-09 19:29:06: [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='bst.countCR' 2022-10-09 19:29:06: [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='bst.countBoosters' 2022-10-09 19:29:06: [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 117, in __get_function args = ast.literal_eval(args_string) File "scripts/common/Lib/ast.py", line 49, in literal_eval File "scripts/common/Lib/ast.py", line 37, in parse File "<unknown>", line 1 (,) ^ SyntaxError: invalid syntax arg='sum(,)' 2022-10-09 19:29:06: [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='bst.typeCR(1)' 2022-10-09 19:29:06: [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='bst.typeCR(2)' 2022-10-09 19:29:06: [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='bst.type(1)' 2022-10-09 19:29:06: [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='bst.type(2)' 2022-10-09 19:29:06: [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='bst.type(3)' ---- эти уже не нужны: //true - скрыть иконку и количество доступных резервов "hideAvailableBooster": false, //true - скрыть иконку и время активных резервов "hideActiveBooster": false, Если возможно - добавить настройку, убирающую ВГ-шный прогресс резервов: 15.09.2022 в 21:18, HEKPOMAHT сказал: что бы была просто кнопка с доступом к резервам (как будто резервы не активированы) вот так: @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 10, 2022 Author Share Posted October 10, 2022 (edited) Обновление для WoT 1.18.1.0 CT. boosters.py Немного изменен смысл параметров: //true - скрыть количество доступных резервов "hideAvailableBooster": false, //true - скрыть иконки включенных резервов "hideActiveBooster": false, Edited October 10, 2022 by ktulho 2 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 10, 2022 Share Posted October 10, 2022 @ktulho работает, но при "hideActiveBooster": true и активации резервов пропадает счётчик доступных резервов: ---- в конфиге нужно заменить: "crew_xp": "Дополнительный опыт экипажа", "free_xp": "Дополнительный свободный опыт" -> "free_xp_and_crew_xp": "Дополнительный свободный опыт и опыт экипажа" * точное название сам глянь @ Quote Link to comment Short link Share on other sites More sharing options...
Szulson Posted October 12, 2022 Share Posted October 12, 2022 (edited) Hello Soory for English here.. I Dont know why, but icons not shown: As u can see i have active reserve and on the left side not shown icon only time.. here is my Booster xc: boosters.xc Any sugestion?? Edit: 1. Ive noticed that on the left side Icons are not those which should be.. They change sorting Criteria?? 2. On The batlle Not shown Anything: Edited October 12, 2022 by Szulson @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 12, 2022 Author Share Posted October 12, 2022 1 час назад, Szulson сказал: As u can see i have active reserve and on the left side not shown icon only time.. Any sugestion?? Edit: 1. Ive noticed that on the left side Icons are not those which should be.. They change sorting Criteria?? В папке \res_mods\mods\shared_resources\xvm\res\icons\boosters\basic есть файл free_xp_and_crew_xp.png? 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Szulson Posted October 12, 2022 Share Posted October 12, 2022 (edited) В папке \res_mods\mods\shared_resources\xvm\res\icons\boosters\basic есть файл free_xp_and_crew_xp.png? Nope... i Will check later @ktulho you were right. A picture was missing. Edited October 12, 2022 by Szulson @ Quote Link to comment Short link Share on other sites More sharing options...
Prosubaru Posted October 12, 2022 Share Posted October 12, 2022 У меня тоже пустой экран, почему по дефолту не сделали? @ Quote Link to comment Short link Share on other sites More sharing options...
SicFunzler Posted October 12, 2022 Share Posted October 12, 2022 All go perfect THX MFG SicFunzler @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 12, 2022 Author Share Posted October 12, 2022 (edited) 2 часа назад, Prosubaru сказал: У меня тоже пустой экран, почему по дефолту не сделали? Уверены, что проблема в аддоне? Edited October 12, 2022 by ktulho @ Quote Link to comment Short link Share on other sites More sharing options...
AtotIK Posted October 12, 2022 Share Posted October 12, 2022 Проблема в XVM. Аддон тут не причём. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Heliomalt Posted October 12, 2022 Share Posted October 12, 2022 Is there a way, to move the position of the activator icon, for example to make it smaller and move to the old position? @ Quote Link to comment Short link Share on other sites More sharing options...
steaxch Posted October 12, 2022 Share Posted October 12, 2022 народ хэлп, может у кого остались папки с иконками из прошлых патчей, а то убрали в новом интересует папка gui/maps/icons/boosters а конкретно вот эти две иконки ЗЫ. а вообще можно целиком папку gui/maps/icons вдруг еще что убрали/уберут, пусть валяется на всякий случай @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 12, 2022 Share Posted October 12, 2022 12 минут назад, steaxch сказал: интересует папка gui/maps/icons/boosters boosters.rar 1 @ Quote Link to comment Short link Share on other sites More sharing options...
SicFunzler Posted October 12, 2022 Share Posted October 12, 2022 So also the old settings go without problems you just have to rename : free_xp_and_crew_xp.png and all go SuPer Big THX to 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.