Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
282 changes: 282 additions & 0 deletions assets/game_data/screen_info/_od_merged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,228 @@
template_match_threshold: 0.7
color_range: null
goto_list: []
- screen_id: agent_info
screen_name: 代理人-信息
pc_alt: false
area_list:
- area_name: 按钮-街区
id_mark: true
pc_rect:
- 238
- 26
- 394
- 78
text: 街区
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list:
- 大世界
- area_name: 按钮-返回
id_mark: true
pc_rect:
- 82
- 13
- 150
- 90
text: ''
lcs_percent: 0.5
template_sub_dir: menu
template_id: back
template_match_threshold: 0.9
color_range: null
goto_list:
- 代理人-列表
- area_name: 按钮-代理人基础
id_mark: false
pc_rect:
- 1042
- 974
- 1251
- 1017
text: 基础
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 按钮-代理人技能
id_mark: false
pc_rect:
- 1290
- 974
- 1507
- 1013
text: 技能
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 按钮-代理人装备
id_mark: false
pc_rect:
- 1555
- 976
- 1760
- 1016
text: 装备
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 代理人-影画
id_mark: false
pc_rect:
- 72
- 986
- 226
- 1031
text: ''
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 代理人-名称
id_mark: false
pc_rect:
- 1032
- 272
- 1524
- 378
text: ''
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 代理人-核心等级
id_mark: false
pc_rect:
- 742
- 160
- 848
- 224
text: ''
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 代理人-技能等级
id_mark: false
pc_rect:
- 945
- 729
- 1769
- 790
text: ''
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 代理人-有无标志
id_mark: false
pc_rect:
- 1542
- 175
- 1543
- 176
text: ''
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 代理人-等级
id_mark: false
pc_rect:
- 1055
- 447
- 1180
- 499
text: ''
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 按钮-下一位代理人
id_mark: false
pc_rect:
- 1766
- 33
- 1793
- 73
text: ''
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 按钮-核心技等级
id_mark: false
pc_rect:
- 1648
- 288
- 1737
- 492
text: ''
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- screen_id: agent_list
screen_name: 代理人-列表
pc_alt: false
area_list:
- area_name: 按钮-返回
id_mark: true
pc_rect:
- 82
- 13
- 150
- 90
text: ''
lcs_percent: 0.5
template_sub_dir: menu
template_id: back
template_match_threshold: 0.9
color_range: null
goto_list:
- 菜单
- area_name: 代理人-信息
id_mark: false
pc_rect:
- 1015
- 739
- 1350
- 1047
text: 基础
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list:
- 代理人-信息
Comment on lines +408 to +437
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

给“代理人-列表”补一个唯一的 id_mark

这里只有返回按钮是 id_mark,而返回按钮在很多页面都存在;真正能区分代理人列表的“基础”区域却被标成了普通区域。这样导航回列表页时,识屏很容易误判为成功。

可参考的最小修正
  - area_name: 代理人-信息
-    id_mark: false
+    id_mark: true
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- area_name: 按钮-返回
id_mark: true
pc_rect:
- 82
- 13
- 150
- 90
text: ''
lcs_percent: 0.5
template_sub_dir: menu
template_id: back
template_match_threshold: 0.9
color_range: null
goto_list:
- 菜单
- area_name: 代理人-信息
id_mark: false
pc_rect:
- 1015
- 739
- 1350
- 1047
text: 基础
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list:
- 代理人-信息
- area_name: 按钮-返回
id_mark: true
pc_rect:
- 82
- 13
- 150
- 90
text: ''
lcs_percent: 0.5
template_sub_dir: menu
template_id: back
template_match_threshold: 0.9
color_range: null
goto_list:
- 菜单
- area_name: 代理人-信息
id_mark: true
pc_rect:
- 1015
- 739
- 1350
- 1047
text: 基础
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list:
- 代理人-信息
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@assets/game_data/screen_info/_od_merged.yml` around lines 408 - 437, The area
entry with area_name "代理人-信息" (text "基础") should be marked as a unique
identifier so list-page recognition isn’t confused with the common back button;
change its id_mark from false to true on that YAML entry (the block containing
area_name "代理人-信息" and text "基础") so navigation uses this distinctive marker
instead of the shared "按钮-返回" id_mark.

- screen_id: arcade
screen_name: 电玩店
pc_alt: false
Expand Down Expand Up @@ -5995,6 +6217,21 @@
color_range: null
goto_list:
- 绳网
- area_name: 底部-代理人
id_mark: false
pc_rect:
- 200
- 924
- 1728
- 1058
text: 代理人
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list:
- 代理人-列表
- area_name: 菜单-动态壁纸
id_mark: true
pc_rect:
Expand Down Expand Up @@ -8295,6 +8532,51 @@
color_range: null
goto_list:
- 大世界-普通
- area_name: 驱动盘仓库
id_mark: false
pc_rect:
- 93
- 202
- 1320
- 897
text: 街区
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list:
- 仓库-驱动仓库-驱动盘拆解
- area_name: 驱动盘属性
id_mark: false
pc_rect:
- 1408
- 267
- 1838
- 768
text: 街区
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list:
- 仓库-驱动仓库-驱动盘拆解
- area_name: 驱动盘进度条
id_mark: false
pc_rect:
- 1363
- 862
- 1367
- 863
text: 街区
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list:
- 仓库-驱动仓库-驱动盘拆解
Comment on lines +8535 to +8579
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

不要把内容区域也声明成“跳转到拆解”的入口。

驱动盘仓库驱动盘属性驱动盘进度条 这三个区域看起来是取图/识别区域,不是实际按钮。把它们也挂到同一个 goto_list 上,会让按 goto 反查点击位的逻辑命中大块内容区,而不是唯一可靠的“按钮-拆解”。

建议只保留真正可点击的入口
  - area_name: 驱动盘仓库
@@
-    goto_list:
-    - 仓库-驱动仓库-驱动盘拆解
+    goto_list: []
  - area_name: 驱动盘属性
@@
-    goto_list:
-    - 仓库-驱动仓库-驱动盘拆解
+    goto_list: []
  - area_name: 驱动盘进度条
@@
-    goto_list:
-    - 仓库-驱动仓库-驱动盘拆解
+    goto_list: []
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- area_name: 驱动盘仓库
id_mark: false
pc_rect:
- 93
- 202
- 1320
- 897
text: 街区
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list:
- 仓库-驱动仓库-驱动盘拆解
- area_name: 驱动盘属性
id_mark: false
pc_rect:
- 1408
- 267
- 1838
- 768
text: 街区
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list:
- 仓库-驱动仓库-驱动盘拆解
- area_name: 驱动盘进度条
id_mark: false
pc_rect:
- 1363
- 862
- 1367
- 863
text: 街区
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list:
- 仓库-驱动仓库-驱动盘拆解
- area_name: 驱动盘仓库
id_mark: false
pc_rect:
- 93
- 202
- 1320
- 897
text: 街区
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 驱动盘属性
id_mark: false
pc_rect:
- 1408
- 267
- 1838
- 768
text: 街区
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
- area_name: 驱动盘进度条
id_mark: false
pc_rect:
- 1363
- 862
- 1367
- 863
text: 街区
lcs_percent: 0.5
template_sub_dir: ''
template_id: ''
template_match_threshold: 0.7
color_range: null
goto_list: []
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@assets/game_data/screen_info/_od_merged.yml` around lines 8338 - 8382, The
three regions named "驱动盘仓库", "驱动盘属性", and "驱动盘进度条" are image/recognition areas
and should not have navigation entries; remove their goto_list entries (or set
them to an empty list/null) so they no longer point to "仓库-驱动仓库-驱动盘拆解", leaving
only the actual clickable "拆解" button region with that goto_list; update the
YAML entries for the area_name values above to remove the goto_list mapping.

- screen_id: storage_wengine
screen_name: 仓库-音擎仓库
pc_alt: false
Expand Down
Loading
Loading