ktulho Posted August 22, 2019 Author Share Posted August 22, 2019 Обновил скрипт infoChargedShell.py. 3 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted August 22, 2019 Share Posted August 22, 2019 @ktulho на лф после смены машины не отображается, пока не выберешь др. тип пулек. ---- иногда срабатывает "not_shell" в начале боя. Исправляется тем же ---- в логах ошибок скрипта нет. @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted August 23, 2019 Share Posted August 23, 2019 @ktulho ещё {{py:sight.quantityShells}} при переключении на др. игрока срабатывает. Реплей воспроизводит. replay_last_battle.wotreplay @ Quote Link to comment Short link Share on other sites More sharing options...
Neon_Death Posted August 24, 2019 Share Posted August 24, 2019 23.08.2019 в 02:19, HEKPOMAHT сказал: иногда срабатывает "not_shell" в начале боя. Да, тоже заметил есть такое! @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted August 28, 2019 Author Share Posted August 28, 2019 22.08.2019 в 20:19, HEKPOMAHT сказал: на лф после смены машины не отображается, пока не выберешь др. тип пулек. Тут пусто или значение "not_shell" отображается? @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted August 28, 2019 Share Posted August 28, 2019 10 минут назад, ktulho сказал: Тут пусто или значение "not_shell" отображается? значение параметра "not_shell": "пусто". Довольно часто было. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted August 28, 2019 Author Share Posted August 28, 2019 1 минуту назад, HEKPOMAHT сказал: значение параметра "not_shell": "пусто". Довольно часто было. Ага. Меня интересует что макрос возвращает, пусто или значение "not_shell". @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted August 28, 2019 Author Share Posted August 28, 2019 23.08.2019 в 19:27, HEKPOMAHT сказал: {{py:sight.quantityShells}} при переключении на др. игрока срабатывает. Исправил наверное. Обновил в шапке скрипт quantityShells.py. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted August 28, 2019 Share Posted August 28, 2019 6 минут назад, ktulho сказал: Ага. Меня интересует что макрос возвращает, пусто или значение "not_shell". что в значении написано - то и возвращал. Не пусто в смысле пусто , а само слово пусто, пока не пощёлкаешь тип пулек. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted August 28, 2019 Author Share Posted August 28, 2019 4 минуты назад, HEKPOMAHT сказал: что в значении написано - то и возвращал. Не пусто в смысле пусто , а само слово пусто, пока не пощёлкаешь тип пулек. Ааа, первый раз не понял. @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted August 28, 2019 Share Posted August 28, 2019 8 минут назад, ktulho сказал: Исправил наверное. Обновил в шапке скрипт quantityShells.py. скатал бой - всё норм. ---- проверил баг на реплее - тоже норм. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted August 28, 2019 Author Share Posted August 28, 2019 22.08.2019 в 20:19, HEKPOMAHT сказал: на лф после смены машины не отображается, пока не выберешь др. тип пулек. Поправил. Обновил скрипт infoChargedShell.py. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted August 28, 2019 Share Posted August 28, 2019 10 минут назад, ktulho сказал: Поправил. Обновил скрипт infoChargedShell.py. старые реплеи не проигрываются. Нужно режим ждать для проверки ---- это тоже наверно на потом: 20.08.2019 в 20:49, HEKPOMAHT сказал: @ktulho когда будет возможность, глянь для ЛФ. При активации резервов (эмитация арт режима) желательно углы убрать, если получится. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted August 28, 2019 Author Share Posted August 28, 2019 18 минут назад, HEKPOMAHT сказал: старые реплеи не проигрываются. Нужно режим ждать для проверки Я на этом проверял. @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted August 28, 2019 Share Posted August 28, 2019 @ktulho те что я прикрепил - у меня уже не работают @ Quote Link to comment Short link Share on other sites More sharing options...
Sergei Nik Posted September 9, 2019 Share Posted September 9, 2019 Всем добрый вечер,подскажите в чём может быть причина,надпись названия снарядов(ББ,ОФ,КС,БП,БФ)появляется только при смени режимов прицела. Прописано так:// Тип снарядов "shellsType": { "enabled": true, "updateEvent": "PY(ON_AMMO_CHANGED), PY(ON_AIM_MODE), ON_CURRENT_VEHICLE_DESTROYED", "x": "{{py:aim.mode(2, 2, 2)}}", "y": "{{py:aim.mode(8, 129, 130)}}", "width": 130, "height": 35, "screenHAlign": "center", "screenVAlign": "center", "alpha": "{{alive?100|0}}", "shadow": { "distance": 0, "angle": 0, "alpha": 100, "blur": 2.5, "strength": 3 }, "textFormat": { "align": "center", "color": "{{py:sight.shellType=ББ?0xAA0000|{{py:sight.shellType=ОФ?0xFF8000|{{py:sight.shellType=БП?0x999999|{{py:sight.shellType=БФ?0xFFFF00|0x0080C0}}}}}}}}" }, "format": "<font face='Archangelsk' size='16'>{{py:sight.shellType}}</font>" @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted September 9, 2019 Author Share Posted September 9, 2019 (edited) @Sergei Nik у вас между буквой D и скобкой непечатаемый символ. PY(ON_AMMO_CHANGED�) Edited September 9, 2019 by ktulho 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Sergei Nik Posted September 9, 2019 Share Posted September 9, 2019 @ktulho СПАСИБО ОГРОМНОЕ!!! @ Quote Link to comment Short link Share on other sites More sharing options...
aster Posted September 11, 2019 Share Posted September 11, 2019 09.09.2019 в 23:11, Sergei Nik сказал: font face='Archangelsk' Неплохо. @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted September 14, 2019 Share Posted September 14, 2019 нашел такую ошибку File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 112, 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\infoChargedShell.py' line 42: type object 'ConsumablesPanel' has no attribute '_ConsumablesPanel__onShellsAdded' @ 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.