feat: add recruit sign-in automation

This commit is contained in:
admin committed 2026-10-05 04:18:02 +08:00
1 parent 19c502f659
commit 8b7c5d45da
12 files changed
+288

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
{
"name": "商城英雄招募限时 UP 神灯签到",
"states": {
"home": [{"template": "home.png", "search": [150, 730, 410, 865]}],
"shop": [{"template": "recruit_shop_header.png", "search": [50, 20, 510, 220], "threshold": 0.94}],
"lamp": [{"template": "recruit_lamp_title.png", "search": [130, 100, 430, 240], "threshold": 0.88}],
"gift": [{"template": "recruit_gift_label.png", "search": [70, 240, 280, 330], "threshold": 0.88}],
"reward": [{"template": "recruit_reward.png", "search": [100, 180, 460, 400], "threshold": 0.78, "max_color_difference": 40}]
},
"clicks": {
"shop": [0.10, 0.94],
"task_tab": [0.37, 0.89],
"gift_tab": [0.65, 0.89],
"dismiss_reward": [0.50, 0.72],
"close_lamp": [0.915, 0.205],
"shop_back": [0.10, 0.94]
},
"swipes": {
"shop_down": [[0.50, 0.36], [0.50, 0.78]],
"shop_up": [[0.50, 0.78], [0.50, 0.30]],
"task_list_up": [[0.50, 0.76], [0.50, 0.33]]
},
"card_task_dot": {"template": "recruit_task_dot.png", "search": [440, 120, 540, 820], "threshold": 0.88, "max_color_difference": 25},
"task_button": {"template": "recruit_task_button.png", "search": [430, 120, 540, 820], "threshold": 0.88, "max_color_difference": 25},
"task_tab_dot": {"template": "recruit_task_dot.png", "search": [220, 830, 300, 900], "threshold": 0.80, "max_color_difference": 25},
"gift_tab_dot": {"template": "recruit_task_dot.png", "search": [390, 830, 480, 900], "threshold": 0.90, "max_color_difference": 25},
"task_claim": {"template": "recruit_claim.png", "search": [330, 240, 510, 820], "threshold": 0.90, "max_color_difference": 25},
"free_button": {"template": "recruit_free.png", "search": [330, 240, 510, 420], "threshold": 0.90, "max_color_difference": 25},
"limits": {"scroll_to_recruit": 3, "cards": 12, "card_pages": 3, "task_claims": 20, "task_scrolls": 3},
"swipe_settle_seconds": 0.5
}