截图连续识别失败熔断 + 卡包低分先刷新;震颤队名
- aalc_patches: install_image_error_guard — ImageUtils.match_template 返回 None(上游异常分支) 在 120 秒内累计 20 次即 TaskAbort, 避免窗口没了还空转 4.5 小时(2026-11-16 实测) - 卡包优选阈值: preferred_thresholds 0→1(LCP_THEME_PACK_THRESHOLD 可调), 低于 1 分先刷新, 上游最多 3 次 - data/team_names.json: tremor -> [震颤](用户 11-16 指定, 不再选镜像迷宫) - tests: 新增 test_image_error_guard 5 例 单测: 743 passed。
This commit is contained in:
+2
-1
@@ -14,7 +14,7 @@ from .aalc_engine import bootstrap
|
|||||||
from .aalc_patches import (TaskAbort, WindowGuard, driver_click_tasks, headless_hdr_warning, install_rabbit_hole,
|
from .aalc_patches import (TaskAbort, WindowGuard, driver_click_tasks, headless_hdr_warning, install_rabbit_hole,
|
||||||
load_rabbit_hole,
|
load_rabbit_hole,
|
||||||
install_default_battle_team, install_event_choices, install_exact_team_match,
|
install_default_battle_team, install_event_choices, install_exact_team_match,
|
||||||
install_gift_confirm_guard, install_gift_preference, install_key_hold,
|
install_gift_confirm_guard, install_gift_preference, install_image_error_guard, install_key_hold,
|
||||||
install_robust_set_foreground, install_shop_audit, install_shop_by_name,
|
install_robust_set_foreground, install_shop_audit, install_shop_by_name,
|
||||||
install_system_team_selection, install_team_screen_guard,
|
install_system_team_selection, install_team_screen_guard,
|
||||||
install_theme_pack_audit, install_theme_pack_systems, install_typed_keyboard_road,
|
install_theme_pack_audit, install_theme_pack_systems, install_typed_keyboard_road,
|
||||||
@@ -157,6 +157,7 @@ def _run(task, params):
|
|||||||
install_system_team_selection(log=log, names=rabbit['team_names'] if rabbit else None)
|
install_system_team_selection(log=log, names=rabbit['team_names'] if rabbit else None)
|
||||||
install_team_screen_guard(log=log)
|
install_team_screen_guard(log=log)
|
||||||
install_gift_confirm_guard(log=log) # 「获得E.G.O饰品」点不关时换落点/结束任务(ISSUES I-06)
|
install_gift_confirm_guard(log=log) # 「获得E.G.O饰品」点不关时换落点/结束任务(ISSUES I-06)
|
||||||
|
install_image_error_guard(log=log) # 截图连续识别失败即结束任务(防窗口没了还空转)
|
||||||
install_typed_keyboard_road(log=log)
|
install_typed_keyboard_road(log=log)
|
||||||
install_gift_preference(log=log)
|
install_gift_preference(log=log)
|
||||||
install_event_choices(log=log)
|
install_event_choices(log=log)
|
||||||
|
|||||||
Reference in New Issue
Block a user