WarPet 97 #443472 Posted October 19, 2018 20 минут назад, ktulho сказал: @WarPet В логах ошибок нет? Прикрепите всё поле. В логах вот такое 2018-10-19 15:36:59.244: WARNING: [WARNING] (scripts/common/DestructiblesCache.py, 516): Failed to read hitEffect name in objects/misc/bbox/bboxcube_D2x2.model 2018-10-19 15:36:59.244: WARNING: [WARNING] (scripts/common/DestructiblesCache.py, 516): Failed to read hitEffect name in objects/misc/bbox/bboxcube_D2x2.model 2018-10-19 15:36:59.244: WARNING: [WARNING] (scripts/common/DestructiblesCache.py, 516): Failed to read hitEffect name in objects/misc/bbox/bboxcube_D2x2.model 2018-10-19 15:36:59.244: WARNING: [WARNING] (scripts/common/DestructiblesCache.py, 516): Failed to read hitEffect name in objects/misc/bbox/bboxcube_D2x2.model 2018-10-19 15:36:59.244: WARNING: [WARNING] (scripts/common/DestructiblesCache.py, 516): Failed to read hitEffect name in objects/misc/bbox/bboxcube_D2x2.model 2018-10-19 15:36:59.244: WARNING: [WARNING] (scripts/common/DestructiblesCache.py, 516): Failed to read hitEffect name in objects/misc/bbox/bboxcube_D2x2.model 2018-10-19 15:36:59.244: WARNING: [WARNING] (scripts/common/DestructiblesCache.py, 516): Failed to read hitEffect name in objects/misc/bbox/bboxcube_D2x2.model 2018-10-19 15:36:59.244: WARNING: [WARNING] (scripts/common/DestructiblesCache.py, 516): Failed to read hitEffect name in objects/misc/bbox/bboxcube_D2x2.model 2018-10-19 15:37:03.370: INFO: [gui.battle_control.arena_info.arena_dp] Player's team not found. 2018-10-19 15:37:03.370: INFO: [gui.battle_control.arena_info.arena_dp] Player's vehicle ID not found. 2018-10-19 15:37:03.371: INFO: [gui.battle_control.arena_info.arena_dp] Uses slow player search by name 2018-10-19 15:37:03.371: INFO: [gui.battle_control.arena_info.arena_dp] Player's team not found. 2018-10-19 15:37:03.371: INFO: [gui.battle_control.arena_info.arena_dp] Player's vehicle ID not found. 2018-10-19 15:37:03.371: INFO: [gui.battle_control.arena_info.arena_dp] Uses slow player search by name 2018-10-19 15:37:03.371: INFO: [gui.battle_control.arena_info.arena_dp] Player's team not found. 2018-10-19 15:37:03.371: INFO: [gui.battle_control.arena_info.arena_dp] Player's vehicle ID not found. 2018-10-19 15:37:03.371: INFO: [gui.battle_control.arena_info.arena_dp] Uses slow player search by name 2018-10-19 15:37:03.372: INFO: [gui.battle_control.arena_info.arena_dp] Player's team not found. 2018-10-19 15:37:03.372: INFO: [gui.battle_control.arena_info.arena_dp] Player's vehicle ID not found. 2018-10-19 15:37:03.372: INFO: [gui.battle_control.arena_info.arena_dp] Uses slow player search by name 2018-10-19 15:37:03.373: INFO: [gui.battle_control.arena_info.arena_dp] Player's team not found. 2018-10-19 15:37:03.373: INFO: [gui.battle_control.arena_info.arena_dp] Player's vehicle ID not found. 2018-10-19 15:37:03.373: INFO: [gui.battle_control.arena_info.arena_dp] Uses slow player search by name 2018-10-19 15:37:03.373: INFO: [gui.battle_control.arena_info.arena_dp] Player's team not found. 2018-10-19 15:37:03.373: INFO: [gui.battle_control.arena_info.arena_dp] Player's vehicle ID not found. 2018-10-19 15:37:03.373: INFO: [gui.battle_control.arena_info.arena_dp] Uses slow player search by name 2018-10-19 15:37:03.400: INFO: [gui.battle_control.arena_info.arena_dp] Player's team not found. 2018-10-19 15:37:03.400: INFO: [gui.battle_control.arena_info.arena_dp] Player's vehicle ID not found. 2018-10-19 15:37:03.400: INFO: [gui.battle_control.arena_info.arena_dp] Uses slow player search by name 2018-10-19 15:40:34.153: WARNING: [WARNING] (scripts/client/gui/battle_control/avatar_getter.py, 237): Attribute "inputHandler" is not found 2018-10-19 15:40:34.171: WARNING: [WARNING] (scripts/client/gui/battle_control/avatar_getter.py, 237): Attribute "inputHandler" is not found 2018-10-19 15:40:34.171: WARNING: [WARNING] (scripts/client/gui/battle_control/avatar_getter.py, 237): Attribute "inputHandler" is not found 2018-10-19 15:40:34.218: WARNING: [WARNING] (scripts/client/gui/battle_control/avatar_getter.py, 237): Attribute "inputHandler" is not found 2018-10-19 15:40:34.224: WARNING: [WARNING] (scripts/client/gui/battle_control/avatar_getter.py, 250): Attribute "arena" is not found "damageText": { "enabled": true, "x": 0, "y": -70, "alpha": 100, "align": "center", "textFormat": { "font": "$FieldFont", "size": 15, "color": "{{.colors.system.enemy_alive}}", "bold": true }, "shadow": { "enabled": true, "distance": 1, "angle": 45, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 }, "speed": 2, "maxRange": 60, "damageMessage": "<font color='{{py:replace('{{.colors.system.ally_alive}}', '0x', '#')}}' alpha='#4D'>{{py:killerVehicle('{{name}}')}}</font> <font color='#ffff00'>{{dmg-kind}}{{dmg}} <font face='Wingdings'>N</font></font>\n{{vehicle}}", "blowupMessage": "<font color='{{py:replace('{{.colors.system.ally_alive}}', '0x', '#')}}' alpha='#4D'>{{py:killerVehicle('{{name}}')}}</font> <font color='#ffff00'>{{dmg-kind}}{{dmg}} <font face='Wingdings'>M</font></font>\n{{vehicle}}" }, Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #443481 Posted October 19, 2018 @WarPet обновил в шапке скрипт collection.py P.S. Перезалил, забыл убрать логирование. Quote Share this post Link to post Short link Share on other sites
WarPet 97 #443485 Posted October 19, 2018 @ktulho В общем покатал с десяток боев, срабатывает макрос рандомно. Как не пытался установить систему, ничего не получается. Единственное заметил что в начале боя почти всегда не срабатывает. Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #443496 Posted October 19, 2018 (edited) 1 час назад, WarPet сказал: В общем покатал с десяток боев, срабатывает макрос рандомно. Исправить наверно не получиться. Возможно исправил попробуйте collection.py Edited October 19, 2018 by ktulho 1 Quote Share this post Link to post Short link Share on other sites
IURIK666 6 #443504 Posted October 19, 2018 В 17.10.2018 в 00:02, HEKPOMAHT сказал: скорее всего скрипта нет Спасибо за ответ. Но проблема в том что скачивается myHP.py. В конфиге пишется my_hp.py. Даже когда в папке "py_macro" находяться два этих файла (или по одному) всё равно своё ХП не изменяется, постоянно полное и зелёное . Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #443505 Posted October 19, 2018 (edited) 10 минут назад, IURIK666 сказал: В конфиге пишется my_hp.py Где это пишется? Чтобы не гадать, прикрепите логи. Edited October 19, 2018 by ktulho Quote Share this post Link to post Short link Share on other sites
IURIK666 6 #443506 Posted October 19, 2018 1 минуту назад, ktulho сказал: Где это пишется? Чтобы не гадать прикрепите логи. //===================================Блок ХП Бара================================================ "hpBar": { "enabled": true, "updateEvent": "PY(ON_MY_HP)", "x": "{{py:math.sum(-248,{{py:math.div({{py:my_hp.health(496)}}, 2)}})}}", "y": -4, "width": "{{py:my_hp.health(496)}}", "height": 14, "bgColor": "{{py:my_hp.health(100)>75?0x00AF00|{{py:my_hp.health(100)>50?0xCB9E00|{{py:my_hp.health(100)>25?0xF66700|0xD22A00}}}}}}", "screenVAlign": "bottom", "screenHAlign": "center" }, "hpBar_Background": { "enabled": true, "x": 0, "y": -2, "width": 502, "height": 20, "screenHAlign": "center", "screenVAlign": "bottom", "format": "<img src='xvm://res/my_hp_bar/hpBar_Background.png'>" }, "hpBar_text": { "enabled": true, "updateEvent": "PY(ON_MY_HP)", "x": 0, "y": -2, "width": 100, "height": 20, "screenHAlign": "center", "screenVAlign": "bottom", "textFormat": { "align": "center" }, "format": "<font size='14' color='#00E5FD'>{{py:my_hp.health}}/{{py:my_hp.maxHealth}}</font>" }, Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,178 #443507 Posted October 19, 2018 2 минуты назад, ktulho сказал: Где это пишется? он про шапку наверно, там старое название осталось Файл my_hp.py скопировать ... а надо Файл myНp.py скопировать ... Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #443508 Posted October 19, 2018 (edited) 9 минут назад, IURIK666 сказал: PY(ON_MY_HP) Это название события, оно ни как не связано с названием скрипта. 9 минут назад, IURIK666 сказал: {{py:my_hp.health}}/{{py:my_hp.maxHealth}} И названия макросов тоже. 8 минут назад, HEKPOMAHT сказал: он про шапку наверно, там старое название осталось Исправил. Edited October 19, 2018 by ktulho Quote Share this post Link to post Short link Share on other sites
IURIK666 6 #443509 Posted October 19, 2018 Может я и ошибаюсь, но тем не менее свежескачанный файл myHP.py лежит в попке "py_macro" Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #443510 Posted October 19, 2018 @IURIK666 прикрепите логи. Quote Share this post Link to post Short link Share on other sites
WarPet 97 #443511 Posted October 19, 2018 @ktulho Спасибо Вам огромное, все работает как нужно. Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #443513 Posted October 19, 2018 Обновил в шапке скрипт collection.py 1 Quote Share this post Link to post Short link Share on other sites
IURIK666 6 #443515 Posted October 19, 2018 Вот лог. xvm.log Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #443517 Posted October 19, 2018 @IURIK666 Для начала обновите или удалите скрипты infoPanel.py и battleEfficiency.py Quote Share this post Link to post Short link Share on other sites
IURIK666 6 #443521 Posted October 19, 2018 скрипты infoPanel.py и battleEfficiency.py удалил. вот лог боя после удаления xvm.log Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #443524 Posted October 19, 2018 @IURIK666 python.log прикрепите. Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,178 #443530 Posted October 19, 2018 @ktulho подскажи, по этому можно что сделать: В 12.10.2018 в 20:46, HEKPOMAHT сказал: скрывать одно экстраполе при наведении. Написано, обработчик нужно привязывать с помощью функции as_callback(event_name), подумал что нужен отдельный скрипт и событие к нему... Quote Share this post Link to post Short link Share on other sites
IURIK666 6 #443533 Posted October 19, 2018 1 час назад, ktulho сказал: @IURIK666 python.log прикрепите. вот логи xvm.log python.log Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,178 #443534 Posted October 19, 2018 21 минуту назад, IURIK666 сказал: вот логи пробуй такой вариант: - удалить папки mods/ res_mods/ со старыми модами (путь C:\Games\World_of_Tanks) - установить мод https://nightly.modxvm.com/ - установить свой конфиг со скриптами (damage_indicator.py нужно обновить) Quote Share this post Link to post Short link Share on other sites