diff --git a/assets/interface.json b/assets/interface.json index 356ddc6..b165111 100644 --- a/assets/interface.json +++ b/assets/interface.json @@ -21,11 +21,16 @@ { "name": "器者征集", "entry": "Collect_operators" - }, + }, { "name": "派遣公司", - "entry": "pqgs" - }, + "entry": "dispatch_company_all", + "option": [ + "领取资源、好感、售卖机", + "社教模拟仪", + "制造物品" + ] + }, { "name": "每日免费礼包", "entry": "business_kiosk" @@ -33,11 +38,11 @@ { "name": "易物所", "entry": "Barter_random" - }, + }, { "name": "在主界面喝一瓶2天内过期的水(需要喝水请选择,无需则无视,注意!目前仅支持还剩两天就过期的水)", "entry": "drink_a_2day_water" - }, + }, { "name": "演训", "entry": "kaishi", @@ -171,138 +176,284 @@ "next": "resource_five" } } - } + } ] }, - "打哪个":{ - "cases":[ + "打哪个": { + "cases": [ + { + "name": "第一关(子)(演训用)", + "param": { + "xuanze": { + "next": "SelectStage01" + } + } + }, + { + "name": "第二关(丑)(演训用)", + "param": { + "xuanze": { + "next": "SelectStage02" + } + } + }, { - "name":"第一关(子)(演训用)", - "param":{ - "xuanze":{ - "next":"SelectStage01" + "name": "第三关(寅)(演训用)", + "param": { + "xuanze": { + "next": "SelectStage03" } } }, { - "name":"第二关(丑)(演训用)", - "param":{ - "xuanze":{ - "next":"SelectStage02" + "name": "第四关(卯)(演训用)", + "param": { + "xuanze": { + "next": "SelectStage04" + } + } + }, + { + "name": "第五关(辰)(演训用)", + "param": { + "xuanze": { + "next": "SelectStage05" + } + } + }, + { + "name": "第一关(壹)(资源用)", + "param": { + "resource": { + "next": "ancient_both_sea_cantonese_often1" } } }, { - "name":"第三关(寅)(演训用)", - "param":{ - "xuanze":{ - "next":"SelectStage03" + "name": "第二关(贰)(资源用)", + "param": { + "resource": { + "next": "ancient_both_sea_cantonese_often2" + } + } + }, + { + "name": "第三关(叁)(资源用)", + "param": { + "resource": { + "next": "ancient_both_sea_cantonese_often3" + } + } + }, + { + "name": "第四关(肆)(资源用)", + "param": { + "resource": { + "next": "ancient_both_sea_cantonese_often4" + } + } + }, + { + "name": "第五关(伍)(资源用)", + "param": { + "resource": { + "next": "ancient_both_sea_cantonese_often5" + } + } + } + ] + }, + "打几次": { + "cases": [ + { + "name": "打一次(速通没解锁专用)", + "param": { + "fast": { + "next": "Start1" + } + } + }, + { + "name": "打一次(速通解锁专用)", + "param": { + "fast": { + "next": "Speedrun1x" } } }, { - "name":"第四关(卯)(演训用)", - "param":{ - "xuanze":{ - "next":"SelectStage04" + "name": "打两次(速通解锁专用)", + "param": { + "fast": { + "next": "Speedrun2x" } } }, { - "name":"第五关(辰)(演训用)", - "param":{ - "xuanze":{ - "next":"SelectStage05" + "name": "打四次(速通解锁专用)", + "param": { + "fast": { + "next": "Speedrun4x" } } }, { - "name":"第一关(壹)(资源用)", - "param":{ - "resource":{ - "next":"ancient_both_sea_cantonese_often1" + "name": "打十次(速通解锁专用)", + "param": { + "fast": { + "next": "Speedrun10x" + } + } + } + ] + }, + "领取资源、好感、售卖机": { + "cases": [ + { + "name": "领取奖励", + "param": { + "entry_dispath_one": { + "name": "dispath_resources" + } + } + } + ] + }, + "社教模拟仪": { + "cases": [ + { + "name": "初级社会指南", + "param": { + "dispath_company_collect": { + "next": "dispatch_social_one" } } }, { - "name":"第二关(贰)(资源用)", - "param":{ - "resource":{ - "next":"ancient_both_sea_cantonese_often2" + "name": "中级社会指南", + "param": { + "dispath_company_collect": { + "next": "dispatch_social_tow" } } }, { - "name":"第三关(叁)(资源用)", - "param":{ - "resource":{ - "next":"ancient_both_sea_cantonese_often3" + "name": "高级社会指南", + "param": { + "dispath_company_collect": { + "next": "dispatch_social_three" } } }, { - "name":"第四关(肆)(资源用)", - "param":{ - "resource":{ - "next":"ancient_both_sea_cantonese_often4" + "name": "进阶社会指南", + "param": { + "dispath_company_collect": { + "next": "dispatch_social_four" } } }, { - "name":"第五关(伍)(资源用)", - "param":{ - "resource":{ - "next":"ancient_both_sea_cantonese_often5" + "name": "不领取", + "param": { + "dispath_company_collect": { + "next": "dc_back" } } } ] }, - "打几次":{ - "cases":[ + "制造物品": { + "cases": [ { - "name":"打一次(速通没解锁专用)", - "param":{ - "fast":{ - "next":"Start1" + "name": "蓝色装备", + "param": { + "fabricate_all": { + "next": "fabricate_one" } } }, { - "name":"打一次(速通解锁专用)", - "param":{ - "fast":{ - "next":"Speedrun1x" + "name": "铜石墨条(蓝装升级)", + "param": { + "fabricate_all": { + "next": "fabricate_tow" } } }, { - "name":"打两次(速通解锁专用)", - "param":{ - "fast":{ - "next":"Speedrun2x" + "name": "银石墨条(黄装升级)", + "param": { + "fabricate_all": { + "next": "fabricate_three" } } }, { - "name":"打四次(速通解锁专用)", - "param":{ - "fast":{ - "next":"Speedrun4x" + "name": "100装备经验", + "param": { + "fabricate_all": { + "next": "fabricate_four" } } }, { - "name":"打十次(速通解锁专用)", - "param":{ - "fast":{ - "next":"Speedrun10x" + "name": "1型钢材", + "param": { + "fabricate_all": { + "next": "fabricate_five_Swipe" + } + } + }, + { + "name": "资质证明1", + "param": { + "fabricate_all": { + "next": "fabricate_six_Swipe" + } + } + }, + { + "name": "资质证明2", + "param": { + "fabricate_all": { + "next": "fabricate_seven_Swipe" + } + } + }, + { + "name": "高级制造申请", + "param": { + "fabricate_all": { + "next": "fabricate_eight_Swipe" + } + } + }, + { + "name": "2型钢材", + "param": { + "fabricate_all": { + "next": "fabricate_nine_Swipe" + } + } + }, + { + "name": "资质证明3", + "param": { + "fabricate_all": { + "next": "fabricate_ten_Swipe" + } + } + }, + { + "name": "不制造", + "param": { + "fabricate_all": { + "next": "dc_back" } } } ] } - }, - - "version": "v0.0.1" + } } \ No newline at end of file diff --git a/assets/resource/base/image/Company/03.png b/assets/resource/base/image/Company/03.png new file mode 100644 index 0000000..beef5b2 Binary files /dev/null and b/assets/resource/base/image/Company/03.png differ diff --git a/assets/resource/base/image/Company/10.png b/assets/resource/base/image/Company/10.png new file mode 100644 index 0000000..d857125 Binary files /dev/null and b/assets/resource/base/image/Company/10.png differ diff --git a/assets/resource/base/image/Company/11.png b/assets/resource/base/image/Company/11.png new file mode 100644 index 0000000..854e28a Binary files /dev/null and b/assets/resource/base/image/Company/11.png differ diff --git a/assets/resource/base/image/Company/12.png b/assets/resource/base/image/Company/12.png new file mode 100644 index 0000000..1844ad5 Binary files /dev/null and b/assets/resource/base/image/Company/12.png differ diff --git a/assets/resource/base/image/Company/13.png b/assets/resource/base/image/Company/13.png new file mode 100644 index 0000000..a26ea0f Binary files /dev/null and b/assets/resource/base/image/Company/13.png differ diff --git a/assets/resource/base/image/Company/14.png b/assets/resource/base/image/Company/14.png new file mode 100644 index 0000000..1fd992c Binary files /dev/null and b/assets/resource/base/image/Company/14.png differ diff --git a/assets/resource/base/image/Company/15.png b/assets/resource/base/image/Company/15.png new file mode 100644 index 0000000..1e79fb0 Binary files /dev/null and b/assets/resource/base/image/Company/15.png differ diff --git a/assets/resource/base/image/Company/16.png b/assets/resource/base/image/Company/16.png new file mode 100644 index 0000000..d6e281a Binary files /dev/null and b/assets/resource/base/image/Company/16.png differ diff --git a/assets/resource/base/image/Company/17.png b/assets/resource/base/image/Company/17.png new file mode 100644 index 0000000..6f2091e Binary files /dev/null and b/assets/resource/base/image/Company/17.png differ diff --git a/assets/resource/base/image/Company/18.png b/assets/resource/base/image/Company/18.png new file mode 100644 index 0000000..77f5222 Binary files /dev/null and b/assets/resource/base/image/Company/18.png differ diff --git a/assets/resource/base/image/Company/19.png b/assets/resource/base/image/Company/19.png new file mode 100644 index 0000000..f190a65 Binary files /dev/null and b/assets/resource/base/image/Company/19.png differ diff --git a/assets/resource/base/image/Company/20.png b/assets/resource/base/image/Company/20.png new file mode 100644 index 0000000..bd63911 Binary files /dev/null and b/assets/resource/base/image/Company/20.png differ diff --git a/assets/resource/base/image/Company/Advanced_Social_Guide.png b/assets/resource/base/image/Company/Advanced_Social_Guide.png new file mode 100644 index 0000000..c3009df Binary files /dev/null and b/assets/resource/base/image/Company/Advanced_Social_Guide.png differ diff --git a/assets/resource/base/image/Company/Advanced_Sociology.png b/assets/resource/base/image/Company/Advanced_Sociology.png new file mode 100644 index 0000000..bc363d8 Binary files /dev/null and b/assets/resource/base/image/Company/Advanced_Sociology.png differ diff --git a/assets/resource/base/image/Company/Intermediate_Social_Guide.png b/assets/resource/base/image/Company/Intermediate_Social_Guide.png new file mode 100644 index 0000000..5faf17b Binary files /dev/null and b/assets/resource/base/image/Company/Intermediate_Social_Guide.png differ diff --git a/assets/resource/base/image/Company/beginner_social_guide.png b/assets/resource/base/image/Company/beginner_social_guide.png new file mode 100644 index 0000000..54f92d5 Binary files /dev/null and b/assets/resource/base/image/Company/beginner_social_guide.png differ diff --git a/assets/resource/base/image/Company/c_induction.png b/assets/resource/base/image/Company/c_induction.png new file mode 100644 index 0000000..e469011 Binary files /dev/null and b/assets/resource/base/image/Company/c_induction.png differ diff --git a/assets/resource/base/image/Company/c_induction_click.png b/assets/resource/base/image/Company/c_induction_click.png new file mode 100644 index 0000000..a7d08c6 Binary files /dev/null and b/assets/resource/base/image/Company/c_induction_click.png differ diff --git a/assets/resource/base/image/Company/c_resources.png b/assets/resource/base/image/Company/c_resources.png new file mode 100644 index 0000000..7ef4e01 Binary files /dev/null and b/assets/resource/base/image/Company/c_resources.png differ diff --git a/assets/resource/base/image/Company/click_space.png b/assets/resource/base/image/Company/click_space.png new file mode 100644 index 0000000..59d27ae Binary files /dev/null and b/assets/resource/base/image/Company/click_space.png differ diff --git a/assets/resource/base/image/Company/coin_flip.png b/assets/resource/base/image/Company/coin_flip.png new file mode 100644 index 0000000..c120d45 Binary files /dev/null and b/assets/resource/base/image/Company/coin_flip.png differ diff --git a/assets/resource/base/image/Company/d_company.png b/assets/resource/base/image/Company/d_company.png new file mode 100644 index 0000000..90dc35c Binary files /dev/null and b/assets/resource/base/image/Company/d_company.png differ diff --git a/assets/resource/base/image/Company/donshe.png b/assets/resource/base/image/Company/donshe.png new file mode 100644 index 0000000..0763266 Binary files /dev/null and b/assets/resource/base/image/Company/donshe.png differ diff --git a/assets/resource/base/image/Company/fabricate_max.png b/assets/resource/base/image/Company/fabricate_max.png new file mode 100644 index 0000000..1544406 Binary files /dev/null and b/assets/resource/base/image/Company/fabricate_max.png differ diff --git a/assets/resource/base/image/Company/fabricate_social_book.png b/assets/resource/base/image/Company/fabricate_social_book.png new file mode 100644 index 0000000..f7d8429 Binary files /dev/null and b/assets/resource/base/image/Company/fabricate_social_book.png differ diff --git a/assets/resource/base/image/Company/office.png b/assets/resource/base/image/Company/office.png index 378fb6d..a3a63bd 100644 Binary files a/assets/resource/base/image/Company/office.png and b/assets/resource/base/image/Company/office.png differ diff --git a/assets/resource/base/image/Company/social_back_home.png b/assets/resource/base/image/Company/social_back_home.png new file mode 100644 index 0000000..90e58f1 Binary files /dev/null and b/assets/resource/base/image/Company/social_back_home.png differ diff --git a/assets/resource/base/image/Company/social_guidence.png b/assets/resource/base/image/Company/social_guidence.png new file mode 100644 index 0000000..04aa861 Binary files /dev/null and b/assets/resource/base/image/Company/social_guidence.png differ diff --git a/assets/resource/base/image/Company/vending_machine_reward.png b/assets/resource/base/image/Company/vending_machine_reward.png new file mode 100644 index 0000000..1d53df7 Binary files /dev/null and b/assets/resource/base/image/Company/vending_machine_reward.png differ diff --git a/assets/resource/base/image/Company/verify_fabricate.png b/assets/resource/base/image/Company/verify_fabricate.png new file mode 100644 index 0000000..91ccc32 Binary files /dev/null and b/assets/resource/base/image/Company/verify_fabricate.png differ diff --git a/assets/resource/base/image/Startup/11.png b/assets/resource/base/image/Startup/11.png new file mode 100644 index 0000000..3c2a49e Binary files /dev/null and b/assets/resource/base/image/Startup/11.png differ diff --git a/assets/resource/base/pipeline/1_startup.json b/assets/resource/base/pipeline/1_startup.json index cd09222..da7ee0d 100644 --- a/assets/resource/base/pipeline/1_startup.json +++ b/assets/resource/base/pipeline/1_startup.json @@ -18,72 +18,85 @@ "is_sub": true, "action": "StartApp", "package": "com.cipaishe.wuhua.bilibili/com.cipaishe.wuhua.bilibili.activity.ONESDKSplashActivity", - "post_wait_freezes":10000, - "next":[ + "post_wait_freezes": 10000, + "next": [ "update", "Sub_CloseAnnouncement" ] }, - "update":{ - "recognition":"OCR", - "expected":"终端数据更新", - "roi":[ - 403, 249, 474, 111 + "update": { + "recognition": "OCR", + "expected": "终端数据更新", + "roi": [ + 403, + 249, + 474, + 111 ], - "action":"Click", - "post_wait_freezes":7000, - "target":[ - 765, 430, 0, 0 + "action": "Click", + "post_wait_freezes": 7000, + "target": [ + 765, + 430, + 0, + 0 ], - "next":[ - ] + "next": [] }, - "Sub_CloseAnnouncement":{ - "is_sub": true, - "recognition":"TemplateMatch", + "Sub_CloseAnnouncement": { + "recognition": "TemplateMatch", "template": "Startup/announcement_outer.png", "action": "Click", - "next":[ + "next": [ "Sub_StartGame" ] }, - "Sub_StartGame":{ - "is_sub": true, - "recognition":"OCR", - "expected":"抵制不良游戏", - "action":"Click", - "next":[ + "Sub_StartGame": { + "recognition": "OCR", + "expected": "抵制不良游戏", + "action": "Click", + "next": [ "Sub_AccumulatedSignIn" ] }, - "Sub_AccumulatedSignIn":{ - "is_sub": true, - "post_delay":10000, - "next":[ + "Sub_AccumulatedSignIn": { + "action": "Click", + "post_delay": 10000, + "next": [ "Sub_GetResource", "Sub_AccumulatedSignInExit", - "stop" + "convened" ] }, - "stop":{ - "action":"StopTask" - }, - "Sub_AccumulatedSignInExit":{ - "is_sub": true, - "recognition":"TemplateMatch", - "template":"Startup/AccumulatedSignInExit.png", - "action":"Click" + "convened": { + "recognition": "TemplateMatch", + "template": "Startup/11.png", + "roi": [ + 906, + 340, + 170, + 205 + ], + "post_delay": 3000, + "next": [ + "stop" + ] }, - "Sub_GetResource":{ - "is_sub": true, - "recognition":"OCR", - "expected":"获得物资", - "action":"Click", - "next":[ - "DoubleClick" + "Sub_AccumulatedSignInExit": { + "recognition": "TemplateMatch", + "template": "Startup/AccumulatedSignInExit.png", + "action": "Click", + "post_delay": 3000, + "next": [ + "stop" ] }, - "DoubleClick":{ - "action":"Click" + "Sub_GetResource": { + "recognition": "OCR", + "expected": "获得物资", + "action": "Click", + "next": [ + "Sub_AccumulatedSignInExit" + ] } -} +} \ No newline at end of file diff --git a/assets/resource/base/pipeline/3_collectresource.json b/assets/resource/base/pipeline/3_collectresource.json deleted file mode 100644 index 7914388..0000000 --- a/assets/resource/base/pipeline/3_collectresource.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "pqgs": { - "recognition": "TemplateMatch", - "template": "Company/pqgs2.png", - "action": "Click", - "next": [ - "sqzy" - ] - }, - "sqzy": { - "recognition": "TemplateMatch", - "template": "Company/sqzy.png", - "action": "Click", - "next": [ - "djkb", - "zwzy" - ] - }, - "djkb": { - "recognition": "TemplateMatch", - "template": "Company/djkb.png", - "action": "Click", - "next": [ - "hqgy", - "quit" - ] - }, - "hqgy": { - "recognition": "FeatureMatch", - "template": "Company/hqgy.png", - "action": "Click", - "next": [ - "sqgydj", - "quit" - ] - }, - "quit": { - "recognition": "TemplateMatch", - "template": "Company/quit.png", - "action": "Click", - "next": [] - }, - "sqgydj": { - "recognition": "TemplateMatch", - "template": "Company/sqgydj.png", - "action": "Click", - "next": [ - "quit" - ] - }, - "zwzy": { - "recognition": "TemplateMatch", - "template": "Company/zwzy.png", - "next": [ - "quit" - ] - } -} \ No newline at end of file diff --git a/assets/resource/base/pipeline/3_dispath_company.json b/assets/resource/base/pipeline/3_dispath_company.json new file mode 100644 index 0000000..6b7db57 --- /dev/null +++ b/assets/resource/base/pipeline/3_dispath_company.json @@ -0,0 +1,692 @@ +{ + "dispatch_company_all": { + "next": [ + "entry_dispath_one", + "dispath_company_collect" + ] + }, + "entry_dispath_one": { + "recognition": "TemplateMatch", + "template": "Company/d_company.png", + "action": "Click", + "post_wait_freezes": 1000, + "next": [ + "dispath_resources", + "click_space", + "collect_induction", + "donshe", + "vending_machine" + ] + }, + "dispath_company_collect": { + "next": [ + "dispatch_social_one", + "dispatch_social_tow", + "dispatch_social_three", + "dispatch_social_four", + "dc_back" + ] + }, + "dispath_resources": { + "recognition": "TemplateMatch", + "template": "Company/c_resources.png", + "roi": [ + 1009, + 533, + 271, + 187 + ], + "action": "Click", + "post_delay": 3000, + "next": [ + "click_space", + "collect_induction", + "donshe", + "vending_machine" + ] + }, + "click_space": { + "recognition": "TemplateMatch", + "template": "Company/click_space.png", + "action": "Click", + "roi": [ + 988, + 107, + 240, + 480 + ], + "next": [ + "collect_induction", + "donshe", + "vending_machine" + ] + }, + "collect_induction": { + "recognition": "TemplateMatch", + "template": "Company/c_induction.png", + "roi": [ + 913, + 548, + 184, + 172 + ], + "action": "Click", + "post_delay": 3000, + "next": [ + "collect_induction_click", + "donshe", + "vending_machine" + ] + }, + "collect_induction_click": { + "recognition": "TemplateMatch", + "template": "Company/c_induction_click.png", + "post_delay": 3000, + "roi": [ + 408, + 47, + 566, + 168 + ], + "action": "Click", + "next": [ + "donshe", + "vending_machine" + ] + }, + "donshe": { + "recognition": "TemplateMatch", + "template": "Company/donshe.png", + "action": "Click", + "post_delay": 3000, + "roi": [ + 451, + 477, + 227, + 211 + ], + "next": [ + "donshe_click_space" + ] + }, + "donshe_click_space": { + "recognition": "TemplateMatch", + "template": "Company/click_space.png", + "action": "Click", + "roi": [ + 988, + 107, + 240, + 480 + ], + "next": [ + "vending_machine" + ] + }, + "vending_machine": { + "recognition": "TemplateMatch", + "template": "Company/office.png", + "action": "Click", + "roi": [ + 345, + 51, + 345, + 266 + ], + "next": [ + "vending_machine_reward", + "vending_machine_back" + ] + }, + "vending_machine_reward": { + "recognition": "TemplateMatch", + "template": "Company/vending_machine_reward.png", + "action": "Click", + "post_delay": 3000, + "roi": [ + 123, + 11, + 231, + 201 + ], + "target": [ + 203, + 69, + 41, + 34 + ], + "next": [ + "coin_flip" + ] + }, + "coin_flip": { + "recognition": "TemplateMatch", + "template": "Company/coin_flip.png", + "action": "Click", + "post_wait_freezes": 3000, + "roi": [ + 771, + 293, + 340, + 232 + ], + "next": [ + "coin_flip_click_space" + ] + }, + "coin_flip_click_space": { + "recognition": "TemplateMatch", + "template": "Company/click_space.png", + "action": "Click", + "post_delay": 3000, + "roi": [ + 988, + 107, + 240, + 480 + ], + "next": [ + "vending_machine_back" + ] + }, + "vending_machine_back": { + "recognition": "TemplateMatch", + "template": "Collect/06.png", + "action": "Click", + "post_delay": 3000, + "next": [ + "dispath_company_collect" + ] + }, + "dc_back": { + "recognition": "TemplateMatch", + "template": "Collect/06.png", + "action": "Click" + }, + "dc_back_2": { + "recognition": "TemplateMatch", + "template": "Collect/06.png", + "action": "Click", + "next": [ + "dc_back_3" + ] + }, + "dispatch_social_one": { + "recognition": "TemplateMatch", + "template": "Company/social_guidence.png", + "post_delay": 2000, + "action": "Click", + "roi": [ + 9, + 366, + 249, + 196 + ], + "next": [ + "Beginner_Social_Guide" + ] + }, + "dispatch_social_tow": { + "recognition": "TemplateMatch", + "template": "Company/social_guidence.png", + "post_delay": 2000, + "action": "Click", + "roi": [ + 9, + 366, + 249, + 196 + ], + "next": [ + "Intermediate_Social_Guide" + ] + }, + "dispatch_social_three": { + "recognition": "TemplateMatch", + "template": "Company/social_guidence.png", + "post_delay": 2000, + "action": "Click", + "roi": [ + 9, + 366, + 249, + 196 + ], + "next": [ + "Advanced_Social_Guide" + ] + }, + "dispatch_social_four": { + "recognition": "TemplateMatch", + "template": "Company/social_guidence.png", + "post_delay": 2000, + "action": "Click", + "roi": [ + 9, + 366, + 249, + 196 + ], + "next": [ + "Advanced_Sociology" + ] + }, + "Beginner_Social_Guide": { + "recognition": "TemplateMatch", + "template": "Company/beginner_social_guide.png", + "action": "Click", + "roi": [ + 7, + 146, + 420, + 134 + ], + "next": [ + "fabricate_max" + ] + }, + "Intermediate_Social_Guide": { + "recognition": "TemplateMatch", + "template": "Company/Intermediate_Social_Guide.png", + "action": "Click", + "roi": [ + 6, + 277, + 419, + 124 + ], + "next": [ + "fabricate_max" + ] + }, + "Advanced_Social_Guide": { + "recognition": "TemplateMatch", + "template": "Company/Advanced_Social_Guide.png", + "action": "Click", + "roi": [ + 4, + 393, + 428, + 132 + ], + "next": [ + "fabricate_max" + ] + }, + "Advanced_Sociology": { + "recognition": "TemplateMatch", + "template": "Company/Advanced_Sociology.png", + "action": "Click", + "roi": [ + 8, + 524, + 422, + 131 + ], + "next": [ + "fabricate_max" + ] + }, + "fabricate_max": { + "recognition": "TemplateMatch", + "template": "Company/fabricate_max.png", + "action": "Click", + "roi": [ + 1040, + 512, + 80, + 71 + ], + "next": [ + "fabricate_social_book" + ] + }, + "fabricate_social_book": { + "recognition": "TemplateMatch", + "template": "Company/fabricate_social_book.png", + "action": "Click", + "roi": [ + 870, + 618, + 301, + 73 + ], + "next": [ + "verify_fabricate" + ] + }, + "verify_fabricate": { + "recognition": "TemplateMatch", + "template": "Company/verify_fabricate.png", + "action": "Click", + "roi": [ + 678, + 387, + 188, + 76 + ], + "next": [ + "dc_back_2" + ] + }, + "dc_back_3": { + "recognition": "TemplateMatch", + "template": "Collect/06.png", + "action": "Click", + "next": [ + "fabricate_all" + ] + }, + "social_back": { + "recognition": "TemplateMatch", + "template": "Company\\social_back_home.png", + "action": "Click" + }, + "fabricate_all": { + "recognition": "TemplateMatch", + "template": "Company/10.png", + "action": "Click", + "roi": [ + 17, + 272, + 151, + 137 + ], + "next": [ + "fabricate_one", + "fabricate_tow", + "fabricate_three", + "fabricate_four", + "fabricate_five_Swipe", + "fabricate_six_Swipe", + "fabricate_seven_Swipe", + "fabricate_eight_Swipe", + "fabricate_nine_Swipe", + "fabricate_ten_Swipe" + ] + }, + "fabricate_one": { + "recognition": "TemplateMatch", + "template": "Company/11.png", + "action": "Click", + "next": [ + "fabricate_max_2" + ] + }, + "fabricate_tow": { + "recognition": "TemplateMatch", + "template": "Company/12.png", + "action": "Click", + "next": [ + "fabricate_max_2" + ] + }, + "fabricate_three": { + "recognition": "TemplateMatch", + "template": "Company/13.png", + "action": "Click", + "next": [ + "fabricate_max_2" + ] + }, + "fabricate_four": { + "recognition": "TemplateMatch", + "template": "Company/14.png", + "action": "Click", + "next": [ + "fabricate_max_2" + ] + }, + "fabricate_five_Swipe": { + "action": "Swipe", + "begin": [ + 265, + 305, + 0, + 0 + ], + "end": [ + 265, + 160, + 0, + 0 + ], + "next": [ + "fabricate_five" + ] + }, + "fabricate_five": { + "recognition": "TemplateMatch", + "template": "Company/15.png", + "action": "Click", + "next": [ + "fabricate_max_2" + ] + }, + "fabricate_six_Swipe": { + "action": "Swipe", + "begin": [ + 265, + 305, + 0, + 0 + ], + "end": [ + 265, + 160, + 0, + 0 + ], + "next": [ + "fabricate_six" + ] + }, + "fabricate_six": { + "recognition": "TemplateMatch", + "template": "Company/16.png", + "action": "Click", + "next": [ + "fabricate_max_2" + ] + }, + "fabricate_seven_Swipe": { + "action": "Swipe", + "begin": [ + 265, + 305, + 0, + 0 + ], + "end": [ + 265, + 160, + 0, + 0 + ], + "next": [ + "fabricate_seven" + ] + }, + "fabricate_seven": { + "recognition": "TemplateMatch", + "template": "Company/17.png", + "action": "Click", + "next": [ + "fabricate_max_2" + ] + }, + "fabricate_eight_Swipe": { + "action": "Swipe", + "begin": [ + 265, + 305, + 0, + 0 + ], + "end": [ + 265, + 160, + 0, + 0 + ], + "next": [ + "fabricate_eight_Swipe_2" + ] + }, + "fabricate_eight_Swipe_2": { + "action": "Swipe", + "begin": [ + 265, + 305, + 0, + 0 + ], + "end": [ + 265, + 160, + 0, + 0 + ], + "next": [ + "fabricate_eight" + ] + }, + "fabricate_eight": { + "recognition": "TemplateMatch", + "template": "Company/18.png", + "action": "Click", + "next": [ + "fabricate_max_2" + ] + }, + "fabricate_nine_Swipe": { + "action": "Swipe", + "begin": [ + 265, + 305, + 0, + 0 + ], + "end": [ + 265, + 160, + 0, + 0 + ], + "next": [ + "fabricate_nine_Swipe_2" + ] + }, + "fabricate_nine_Swipe_2": { + "action": "Swipe", + "begin": [ + 265, + 305, + 0, + 0 + ], + "end": [ + 265, + 160, + 0, + 0 + ], + "next": [ + "fabricate_nine" + ] + }, + "fabricate_nine": { + "recognition": "TemplateMatch", + "template": "Company/19.png", + "action": "Click", + "next": [ + "fabricate_max_2" + ] + }, + "fabricate_ten_Swipe": { + "action": "Swipe", + "begin": [ + 265, + 305, + 0, + 0 + ], + "end": [ + 265, + 160, + 0, + 0 + ], + "next": [ + "fabricate_ten_Swipe_2" + ] + }, + "fabricate_ten_Swipe_2": { + "action": "Swipe", + "begin": [ + 265, + 305, + 0, + 0 + ], + "end": [ + 265, + 160, + 0, + 0 + ], + "next": [ + "fabricate_ten" + ] + }, + "fabricate_ten": { + "recognition": "TemplateMatch", + "template": "Company/20.png", + "action": "Click", + "next": [ + "fabricate_max_2" + ] + }, + "fabricate_max_2": { + "recognition": "TemplateMatch", + "template": "Company/fabricate_max.png", + "action": "Click", + "roi": [ + 1040, + 512, + 80, + 71 + ], + "next": [ + "fabricate_social_book_2" + ] + }, + "fabricate_social_book_2": { + "recognition": "TemplateMatch", + "template": "Company/fabricate_social_book.png", + "action": "Click", + "roi": [ + 870, + 618, + 301, + 73 + ], + "next": [ + "verify_fabricate_2" + ] + }, + "verify_fabricate_2": { + "recognition": "TemplateMatch", + "template": "Company/verify_fabricate.png", + "action": "Click", + "roi": [ + 678, + 387, + 188, + 76 + ], + "next": [ + "social_back" + ] + } +} \ No newline at end of file diff --git a/assets/resource/base/pipeline/7_(03)allin.json b/assets/resource/base/pipeline/7_(03)allin.json index 68796e6..d16c95c 100644 --- a/assets/resource/base/pipeline/7_(03)allin.json +++ b/assets/resource/base/pipeline/7_(03)allin.json @@ -1,6 +1,6 @@ { - "frequency":{ - "next":[ + "frequency": { + "next": [ "fast", "Start1", "Speedrun1x", @@ -9,16 +9,19 @@ "Speedrun10x" ] }, - "fast":{ - "recognition":"OCR", - "expected":"速通", - "action":"Click", - "target":[ - 1030, 660, 0, 0 + "fast": { + "recognition": "OCR", + "expected": "速通", + "action": "Click", + "target": [ + 1030, + 660, + 0, + 0 ], - "pre_delay":2000, - "post_delay":2000, - "next":[ + "pre_delay": 2000, + "post_delay": 2000, + "next": [ "Speedrun1x", "Speedrun2x", "Speedrun4x", @@ -26,229 +29,272 @@ "Start1" ] }, - "Speedrun1x":{ - "recognition":"TemplateMatch", - "template":"Speedrun/10.png", - "action":"Click", - "target":[ - 855, 420, 0, 0 + "Speedrun1x": { + "recognition": "TemplateMatch", + "template": "Speedrun/10.png", + "action": "Click", + "target": [ + 855, + 420, + 0, + 0 ], - "next":[ + "next": [ "CompleteSpeedrun" ] }, - "Speedrun2x":{ - "next":[ + "Speedrun2x": { + "next": [ "AddSpeedrunTime2", "requires_more", "Sub_AddSpeedrunTime2", "CompleteSpeedrun" ] }, - "Speedrun4x": { "next": [ "AddSpeedrunTime4", "requires_more", "Sub_AddSpeedrunTime4", "CompleteSpeedrun" - ] - }, + ] + }, "Speedrun10x": { "next": [ "AddSpeedrunTime10", "requires_more", "Sub_AddSpeedrunTime10", "CompleteSpeedrun" - ] - }, - "Sub_AddSpeedrunTime2":{ - "is_sub":true, - "recognition":"TemplateMatch", - "template":"Speedrun/11.png", - "action":"Click", - "target":[ - 905, 340, 0, 0 + ] + }, + "Sub_AddSpeedrunTime2": { + "is_sub": true, + "recognition": "TemplateMatch", + "template": "Speedrun/11.png", + "action": "Click", + "target": [ + 905, + 340, + 0, + 0 ], - "next":[ + "next": [ "Speedrun2x" ] }, - "Sub_AddSpeedrunTime4":{ - "is_sub":true, - "recognition":"TemplateMatch", - "template":"Speedrun/11.png", - "action":"Click", - "target":[ - 905, 340, 0, 0 + "Sub_AddSpeedrunTime4": { + "is_sub": true, + "recognition": "TemplateMatch", + "template": "Speedrun/11.png", + "action": "Click", + "target": [ + 905, + 340, + 0, + 0 ], - "next":[ + "next": [ "Speedrun4x" ] }, - "Sub_AddSpeedrunTime10":{ - "is_sub":true, - "recognition":"TemplateMatch", - "template":"Speedrun/11.png", - "action":"Click", - "target":[ - 905, 340, 0, 0 + "Sub_AddSpeedrunTime10": { + "is_sub": true, + "recognition": "TemplateMatch", + "template": "Speedrun/11.png", + "action": "Click", + "target": [ + 905, + 340, + 0, + 0 ], - "next":[ + "next": [ "Speedrun10x" ] }, - "AddSpeedrunTime2":{ - "recognition":"TemplateMatch", - "template":"Speedrun/13.png", - "roi":[ - 744, 324, 35, 34 + "AddSpeedrunTime2": { + "recognition": "TemplateMatch", + "template": "Speedrun/13.png", + "roi": [ + 744, + 324, + 35, + 34 ], - "next":[ + "next": [ "CompleteSpeedrun" ] }, - "AddSpeedrunTime4":{ - "recognition":"TemplateMatch", - "template":"Speedrun/14.png", - "roi":[ - 746, 323, 33, 32 + "AddSpeedrunTime4": { + "recognition": "TemplateMatch", + "template": "Speedrun/14.png", + "roi": [ + 746, + 323, + 33, + 32 ], - "next":[ + "next": [ "CompleteSpeedrun" ] }, - "AddSpeedrunTime10":{ - "recognition":"TemplateMatch", - "template":"Speedrun/15.png", - "roi":[ - 741, 325, 42, 33 + "AddSpeedrunTime10": { + "recognition": "TemplateMatch", + "template": "Speedrun/15.png", + "roi": [ + 741, + 325, + 42, + 33 ], - "next":[ + "next": [ "CompleteSpeedrun" ] }, - "requires_more":{ - "recognition":"OCR", - "expected":"需要更多体力", - "next":[ + "requires_more": { + "recognition": "OCR", + "expected": "需要更多体力", + "next": [ "CompleteSpeedrun" ] }, - "CompleteSpeedrun":{ - "recognition":"TemplateMatch", - "template":"Speedrun/12.png", - "action":"Click", - "next":[ + "CompleteSpeedrun": { + "recognition": "TemplateMatch", + "template": "Speedrun/12.png", + "action": "Click", + "next": [ "goodwill", "settlement" ] }, - "goodwill":{ - "recognition":"OCR", - "expected":"好感已满", - "roi":[ - 485, 280, 324, 82 + "goodwill": { + "recognition": "OCR", + "expected": "好感已满", + "roi": [ + 485, + 280, + 324, + 82 ], - "action":"Click", - "target":[ - 770, 430, 510, 290 + "action": "Click", + "target": [ + 770, + 430, + 510, + 290 ], - "next":[ + "next": [ "settlement", "CompleteSpeedrun", "Start1" ] }, - "settlement":{ - "recognition":"OCR", - "expected":"结算完成", - "action":"Click", - "pre_wait_freezes":2000, - "target":[ - 1115, 635, 0, 0 + "settlement": { + "recognition": "OCR", + "expected": "结算完成", + "action": "Click", + "pre_wait_freezes": 2000, + "target": [ + 1115, + 635, + 0, + 0 ], - "next":[ + "next": [ "exit" ] }, - "exit":{ - "recognition":"TemplateMatch", - "template":"Collect/06.png", - "action":"Click", - "next":[ + "exit": { + "recognition": "TemplateMatch", + "template": "Collect/06.png", + "action": "Click", + "pre_wait_freezes": 1000, + "next": [ "home" ] }, - "home":{ - "recognition":"TemplateMatch", - "template":"Startup/10.png", - "action":"Click", - "next":[ + "home": { + "recognition": "TemplateMatch", + "template": "Startup/10.png", + "action": "Click", + "pre_wait_freezes": 1000, + "next": [ "stop" ] }, - "Start1":{ - "recognition":"OCR", - "expected":"开始", - "action":"Click", - "post_wait_freezes":5000, - "next":[ + "stop": { + "action": "StopTask" + }, + "Start1": { + "recognition": "OCR", + "expected": "开始", + "action": "Click", + "post_wait_freezes": 5000, + "next": [ "goodwill", "Start2" ] }, - "Start2":{ - "recognition":"OCR", - "expected":"开始", - "action":"Click", - "post_wait_freezes":5000, - "next":[ + "Start2": { + "recognition": "OCR", + "expected": "开始", + "action": "Click", + "post_wait_freezes": 5000, + "next": [ "substitute_shifts", "await", "situation" ] }, - "substitute_shifts":{ - "recognition":"OCR", - "expected":"代班中", - "inverse":true, - "action":"Click", - "post_wait_freezes":5000, - "target":[ - 1236, 159, 0, 0 + "substitute_shifts": { + "recognition": "OCR", + "expected": "代班中", + "inverse": true, + "action": "Click", + "post_wait_freezes": 5000, + "target": [ + 1236, + 159, + 0, + 0 ], - "next":[ + "next": [ "await" ] }, - "await":{ - "recognition":"OCR", - "expected":"完美评价", - "action":"Click", - "post_wait_freezes":3000, - "target":[ - 770, 425, 0, 0 + "await": { + "recognition": "OCR", + "expected": "完美评价", + "action": "Click", + "post_wait_freezes": 3000, + "target": [ + 770, + 425, + 0, + 0 ], - "next":[ + "next": [ "hit", "situation" ] }, - "hit":{ - "action":"Click", - "target":[ - 695, 75, 0, 0 + "hit": { + "action": "Click", + "target": [ + 695, + 75, + 0, + 0 ], - "next":[ + "next": [ "situation" ] }, - "situation":{ - "recognition":"OCR", - "expected":"确定", - "action":"Click", - "next":[ + "situation": { + "recognition": "OCR", + "expected": "确定", + "action": "Click", + "next": [ "exit" ] }