Skip to content

Commit e1fcaff

Browse files
fix: 自定义导航出错
1 parent 040ca84 commit e1fcaff

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

assets/interface.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@
264264
"doc": [
265265
"[color:red]固定导航更新很麻烦,但考虑到活动导航需求较大,增加了自定义导航功能[/color]",
266266
"<br>[color:red]①需先用模拟器自带的截图功能,截取活动入口和关卡入口界面[/color]",
267-
"<br>[color:red]②使用电脑自带的画图(或其他合适工具)将截图裁剪合适大小,分别命名为导航1.png,导航2.png[/color]",
268-
"<br>[color:red]③将图片覆盖resource/image/活动导航中的同名文件,导航3作为备用视情况开启,导航顺序为123顺序导航[/color]",
267+
"<br>[color:red]②使用电脑自带的画图(或其他合适工具)将截图裁剪合适大小(不要太大),分别命名为导航1.png,导航2.png[/color]",
268+
"<br>[color:red]③将图片覆盖resource/image/活动导航中的同名文件后重启MRA,导航3作为备用视情况开启,导航顺序为123顺序导航[/color]",
269269
"<br>[color:red]若不使用自定义导航,需在出击准备(立体强袭为紧急情况)按钮前开始[/color]",
270270
"<br>[color:red]立体强袭关卡仅支持打第一个点[/color]",
271271
"<br>[color:red]自动答题需要在答题界面开始,无脑选择选项,不追求答对[/color]"
@@ -3066,6 +3066,8 @@
30663066
"pipeline_override": {
30673067
"进入活动": {
30683068
"next": [
3069+
"[JumpBack]重新连接",
3070+
"[JumpBack]领取奖励",
30693071
"活动导航"
30703072
]
30713073
},
@@ -3140,17 +3142,14 @@
31403142
"pipeline_override": {
31413143
"进入立体强袭": {
31423144
"next": [
3145+
"[JumpBack]重新连接",
3146+
"[JumpBack]领取奖励",
31433147
"活动导航"
31443148
]
31453149
},
31463150
"活动导航": {
31473151
"next": [
3148-
"[JumpBack]重新连接",
3149-
"[JumpBack]领取奖励",
31503152
"一级导航",
3151-
"二级导航",
3152-
"三级导航",
3153-
"立体强袭紧急情况",
31543153
"[JumpBack]退出"
31553154
]
31563155
},

assets/resource/pipeline/活動導航.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,21 @@
66
]
77
},
88
"活动导航": {
9+
"timeout": 600000,
10+
"rate_limit": 0,
11+
"post_wait_freezes": 0,
912
"next": [
10-
"[JumpBack]重新连接",
11-
"[JumpBack]领取奖励",
1213
"一级导航",
13-
"二级导航",
14-
"三级导航",
15-
"进入关卡",
1614
"[JumpBack]退出"
1715
]
1816
},
1917
"一级导航": {
2018
"recognition": "TemplateMatch",
2119
"template": "活动导航/导航1.png",
2220
"action": "Click",
23-
"post_delay": 2000,
2421
"next": [
2522
"[JumpBack]重新连接",
26-
"[JumpBack]点错了检测",
23+
"点错了检测",
2724
"二级导航"
2825
],
2926
"focus": "使用模板路径:resource/image/活动导航/导航1.png"
@@ -56,14 +53,13 @@
5653
},
5754
"点错了检测": {
5855
"recognition": "OCR",
59-
"expected": "是否跳转前往预定界面",
56+
"expected": "是否跳转前往预定页面",
6057
"roi": [
6158
494,
6259
256,
6360
294,
6461
77
6562
],
66-
"post_delay": 2000,
6763
"next": [
6864
"[JumpBack]重新连接",
6965
"点错了取消"
@@ -73,11 +69,16 @@
7369
"recognition": "OCR",
7470
"expected": "取消",
7571
"action": "Click",
72+
"rate_limit": 0,
73+
"post_wait_freezes": 0,
7674
"roi": [
7775
728,
7876
380,
7977
130,
8078
54
79+
],
80+
"next": [
81+
"一级导航"
8182
]
8283
},
8384
"答题检测": {

0 commit comments

Comments
 (0)