503 lines
14 KiB
JSON
503 lines
14 KiB
JSON
{
|
|
"needswitch": true,
|
|
"infinite_loop_enabled": true,
|
|
"wait_minutes": 5,
|
|
"auto_update": {
|
|
"enabled": false,
|
|
"manifest_url": "",
|
|
"fail_closed": true,
|
|
"require_sha256": true,
|
|
"timeout_seconds": 20,
|
|
"installer_args": [
|
|
"/VERYSILENT",
|
|
"/SUPPRESSMSGBOXES",
|
|
"/NORESTART",
|
|
"/CURRENTUSER"
|
|
]
|
|
},
|
|
"min_prize_value_yuan": 100.0,
|
|
"min_participants": 0,
|
|
"max_participants": 0,
|
|
"skip_if_countdown_gt_seconds": 10,
|
|
"reset_after_swipes_enabled": true,
|
|
"reset_after_swipes": 20,
|
|
"reset_after_swipes_action": "swipe",
|
|
"reenter_live_entry_mode": "screen_center",
|
|
"auto_join_fansclub": true,
|
|
"fansclub_fail_action": "switch",
|
|
"high_value_fudai_enabled": true,
|
|
"high_value_fudai_threshold_yuan": 150.0,
|
|
"high_value_fudai_join_ahead_seconds": 100,
|
|
"high_value_fudai_max_swipe_back": 50,
|
|
"high_value_fudai_max_reservations": 9999,
|
|
"high_value_fudai_after_action": "continue",
|
|
"high_value_room_revisit_enabled": false,
|
|
"high_value_room_revisit_only_current_run": false,
|
|
"reservation_back_verify_enabled": true,
|
|
"reservation_back_swipe_delay": 0.1,
|
|
"reservation_back_verify_wait_seconds": 3.0,
|
|
"desktop_icon_x": 153,
|
|
"desktop_icon_y": 260,
|
|
"yanghao_fallback_live_x": 540,
|
|
"yanghao_fallback_live_y": 2000,
|
|
"yanghao_fallback_enter_live_x": 540,
|
|
"yanghao_fallback_enter_live_y": 1200,
|
|
"fudai_find_max_attempts": 99999,
|
|
"fudai_icon_max_wait_seconds": 7.0,
|
|
"fudai_icon_retry_delay_seconds": 0.1,
|
|
"fudai_exit_after_misses": 7,
|
|
"enable_back_on_misses": false,
|
|
"fudai_click_wait_seconds": 1.5,
|
|
"fudai_detail_initial_wait_seconds": 0.8,
|
|
"fudai_detail_verified_wait_seconds": 0.2,
|
|
"fudai_detail_retry_delay_seconds": 0.5,
|
|
"fudai_detail_save_debug_images": true,
|
|
"fudai_detail_ui_mode": "auto",
|
|
"fudai_detail_ocr_content_enabled": true,
|
|
"fudai_detail_ocr_value_enabled": true,
|
|
"fudai_detail_ocr_countdown_enabled": true,
|
|
"fudai_detail_ocr_task_enabled": true,
|
|
"fudai_detail_ocr_task_count_enabled": true,
|
|
"fudai_detail_ocr_button_enabled": true,
|
|
"fudai_detail_ocr_participants_enabled": false,
|
|
"fudai_detail_ocr_live_title_enabled": true,
|
|
"pixel_detect_fudai_icon_enabled": true,
|
|
"pixel_detect_coupon_popup_enabled": true,
|
|
"pixel_detect_shopping_redpacket_enabled": true,
|
|
"pixel_detect_lottery_result_enabled": true,
|
|
"pixel_detect_attend_button_enabled": true,
|
|
"pixel_detect_fansclub_join_enabled": true,
|
|
"pixel_detect_fudai_detail_enabled": true,
|
|
"pixel_detect_live_room_enabled": true,
|
|
"ocr_lottery_result_enabled": true,
|
|
"ocr_coupon_popup_enabled": true,
|
|
"ocr_shopping_redpacket_enabled": false,
|
|
"ocr_stage_page_enabled": true,
|
|
"fudai_disable_content_recognition": false,
|
|
"fudai_disable_task_recognition": false,
|
|
"yanghao_recommend_duration_seconds": 180,
|
|
"yanghao_recommend_interval_seconds": 600,
|
|
"yanghao_like_prob": 0.1,
|
|
"yanghao_fav_prob": 0.05,
|
|
"yanghao_comment_prob": 0.25,
|
|
"yanghao_icon_roi_size": 240,
|
|
"yanghao_icon_match_threshold": 0.77,
|
|
"yanghao_step_screenshot": true,
|
|
"yanghao_like_roi_offset_x": 0,
|
|
"yanghao_like_roi_offset_y": -50,
|
|
"yanghao_like_roi_scale": 1.0,
|
|
"yanghao_fav_roi_offset_x": 40,
|
|
"yanghao_fav_roi_offset_y": 0,
|
|
"yanghao_fav_roi_scale": 1.0,
|
|
"yanghao_like_rect_x1": 933,
|
|
"yanghao_like_rect_y1": 1164,
|
|
"yanghao_like_rect_x2": 1042,
|
|
"yanghao_like_rect_y2": 1262,
|
|
"yanghao_fav_rect_x1": 938,
|
|
"yanghao_fav_rect_y1": 1567,
|
|
"yanghao_fav_rect_x2": 1036,
|
|
"yanghao_fav_rect_y2": 1665,
|
|
"contains_want": [],
|
|
"contains_not_want": [
|
|
"首饰盒",
|
|
"袜子"
|
|
],
|
|
"fudai_quiet_hours_enabled": true,
|
|
"fudai_quiet_start_hour": 2,
|
|
"fudai_quiet_end_hour": 9,
|
|
"yanghao_enabled": false,
|
|
"yanghao_enable_actions": true,
|
|
"yanghao_like_icon_x": 988,
|
|
"yanghao_like_icon_y": 1218,
|
|
"yanghao_fav_icon_x": 988,
|
|
"yanghao_fav_icon_y": 1616,
|
|
"yanghao_like_template_path": "assets/like.png",
|
|
"yanghao_fav_template_path": "assets/fav.png",
|
|
"yanghao_after_dwell_swipe_direction": "up",
|
|
"yanghao_after_dwell_swipe_distance_px": 900,
|
|
"yanghao_comment_btn_x": 988,
|
|
"yanghao_comment_btn_y": 1410,
|
|
"yanghao_dwell_on_action_min_seconds": 5.0,
|
|
"yanghao_dwell_on_action_max_seconds": 20.0,
|
|
"yanghao_comment_input_x": 0,
|
|
"yanghao_comment_input_y": 0,
|
|
"yanghao_comment_send_x": 0,
|
|
"yanghao_comment_send_y": -1,
|
|
"yanghao_comment_close_x": 0,
|
|
"yanghao_comment_close_y": 0,
|
|
"yanghao_comment_texts": [
|
|
"好看!",
|
|
"赞一个",
|
|
"真不错",
|
|
"喜欢这个风格",
|
|
"太棒了",
|
|
"很有创意",
|
|
"支持一下",
|
|
"笑死我了",
|
|
"学习了",
|
|
"被圈粉了",
|
|
"期待更多",
|
|
"必须收藏",
|
|
"这也太治愈了",
|
|
"质量很高",
|
|
"简直绝了",
|
|
"画面太美了",
|
|
"配色好舒服",
|
|
"氛围感满分",
|
|
"做得很用心",
|
|
"好想试试这个",
|
|
"安利给朋友",
|
|
"收藏备用",
|
|
"太有意思了",
|
|
"这音乐选得太绝",
|
|
"太会了",
|
|
"入坑了",
|
|
"好惊喜",
|
|
"真有参考价值",
|
|
"好暖心的一条",
|
|
"笑哭,我服了",
|
|
"细节处理得很好",
|
|
"太有才了",
|
|
"看着就治愈",
|
|
"学习到新方法",
|
|
"大家都来看看",
|
|
"点赞支持",
|
|
"完美",
|
|
"好看到不行"
|
|
],
|
|
"yanghao_like_keywords": [],
|
|
"yanghao_fav_keywords": [],
|
|
"stage_diag_max_time": 2.0,
|
|
"stage_diag_max_step_time": 0.5,
|
|
"live_room_match_threshold": 0.8,
|
|
"enable_ocr_mode1": false,
|
|
"fudai_template_match_enabled": false,
|
|
"fudai_template_match_threshold": 0.7,
|
|
"lucky_draw_red_ratio_threshold": 0.8,
|
|
"shopping_redpacket_red_ratio_threshold": 0.2,
|
|
"y_pianyi": 0,
|
|
"skip_if_countdown_lt_seconds": 5,
|
|
"no_attend_timeout_minutes": 30.0,
|
|
"logging": {
|
|
"level": "DEBUG",
|
|
"file_path": "logs/unified.log",
|
|
"keep_days": 1,
|
|
"use_dated_logs": true,
|
|
"rotation": {
|
|
"enabled": true,
|
|
"max_bytes": 10485760,
|
|
"backup_count": 5,
|
|
"when": "midnight",
|
|
"interval": 1
|
|
},
|
|
"beautify_output": true,
|
|
"show_timestamps": true,
|
|
"show_execution_times": true,
|
|
"debug_detail_level": "normal",
|
|
"error_detail_level": "full",
|
|
"action_log_format": "concise",
|
|
"log_format_mode": "simple",
|
|
"stage_diag_verbose": true,
|
|
"color_output": true,
|
|
"max_log_lines_display": 1000,
|
|
"auto_scroll_logs": true,
|
|
"performance_tracking": {
|
|
"enabled": true,
|
|
"track_function_calls": true,
|
|
"track_database_queries": false,
|
|
"slow_operation_threshold_ms": 100
|
|
},
|
|
"error_logging": {
|
|
"capture_stack_traces": true,
|
|
"include_context": true,
|
|
"max_error_logs": 1000,
|
|
"error_categories": [
|
|
"ocr",
|
|
"network",
|
|
"validation",
|
|
"system",
|
|
"user_action"
|
|
]
|
|
},
|
|
"compress_logs": true,
|
|
"max_total_size_gb": 0.2,
|
|
"compress_after_days": 1,
|
|
"max_bytes": 104857600,
|
|
"backup_count": 10,
|
|
"enable_monitor": true,
|
|
"monitor_warning_mb": 60.0,
|
|
"monitor_critical_mb": 200.0
|
|
},
|
|
"debug_captures": {
|
|
"enabled": true,
|
|
"keep_days": 1,
|
|
"max_files": 1000,
|
|
"auto_cleanup": true,
|
|
"async_save": false,
|
|
"log_on_complete": false
|
|
},
|
|
"fudai_detail_template_threshold": 0.52,
|
|
"switch_room_wait_after_stage_diag_seconds": 7.5,
|
|
"coupon_template_match_threshold": 0.35,
|
|
"attend_button_red_ratio_threshold": 0.25,
|
|
"fansclub_join_red_ratio_threshold": 0.25,
|
|
"shopping_redpacket_ocr_confidence_threshold": 0.35,
|
|
"reservation_test_mode": false,
|
|
"swipe_duration_ms": 250,
|
|
"gui": {
|
|
"theme": "litera",
|
|
"realtime_status": {
|
|
"refresh_interval_ms": 1000,
|
|
"tail_items": 50
|
|
}
|
|
},
|
|
"fansclub_click_delay": 0.6,
|
|
"fansclub_auto_join_wait_seconds": 5.0,
|
|
"fansclub_manual_wait_seconds": 3.0,
|
|
"enable_streaming_screenshot": false,
|
|
"yanghao_only": false,
|
|
"record_room_title_mapping_enabled": true,
|
|
"high_value_fudai_poll_before_seconds": 10.0,
|
|
"high_value_room_revisit_min_interval_seconds": 300,
|
|
"high_value_room_revisit_max_per_run": 20,
|
|
"high_value_room_revisit_min_prize_value": 1000.0,
|
|
"high_value_room_revisit_max_age_days": 1,
|
|
"swipe_up_start_y": 1200,
|
|
"swipe_up_end_y": 600,
|
|
"swipe_down_back_enabled": false,
|
|
"swipe_down_back_count": 3,
|
|
"log_unified_enabled": true,
|
|
"log_unified_path": "logs/unified.log",
|
|
"last_wifi_target": {
|
|
"target": "192.168.10.102:39783",
|
|
"model": "PEPM00",
|
|
"saved_at": 1782148222
|
|
},
|
|
"region_coords_edit_enabled": false,
|
|
"fudai_detail_body_bluepurple_threshold": 0.45,
|
|
"fudai_detail_body_dark_threshold": 0.35,
|
|
"fudai_task_status_template_threshold": 0.26,
|
|
"fudai_detail_regions": {
|
|
"legacy": {
|
|
"content": [
|
|
389,
|
|
1273,
|
|
1000,
|
|
1534
|
|
],
|
|
"value": [
|
|
643,
|
|
1466,
|
|
769,
|
|
1656
|
|
],
|
|
"countdown_full": [
|
|
390,
|
|
1110,
|
|
690,
|
|
1230
|
|
],
|
|
"task_list": [
|
|
50,
|
|
1621,
|
|
1032,
|
|
1960
|
|
],
|
|
"task_count": [
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"participants": [
|
|
389,
|
|
1273,
|
|
1000,
|
|
1534
|
|
],
|
|
"button": [
|
|
306,
|
|
2030,
|
|
780,
|
|
2180
|
|
],
|
|
"live_title": [
|
|
130,
|
|
120,
|
|
560,
|
|
225
|
|
]
|
|
},
|
|
"v2_0_two_task": {
|
|
"content": [
|
|
360,
|
|
1410,
|
|
1035,
|
|
1495
|
|
],
|
|
"value": [
|
|
300,
|
|
1585,
|
|
650,
|
|
1685
|
|
],
|
|
"countdown_full": [
|
|
760,
|
|
1328,
|
|
1038,
|
|
1398
|
|
],
|
|
"task_list": [
|
|
60,
|
|
1840,
|
|
1030,
|
|
2005
|
|
],
|
|
"task_count": [
|
|
860,
|
|
1770,
|
|
1035,
|
|
1875
|
|
],
|
|
"participants": [
|
|
520,
|
|
1325,
|
|
760,
|
|
1415
|
|
],
|
|
"button": [
|
|
70,
|
|
2020,
|
|
1010,
|
|
2165
|
|
],
|
|
"live_title": [
|
|
130,
|
|
120,
|
|
560,
|
|
225
|
|
]
|
|
},
|
|
"v2_0_one_task": {
|
|
"content": [
|
|
360,
|
|
1460,
|
|
1035,
|
|
1545
|
|
],
|
|
"value": [
|
|
350,
|
|
1640,
|
|
760,
|
|
1735
|
|
],
|
|
"countdown_full": [
|
|
769,
|
|
1384,
|
|
1029,
|
|
1442
|
|
],
|
|
"info_line": [
|
|
430,
|
|
1315,
|
|
1055,
|
|
1435
|
|
],
|
|
"task_list": [
|
|
61,
|
|
1845,
|
|
885,
|
|
2005
|
|
],
|
|
"task_count": [
|
|
889,
|
|
1855,
|
|
1040,
|
|
1960
|
|
],
|
|
"participants": [
|
|
516,
|
|
1396,
|
|
743,
|
|
1443
|
|
],
|
|
"button": [
|
|
70,
|
|
2050,
|
|
1010,
|
|
2195
|
|
],
|
|
"live_title": [
|
|
130,
|
|
120,
|
|
560,
|
|
225
|
|
]
|
|
}
|
|
},
|
|
"pixel_regions": {
|
|
"lottery_result": {
|
|
"button": [
|
|
250,
|
|
1275,
|
|
825,
|
|
1435
|
|
],
|
|
"pixel": [
|
|
290,
|
|
1300,
|
|
790,
|
|
1415
|
|
],
|
|
"click": [
|
|
540,
|
|
1360,
|
|
0,
|
|
0
|
|
]
|
|
},
|
|
"attend_button": [
|
|
200,
|
|
2000,
|
|
880,
|
|
2120
|
|
],
|
|
"fansclub_join": [
|
|
200,
|
|
1940,
|
|
880,
|
|
2140
|
|
],
|
|
"coupon_popup": [
|
|
9,
|
|
1173,
|
|
1079,
|
|
2255
|
|
],
|
|
"shopping_redpacket": [
|
|
200,
|
|
300,
|
|
880,
|
|
1400
|
|
],
|
|
"fudai_detail_body": [
|
|
0,
|
|
1160,
|
|
1080,
|
|
2250
|
|
],
|
|
"fudai_task_status": [
|
|
820,
|
|
1815,
|
|
1050,
|
|
2035
|
|
],
|
|
"live_room_icon_bbox": [
|
|
999,
|
|
172,
|
|
1028,
|
|
202
|
|
]
|
|
}
|
|
}
|