{ "SanityBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "UsePrts", "StartButton1", "ReturnToTerminal", "PRTS", "EndOfAction", "OfflineConfirm", "StartToWakeUp", "TodaysSupplies", "CloseAnno", "Terminal", "GameStart" ] }, "GameStart": { "action": "clickSelf", "roi": [ 550, 600, 200, 120 ], "cache": false, "rearDelay": 5000, "maskRange": [ 1, 255 ], "next": [ "StartToWakeUp" ] }, "ReturnToTerminal": { "template": "Return.png", "rearDelay": 1000, "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "ReturnToTerminal", "Terminal", "ReturnToTerminalConfirm" ] }, "ReturnToTerminalConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "rearDelay": 3000, "roi": [ 630, 400, 650, 160 ], "next": [ "ReturnToTerminal", "Terminal" ] }, "UsePrts": { "action": "clickSelf", "roi": [ 1000, 550, 280, 90 ], "next": [ "StartButton1" ] }, "StartButton1": { "algorithm": "OcrDetect", "text": [ "开始行动" ], "roi": [ 800, 400, 480, 320 ], "action": "clickSelf", "next": [ "StartButton2", "UseMedicine", "UseStone" ] }, "StartButton2": { "action": "clickSelf", "rearDelay": 20000, "roi": [ 1000, 350, 220, 340 ], "next": [ "PRTS", "StartButton2", "OfflineConfirm" ] }, "PRTS": { "algorithm": "OcrDetect", "text": [ "剩余可放置角色", "接管作战" ], "roi": [ 0, 530, 1280, 190 ], "action": "doNothing", "rearDelay": 5000, "next": [ "PRTS", "EndOfAction", "PrtsErrorConfirm", "OfflineConfirm", "WaitAfterPRTS" ] }, "WaitAfterPRTS": { "rearDelay": 3000, "algorithm": "justreturn", "action": "doNothing", "next": [ "PRTS", "EndOfAction", "ClickCornerAfterPRTS" ] }, "ClickCornerAfterPRTS": { "ClickCorner_Doc": "点击屏幕右边,不会点到掉落物品,且不会关掉关卡选择的一块区域", "algorithm": "justreturn", "action": "clickRect", "specificRect": [ 1000, 1, 270, 340 ], "next": [ "EndOfAction", "StartButton1", "StartButton2", "UseMedicine", "UseStone", "ClickCornerAfterPRTS" ] }, "EndOfAction": { "algorithm": "OcrDetect", "text": [ "行动结束" ], "roi": [ 0, 440, 440, 280 ], "preDelay": 5000, "action": "stageDrops", "action_Doc": "为“行动结束”特化的action,包含截图、识别关卡掉落等功能", "next": [ "ClickCorner" ] }, "ClickCorner": { "ClickCorner_Doc": "点击屏幕右边,不会点到掉落物品,且不会关掉关卡选择的一块区域", "algorithm": "justreturn", "action": "clickRect", "rearDelay": 2000, "specificRect": [ 1000, 1, 270, 340 ], "next": [ "StartButton1", "StartButton2", "UseMedicine", "UseStone", "EndOfAction" ] }, "UseMedicine": { "action": "doNothing", "roi": [ 580, 50, 700, 100 ], "next": [ "MedicineConfirm" ] }, "MedicineConfirm": { "action": "clickSelf", "cache": false, "maxTimes": 0, "roi": [ 1000, 500, 200, 150 ], "reduceOtherTimes": [ "StartButton1" ], "exceededNext": [ "CloseStonePage" ], "next": [ "StartButton1" ] }, "UseStone": { "action": "doNothing", "roi": [ 600, 130, 420, 420 ], "next": [ "StoneConfirm" ] }, "StoneConfirm": { "template": "MedicineConfirm.png", "action": "clickSelf", "cache": false, "maxTimes": 0, "roi": [ 1000, 500, 200, 150 ], "reduceOtherTimes": [ "StartButton1" ], "exceededNext": [ "CloseStonePage" ], "next": [ "StartButton1" ] }, "CloseStonePage": { "algorithm": "justreturn", "action": "clickRect", "specificRect": [ 0, 200, 300, 400 ], "next": [ "Stop" ] }, "PrtsErrorConfirm": { "cache": false, "roi": [ 0, 120, 1280, 480 ], "action": "doNothing", "next": [ "AbandonAction", "OfflineConfirmAfterBattle" ] }, "AbandonAction": { "action": "clickSelf", "cache": false, "reduceOtherTimes": [ "StartButton1", "StartButton2" ], "roi": [ 0, 400, 650, 230 ], "next": [ "EndOfAction", "StartToWakeUp", "OfflineConfirm" ] }, "OfflineConfirmAfterBattle": { "template": "PopupConfirm.png", "action": "clickSelf", "cache": false, "roi": [ 630, 400, 650, 160 ], "next": [ "PRTS", "PrtsErrorConfirm", "OfflineConfirm", "StartToWakeUp" ] }, "OfflineConfirm": { "action": "clickSelf", "cache": false, "roi": [ 0, 400, 1280, 200 ], "reduceOtherTimes": [ "StartButton1", "StartButton2" ], "next": [ "CloseAnno", "StartToWakeUp", "OfflineConfirm" ] }, "StartToWakeUp": { "action": "clickSelf", "roi": [ 520, 460, 240, 100 ], "next": [ "Terminal", "CloseAnno", "OfflineConfirm", "TodaysSupplies" ] }, "CloseAnno": { "action": "clickSelf", "cache": false, "roi": [ 1100, 0, 180, 120 ], "next": [ "Terminal", "CloseAnno", "TodaysSupplies" ] }, "Terminal": { "action": "clickSelf", "roi": [ 880, 100, 180, 120 ], "next": [ "LastBattle", "Terminal", "CloseAnno", "TodaysSupplies" ] }, "TodaysSupplies": { "algorithm": "OcrDetect", "text": [ "今日配给" ], "action": "clickRect", "specificRect": [ 1000, 1, 270, 340 ], "roi": [ 500, 50, 300, 150 ], "next": [ "CloseAnno", "Terminal" ] }, "LastBattle": { "algorithm": "OcrDetect", "text": [ "上一次作战", "前往上一次" ], "roi": [ 900, 500, 280, 100 ], "action": "clickSelf", "next": [ "StartButton1" ] }, "RecruitBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "RecruitFinish", "RecruitFlag", "Recruit", "ReturnToRecruit" ] }, "ReturnToRecruit": { "template": "Return.png", "rearDelay": 1000, "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "Recruit", "ReturnToRecruit", "ReturnToRecruitConfirm" ] }, "ReturnToRecruitConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "rearDelay": 3000, "roi": [ 630, 400, 650, 160 ], "next": [ "Recruit", "ReturnToRecruit" ] }, "Recruit": { "action": "clickSelf", "cache": false, "roi": [ 900, 450, 200, 150 ], "maskRange": [ 1, 255 ], "next": [ "RecruitBegin" ] }, "RecruitFinish": { "action": "clickSelf", "templThreshold": 0.7, "rearDelay": 3000, "cache": false, "roi": [ 0, 300, 1280, 420 ], "next": [ "RecruitFinish", "RecruitSkip", "RecruitSkipWithoutButton" ] }, "RecruitSkip": { "action": "clickSelf", "cache": false, "rearDelay": 3000, "roi": [ 1100, 0, 180, 150 ], "next": [ "RecruitSkip", "RecruitSkipWithoutButton" ] }, "RecruitSkipWithoutButton": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 1180, 15, 85, 60 ], "next": [ "RecruitFinish", "RecruitFlag", "RecruitSkipWithoutButton" ] }, "StartRecruit": { "algorithm": "OcrDetect", "action": "clickSelf", "cache": false, "rearDelay": 1000, "text": [ "开始招" ], "roi": [ 0, 300, 1280, 420 ] }, "RecruitFlag": { "algorithm": "OcrDetect", "text": [ "公开招募" ], "roi": [ 50, 100, 230, 100 ], "action": "Stop" }, "AwardBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "ReturnToAward", "Award", "ReceiveAward", "DailyTask", "WeeklyTask" ] }, "Award": { "template": "Task.png", "action": "clickSelf", "roi": [ 700, 530, 130, 130 ], "next": [ "ReceiveAward", "DailyTask", "WeeklyTask", "Award" ] }, "ReceiveAward": { "cache": false, "action": "clickSelf", "roi": [ 950, 50, 330, 150 ], "next": [ "CloseTaskAward" ] }, "CloseTaskAward": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 600, 600, 60, 60 ], "next": [ "CloseTaskAwardDouble" ] }, "CloseTaskAwardDouble": { "Doc": "有时候奖励出的太慢了,所以这里多点一次", "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 600, 600, 60, 60 ], "next": [ "WeeklyTask", "Stop" ] }, "DailyTask": { "action": "clickSelf", "roi": [ 400, 0, 880, 100 ], "next": [ "ReceiveAward", "WeeklyTask" ] }, "WeeklyTask": { "action": "clickSelf", "roi": [ 400, 0, 880, 100 ], "next": [ "ReceiveAward", "Stop" ], "rearDelay": 1000 }, "ReturnToAward": { "template": "Return.png", "rearDelay": 1000, "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "Award", "ReturnToAward", "ReturnToAwardConfirm" ] }, "ReturnToAwardConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "rearDelay": 3000, "roi": [ 630, 400, 650, 160 ], "next": [ "Award", "ReturnToAward" ] }, "VisitBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "Friends", "FriendsList", "StartToVisit", "VisitNext", "VisitNextBlack", "ReturnToFriends" ] }, "ReturnToFriends": { "template": "Return.png", "rearDelay": 1000, "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "Friends", "ReturnToFriends", "ReturnToFriendsConfirm" ] }, "ReturnToFriendsConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "rearDelay": 3000, "roi": [ 630, 400, 650, 160 ], "next": [ "Friends", "ReturnToFriends" ] }, "Friends": { "templThreshold": 0.7, "action": "clickSelf", "roi": [ 250, 500, 200, 150 ], "next": [ "FriendsList", "Friends" ] }, "FriendsList": { "action": "clickSelf", "roi": [ 0, 150, 250, 150 ], "next": [ "StartToVisit", "NoFriends" ] }, "NoFriends": { "algorithm": "OcrDetect", "text": [ "暂无好友" ], "roi": [ 650, 100, 300, 150 ], "action": "doNothing", "next": [ "ReturnToHome" ] }, "StartToVisit": { "action": "clickSelf", "cache": false, "roi": [ 900, 0, 200, 720 ], "rearDelay": 3000, "next": [ "VisitNext", "VisitNextBlack", "VisitNextOcr" ] }, "VisitNext": { "action": "clickSelf", "cache": false, "rearDelay": 2000, "roi": [ 1080, 570, 195, 130 ], "next": [ "VisitLimited", "VisitNext", "VisitNextBlack", "VisitNextOcr" ] }, "VisitNextOcr": { "algorithm": "OcrDetect", "text": [ "访问下位" ], "action": "clickSelf", "rearDelay": 2000, "roi": [ 1080, 570, 195, 130 ], "next": [ "VisitLimited", "VisitNext", "VisitNextBlack", "VisitNextOcr" ] }, "MallBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "ReturnToMall", "Mall" ] }, "ReturnToMall": { "rearDelay": 1000, "template": "Return.png", "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "Mall", "ReturnToMallConfirm", "ReturnToMall" ] }, "ReturnToMallConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "rearDelay": 3000, "roi": [ 630, 400, 650, 160 ], "next": [ "ReturnToMall", "Mall" ] }, "Mall": { "algorithm": "OcrDetect", "action": "clickSelf", "text": [ "中心" ], "roi": [ 640, 360, 640, 360 ], "rearDelay": 1000, "next": [ "CreditStoreOcr", "Mall" ] }, "CreditStoreOcr": { "algorithm": "OcrDetect", "text": [ "信用交易所" ], "roi": [ 1000, 0, 280, 300 ], "rearDelay": 1000, "action": "clickSelf", "next": [ "CollectCredit", "Stop" ] }, "CollectCredit": { "action": "clickSelf", "rearDelay": 2000, "roi": [ 900, 0, 250, 100 ], "next": [ "CloseCollectCredit" ] }, "CloseCollectCredit": { "algorithm": "justReturn", "action": "clickRect", "rearDelay": 2000, "specificRect": [ 1000, 1, 270, 340 ], "next": [ "CrisisPopup", "Stop" ] }, "CrisisPopup": { "action": "clickRect", "roi": [ 450, 130, 400, 100 ], "rearDelay": 1000, "specificRect": [ 20, 20, 135, 35 ] }, "VisitLimited": { "algorithm": "OcrDetect", "text": [ "今日参与", "已达上限" ], "action": "doNothing", "roi": [ 900, 50, 375, 140 ], "next": [ "ReturnToHome" ] }, "VisitNextBlack": { "action": "doNothing", "roi": [ 1080, 570, 195, 130 ], "next": [ "ReturnToHome" ] }, "ReturnToHome": { "rearDelay": 1000, "template": "Return.png", "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "HomeFlag", "ReturnToHome", "ReturnToHomeConfirm" ] }, "ReturnToHomeConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "rearDelay": 3000, "roi": [ 630, 400, 650, 160 ], "next": [ "HomeFlag", "ReturnToHome" ] }, "HomeFlag": { "template": "Terminal.png", "cache": false, "action": "stop", "roi": [ 880, 100, 180, 120 ] }, "CreditShop-Commoditys": { "template": "CreditPoint.png", "cache": false, "rectMove": [ -60, -180, 220, 220 ] }, "CreditShop-SoldOut": { "cache": false, "template": "SoldOut.png" }, "CreditShop-BuyIt": { "template": "BuyIt.png", "roi": [ 800, 500, 250, 150 ], "cache": false, "preDelay": 1000, "rearDelay": 1000 }, "CreditShop-NoMoney": { "algorithm": "OcrDetect", "text": [ "信用不足", "无法购买" ], "roi": [ 940, 60, 339, 110 ] }, "CreditShop-NotToBuy": { "algorithm": "OcrDetect", "Doc": "这里的text,是子串搜索,即商品名中只要含有任一text,就不买", "text": [ "碳", "家具" ], "roi": [ 0, -30, 220, 70 ] }, "Stop": { "algorithm": "justreturn", "action": "stop" }, "RecruitTime": { "template": "RecruitTimeReduce.png", "templThreshold": 0.89, "cache": false, "action": "clickSelf", "roi": [ 350, 150, 500, 150 ], "rectMove": [ 7, 94, 129, 44 ] }, "RecruitTags": { "algorithm": "OcrDetect", "text": [], "roi": [ 200, 200, 800, 500 ], "ocrReplace": [ [ "沮击", "狙击" ], [ "犯击", "狙击" ], [ "泪击", "狙击" ], [ "都出", "输出" ], [ "都乐", "输出" ], [ "抓出", "输出" ], [ "都任", "输出" ], [ "新于", "新手" ], [ "防拍", "防护" ] ] }, "RecruitRefresh": { "action": "clickSelf", "cache": false, "roi": [ 850, 340, 220, 170 ], "next": [ "RecruitRefreshConfirm" ] }, "RecruitNoRefresh": { "action": "doNothing", "cache": false, "roi": [ 850, 340, 220, 170 ] }, "RecruitRefreshConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "cache": false, "rearDelay": 3000, "roi": [ 630, 400, 650, 160 ], "next": [ "RecruitLoading", "Stop" ] }, "RecruitLoading": { "algorithm": "OcrDetect", "action": "doNothing", "text": [ "正在提交", "反馈至神经" ], "roi": [ 700, 600, 300, 120 ], "next": [ "RecruitLoading", "Stop" ] }, "RecruitConfirm": { "action": "clickSelf", "cache": false, "roi": [ 860, 540, 230, 80 ], "next": [ "RecruitFlag" ] }, "InfrastBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "EnterInfrast", "InfrastEnteredFlag", "InfrastNotification", "ReturnToInfrast" ] }, "ReturnToInfrast": { "template": "Return.png", "rearDelay": 1000, "roi": [ 0, 0, 180, 80 ], "action": "clickSelf", "next": [ "EnterInfrast", "InfrastNotification", "InfrastEnteredFlag", "ReturnToInfrast", "ReturnToInfrastConfirm" ] }, "ReturnToInfrastConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "rearDelay": 3000, "roi": [ 630, 400, 650, 160 ], "next": [ "EnterInfrast", "InfrastNotification", "InfrastEnteredFlag", "ReturnToInfrast", "ReturnToInfrastConfirm" ] }, "Return": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 20, 20, 135, 35 ], "rearDelay": 1000 }, "EnterInfrast": { "rearDelay": 3000, "cache": false, "roi": [ 900, 540, 160, 160 ], "action": "clickSelf", "next": [ "InfrastEnteredFlag", "EnterInfrast" ] }, "InfrastEnteredFlag": { "template": "InfrastOverview.png", "action": "doNothing", "roi": [ 0, 100, 300, 150 ], "next": [ "InfrastNotification", "Stop" ] }, "InfrastNotification": { "roi": [ 1100, 0, 180, 300 ], "cache": false, "action": "clickSelf", "next": [ "InfrastReward", "InfrastExitReward" ] }, "InfrastReward": { "algorithm": "OcrDetect", "text": [ "可收获", "订单交付", "信赖" ], "rearDelay": 1000, "action": "clickSelf", "roi": [ 0, 600, 800, 118 ], "cache": false, "next": [ "InfrastReward", "InfrastExitReward" ] }, "InfrastExitReward": { "Doc": "干员疲劳、线索收集 是不能一键收获的,所以要先退出一键收获的界面,这里点击的是控制中枢左侧那一片空白的区域", "algorithm": "justreturn", "action": "clickRect", "specificRect": [ 250, 100, 380, 140 ], "next": [ "Stop" ] }, "DroneAssistMfg": { "action": "clickSelf", "cache": false, "roi": [ 1180, 500, 100, 100 ], "maxTimes": 1, "Doc": "不同于贸易站,制造站的无人机是一次性全用掉的,所以只执行一次就够了", "next": [ "DroneMax", "DroneConfirm" ] }, "DroneAssistTrade": { "action": "clickSelf", "cache": false, "roi": [ 250, 430, 460, 120 ], "next": [ "DroneMax", "DroneConfirm" ] }, "DroneMax": { "action": "clickSelf", "roi": [ 900, 300, 120, 80 ], "next": [ "DroneConfirm" ] }, "DroneConfirm": { "action": "clickSelf", "rearDelay": 3500, "roi": [ 630, 500, 650, 150 ], "next": [ "DeliverableOrder", "DroneAssist-Trade-Stop", "DroneAssistMfg" ] }, "DeliverableOrder": { "cache": false, "action": "clickSelf", "roi": [ 250, 130, 230, 420 ], "next": [ "DeliverableOrder", "DroneAssistTrade" ], "rearDelay": 2000 }, "DroneAssist-Trade-Stop": { "Doc": "如果找到了“无人机加速”按钮,却没有找到订单交付:说明上一次无人机没有把一个订单加速完成,也说明没有更多的无人机了,所以直接stop", "template": "DroneAssistTrade.png", "action": "stop", "cache": false }, "InfrastSkillsUpper": { "algorithm": "justReturn", "roi": [ 400, 280, 880, 80 ] }, "InfrastSkillsLower": { "algorithm": "justReturn", "roi": [ 400, 560, 880, 80 ] }, "InfrastOperNameHash": { "template": "empty.png", "templThreshold_Doc": "作为哈希距离的阈值使用", "templThreshold": 65, "rectMove_Doc": "基于笑脸的位置移动", "rectMove": [ 0, 20, 113, 22 ] }, "InfrastOperFaceHash": { "template": "empty.png", "templThreshold_Doc": "作为哈希距离的阈值使用", "templThreshold": 30, "rectMove_Doc": "基于笑脸的位置移动", "rectMove": [ 0, -185, 113, 90 ] }, "InfrastSmileyOnRest": { "template": "SmileyOnRest.png", "maskRange": [ 100, 255 ], "cache": false, "templThreshold": 0.8 }, "InfrastSmileyOnWork": { "template": "SmileyOnWork.png", "maskRange": [ 100, 255 ], "cache": false, "templThreshold": 0.8 }, "InfrastSmileyOnDistract": { "template": "SmileyOnDistract.png", "maskRange": [ 100, 255 ], "cache": false, "templThreshold": 0.8 }, "InfrastSkills": { "template": "empty.png", "templThreshold": 0.9, "histThreshold": 95, "histThreshold_Doc": "该任务里的Hist阈值,是特化了拿来做灰度图平均值的,懒得重新写个字段了", "cache": false, "rectMove_Doc": "基于笑脸的位置移动", "rectMove": [ -8, -42, 82, 40 ], "maskRange": [ 1, 255 ] }, "InfrastOperListSwipeBegin": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 1080, 200, 100, 300 ], "preDelay": 1000, "rearDelay": 300, "Doc": "这里的preDelay作为滑动duration使用,rearDelay作为滑动额外延时使用" }, "InfrastOperListSwipeEnd": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 700, 200, 100, 300 ] }, "InfrastOperListSwipeToTheLeftBegin": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 1080, 200, 200, 300 ], "preDelay": 100, "rearDelay": 2000, "maxTimes": 2, "Doc": "这里的preDelay作为滑动duration使用,rearDelay作为滑动额外延时使用,maxTimes作为重复次数使用" }, "InfrastOperListSwipeToTheLeftEnd": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 400, 200, 200, 300 ] }, "InfrastOperMoodProgressBar": { "template": "empty.png", "templThreshold": 160, "histThreshold": 20, "Doc": "这里的templThreshold,作为进度条最小灰度阈值使用;histThreshold作为进度条相邻点最大变化阈值使用。懒得重新弄个字段了", "cache": false, "rectMove_Doc": "基于笑脸的位置移动", "rectMove": [ 21, 8, 85, 4 ] }, "InfrastMfg": { "template": "Manufacturing.png", "cache": false, "templThreshold": 0.9, "maskRange": [ 1, 255 ], "roi": [ 0, 200, 820, 520 ] }, "InfrastMfgMini": { "template": "ManufacturingMini.png", "templThreshold": 0.9, "cache": false, "roi": [ 0, 240, 640, 400 ], "maskRange": [ 1, 255 ] }, "InfrastTrade": { "template": "Trade.png", "templThreshold": 0.9, "cache": false, "maskRange": [ 1, 255 ], "roi": [ 0, 200, 820, 520 ] }, "InfrastTradeMini": { "template": "TradeMini.png", "templThreshold": 0.9, "cache": false, "roi": [ 0, 240, 640, 400 ], "maskRange": [ 1, 255 ] }, "InfrastPower": { "template": "Power.png", "cache": false, "maskRange": [ 1, 255 ], "roi": [ 0, 200, 820, 520 ], "templThreshold": 0.95 }, "InfrastPowerMini": { "template": "PowerMini.png", "cache": false, "roi": [ 0, 240, 640, 400 ], "maskRange": [ 1, 255 ], "templThreshold": 0.95 }, "InfrastDorm": { "template": "Dorm.png", "cache": false, "maskRange": [ 1, 255 ], "roi": [ 400, 220, 880, 500 ], "templThreshold": 0.95 }, "InfrastDormMini": { "template": "DormMini.png", "cache": false, "maskRange": [ 1, 255 ], "roi": [ 620, 240, 360, 480 ], "templThreshold": 0.95 }, "InfrastOffice": { "template": "Office.png", "cache": false, "maskRange": [ 1, 255 ], "roi": [ 880, 330, 400, 160 ], "templThreshold": 0.95 }, "InfrastOfficeMini": { "template": "OfficeMini.png", "cache": false, "maskRange": [ 1, 255 ], "roi": [ 980, 320, 300, 160 ], "templThreshold": 0.95 }, "InfrastReception": { "template": "Reception.png", "cache": false, "maskRange": [ 1, 255 ], "roi": [ 880, 120, 400, 160 ], "templThreshold": 0.95 }, "InfrastReceptionMini": { "template": "ReceptionMini.png", "cache": false, "maskRange": [ 1, 255 ], "roi": [ 980, 180, 300, 140 ], "templThreshold": 0.95 }, "InfrastControl": { "template": "ControlCenter.png", "cache": false, "maskRange": [ 1, 255 ], "roi": [ 400, 0, 880, 300 ], "templThreshold": 0.95 }, "InfrastControlMini": { "template": "ControlCenterMini.png", "cache": false, "maskRange": [ 1, 255 ], "roi": [ 620, 80, 360, 230 ], "templThreshold": 0.95 }, "InfrastStationedInfo": { "algorithm": "OcrDetect", "cache": false, "text": [ "进驻信息" ], "roi": [ 0, 0, 150, 720 ], "rearDelay": 1000 }, "InfrastEnterOperList": { "algorithm": "OcrDetect", "cache": false, "text": [ "心情", "休息中", "工作中", "进驻" ], "roi": [ 800, 0, 480, 650 ], "rearDelay": 1000 }, "InfrastClearButton": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 430, 655, 150, 40 ], "rearDelay": 1000 }, "InfrastConfirmButton": { "action": "clickRect", "specificRect": [ 1105, 655, 150, 40 ], "rearDelay": 500, "Doc": "这个任务复用了,上半部分用来检测确认按钮点击成功没;下部部分用来点击", "algorithm": "ocrDetect", "cache": false, "text": [ "正在提交", "反馈至神经" ], "roi": [ 700, 640, 300, 80 ] }, "InfrastBottomLeftTab": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 0, 540, 520, 180 ], "rearDelay": 1000 }, "InfrastDormConfirmButton": { "template": "DormConfirm.png", "action": "clickSelf", "roi": [ 630, 620, 650, 100 ], "rearDelay": 1000 }, "InfrastEnterFacility": { "algorithm": "justReturn", "rearDelay": 2000 }, "InfrastFacilityListTabMfg": { "template": "FacilityListTabMfg.png", "cache": false, "roi": [ 0, 0, 250, 720 ], "maskRange": [ 1, 255 ], "rearDelay": 1000 }, "InfrastFacilityListTabTrade": { "template": "FacilityListTabTrade.png", "cache": false, "roi": [ 0, 0, 250, 720 ], "maskRange": [ 1, 255 ], "rearDelay": 1000 }, "InfrastOperLockedMfg": { "template": "OperLockedMfg.png", "cache": false, "roi": [ 200, 500, 430, 220 ] }, "InfrastOperLockedTrade": { "template": "OperLockedTrade.png", "cache": false, "roi": [ 200, 500, 430, 220 ] }, "InfrastFlagCombatRecord": { "template": "InfrastMfgDogFoodFlag.png", "cache": false, "roi": [ 1000, 0, 280, 720 ] }, "InfrastFlagPureGold": { "template": "InfrastMfgPureGoldFlag.png", "cache": false, "roi": [ 1000, 0, 280, 720 ] }, "InfrastFlagOriginStone": { "template": "InfrastMfgOriginStoneFlag.png", "cache": false, "roi": [ 1000, 0, 280, 720 ] }, "InfrastFlagChip": { "template": "InfrastMfgChipFlag.png", "cache": false, "roi": [ 1000, 0, 280, 720 ] }, "InfrastFlagMoney": { "template": "InfrastTradeMoneyFlag.png", "cache": false, "roi": [ 900, 500, 380, 220 ] }, "InfrastFlagSyntheticJade": { "template": "InfrastTradeSyntheticJadeFlag.png", "cache": false, "roi": [ 900, 500, 380, 220 ] }, "InfrastAddOperatorMfgGentle": { "template": "AddOperatorMfgGentle.png", "templThreshold": 0.8, "cache": false, "roi": [ 200, 500, 500, 220 ], "rearDelay": 1000 }, "InfrastAddOperatorMfgAggressive": { "template": "AddOperatorMfgAggressive.png", "templThreshold": 0.8, "cache": false, "roi": [ 200, 500, 500, 100 ], "rectMove": [ 5, 50, 80, 80 ], "rearDelay": 1000 }, "InfrastAddOperatorTradeGentle": { "template": "AddOperatorTradeGentle.png", "templThreshold": 0.8, "cache": false, "roi": [ 200, 500, 500, 220 ], "rearDelay": 1000 }, "InfrastAddOperatorTradeAggressive": { "template": "AddOperatorTradeAggressive.png", "templThreshold": 0.8, "cache": false, "roi": [ 200, 500, 500, 100 ], "rectMove": [ 5, 50, 80, 80 ], "rearDelay": 1000 }, "InfrastAddOperatorReceptionGentle": { "template": "AddOperatorReceptionGentle.png", "templThreshold": 0.8, "cache": false, "roi": [ 0, 0, 300, 720 ], "rearDelay": 1000 }, "InfrastAddOperatorReceptionAggressive": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 30, 200, 200, 300 ], "rearDelay": 1000 }, "InfrastOperSelected": { "template": "empty.png", "cache": false, "templThreshold": 8000, "templThreshold_Doc": "这个任务中作为符合range的像素点数量阈值", "maskRange": [ 95, 105 ], "rectMove": [ 0, -230, 74, 283 ] }, "InfrastOperOnShift": { "template": "OnShift.png", "cache": false, "templThreshold": 0.8, "rectMove": [ 0, -95, 70, 50 ] }, "InfrastClueVacancyNo1": { "template": "ClueVacancyNo1.png", "cache": false, "templThreshold": 0.75, "roi": [ 0, 100, 500, 250 ], "rearDelay": 1000 }, "InfrastClueVacancyNo2": { "template": "ClueVacancyNo2.png", "cache": false, "templThreshold": 0.75, "roi": [ 200, 200, 500, 250 ], "rearDelay": 1000 }, "InfrastClueVacancyNo3": { "template": "ClueVacancyNo3.png", "cache": false, "templThreshold": 0.75, "roi": [ 400, 100, 500, 250 ], "rearDelay": 1000 }, "InfrastClueVacancyNo4": { "template": "ClueVacancyNo4.png", "cache": false, "templThreshold": 0.75, "roi": [ 650, 150, 500, 250 ], "rearDelay": 1000 }, "InfrastClueVacancyNo5": { "template": "ClueVacancyNo5.png", "cache": false, "templThreshold": 0.75, "roi": [ 300, 420, 500, 250 ], "rearDelay": 1000 }, "InfrastClueVacancyNo6": { "template": "ClueVacancyNo6.png", "cache": false, "templThreshold": 0.75, "roi": [ 500, 350, 500, 250 ], "rearDelay": 1000 }, "InfrastClueVacancyNo7": { "template": "ClueVacancyNo7.png", "cache": false, "templThreshold": 0.75, "roi": [ 50, 350, 500, 250 ], "rearDelay": 1000 }, "InfrastClue": { "template": "Clue.png", "cache": false, "maskRange": [ 1, 255 ], "roi": [ 800, 0, 480, 720 ] }, "InfrastClueOnTheRightSwipeBegin": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 900, 600, 300, 100 ], "preDelay": 500, "rearDelay": 500, "maxTimes": 1, "Doc": "这里的preDelay作为滑动duration使用,rearDelay作为滑动额外延时使用,maxTimes作为重复次数使用" }, "InfrastClueOnTheRightSwipeEnd": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 900, 200, 300, 100 ] }, "InfrastClueNew": { "template": "ClueNew.png", "action": "clickSelf", "roi": [ 1000, 0, 280, 720 ], "maxTimes": 2, "cache": false, "rectMove": [ -45, 15, 60, 60 ], "templThreshold": 0.8, "next": [ "GetClue1", "GetClue2" ] }, "GetClue1": { "template": "GetClue1.png", "action": "clickSelf", "roi": [ 680, 540, 250, 80 ], "next": [ "InfrastClueNew", "CloseCluePage" ], "rearDelay": 2000 }, "GetClue2": { "template": "GetClue2.png", "action": "clickSelf", "roi": [ 800, 600, 480, 120 ], "next": [ "InfrastClueNew" ], "rearDelay": 2000 }, "CloseCluePage": { "template": "CloseCluePage.png", "action": "clickSelf", "roi": [ 930, 50, 120, 120 ], "next": [ "InfrastClueNew" ], "rearDelay": 1000 }, "UnlockClues": { "template": "UnlockClues.png", "action": "clickSelf", "roi": [ 480, 600, 460, 120 ], "rearDelay": 5000 }, "EndOfClueExchange": { "template": "EndOfClueExchange.png", "cache": false, "roi": [ 0, 0, 400, 200 ], "rearDelay": 1000 } }