{ "StartUp": { "algorithm": "justreturn", "action": "doNothing", "next": [ "GameStart", "StartToWakeUp", "Terminal", "CloseAnno", "TodaysSupplies", "ReturnToTerminal", "OfflineConfirm" ] }, "LS-5": { "algorithm": "justreturn", "action": "doNothing", "next": [ "StageResourceToLS5", "StageLS", "StageLS5" ] }, "StageResourceToLS5": { "template": "StageResource.png", "roi": [ 790, 640, 60, 60 ], "action": "clickSelf", "next": [ "SwipeToStageLS" ] }, "SwipeToStageLS": { "algorithm": "justReturn", "action": "swipeToTheLeft", "next": [ "StageLS" ] }, "StageLS": { "action": "clickSelf", "next": [ "StageLS5" ] }, "StageLS5": { "action": "clickSelf", "roi": [ 850, 140, 250, 80 ] }, "BI-8": { "algorithm": "justreturn", "action": "doNothing", "next": [ "StageBreakIceToBI8", "StageBIToBI8", "StageBI8" ] }, "StageBreakIceToBI8": { "template": "StageBreakIce.png", "roi": [ 0, 500, 500, 150 ], "maskRange": [ 1, 255 ], "action": "clickSelf", "next": [ "StageBIToBI8" ] }, "StageBIToBI8": { "template": "StageBI.png", "action": "clickSelf", "roi": [ 1000, 250, 280, 150 ], "cache": false, "next": [ "SwipeToStageBI8" ] }, "SwipeToStageBI8": { "algorithm": "justReturn", "action": "swipeToTheRight", "maxTimes": 3, "exceededNext": [ "StageBI8" ], "next": [ "StageBI8", "SwipeToStageBI8" ] }, "StageBI8": { "action": "clickSelf", "roi": [ 200, 350, 200, 80 ] }, "BI-7": { "algorithm": "justreturn", "action": "doNothing", "next": [ "StageBreakIceToBI7", "StageBIToBI7", "StageBI7" ] }, "StageBreakIceToBI7": { "template": "StageBreakIce.png", "roi": [ 0, 500, 500, 150 ], "maskRange": [ 1, 255 ], "action": "clickSelf", "next": [ "StageBIToBI7" ] }, "StageBIToBI7": { "template": "StageBI.png", "action": "clickSelf", "roi": [ 1000, 250, 280, 150 ], "cache": false, "next": [ "SwipeToStageBI7" ] }, "SwipeToStageBI7": { "algorithm": "justReturn", "action": "swipeToTheRight", "maxTimes": 3, "exceededNext": [ "StageBI7" ], "next": [ "StageBI7", "SwipeToStageBI7" ] }, "StageBI7": { "action": "clickSelf", "roi": [ 50, 250, 200, 80 ] }, "CA-5": { "algorithm": "justreturn", "action": "doNothing", "next": [ "StageResourceToCA5", "StageCA", "StageCA5" ] }, "StageResourceToCA5": { "template": "StageResource.png", "roi": [ 790, 640, 60, 60 ], "action": "clickSelf", "next": [ "SwipeToStageCA" ] }, "SwipeToStageCA": { "algorithm": "justReturn", "action": "swipeToTheLeft", "next": [ "StageCA" ] }, "StageCA": { "action": "clickSelf", "next": [ "StageCA5" ] }, "StageCA5": { "action": "clickSelf", "roi": [ 850, 140, 250, 80 ] }, "AP-5": { "algorithm": "justreturn", "action": "doNothing", "next": [ "StageResourceToAP5", "StageAP", "StageAP5" ] }, "StageResourceToAP5": { "template": "StageResource.png", "roi": [ 790, 640, 60, 60 ], "action": "clickSelf", "next": [ "SwipeToStageAP" ] }, "SwipeToStageAP": { "algorithm": "justReturn", "action": "swipeToTheLeft", "next": [ "StageAP" ] }, "StageAP": { "action": "clickSelf", "next": [ "StageAP5" ] }, "StageAP5": { "action": "clickSelf", "roi": [ 850, 140, 250, 80 ] }, "CE-5": { "algorithm": "justreturn", "action": "doNothing", "next": [ "StageResourceToCE5", "StageCE", "StageCE5" ] }, "StageResourceToCE5": { "template": "StageResource.png", "roi": [ 790, 640, 60, 60 ], "action": "clickSelf", "next": [ "SwipeToStageCE" ] }, "SwipeToStageCE": { "algorithm": "justReturn", "action": "swipeToTheLeft", "next": [ "StageCE" ] }, "StageCE": { "action": "clickSelf", "next": [ "StageCE5" ] }, "StageCE5": { "action": "clickSelf", "roi": [ 850, 140, 250, 80 ] }, "Annihilation": { "doc": "剿灭作战,一般本周的满了也不会有人再刷的,所以只识别右上角ToDoList里的剿灭就可以了", "template": "StageAnnihilation.png", "action": "clickSelf", "roi": [ 900, 70, 380, 400 ], "maskRange": [ 1, 255 ] }, "StageBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "ReturnToTerminal", "PRTS", "EndOfAction", "OfflineConfirm", "StartToWakeUp", "TodaysSupplies", "CloseAnno", "Terminal", "GameStart" ] }, "FightBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "UsePrts", "StartButton1", "StartButton2", "PRTS", "EndOfAction" ] }, "GameStart": { "action": "clickSelf", "roi": [ 550, 600, 200, 120 ], "rearDelay": 3000, "maskRange": [ 1, 255 ], "next": [ "StartToWakeUp" ] }, "ReturnToTerminal": { "template": "Return.png", "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "ReturnToTerminal", "Terminal", "ReturnToTerminalConfirm" ] }, "ReturnToTerminalConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "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", "EndOfAction", "StartButton2", "PrtsErrorConfirm", "OfflineConfirm", "WaitAfterPRTS" ] }, "PRTS": { "algorithm": "OcrDetect", "text": [ "剩余可放置角色" ], "roi": [ 900, 500, 380, 150 ], "action": "doNothing", "rearDelay": 5000, "next": [ "PRTS", "EndOfAction", "PrtsErrorConfirm", "OfflineConfirm", "WaitAfterPRTS" ] }, "WaitAfterPRTS": { "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", "specificRect": [ 1000, 1, 270, 340 ], "next": [ "StartButton1", "StartButton2", "UseMedicine", "UseStone", "EndOfAction" ] }, "UseMedicine": { "action": "doNothing", "templThreshold": 0.7, "roi": [ 580, 50, 400, 100 ], "next": [ "MedicineConfirm" ] }, "MedicineConfirm": { "action": "clickSelf", "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", "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": { "roi": [ 0, 120, 1280, 480 ], "action": "doNothing", "next": [ "AbandonAction", "OfflineConfirmAfterBattle" ] }, "AbandonAction": { "action": "clickSelf", "reduceOtherTimes": [ "StartButton1", "StartButton2" ], "roi": [ 0, 400, 650, 230 ], "next": [ "EndOfAction", "StartToWakeUp", "OfflineConfirm", "StartButton1" ] }, "OfflineConfirmAfterBattle": { "template": "PopupConfirm.png", "action": "clickSelf", "roi": [ 630, 400, 650, 160 ], "next": [ "PRTS", "PrtsErrorConfirm", "OfflineConfirm", "StartToWakeUp" ] }, "OfflineConfirm": { "action": "clickSelf", "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, 200 ], "next": [ "Terminal", "CloseAnno", "TodaysSupplies" ] }, "Terminal": { "action": "clickSelf", "roi": [ 880, 100, 180, 120 ], "next": [ "LastBattle", "Terminal", "CloseAnno", "TodaysSupplies", "Stop" ] }, "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": [ "UsePrts", "StartButton1" ] }, "RecruitBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "RecruitFinish", "RecruitFlag", "Recruit", "ReturnToRecruit" ] }, "ReturnToRecruit": { "template": "Return.png", "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "Recruit", "ReturnToRecruit", "ReturnToRecruitConfirm", "ReturnToRecruitCloseAnno" ] }, "ReturnToRecruitConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "roi": [ 630, 400, 650, 160 ], "next": [ "Recruit", "ReturnToRecruit", "ReturnToRecruitCloseAnno" ] }, "ReturnToRecruitCloseAnno": { "template": "CloseAnno.png", "action": "clickSelf", "cache": false, "roi": [ 1100, 0, 180, 200 ], "next": [ "Recruit", "ReturnToRecruitCloseAnno", "ReturnToRecruit" ] }, "Recruit": { "action": "clickSelf", "roi": [ 900, 450, 200, 150 ], "maskRange": [ 1, 255 ], "next": [ "RecruitBegin" ] }, "RecruitFinish": { "action": "clickSelf", "templThreshold": 0.7, "cache": false, "roi": [ 0, 300, 1280, 420 ], "next": [ "RecruitFinish", "RecruitSkip", "RecruitSkipWithoutButton" ] }, "RecruitSkip": { "action": "clickSelf", "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", "rearDelay": 500, "text": [ "开始招" ], "roi": [ 0, 300, 1280, 420 ] }, "RecruitFlag": { "algorithm": "OcrDetect", "text": [ "公开招募" ], "roi": [ 50, 100, 230, 100 ], "action": "Stop" }, "RecruitNow": { "algorithm": "OcrDetect", "action": "clickSelf", "rearDelay": 500, "cache": false, "text": [ "立即招" ], "roi": [ 0, 300, 1280, 420 ], "next": [ "RecruitNowConfirm" ] }, "RecruitNowConfirm": { "action": "clickSelf", "roi": [ 640, 450, 640, 150 ], "next": [ "RecruitFinish" ] }, "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": { "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", "AwardFinished", "CloseTaskAwardDouble" ] }, "AwardFinished": { "action": "Stop", "roi": [ 400, 0, 880, 100 ], "maskRange": [ 1, 255 ] }, "DailyTask": { "action": "clickSelf", "roi": [ 400, 0, 880, 100 ], "next": [ "ReceiveAward", "WeeklyTask" ] }, "WeeklyTask": { "action": "clickSelf", "roi": [ 400, 0, 880, 100 ], "next": [ "ReceiveAward", "Stop" ] }, "ReturnToAward": { "template": "Return.png", "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "Award", "ReturnToAward", "ReturnToAwardConfirm", "ReturnToRecruitCloseAnno" ] }, "ReturnToAwardConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "roi": [ 630, 400, 650, 160 ], "next": [ "Award", "ReturnToAward", "ReturnToRecruitCloseAnno" ] }, "ReturnToAwardCloseAnno": { "template": "CloseAnno.png", "action": "clickSelf", "cache": false, "roi": [ 1100, 0, 180, 200 ], "next": [ "Award", "ReturnToRecruitCloseAnno", "ReturnToAward" ] }, "VisitBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "Friends", "FriendsList", "StartToVisit", "VisitNext", "VisitNextBlack", "ReturnToFriends" ] }, "ReturnToFriends": { "template": "Return.png", "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "Friends", "ReturnToFriends", "ReturnToFriendsConfirm", "ReturnToFriendsCloseAnno" ] }, "ReturnToFriendsConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "roi": [ 630, 400, 650, 160 ], "next": [ "Friends", "ReturnToFriends", "ReturnToFriendsCloseAnno" ] }, "ReturnToFriendsCloseAnno": { "template": "CloseAnno.png", "action": "clickSelf", "cache": false, "roi": [ 1100, 0, 180, 200 ], "next": [ "Friends", "ReturnToFriends", "ReturnToFriendsCloseAnno" ] }, "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 ], "next": [ "VisitNext", "VisitNextBlack", "VisitNextOcr" ] }, "VisitNext": { "action": "clickSelf", "roi": [ 1080, 570, 195, 130 ], "next": [ "VisitLimited", "VisitNext", "VisitNextBlack", "VisitNextOcr" ] }, "VisitNextOcr": { "algorithm": "OcrDetect", "text": [ "访问下位" ], "action": "clickSelf", "roi": [ 1080, 570, 195, 130 ], "next": [ "VisitLimited", "VisitNext", "VisitNextBlack", "VisitNextOcr" ] }, "MallBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "ReturnToMall", "Mall" ] }, "ReturnToMall": { "template": "Return.png", "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "Mall", "ReturnToMallConfirm", "ReturnToMall", "ReturnToMallCloseAnno" ] }, "ReturnToMallConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "roi": [ 630, 400, 650, 160 ], "next": [ "ReturnToMall", "Mall", "ReturnToMallCloseAnno" ] }, "ReturnToMallCloseAnno": { "template": "CloseAnno.png", "action": "clickSelf", "cache": false, "roi": [ 1100, 0, 180, 200 ], "next": [ "Mall", "ReturnToMallCloseAnno", "ReturnToMall" ] }, "Mall": { "algorithm": "OcrDetect", "action": "clickSelf", "text": [ "中心" ], "roi": [ 640, 360, 640, 360 ], "next": [ "CreditStoreOcr", "Mall" ] }, "CreditStoreOcr": { "algorithm": "OcrDetect", "text": [ "信用交易所" ], "roi": [ 1000, 0, 280, 300 ], "action": "clickSelf", "next": [ "CollectCredit", "Stop" ] }, "CollectCredit": { "action": "clickSelf", "roi": [ 900, 0, 250, 100 ], "next": [ "CloseCollectCredit" ] }, "CloseCollectCredit": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 1000, 1, 270, 340 ], "next": [ "CrisisPopup", "Stop" ] }, "CrisisPopup": { "action": "clickRect", "roi": [ 450, 130, 400, 100 ], "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": { "template": "Return.png", "action": "clickSelf", "roi": [ 0, 0, 180, 80 ], "next": [ "HomeFlag", "ReturnToHome", "ReturnToHomeConfirm", "ReturnToHomeCloseAnno" ] }, "ReturnToHomeConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "roi": [ 630, 400, 650, 160 ], "next": [ "HomeFlag", "ReturnToHome", "ReturnToHomeCloseAnno" ] }, "ReturnToHomeCloseAnno": { "template": "CloseAnno.png", "action": "clickSelf", "cache": false, "roi": [ 1100, 0, 180, 200 ], "next": [ "HomeFlag", "ReturnToHome", "ReturnToHomeCloseAnno" ] }, "HomeFlag": { "template": "Terminal.png", "action": "stop", "roi": [ 880, 100, 180, 120 ] }, "CreditShop-Commoditys": { "template": "CreditPoint.png", "rectMove": [ -60, -180, 220, 220 ] }, "CreditShop-SoldOut": { "template": "SoldOut.png" }, "CreditShop-BuyIt": { "template": "BuyIt.png", "roi": [ 800, 500, 250, 150 ], "preDelay": 500, "rearDelay": 500 }, "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, "action": "clickSelf", "roi": [ 350, 150, 500, 150 ], "rectMove": [ 7, 94, 129, 44 ] }, "RecruitTags": { "algorithm": "OcrDetect", "text": [], "roi": [ 375, 360, 480, 120 ], "ocrReplace": [ [ "千员", "干员" ], [ ".+击干员", "狙击干员" ] ] }, "RecruitRefresh": { "action": "clickSelf", "roi": [ 850, 340, 220, 170 ], "next": [ "RecruitRefreshConfirm" ] }, "RecruitNoRefresh": { "action": "doNothing", "roi": [ 850, 340, 220, 170 ] }, "RecruitRefreshConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "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", "roi": [ 860, 540, 230, 80 ], "next": [ "RecruitFlag" ] }, "InfrastBegin": { "algorithm": "justreturn", "action": "doNothing", "next": [ "EnterInfrast", "InfrastEnteredFlag", "InfrastNotification", "ReturnToInfrast" ] }, "ReturnToInfrast": { "template": "Return.png", "roi": [ 0, 0, 180, 80 ], "action": "clickSelf", "next": [ "EnterInfrast", "InfrastNotification", "InfrastEnteredFlag", "ReturnToInfrast", "ReturnToInfrastConfirm", "ReturnToInfrastCloseAnno" ] }, "ReturnToInfrastConfirm": { "template": "PopupConfirm.png", "action": "clickSelf", "roi": [ 630, 400, 650, 160 ], "next": [ "EnterInfrast", "InfrastNotification", "InfrastEnteredFlag", "ReturnToInfrast", "ReturnToInfrastCloseAnno" ] }, "ReturnToInfrastCloseAnno": { "template": "CloseAnno.png", "action": "clickSelf", "cache": false, "roi": [ 1100, 0, 180, 200 ], "next": [ "EnterInfrast", "InfrastNotification", "InfrastEnteredFlag", "ReturnToInfrast", "ReturnToInfrastCloseAnno" ] }, "Return": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 20, 20, 135, 35 ], "rearDelay": 500 }, "EnterInfrast": { "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": [ "可收获", "订单交付", "信赖" ], "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", "roi": [ 1180, 500, 100, 100 ], "maxTimes": 1, "Doc": "不同于贸易站,制造站的无人机是一次性全用掉的,所以只执行一次就够了", "next": [ "DroneMax", "DroneConfirm" ] }, "DroneAssistTrade": { "action": "clickSelf", "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": { "action": "clickSelf", "roi": [ 250, 300, 230, 250 ], "next": [ "DeliverableOrder", "DroneAssistTrade" ], "rearDelay": 2000 }, "DroneAssist-Trade-Stop": { "Doc": "如果找到了“无人机加速”按钮,却没有找到订单交付:说明上一次无人机没有把一个订单加速完成,也说明没有更多的无人机了,所以直接stop", "template": "DroneAssistTrade.png", "action": "stop" }, "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 ], "templThreshold": 0.8 }, "InfrastSmileyOnWork": { "template": "SmileyOnWork.png", "maskRange": [ 100, 255 ], "templThreshold": 0.8 }, "InfrastSmileyOnDistract": { "template": "SmileyOnDistract.png", "maskRange": [ 100, 255 ], "templThreshold": 0.8 }, "InfrastSkills": { "template": "empty.png", "templThreshold": 0.9, "specialThreshold": 95, "specialThreshold_Doc": "用于做灰度图平均值", "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": 1000, "maxTimes": 2, "Doc": "这里的preDelay作为滑动duration使用,rearDelay作为滑动额外延时使用,maxTimes作为重复次数使用" }, "InfrastOperListSwipeToTheLeftEnd": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 400, 200, 200, 300 ] }, "InfrastOperMoodProgressBar": { "template": "empty.png", "templThreshold": 160, "specialThreshold": 20, "Doc": "这里的templThreshold,作为进度条最小灰度阈值使用;specialThreshold作为进度条相邻点最大变化阈值使用。懒得重新弄个字段了", "rectMove_Doc": "基于笑脸的位置移动", "rectMove": [ 21, 8, 85, 4 ] }, "InfrastMfg": { "template": "Manufacturing.png", "templThreshold": 0.9, "maskRange": [ 1, 255 ], "roi": [ 0, 200, 820, 520 ] }, "InfrastMfgMini": { "template": "ManufacturingMini.png", "templThreshold": 0.9, "roi": [ 0, 240, 640, 400 ], "maskRange": [ 1, 255 ] }, "InfrastTrade": { "template": "Trade.png", "templThreshold": 0.9, "maskRange": [ 1, 255 ], "roi": [ 0, 200, 820, 520 ] }, "InfrastTradeMini": { "template": "TradeMini.png", "templThreshold": 0.9, "roi": [ 0, 240, 640, 400 ], "maskRange": [ 1, 255 ] }, "InfrastPower": { "template": "Power.png", "maskRange": [ 1, 255 ], "roi": [ 0, 200, 820, 520 ], "templThreshold": 0.95 }, "InfrastPowerMini": { "template": "PowerMini.png", "roi": [ 0, 240, 640, 400 ], "maskRange": [ 1, 255 ], "templThreshold": 0.95 }, "InfrastDorm": { "template": "Dorm.png", "maskRange": [ 1, 255 ], "roi": [ 400, 220, 880, 500 ], "templThreshold": 0.95 }, "InfrastDormMini": { "template": "DormMini.png", "maskRange": [ 1, 255 ], "roi": [ 620, 240, 360, 480 ], "templThreshold": 0.95 }, "InfrastOffice": { "template": "Office.png", "maskRange": [ 1, 255 ], "roi": [ 880, 330, 400, 160 ], "templThreshold": 0.95 }, "InfrastOfficeMini": { "template": "OfficeMini.png", "maskRange": [ 1, 255 ], "roi": [ 980, 320, 300, 160 ], "templThreshold": 0.95 }, "InfrastReception": { "template": "Reception.png", "maskRange": [ 1, 255 ], "roi": [ 880, 120, 400, 160 ], "templThreshold": 0.95 }, "InfrastReceptionMini": { "template": "ReceptionMini.png", "maskRange": [ 1, 255 ], "roi": [ 980, 180, 300, 140 ], "templThreshold": 0.95 }, "InfrastControl": { "template": "ControlCenter.png", "maskRange": [ 1, 255 ], "roi": [ 400, 0, 880, 300 ], "templThreshold": 0.95 }, "InfrastControlMini": { "template": "ControlCenterMini.png", "maskRange": [ 1, 255 ], "roi": [ 620, 80, 360, 230 ], "templThreshold": 0.95 }, "InfrastStationedInfo": { "algorithm": "OcrDetect", "text": [ "进驻信息" ], "roi": [ 0, 0, 150, 720 ], "rearDelay": 1000 }, "InfrastEnterOperList": { "algorithm": "OcrDetect", "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", "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", "roi": [ 0, 0, 250, 720 ], "maskRange": [ 1, 255 ], "rearDelay": 1000 }, "InfrastFacilityListTabTrade": { "template": "FacilityListTabTrade.png", "roi": [ 0, 0, 250, 720 ], "maskRange": [ 1, 255 ], "rearDelay": 1000 }, "InfrastOperLockedMfg": { "template": "OperLockedMfg.png", "roi": [ 200, 500, 430, 220 ] }, "InfrastOperLockedTrade": { "template": "OperLockedTrade.png", "roi": [ 200, 500, 430, 220 ] }, "InfrastFlagCombatRecord": { "template": "InfrastMfgDogFoodFlag.png", "roi": [ 1000, 0, 280, 720 ] }, "InfrastFlagPureGold": { "template": "InfrastMfgPureGoldFlag.png", "roi": [ 1000, 0, 280, 720 ] }, "InfrastFlagOriginStone": { "template": "InfrastMfgOriginStoneFlag.png", "roi": [ 1000, 0, 280, 720 ] }, "InfrastFlagChip": { "template": "InfrastMfgChipFlag.png", "roi": [ 1000, 0, 280, 720 ] }, "InfrastFlagMoney": { "template": "InfrastTradeMoneyFlag.png", "roi": [ 900, 500, 380, 220 ] }, "InfrastFlagSyntheticJade": { "template": "InfrastTradeSyntheticJadeFlag.png", "roi": [ 900, 500, 380, 220 ] }, "InfrastAddOperatorMfgGentle": { "template": "AddOperatorMfgGentle.png", "templThreshold": 0.8, "roi": [ 200, 500, 500, 220 ], "rearDelay": 1000 }, "InfrastAddOperatorMfgAggressive": { "template": "AddOperatorMfgAggressive.png", "templThreshold": 0.8, "roi": [ 200, 500, 500, 100 ], "rectMove": [ 5, 50, 80, 80 ], "rearDelay": 1000 }, "InfrastAddOperatorTradeGentle": { "template": "AddOperatorTradeGentle.png", "templThreshold": 0.8, "roi": [ 200, 500, 500, 220 ], "rearDelay": 1000 }, "InfrastAddOperatorTradeAggressive": { "template": "AddOperatorTradeAggressive.png", "templThreshold": 0.8, "roi": [ 200, 500, 500, 100 ], "rectMove": [ 5, 50, 80, 80 ], "rearDelay": 1000 }, "InfrastAddOperatorReceptionGentle": { "template": "AddOperatorReceptionGentle.png", "templThreshold": 0.8, "roi": [ 0, 0, 300, 720 ], "rearDelay": 1000 }, "InfrastAddOperatorReceptionAggressive": { "algorithm": "justReturn", "action": "clickRect", "specificRect": [ 30, 200, 200, 300 ], "rearDelay": 1000 }, "InfrastOperSelected": { "template": "empty.png", "templThreshold": 8000, "templThreshold_Doc": "这个任务中作为符合range的像素点数量阈值", "maskRange": [ 95, 105 ], "rectMove": [ 0, -230, 74, 283 ] }, "InfrastOperOnShift": { "template": "OnShift.png", "templThreshold": 0.8, "rectMove": [ 0, -95, 70, 50 ] }, "InfrastClueVacancyNo1": { "template": "ClueVacancyNo1.png", "cache": false, "templThreshold": 0.75, "roi": [ 0, 100, 500, 250 ], "rearDelay": 500 }, "InfrastClueVacancyNo2": { "template": "ClueVacancyNo2.png", "cache": false, "templThreshold": 0.75, "roi": [ 200, 200, 500, 250 ], "rearDelay": 500 }, "InfrastClueVacancyNo3": { "template": "ClueVacancyNo3.png", "cache": false, "templThreshold": 0.75, "roi": [ 400, 100, 500, 250 ], "rearDelay": 500 }, "InfrastClueVacancyNo4": { "template": "ClueVacancyNo4.png", "cache": false, "templThreshold": 0.75, "roi": [ 650, 150, 500, 250 ], "rearDelay": 500 }, "InfrastClueVacancyNo5": { "template": "ClueVacancyNo5.png", "cache": false, "templThreshold": 0.75, "roi": [ 300, 420, 500, 250 ], "rearDelay": 500 }, "InfrastClueVacancyNo6": { "template": "ClueVacancyNo6.png", "cache": false, "templThreshold": 0.75, "roi": [ 500, 350, 500, 250 ], "rearDelay": 500 }, "InfrastClueVacancyNo7": { "template": "ClueVacancyNo7.png", "cache": false, "templThreshold": 0.75, "roi": [ 50, 350, 500, 250 ], "rearDelay": 500 }, "InfrastClue": { "template": "Clue.png", "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": 3000 } }