feat: 添加实时监控点击任务功能
This commit is contained in:
commit
f09c758e7a
1683
integrated_task_tool.py
Normal file
1683
integrated_task_tool.py
Normal file
File diff suppressed because it is too large
Load Diff
69
task_config.json
Normal file
69
task_config.json
Normal file
@ -0,0 +1,69 @@
|
||||
{
|
||||
"screenshot_path": "/Users/peak/yysscript/screenshot.png",
|
||||
"target_path": "/Users/peak/yysscript/ss.png",
|
||||
"threshold": 0.8,
|
||||
"monitor": {
|
||||
"left": 450,
|
||||
"top": 240,
|
||||
"width": 1490,
|
||||
"height": 1000
|
||||
},
|
||||
"kun28_281": "",
|
||||
"kun28_ts": "",
|
||||
"kun28_ss": "",
|
||||
"kun28_yd": "",
|
||||
"monitor_presets": {
|
||||
"困288": {
|
||||
"images": [
|
||||
"/Users/peak/yysscript/281.png",
|
||||
"/Users/peak/yysscript/kun28_boss.png",
|
||||
"/Users/peak/yysscript/kun28_gift.png",
|
||||
"/Users/peak/yysscript/kun28_normal.png",
|
||||
"/Users/peak/yysscript/ts.png",
|
||||
"/Users/peak/yysscript/ltwc.png",
|
||||
"/Users/peak/yysscript/yd.png"
|
||||
],
|
||||
"interval": 2,
|
||||
"click_wait": 3
|
||||
}
|
||||
},
|
||||
"sequence_presets": {
|
||||
"寮突": {
|
||||
"images": [
|
||||
"/Users/peak/yysscript/tp1.png",
|
||||
"/Users/peak/yysscript/jg.png",
|
||||
"/Users/peak/yysscript/ltwc.png"
|
||||
],
|
||||
"cycle_times": 0,
|
||||
"wait_time": 3,
|
||||
"interval": 5,
|
||||
"max_fail": 20,
|
||||
"threshold": 0.8,
|
||||
"max_offset": 15
|
||||
},
|
||||
"困28": {
|
||||
"images": [
|
||||
"/Users/peak/yysscript/kun28_normal.png",
|
||||
"/Users/peak/yysscript/ltwc.png"
|
||||
],
|
||||
"cycle_times": 0,
|
||||
"wait_time": 3,
|
||||
"interval": 10,
|
||||
"max_fail": 0,
|
||||
"threshold": 0.8,
|
||||
"max_offset": 15
|
||||
}
|
||||
},
|
||||
"monitor_click_images": [
|
||||
"/Users/peak/yysscript/281.png",
|
||||
"/Users/peak/yysscript/kun28_boss.png",
|
||||
"/Users/peak/yysscript/kun28_gift.png",
|
||||
"/Users/peak/yysscript/kun28_normal.png",
|
||||
"/Users/peak/yysscript/ts.png",
|
||||
"/Users/peak/yysscript/ltwc.png",
|
||||
"/Users/peak/yysscript/yd.png"
|
||||
],
|
||||
"monitor_interval": 2,
|
||||
"monitor_click_wait": 3,
|
||||
"monitor_offset": 15
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user