Skip to content

feat: 初步适配新探索界面#1533

Merged
runhey merged 2 commits into
runhey:devfrom
LGG686:dev-ui
May 8, 2026
Merged

feat: 初步适配新探索界面#1533
runhey merged 2 commits into
runhey:devfrom
LGG686:dev-ui

Conversation

@LGG686
Copy link
Copy Markdown
Contributor

@LGG686 LGG686 commented May 8, 2026

  • 对大部分新ui进行了适配
  • 待适配项:
    探索部分
    悬赏封印
    删除御灵判断日期逻辑

Summary by Sourcery

更新 UI 资源配置,以适配在多种游戏模式下启用的新探索界面布局。

增强内容:

  • 重新调整探索导航以及各类副本/团本入口(Sougenbi、EvoZone、GoryouRealm、FallenSun、Orochi、EternitySea)的图像检测与点击区域,使其与新的 UI 布局相匹配。
  • 调整层数选择列表及屏幕文字的 OCR 区域,确保在更新后的界面下仍能准确识别。
  • 将相关 JSON 资源元数据与修订后的 UI 资源定义保持同步。
Original summary in English

Summary by Sourcery

Update UI asset configurations to align with the new exploration interface layout across multiple game modes.

Enhancements:

  • Retune image detection and click regions for exploration navigation and various dungeon/raid entrances (Sougenbi, EvoZone, GoryouRealm, FallenSun, Orochi, EternitySea) to match the new UI layout.
  • Adjust list and OCR regions for layer selection and on-screen text to remain accurate under the updated interface.
  • Synchronize associated JSON asset metadata with the revised UI asset definitions.

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - 我发现了 1 个问题,并留下了一些总体反馈:

  • 一些更新后的 roi_back 值(例如宽度约为 1100px 的探索条目)比之前大了很多;建议将这些区域收紧到真正需要的范围,以避免不必要的模板匹配开销以及潜在的误报。
  • 在不同的资源中重复出现了许多硬编码的坐标元组(例如大约 x≈700,y≈650 位置的锁定/解锁图标);考虑将这些坐标集中到共享常量或针对新 UI 布局的辅助映射中,这会让后续调整更容易、更不易出错。
给 AI Agent 的提示
Please address the comments from this code review:

## Overall Comments
- Several of the updated roi_back values (e.g. exploration entries with widths ~1100px) are much larger than before; consider tightening these regions to what’s actually needed to avoid unnecessary template-matching work and potential false positives.
- There are many hard-coded coordinate tuples repeated across different assets (e.g. lock/unlock icons around x≈700,y≈650); centralizing these into shared constants or a helper mapping for the new UI layout would make future adjustments easier and less error-prone.

## Individual Comments

### Comment 1
<location path="tasks/FallenSun/assets.py" line_range="36" />
<code_context>
 	# Ocr Rule Assets
 	# Ocr-description 
-	O_O_TEST_OCR = RuleOcr(roi=(126,136,360,491), area=(126,136,360,491), mode="Full", method="Default", keyword="", name="o_test_ocr")
+	O_O_TEST_OCR = RuleOcr(roi=(85,96,361,491), area=(85,96,360,491), mode="Full", method="Default", keyword="", name="o_test_ocr")


</code_context>
<issue_to_address>
**issue (bug_risk):** The `roi` and `area` widths differ by 1 pixel, which may be an off-by-one mistake.

Previously `roi` and `area` matched; now `roi` is 361 wide and `area` is 360. If they’re meant to cover the same region (as with the other OCR assets), please align these values to avoid subtle cropping/alignment differences.
</issue_to_address>

Sourcery 对开源项目免费——如果你觉得我们的评审有帮助,欢迎分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续的评审。
Original comment in English

Hey - I've found 1 issue, and left some high level feedback:

  • Several of the updated roi_back values (e.g. exploration entries with widths ~1100px) are much larger than before; consider tightening these regions to what’s actually needed to avoid unnecessary template-matching work and potential false positives.
  • There are many hard-coded coordinate tuples repeated across different assets (e.g. lock/unlock icons around x≈700,y≈650); centralizing these into shared constants or a helper mapping for the new UI layout would make future adjustments easier and less error-prone.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Several of the updated roi_back values (e.g. exploration entries with widths ~1100px) are much larger than before; consider tightening these regions to what’s actually needed to avoid unnecessary template-matching work and potential false positives.
- There are many hard-coded coordinate tuples repeated across different assets (e.g. lock/unlock icons around x≈700,y≈650); centralizing these into shared constants or a helper mapping for the new UI layout would make future adjustments easier and less error-prone.

## Individual Comments

### Comment 1
<location path="tasks/FallenSun/assets.py" line_range="36" />
<code_context>
 	# Ocr Rule Assets
 	# Ocr-description 
-	O_O_TEST_OCR = RuleOcr(roi=(126,136,360,491), area=(126,136,360,491), mode="Full", method="Default", keyword="", name="o_test_ocr")
+	O_O_TEST_OCR = RuleOcr(roi=(85,96,361,491), area=(85,96,360,491), mode="Full", method="Default", keyword="", name="o_test_ocr")


</code_context>
<issue_to_address>
**issue (bug_risk):** The `roi` and `area` widths differ by 1 pixel, which may be an off-by-one mistake.

Previously `roi` and `area` matched; now `roi` is 361 wide and `area` is 360. If they’re meant to cover the same region (as with the other OCR assets), please align these values to avoid subtle cropping/alignment differences.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread tasks/FallenSun/assets.py
# Ocr Rule Assets
# Ocr-description
O_O_TEST_OCR = RuleOcr(roi=(126,136,360,491), area=(126,136,360,491), mode="Full", method="Default", keyword="", name="o_test_ocr")
O_O_TEST_OCR = RuleOcr(roi=(85,96,361,491), area=(85,96,360,491), mode="Full", method="Default", keyword="", name="o_test_ocr")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): roiarea 的宽度相差 1 像素,这可能是一个 off-by-one 错误。

之前 roiarea 是一致的;现在 roi 的宽度是 361,而 area 是 360。如果它们是要覆盖同一块区域(就像其它 OCR 资源那样),请将这些值对齐,以避免出现细微的裁剪/对齐差异。

Original comment in English

issue (bug_risk): The roi and area widths differ by 1 pixel, which may be an off-by-one mistake.

Previously roi and area matched; now roi is 361 wide and area is 360. If they’re meant to cover the same region (as with the other OCR assets), please align these values to avoid subtle cropping/alignment differences.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Change Summary

  • 72 个文件改动,横跨 EternitySea、EvoZone、FallenSun、GoryouRealm、Orochi、Sougenbi、GameUi 七个模块
  • 各任务 assets.pyRuleImageroi_front/roi_back 坐标大面积调整,PNG 模板同步更新
  • RuleListroi_back 与各层 roi_front 坐标重新校准(如壹贰叁肆/壹贰叁肆伍陆柒捌玖拾)
  • RuleOcrroi/area 参数同步调整
  • 对应 image.jsonlist.jsonocr.json 元数据与代码端保持一致
  • GameUi/page/ 下探索导航入口 PNG(觉醒/御魂/结界突破/御灵/式神委派/秘闻/地域鬼王/六道/契灵)坐标批量更新

Reconstructed Intent

点击此处展开 - 这次改动最可能是为了:**适配游戏新探索界面 UI 布局,重新校准所有相关任务的图像识别 ROI 与 OCR 区域** - 坐标变更方向一致(新界面整体右移,部分入口从 roi_front/roi_back 等宽变为前后景分离),暗示探索界面菜单结构发生了重新设计 - PR 自述"初步适配"且列举了待适配项(探索部分、悬赏封印、删除御灵判断日期逻辑),说明这是分期适配,本次覆盖了已适配的部分

Observed Constraints

点击此处展开 - **依赖新 UI 模板资源已正确替换**:PNG 文件同步更新是前提,若 PNG 与坐标不匹配会导致识别失效 - **依赖 ROI 坐标在新 UI 上的准确性**:本次坐标基于作者采集的新界面截图,需要确认在不同分辨率/缩放下是否具有普适性 - **跨模块联动**:GameUi 的探索导航入口坐标改了,但被导到的各个子任务(EvoZone、FallenSun 等)的入口坐标也同步改了——两者必须严格对应,任意一对失配都会导致导航链断裂 - **未覆盖项未处理**:PR 自述"待适配项: 探索部分、悬赏封印、删除御灵判断日期逻辑",本次不包括这些,说明旧 UI 适配仍在,若游戏同时保留新旧 UI 可能产生冲突

Intent Alignment

  • 实现与推断 intent 基本一致:所有涉及模块的 ROI/OCR/模板均已重新校准,且元数据与代码端同步
  • 仅限"初步适配"范围内,已适配部分改动完整,未见明显遗漏

Release Risk

  • 风险等级:
  • ROI 普适性风险:新 ROI 坐标基于特定分辨率/缩放采集,若用户游戏窗口尺寸不同,识别成功率可能下降
  • 模板匹配质量风险:PNG 模板同步更新,但 threshold 未做调整(多数仍为 0.8),新模板是否在生产环境达到同等识别率需验证
  • 导航链完整性风险:GameUi 探索导航入口 → 子任务入口的链路涉及多对 ROI,任何一对失配都会导致自动化流程断裂,本次改动范围大使该风险放大
  • 版本共存风险:若游戏分批推送新 UI,旧 UI 适配仍在,脚本可能在两个版本间产生误识别

Validation Gaps

点击此处展开 - **未提供实际运行验证**:没有单元测试或集成测试说明,新 ROI 在真机/真窗口下的识别率未知 - **分辨率适配未验证**:未说明是否在常用分辨率下测试过 - **导航链路未端到端验证**:GameUi 入口 → 各子任务入口的完整链路未在 PR 中说明验证结果 - **PR 自述待适配项仍在**:悬赏封印、探索部分(待适配项)的旧坐标仍在代码库中,游戏若先推新 UI 这些任务会直接失效

``

Generated by PR Review Intent for issue #1533 · ● 574.6K ·

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Findings

  • 未发现未通过项

Generated by PR Review Checklist for issue #1533 · ● 668.3K ·

@LGG686
Copy link
Copy Markdown
Contributor Author

LGG686 commented May 8, 2026

另外在从庭院跳转探索页后,还需加个逻辑,这次游戏更新探索右边的关卡添加了折叠隐藏的按钮,隐藏了会导致无法判断是否处于探索

@runhey
Copy link
Copy Markdown
Owner

runhey commented May 8, 2026

image 可以换成这个或者别的

@LGG686
Copy link
Copy Markdown
Contributor Author

LGG686 commented May 8, 2026

image 可以换成这个或者别的

image 可以换成这个或者别的

改了

@LGG686 LGG686 closed this May 8, 2026
@runhey
Copy link
Copy Markdown
Owner

runhey commented May 8, 2026

咋关了,我刚刚想处理冲突

@LGG686
Copy link
Copy Markdown
Contributor Author

LGG686 commented May 8, 2026

咋关了,我刚刚想处理冲突

我看有冲突就关了😂重新开了

@LGG686 LGG686 reopened this May 8, 2026
@github-actions github-actions Bot mentioned this pull request May 8, 2026
@runhey runhey merged commit 13efdc3 into runhey:dev May 8, 2026
11 checks passed
@LGG686
Copy link
Copy Markdown
Contributor Author

LGG686 commented May 8, 2026

image 可以换成这个或者别的

@runhey 右下角的设置好像不太合适,如果我隐藏了底部某一个玩法入口,设置按钮会变成展开按钮,截加成的话可以再往上边截一点,避免聊天条的影响

huiyuhang1 added a commit to huiyuhang1/OnmyojiAutoScript that referenced this pull request May 18, 2026
commit 27ce720
Author: huangrunheng <2234044577@qq.com>
Date:   Thu May 14 11:07:34 2026 +0800

    fix(Handle): 句柄树构建加重试机制,优化日志输出

    - 修复模拟器子窗口未就绪时 screenshot_handle_num 访问空 children 导致 IndexError
    - __init__ 中 handle_tree 构建后若 children 为空则等待重试(最多10次×1s)
    - 移除 screenshot_handle_num/screenshot_size 初始化时预计算,延迟到首次截屏
    - 统一 handle 空值检查为单行判断
    - 修正多处日志拼写和措辞(wnidow→window, seclect→select, handle is handle→handle is a 等)

commit 7635e0a
Merge: 0bfddbd cbc343f
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Wed May 13 23:22:36 2026 +0800

    Merge pull request runhey#1555 from yEs1do/fix(Sougenbi)

    fix(Sougenbi): 移除冗余图像规则,更新OCR区域设置

commit cbc343f
Merge: 0a9461e 0bfddbd
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Wed May 13 23:20:44 2026 +0800

    Merge branch 'dev' into fix(Sougenbi)

commit 0bfddbd
Merge: 29ce9a7 199a5ad
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Wed May 13 23:17:59 2026 +0800

    Merge pull request runhey#1554 from LGG686/dev-CostumeShikigami

    Dev costume shikigami

commit 29ce9a7
Merge: 602eede 7c6c1ca
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Wed May 13 23:09:49 2026 +0800

    Merge pull request runhey#1545 from LGG686/dev1

    fix(Orochi): 修复组队御魂队员超时 runhey#1544

commit 0a9461e
Author: yEs1do <yangjiaxiyou@gmail.com>
Date:   Wed May 13 21:02:47 2026 +0800

    fix(Sougenbi): 删除冗余的图像文件

commit 199a5ad
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Wed May 13 14:47:10 2026 +0800

    fix: update ROI values for check_main_4 images in JSON and assets

commit a1fa7a1
Author: AzurTian <azurtian@qq.com>
Date:   Wed May 13 11:20:09 2026 +0800

    fix(SwitchSoul): 修复切换御魂图像识别区域(仅更新了默认幕间)

    - 调整 ss_sou_switch_1 图像识别区域坐标,提高匹配精度
    - 调整 ss_sou_switch_2 图像识别区域坐标,优化检测效果
    - 调整 ss_sou_switch_3 图像识别区域坐标,提升定位准确性
    - 调整 ss_sou_switch_4 图像识别区域坐标,改善识别稳定性
    - 更新 ss_sou_click_present 点击预设按钮的识别区域
    - 统一前后端ROI区域参数,确保跨平台识别一致性

commit 84725ca
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Wed May 13 13:10:55 2026 +0800

    fix(CostumeShikigami): add support for new costume shikigami entries

commit d5ccaf1
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Wed May 13 12:50:27 2026 +0800

    fix(CostumeShikigami): 修复切换御魂图像识别区域(更新所有幕间)

    - 调整 ss_sou_switch_1 图像识别区域坐标,提高匹配精度
    - 调整 ss_sou_switch_2 图像识别区域坐标,优化检测效果
    - 调整 ss_sou_switch_3 图像识别区域坐标,提升定位准确性
    - 调整 ss_sou_switch_4 图像识别区域坐标,改善识别稳定性
    - 更新 ss_sou_click_present 点击预设按钮的识别区域
    - 统一前后端ROI区域参数,确保跨平台识别一致性

commit 7c6c1ca
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Tue May 12 12:36:35 2026 +0800

    fix(Exploration): 调整创建队伍ROI识别坐标及模板图片

    更新 res_exp_create_team 模板图片,同步调整 assets.py 和 image.json
    中 I_EXP_CREATE_TEAM 的 roiFront 与 roiBack 检测区域坐标

commit 5f11a63
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Tue May 12 12:29:57 2026 +0800

    fix(Sougenbi): 调整业原火相关OCR识别ROI  runhey#1550

commit 39855f3
Author: yEs1do <yangjiaxiyou@gmail.com>
Date:   Mon May 11 01:55:44 2026 +0800

    fix(Sougenbi): 移除冗余图像规则,更新OCR区域设置

commit adc2491
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Sun May 10 18:20:29 2026 +0800

    fix(Orochi): 修复组队御魂队员超时  runhey#1544

    - 更新 gi_lock/gi_unlock/gi_explore 图片模板的 ROI 坐标
    - 同步更新 assets.py 中对应 RuleImage 参数
    - 大蛇脚本中将首页/探索检测由 GI 特定图片改为通用检测图片

commit 4e5d9d4
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Sun May 10 11:04:25 2026 +0800

    fix(TrueOrochi): 更新st_find_ts模板图片及检测区域坐标

    调整roiFront和roiBack的检测范围参数,同步更新模板匹配图片

commit 602eede
Author: ryland <2234044577@qq.com>
Date:   Sun May 10 00:47:56 2026 +0800

    fix(WantedQuests): streamline exploration version checks and wanted quest detection

commit 8dd3b7a
Author: ryland <2234044577@qq.com>
Date:   Sun May 10 00:45:34 2026 +0800

    fix(WantedQuests): streamline exploration version checks and wanted quest detection

commit c36c511
Merge: 1943709 7ee5797
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Sat May 9 22:58:07 2026 +0800

    Merge pull request runhey#1539 from LGG686/dev-ui

    Dev UI

commit 7ee5797
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Sat May 9 20:45:04 2026 +0800

    fix(WantedQuests): 修复OCR识别\"式神\"与用户配置\"挑战\"不匹配的问题

    - OCR识别文本可能返回\"式神\"而非\"挑战\",对此添加类型映射处理
    - 更新探索界面返回按钮检测,从红色按钮切换至黄色按钮(I_UI_BACK_RED → I_UI_BACK_YELLOW)
    - 调整多项ROI坐标以适配当前游戏画面布局(challenge/image.json, ocr.json, page_img.json)
    - 更新模板匹配图像资源(challenge unlock/lock, page_check_exploration)
    - 移除不再使用的wq_list_top_bottom_check图像及配置项

commit a6ec7a6
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Sat May 9 16:13:05 2026 +0800

    fix: update ROI values for kirin images in assets and JSON

commit 0b40417
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Sat May 9 16:12:38 2026 +0800

    fix(GoryouRealm): 移除副本的星期限制和日期检查逻辑

    副本已支持全天开放,不再需要按星期几切换式神或周一退出。

commit 1943709
Author: ryland <2234044577@qq.com>
Date:   Sat May 9 02:06:30 2026 +0800

    fix(Exploration): Update

commit 13efdc3
Merge: 6e03c72 aec7dfe
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Sat May 9 01:26:52 2026 +0800

    Merge pull request runhey#1533 from LGG686/dev-ui

    feat: 初步适配新探索界面

commit 6e03c72
Merge: a9f3537 98888a7
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Sat May 9 01:23:30 2026 +0800

    Merge pull request runhey#1535 from runhey/revert-1519-dev

    Revert "梦虚秘境支持PVP"

commit 98888a7
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Sat May 9 01:20:31 2026 +0800

    Revert "梦虚秘境支持PVP"

commit aec7dfe
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Fri May 8 22:16:26 2026 +0800

    fix: update page_check_exploration.png

commit a9f3537
Merge: 6efb7e9 72e5129
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Fri May 8 22:10:18 2026 +0800

    Merge pull request runhey#1519 from lhye/dev

    梦虚秘境支持PVP

commit 72e5129
Author: lhye <woodree@gmail.com>
Date:   Fri May 8 21:57:41 2026 +0800

    refactor(WantedQuests): 删除旧的检测图片文件

commit 0fbbdc1
Author: lhye <woodree@gmail.com>
Date:   Fri May 8 21:56:54 2026 +0800

    fix(WantedQuests): 改'封'字检测为包含匹配

commit 6efb7e9
Merge: 477fea9 68e6ece
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Fri May 8 21:52:10 2026 +0800

    Merge pull request runhey#1525 from LGG686/dev-e

    refactor: 重构任务队列空闲处理与关闭游戏/模拟器配置

commit 690e55f
Author: lhye <woodree@gmail.com>
Date:   Fri May 8 21:51:46 2026 +0800

    fix(WantedQuests): 改悬赏任务检测为OCR识别'封'字

commit 30c686b
Author: lhye <woodree@gmail.com>
Date:   Fri May 8 21:42:05 2026 +0800

    fix(Orochi): update layer selection area to (125,99,74,585)

commit 2dc1e09
Author: lhye <woodree@gmail.com>
Date:   Fri May 8 21:39:26 2026 +0800

    fix(Orochi): update orochi images and coordinates

commit 252453c
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Fri May 8 20:30:07 2026 +0800

    feat: 初步适配新探索界面

commit 6abfa5c
Author: lhye <woodree@gmail.com>
Date:   Fri May 8 08:13:14 2026 +0800

    fix(GameUi): 更新 page_check_soul_zones 图片及坐标 (152,20,68,36)

commit 3f73406
Author: lhye <woodree@gmail.com>
Date:   Fri May 8 07:47:45 2026 +0800

    fix(GameUi): 更新 page_check_exploration 图片及坐标 (1149,119,27,21)

commit 5284008
Author: lhye <woodree@gmail.com>
Date:   Thu May 7 22:54:02 2026 +0800

    fix(GameUi): 更新 page_check_exploration 图片及坐标

    - 替换 page_check_exploration.png 图片
    - 更新坐标 (1140,103,45,51)

commit 9bddd7a
Author: lhye <woodree@gmail.com>
Date:   Thu May 7 22:29:46 2026 +0800

    feat: 更新探索入口图片及坐标,优化HeroTest脚本

    GameUi:
    - 替换12个探索入口按钮图片,使用精确坐标匹配
    - 更新 roi_front 和 roi_back 参数与图片文件名中的坐标一致
    - 涉及图片: demon_encounter_goto_town, exploration_goto_main,
      exploration_goto_awake_zone, exploration_goto_soul_zone,
      exploration_goto_realm_raid, exploration_goto_goryou_realm,
      exploration_goto_delegation, exploration_goto_secret_zones,
      exploration_goto_area_boss, exploration_goto_six_gates,
      exploration_goto_bondling_fairyland, exploration_goto_hero_test
    - 更新 page_img.json, page_img_2.json, page_img_supplement.json 配置

    HeroTest:
    - 手动更新 script_task.py 脚本逻辑

commit 68e6ece
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Mon May 4 21:57:23 2026 +0800

    refactor: 重构任务队列空闲处理与关闭游戏/模拟器配置

    - 重新整理任务队列空闲时的处理分支与执行流程
    - 调整关闭游戏/关闭模拟器相关的时间配置结构

commit 477fea9
Merge: ea2e619 3004213
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Mon May 4 17:52:17 2026 +0800

    Merge pull request runhey#1499 from LGG686/dev-d

    fix(Gameui): 增加新下载拓展包弹窗关闭识别

commit 237ed8a
Merge: 0ad3038 ea2e619
Author: LHY <woodree@gmail.com>
Date:   Sun May 3 09:47:08 2026 +0800

    Merge branch 'runhey:dev' into dev

commit 0ad3038
Author: lhye <woodree@gmail.com>
Date:   Sat May 2 19:46:46 2026 +0800

    fix(HeroTest): 对调skill6和skill7的文件和参数

    - skill6: 默认技能 (253,128,39,63)
    - skill7: 速度祝福 (427,356,62,38)
    - 优先级:默认技能在速度祝福之前

commit 0d73f06
Author: lhye <woodree@gmail.com>
Date:   Sat May 2 19:36:35 2026 +0800

    feat(HeroTest): 梦虚秘境新增默认技能兜底选项

    - 新增 I_HERO2_SKILL7 (默认技能) 图片规则
    - 添加 pve_skill 列表,作为选buff的兜底选项
    - 更新 image.json 添加 hero2_skill1-7 配置

commit ea2e619
Merge: b7fac9a 0ad172b
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Sat May 2 13:55:39 2026 +0800

    Merge pull request runhey#1502 from LGG686/pprr

    Enhance BondlingFairyland capture flow and guild monitor scheduling

commit 3004213
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Sat May 2 13:39:48 2026 +0800

    feat(GameUi): 增加图鉴下载插画关闭识别

commit ae4f770
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Sat May 2 13:38:43 2026 +0800

    feat(GameUi): 增加图鉴下载插画关闭识别

commit b7fac9a
Merge: 5fdcc12 2bbf9df
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Fri May 1 19:52:03 2026 +0800

    Merge pull request runhey#1516 from LGG686/dev-e

    feat: 无任务时支持关闭模拟器并预热拉起

commit 2bbf9df
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Fri May 1 19:29:45 2026 +0800

    feat(config): 优化关闭游戏/模拟器限制时间配置项

    - 为配置字段添加描述信息以提供更清晰的帮助

commit 3bbf105
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Fri May 1 18:50:27 2026 +0800

    fix(script):修复 _wait_close_game 日志误导及优化 datetime.now() 调用

    - 修复 _wait_close_game 中的误导性日志消息,使其与实际行为(未调用 GotoMain)一致
    - 优化 _wait_until_with_emulator_preheat 和 _wait_close_emulator_or 中的 datetime.now() 调用,
      预先捕获时间以避免轻微的竞态条件并提高阈值比较的可读性

commit d967bfa
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Mon Apr 20 11:57:54 2026 +0800

    refactor(script): 空闲等待策略统一为 map 动态分发

    - 重构 _handle_wait_during_idle,统一通过 strategy_map 执行策略
    - 移除 map 之后的 if/else 参数分支逻辑
    - 策略方法统一只接收 next_run,配置项改为在方法内部读取
    - 拆分 close_emulator_or_goto_main 与 close_emulator_or_close_game 两个明确入口
    - 收敛关闭模拟器公共逻辑到 _wait_close_emulator_or,并用 fallback 回调处理后续动作
    - 保留无效策略回退 stay_there 的兜底行为
    - 添加翻译

commit c88daf3
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Thu Apr 16 09:37:52 2026 +0800

    feat: 无任务时支持关闭模拟器并预热拉起

    - 新增 close_emulator_or_goto_main / close_emulator_or_close_game 策略
    - 新增 close_game_limit_time、close_emulator_limit_time、emulator_startup_lead_time 配置
    - 引入 _emulator_down 状态追踪,避免关闭后执行无效设备操作
    - 当模拟器处于关闭状态时,空闲分支统一走预热拉起流程
    - 配置变更后按新的 next_run 重新调度等待

    (cherry picked from commit 01e5d72)

commit 5fdcc12
Merge: 369197e 29aad9f
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Fri May 1 17:35:21 2026 +0800

    Merge pull request runhey#1515 from LGG686/dev-m

    fix(MemoryScrolls): 提高图像识别阈值以改善准确性

commit 369197e
Author: ryland <2234044577@qq.com>
Date:   Fri May 1 17:16:00 2026 +0800

    feat(workflows): enhance PR review intent workflow
    - switch to pull_request_target targeting dev branch
    - add pre_activation team membership check
    - wrap output sections in collapsible details tags
    - add pr-review-checklist workflow with shared template

commit 29aad9f
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Fri May 1 12:29:24 2026 +0800

    fix(MemoryScrolls): 提高图像识别阈值以改善准确性

    将 ms/image.json 和 assets.py 中的图像匹配阈值从0.8 提升到 0.9,
    以提高绘卷任务中图像识别的准确性和稳定性。

commit 0a07704
Merge: 8ae172b 76e2a87
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Thu Apr 30 20:11:11 2026 +0800

    Merge pull request runhey#1513 from LGG686/dev-i

    fix(GeneralInvite): 修正 GeneralInvite 组件的标志位 ROI 参数  runhey#1509

commit 76e2a87
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Thu Apr 30 13:53:33 2026 +0800

    fix(GeneralInvite): 修正 GeneralInvite 组件的标志位 ROI 参数  runhey#1509

    - 调整 `I_FLAG_2_ON` 的前后 ROI 区域坐标
    - 同步更新 `gi_flag_2_on.png` 资源及对应的 `image.json` 配置
    - 解决因坐标错误导致的识别匹配不准问题

commit 8ae172b
Merge: bb931f1 e93dad1
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Thu Apr 30 01:27:22 2026 +0800

    Merge pull request runhey#1512 from runhey/master

    Synchronize master to the dev branch

commit bb931f1
Author: ryland <2234044577@qq.com>
Date:   Thu Apr 30 01:09:32 2026 +0800

    fix(tasks/ActivityShikigame): Update

commit e93dad1
Author: ryland <2234044577@qq.com>
Date:   Thu Apr 30 00:18:15 2026 +0800

    feat(workflows): 优化 issue 分流和处理工作流
    - issue-triage: 简化激活流程,增加 skip-triage 标签支持,完善模板格式检查逻辑
    - issue-handle-question: 改进问题分类处理流程,更新评论模板和语气风格指导
    - issue-handle-*: 统一添加 roles 配置

    Co-authored-by: Copilot <copilot@github.com>

commit 5210524
Merge: 193be78 3e54a35
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Sat Apr 25 23:09:36 2026 +0800

    Merge pull request runhey#1505 from yEs1do/fix(GeneralInvite_img)

    fix(GeneralInvite): 更新 gi_flag_2_on.png 图像文件

commit 193be78
Merge: bbb081b c368e51
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Sat Apr 25 23:09:21 2026 +0800

    Merge pull request runhey#1508 from lhye/dev

    feat(DemonEncounter): 支持新的逢魔之时page切换

commit c368e51
Author: lhye <woodree@gmail.com>
Date:   Sat Apr 25 21:33:02 2026 +0800

    fix(DemonEncounter): 优化页面导航流程

    - 直接定位到 page_demon_encounter_realworld 页面
    - 移除多余的 page_demon_encounter 跳转

commit ee4746c
Author: lhye <woodree@gmail.com>
Date:   Sat Apr 25 21:26:34 2026 +0800

    feat(DemonEncounter): 重构逢魔之时页面切换逻辑

    - 更新 I_CHECK_DEMON_ENCOUNTER 参数为 (153,16,129,38)
    - 新增 I_CHECK_DEMON_ENCOUNTER_REALWORLD 检测图片
    - 新增 I_DEMON_ENCOUNTER_REALWORLD_GOTO 跳转图片
    - 新增 page_demon_encounter_realworld 页面
    - 重构页面导航:demon_encounter -> demon_encounter_realworld -> execute_boss
    - 移动图片 demon_de_boss_enter.png 到 GameUi/page 目录
    - 更新相关 JSON 配置

commit 1549ad3
Author: lhye <woodree@gmail.com>
Date:   Sat Apr 25 21:13:32 2026 +0800

    feat(DemonEncounter): 添加封魔boss进入按钮及wait_and_click函数

    - 添加 I_DE_BOSS_ENTER 图片规则 (994,485,106,30)
    - 在点灯笼后、执行boss前添加 wait_and_click(I_DE_BOSS_ENTER)
    - 新增 wait_and_click 函数:等待目标出现并点击
    - 更新 image.json 添加 de_boss_enter 配置

commit b6e0708
Author: ryland <2234044577@qq.com>
Date:   Sat Apr 25 01:42:53 2026 +0800

    feat: add GitHub Agentic Workflow for repository automation

commit cec3b6e
Merge: 984dcc0 bbb081b
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Fri Apr 24 23:54:48 2026 +0800

    Merge pull request runhey#1492 from runhey/dev

    Automated PR 2026.04.02

commit 3e54a35
Author: yEs1do <yangjiaxiyou@gmail.com>
Date:   Sat Apr 18 22:33:21 2026 +0800

    fix(GeneralInvite): 更新 gi_flag_2_on.png 图像文件

commit 0ad172b
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Fri Apr 10 23:53:06 2026 +0800

    fix(GuildActivityMonitor): 修正运行日期解析与下次调度

    - 使用正则提取并过滤 1-7 的周几配置,避免异常输入导致误判
    - 在运行日期配置无效时记录警告并直接结束任务,避免继续调度
    - 当任务在命中当天配置后执行完成时,下一次调度排除当天,
      防止再次落回同一天
    - 统一按最近有效运行日计算下次执行时间,提升周期调度稳定性

commit 30ecbcd
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Fri Apr 10 20:21:19 2026 +0800

    feat(GuildActivityMonitor): 支持按周几控制监控任务运行

    -在 GuildActivityMonitorCombatTime 中新增 run_days 配置项,默认值为 1,2,3,4,5,6,7(周一到周日)。
    -任务启动时根据 datetime.now().weekday()+1 判断当天星期,若不在 run_days 中则直接跳过并结束

commit 7339ff9
Author: Azure <bluetian1st@gmail.com>
Date:   Mon Nov 24 18:12:39 2025 +0800

    fix(BondlingFairyland): adopt new ui and add minimal mode switch

commit 3f5b3aa
Author: Azure <bluetian1st@gmail.com>
Date:   Fri Nov 14 21:45:22 2025 +0800

    add(BondlingFairyland): cap again and fix check bondling fairyland page

commit 11d08ff
Author: Azure <bluetian1st@gmail.com>
Date:   Fri Nov 14 16:27:04 2025 +0800

    add(BondlingFairyland): four mode and fix capture setting

commit f97ba39
Author: Azure <bluetian1st@gmail.com>
Date:   Thu Nov 13 17:54:08 2025 +0800

    add(BondlingFairyland): support new four bondling types and fix page check

commit 96b2d4b
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Sun Apr 5 20:48:53 2026 +0800

    fix(GuildActivityMonitor): 监控任务加入长等待白名单避免误判卡死

commit 8e3bcb1
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Tue Apr 14 11:24:42 2026 +0800

    Revert(GameUi): 回滚进入花和战与商店入口的部分资源配置

    - 回退由 71fb8ef 引入的图像与 ROI 调整
    - 花合战太大了月底会识别不到
    - 商店图标有多种类型,选择对文字识别

    (cherry picked from commit 85d097e)

commit 508d8bb
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Sat Apr 11 16:57:21 2026 +0800

    fix(GameUi): 增加下载扩展包弹窗关闭识别

    - 扩大GlobalGame中取消按钮(小)的ROI区域,提升弹窗关闭识别稳定性
    - 在式神录等页面补充取消按钮识别,避免被弹窗遮挡后卡住流程
    - 调整商店页面的附加识别项,统一优先处理返回与取消类弹窗

commit a49c13b
Author: yuyuyuyuyu <190754820@qq.com>
Date:   Thu Apr 9 23:08:24 2026 +0800

    feat(AutoCheckinBigGod): 完成任务后恢复阴阳师前台状态

    -新增 cleanup 收尾恢复逻辑,任务结束时主动拉起阴阳师前台
    -按理可以直接注释#124行,但相比直接注释,该方案更保守

commit 984dcc0
Merge: ad85856 8e2f9d0
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Fri Mar 13 17:04:19 2026 +0800

    Merge pull request runhey#1471 from runhey/dev

    Dev

commit ad85856
Merge: da9a545 7d35a9f
Author: huangrunheng <74492025+runhey@users.noreply.github.com>
Date:   Thu Mar 12 23:59:09 2026 +0800

    Merge pull request runhey#1466 from runhey/dev

    Automated PR 2026.03.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants