From 183a9a5f296f5b13ff54e1cd37ee38b8d4b48dbc Mon Sep 17 00:00:00 2001 From: David <56174894+Constrat@users.noreply.github.com> Date: Mon, 2 Oct 2023 09:38:37 +0200 Subject: [PATCH] fix: disabled cache for multi template recognition ref: https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/6608#issuecomment-1742462512 --- resource/global/YoStarEN/resource/tasks.json | 1 - resource/tasks.json | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/resource/global/YoStarEN/resource/tasks.json b/resource/global/YoStarEN/resource/tasks.json index 91c4e0dcaa..152a028270 100644 --- a/resource/global/YoStarEN/resource/tasks.json +++ b/resource/global/YoStarEN/resource/tasks.json @@ -2140,7 +2140,6 @@ ] }, "TodaysSupplies": { - "algorithm": "OcrDetect", "text": [ "Resource Today" ] diff --git a/resource/tasks.json b/resource/tasks.json index 45c5f5b321..6312fe2d29 100644 --- a/resource/tasks.json +++ b/resource/tasks.json @@ -1034,6 +1034,7 @@ "TerminalDark.png", "TerminalSami.png" ], + "cache": false, "maxTimes": 3, "exceededNext": [ "Stop" @@ -2958,6 +2959,7 @@ "TerminalDark.png", "TerminalSami.png" ], + "cache": false, "baseTask": "StartUp", "next": [ "Settings" @@ -3312,6 +3314,7 @@ "TerminalDark.png", "TerminalSami.png" ], + "cache": false, "action": "DoNothing", "roi": [ 880, @@ -4307,6 +4310,7 @@ "TerminalDark.png", "TerminalSami.png" ], + "cache": false, "action": "ClickSelf", "roi": [ 880, @@ -4701,6 +4705,7 @@ "TaskDark.png", "TaskSami.png" ], + "cache": false, "templThreshold": 0.7, "action": "ClickSelf", "roi": [ @@ -4817,6 +4822,7 @@ "TerminalDark.png", "TerminalSami.png" ], + "cache": false, "action": "DoNothing", "next": [ "Mail", @@ -4898,6 +4904,7 @@ "FriendsDark.png", "FriendsSami.png" ], + "cache": false, "templThreshold": 0.7, "action": "ClickSelf", "roi": [ @@ -5129,6 +5136,7 @@ "TerminalDark.png", "TerminalSami.png" ], + "cache": false, "action": "Stop", "roi": [ 880, @@ -5410,6 +5418,7 @@ "EnterInfrastDark.png", "EnterInfrastSami.png" ], + "cache": false, "roi": [ 900, 540, @@ -12125,6 +12134,7 @@ "TerminalDark.png", "TerminalSami.png" ], + "cache": false, "action": "ClickSelf", "roi": [ 880, @@ -12464,6 +12474,7 @@ "OperBoxEnterDark.png", "OperBoxEnterSami.png" ], + "cache": false, "action": "ClickSelf", "roi": [ 935, @@ -13402,6 +13413,7 @@ "TerminalDark.png", "TerminalSami.png" ], + "cache": false, "action": "ClickSelf", "roi": [ 880,