HEKPOMAHT 2,169 #521889 Posted July 16, 2022 Только что, ktulho сказал: То есть все работает, просто в лог предупреждение один раз выводиться? да - всё работает. Раньше в логах пусто было, теперь предупреждение Сам скрипт работает штатно Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #521890 Posted July 16, 2022 1 минуту назад, HEKPOMAHT сказал: Раньше в логах пусто было, теперь предупреждение В какой момент появляется предупреждение? При загрузке игры, или при каждом входе в ангар, или при включении резервов, или при окончании действия резервов? Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #521893 Posted July 16, 2022 9 минут назад, ktulho сказал: В какой момент появляется предупреждение? При загрузке игры, или при каждом входе в ангар, или при включении резервов, или при окончании действия резервов? клановые резервы уже включены: просто зашёл в ангар - предупреждений нет зашёл в бой - не появилось бой закончился, танк в ангаре - тоже не появилось потыкал по вкладкам - не появилось Осталось проверить, когда резервы не активированы и кто-то из клана из подключает (либо я сам включу) ---- короче причину не нашёл. Пару боёв при активированном резерве сыграешь - появляется предупреждение. Хз... Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #521932 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 Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #526748 Posted September 15, 2022 на тесте новые резервы: или я уже слепым стал, или вооще нихрена не видно... не, пожалуй буду своими пользоваться ---- а с этими нужно будет подумать, может можно сами квадратики скрывать, оставив только кнопку доступа к окну активации Quote Share this post Link to post Short link Share on other sites
EngineExt 59 #526749 Posted September 15, 2022 (edited) Не прошло и сто лет.. Edited September 15, 2022 by EngineExt 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #527715 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 Share this post Link to post Short link Share on other sites
ktulho 5,791 #527762 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 Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #527773 Posted October 10, 2022 @ktulho работает, но при "hideActiveBooster": true и активации резервов пропадает счётчик доступных резервов: ---- в конфиге нужно заменить: "crew_xp": "Дополнительный опыт экипажа", "free_xp": "Дополнительный свободный опыт" -> "free_xp_and_crew_xp": "Дополнительный свободный опыт и опыт экипажа" * точное название сам глянь Quote Share this post Link to post Short link Share on other sites
Szulson 15 #527900 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 Share this post Link to post Short link Share on other sites
ktulho 5,791 #527906 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 Share this post Link to post Short link Share on other sites
Szulson 15 #527909 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 Share this post Link to post Short link Share on other sites
Prosubaru 354 #527910 Posted October 12, 2022 У меня тоже пустой экран, почему по дефолту не сделали? Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #527919 Posted October 12, 2022 All go perfect THX MFG SicFunzler Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #527928 Posted October 12, 2022 (edited) 2 часа назад, Prosubaru сказал: У меня тоже пустой экран, почему по дефолту не сделали? Уверены, что проблема в аддоне? Edited October 12, 2022 by ktulho Quote Share this post Link to post Short link Share on other sites
AtotIK 580 #527944 Posted October 12, 2022 Проблема в XVM. Аддон тут не причём. 1 Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #527947 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 Share this post Link to post Short link Share on other sites
steaxch 356 #527952 Posted October 12, 2022 народ хэлп, может у кого остались папки с иконками из прошлых патчей, а то убрали в новом интересует папка gui/maps/icons/boosters а конкретно вот эти две иконки ЗЫ. а вообще можно целиком папку gui/maps/icons вдруг еще что убрали/уберут, пусть валяется на всякий случай Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,169 #527954 Posted October 12, 2022 12 минут назад, steaxch сказал: интересует папка gui/maps/icons/boosters boosters.rar 1 Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #527956 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 Share this post Link to post Short link Share on other sites