Files
douyin_guaji-main/config.json
T
Your Name ea8d221543 feat: Add runtime overrides for reservation settings and update high value rooms
- Introduced new command-line arguments for runtime configuration:
  - `--reservation-back-swipe-delay`: Adjusts swipe delay after rollback (only effective when rollback verification is disabled).
  - `--reservation-preempt-min-value`: Sets the minimum value for preempting reservations.
  - `--fudai-find-max-attempts`: Limits the maximum attempts to find the 福袋 icon.

- Updated `high_value_rooms.json` to reflect new room entries and updated timestamps.
- Modified `reservations.json` to change the current reservation details and added a new reservation entry.
- Enhanced `web_gui.py` to support new runtime parameters from the GUI.
- Updated `app.js` and `index.html` in the web UI to include new settings for 福袋 attempts, reservation preemption value, and swipe delay.
2025-12-15 20:31:41 +08:00

155 lines
5.7 KiB
JSON

{
"log_unified_enabled": true,
"log_unified_path": "logs/unified.log",
"webgui_log_capacity": 0,
"contains_want": [],
"contains_not_want": [
"袜子1"
],
"min_prize_value_yuan": 199.7,
"min_participants": 0,
"max_participants": 0,
"skip_if_countdown_lt_seconds": 5,
"auto_join_fansclub": true,
"fansclub_fail_action": "switch",
"high_value_fudai_enabled": true,
"high_value_fudai_threshold_yuan": 500,
"high_value_fudai_join_ahead_seconds": 90,
"high_value_fudai_max_swipe_back": 0,
"high_value_fudai_max_reservations": 4,
"high_value_fudai_after_action": "continue",
"fudai_abnormal_reopen_delay_seconds": 1.2,
"fudai_quiet_hours_enabled": true,
"fudai_quiet_start_hour": 2,
"fudai_quiet_end_hour": 7,
"no_fudai_watchdog_enabled": false,
"reset_after_swipes": 0,
"yanghao_enabled": false,
"yanghao_recommend_duration_seconds": 216,
"yanghao_recommend_interval_seconds": 600,
"yanghao_enable_actions": false,
"yanghao_like_prob": 0.0,
"yanghao_fav_prob": 0.0,
"yanghao_like_icon_x": 988,
"yanghao_like_icon_y": 1290,
"yanghao_fav_icon_x": 985,
"yanghao_fav_icon_y": 1637,
"yanghao_like_roi_offset_x": 0,
"yanghao_like_roi_offset_y": -50,
"yanghao_fav_roi_offset_x": 40,
"yanghao_fav_roi_offset_y": 0,
"yanghao_icon_roi_size": 240,
"yanghao_icon_match_threshold": 0.72,
"yanghao_like_template_path": "assets/like.png",
"yanghao_fav_template_path": "assets/fav.png",
"yanghao_step_screenshot": false,
"yanghao_comment_prob": 0.0,
"yanghao_comment_btn_x": 981,
"yanghao_comment_btn_y": 1399,
"yanghao_comment_input_x": 250,
"yanghao_comment_input_y": 2218,
"yanghao_comment_send_x": 906,
"yanghao_comment_send_y": 1298,
"yanghao_comment_close_x": 586,
"yanghao_comment_close_y": 385,
"yanghao_comment_texts": [
"????????????",
"??????????????????????????????",
"?????????????????????????????????????????????",
"???????????????????????????????????????",
"???????????????????????????",
"??????????????????????????????????????????",
"???????????????????????????",
"?????????????????????",
"??????????????????",
"????????????????????????",
"????????????????????????",
"???????????????????????????",
"????????????????????????????????????",
"????????????????????????",
"????????????????????????",
"????????????????????????????????????",
"???????????????????????????",
"?????????????????????",
"????????????-1",
"????????????",
"??????????????????????????????????????????",
"?????????????????????????????????????????????",
"??????????????????????????????????????????????????????????????????????????????????????????",
"????????????????????????????????????",
"?????????????????????????????????????????????",
"?????????????????????????????????????????????????????????????????????",
"?????????????????????????????????????????????",
"??????????????????????????????????????????",
"????????????????????????????????????????????????",
"???????????????????????????????????????",
"????????????",
"?????????????????????????????????",
"????????????????????????",
"???????????????????????????????????????",
"??????????????????????????????????????????????????????????????????",
"??????????????????",
"???????????????????????????????????????",
"????????????",
"???????????????????????????",
"????????????????????????????????????????????????",
"???????????????????????????",
"?????????????????????????????????",
"??????????????????",
"????????????????????????",
"?????????????????????????????????????????????",
"????????????????????????????????????",
"????????????????????????",
"?????????",
"????????????",
"????????????",
"DJ???????????????????????????????????????????????????",
"???????????????????????????",
"?????????????????????????????????????????????",
"???????????????????????????????????????????????????????????????????????????",
"???????????????????????????",
"??????????????????????????????",
"???????????????????????????",
"???????????????????????????",
"?????????????????????????????????",
"???XX???????????????",
"???????????????????????????",
"??????????????????",
"??????????????????",
"???????????????????????????",
"???????????????????????????????????????",
"????????????????????????",
"??????????????????????????????",
"??????????????????",
"??????????????????????????????",
"?????????????????????????????????"
],
"yanghao_after_dwell_swipe_direction": "up",
"yanghao_after_dwell_swipe_distance_px": 900,
"yanghao_like_keywords": [
"???",
"??????",
"Like"
],
"yanghao_fav_keywords": [
"??????",
"????????????",
"????????????",
"Favorite"
],
"yanghao_fallback_close_x": 1030,
"yanghao_fallback_close_y": 120,
"yanghao_fallback_live_x": 718,
"yanghao_fallback_live_y": 169,
"yanghao_fallback_enter_live_x": 119,
"yanghao_fallback_enter_live_y": 345,
"reset_after_swipes_enabled": false,
"high_value_room_revisit_enabled": false,
"high_value_room_revisit_only_current_run": false,
"reservation_back_verify_enabled": false,
"fudai_icon_max_wait_seconds": 10,
"fudai_icon_adaptive_enabled": false,
"fudai_find_max_attempts": 5,
"reservation_preempt_min_value": 0
}