Closed yEs1do closed 2 weeks ago
════════════════════════════════════════════════════════════════════════════════
───────────────────────────────────── HUNT ─────────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
2024-11-09 19:05:25.586 | script.py:0350 | INFO | module_path: D:\yys\OnmyojiAutoScript-ove-dev\tasks\Hunt\script_task.py, module_name:
script_task
2024-11-09 19:05:25.595 | game_ui.py:0097 | INFO | UI get current page
2024-11-09 19:05:25.599 | logger.py:0284 | INFO | [UI] page_main
2024-11-09 19:05:25.601 | logger.py:0276 | INFO | <<< UI GOTO PAGE_HUNT >>>
2024-11-09 19:05:25.620 | game_ui.py:0245 | INFO | Page switch: page_main -> page_town
2024-11-09 19:05:25.638 | control.py:0074 | INFO | Click ( 763, 272) @ PAGE_MAIN_GOTO_TOWN
2024-11-09 19:05:26.804 | game_ui.py:0245 | INFO | Page switch: page_town -> page_hunt
2024-11-09 19:05:26.813 | control.py:0074 | INFO | Click ( 499, 138) @ PAGE_TOWN_GOTO_HUNT
2024-11-09 19:05:28.599 | game_ui.py:0222 | INFO | Page arrive: page_hunt
───────────────────────────────── NETHERWORLD ──────────────────────────────────
2024-11-09 19:05:28.601 | logger.py:0274 | INFO | NETHERWORLD
2024-11-09 19:05:28.902 | control.py:0074 | INFO | Click (1125, 606) @ NETHERWORLD_NW
2024-11-09 19:05:29.503 | control.py:0074 | INFO | Click ( 416, 596) @ NETHERWORLD_NW_CHALLAGE
2024-11-09 19:05:30.106 | control.py:0074 | INFO | Click ( 820, 436) @ UI_UI_CONFIRM
2024-11-09 19:05:32.214 | control.py:0074 | INFO | Click (1210, 613) @ GI_FIRE
2024-11-09 19:05:32.816 | script_task.py:0145 | INFO | Start battle
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-11-09 19:05:32.818 | logger.py:0274 | INFO | GENERAL BATTLE START
2024-11-09 19:05:32.819 | general_battle.py:0029 | INFO | Current count: 1
2024-11-09 19:05:32.819 | general_battle.py:0035 | INFO | Lock team is not enable
2024-11-09 19:05:32.820 | general_battle.py:0284 | INFO | Preset is disable
2024-11-09 19:05:34.623 | control.py:0074 | INFO | Click (1166, 588) @ GB_PREPARE_HIGHLIGHT
2024-11-09 19:05:35.225 | general_battle.py:0056 | INFO | Click prepare ensure button
2024-11-09 19:05:35.525 | device.py:0113 | INFO | Add stuck record: BATTLE_STATUS_S
2024-11-09 19:05:35.526 | script_task.py:0164 | INFO | Start battle process
2024-11-09 19:08:35.626 | device.py:0113 | INFO | Add stuck record: BATTLE_STATUS_S
2024-11-09 19:11:42.347 | script_task.py:0170 | INFO | Battle win
2024-11-09 19:11:42.654 | control.py:0074 | INFO | Click ( 517, 212) @ GB_WIN
2024-11-09 19:11:46.554 | script_task.py:0093 | INFO | Tomorrow is the Netherworld day
2024-11-09 19:11:46.562 | config.py:0365 | INFO | Delay task `hunt` to 2024-11-10 19:05:48 (server_update=True, target=datetime.datetime(2024,
11, 10, 19, 5, 0, 555755))
2024-11-09 19:11:46.575 | logger.py:0284 | INFO | [hunt.scheduler.next_run] 2024-11-10 19:05:48
2024-11-09 19:11:46.577 | script.py:0445 | INFO | Scheduler: End task `Hunt`
2024-11-09 19:11:46.585 | config.py:0222 | INFO | No task pending
2024-11-09 19:11:46.586 | logger.py:0284 | INFO | [Task] RealmRaid (Enable, 4, 2024-11-09 20:06:54)
2024-11-09 19:11:46.587 | script.py:0309 | INFO | Wait until 2024-11-09 20:06:54 for task `RealmRaid`
2024-11-09 19:11:46.588 | script.py:0321 | INFO | Goto main page during wait
2024-11-09 19:11:46.594 | script.py:0350 | INFO | module_path: D:\yys\OnmyojiAutoScript-ove-dev\tasks\GotoMain\script_task.py, module_name:
script_task
2024-11-09 19:11:46.596 | game_ui.py:0097 | INFO | UI get current page
2024-11-09 19:11:46.617 | logger.py:0284 | INFO | [UI] page_hunt
2024-11-09 19:11:46.619 | logger.py:0276 | INFO | <<< UI GOTO PAGE_MAIN >>>
2024-11-09 19:11:46.624 | game_ui.py:0245 | INFO | Page switch: page_hunt -> page_town
2024-11-09 19:11:46.627 | control.py:0074 | INFO | Click ( 75, 82) @ RES_BACK_BLUE
2024-11-09 19:11:48.123 | game_ui.py:0245 | INFO | Page switch: page_town -> page_main
2024-11-09 19:11:48.130 | control.py:0074 | INFO | Click (1084, 272) @ PAGE_TOWN_GOTO_MAIN
2024-11-09 19:11:50.208 | game_ui.py:0222 | INFO | Page arrive: page_main
2024-11-09 20:06:55.528 | script.py:0440 | INFO | Scheduler: Start task `RealmRaid`
════════════════════════════════════════════════════════════════════════════════
───────────────────────────────────── HUNT ─────────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
2024-11-10 19:05:50.709 | script.py:0350 | INFO | module_path: D:\yys\OnmyojiAutoScript-ove-dev\tasks\Hunt\script_task.py, module_name:
script_task
2024-11-10 19:05:50.717 | game_ui.py:0097 | INFO | UI get current page
2024-11-10 19:05:50.721 | logger.py:0284 | INFO | [UI] page_main
2024-11-10 19:05:50.723 | logger.py:0276 | INFO | <<< UI GOTO PAGE_HUNT >>>
2024-11-10 19:05:50.751 | game_ui.py:0245 | INFO | Page switch: page_main -> page_town
2024-11-10 19:05:50.770 | control.py:0074 | INFO | Click ( 741, 290) @ PAGE_MAIN_GOTO_TOWN
2024-11-10 19:05:51.917 | game_ui.py:0245 | INFO | Page switch: page_town -> page_hunt
2024-11-10 19:05:51.922 | control.py:0074 | INFO | Click ( 509, 181) @ PAGE_TOWN_GOTO_HUNT
2024-11-10 19:05:53.721 | game_ui.py:0222 | INFO | Page arrive: page_hunt
───────────────────────────────── NETHERWORLD ──────────────────────────────────
2024-11-10 19:05:53.723 | logger.py:0274 | INFO | NETHERWORLD
2024-11-10 19:05:54.027 | control.py:0074 | INFO | Click (1090, 697) @ NETHERWORLD_NW
2024-11-10 19:05:54.627 | control.py:0074 | INFO | Click ( 309, 620) @ NETHERWORLD_NW_CHALLAGE
2024-11-10 19:05:55.226 | control.py:0074 | INFO | Click ( 697, 409) @ UI_UI_CONFIRM
2024-11-10 19:05:57.336 | control.py:0074 | INFO | Click (1249, 639) @ GI_FIRE
2024-11-10 19:05:57.938 | script_task.py:0145 | INFO | Start battle
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-11-10 19:05:57.940 | logger.py:0274 | INFO | GENERAL BATTLE START
2024-11-10 19:05:57.940 | general_battle.py:0029 | INFO | Current count: 1
2024-11-10 19:05:57.942 | general_battle.py:0035 | INFO | Lock team is not enable
2024-11-10 19:05:57.943 | general_battle.py:0284 | INFO | Preset is disable
2024-11-10 19:05:59.749 | control.py:0074 | INFO | Click (1130, 605) @ GB_PREPARE_HIGHLIGHT
2024-11-10 19:06:01.254 | control.py:0074 | INFO | Click (1198, 591) @ GB_PREPARE_HIGHLIGHT
2024-11-10 19:06:01.554 | general_battle.py:0056 | INFO | Click prepare ensure button
2024-11-10 19:06:01.861 | device.py:0113 | INFO | Add stuck record: BATTLE_STATUS_S
2024-11-10 19:06:01.863 | script_task.py:0164 | INFO | Start battle process
2024-11-10 19:09:01.969 | device.py:0113 | INFO | Add stuck record: BATTLE_STATUS_S
2024-11-10 19:12:10.809 | script_task.py:0170 | INFO | Battle win
2024-11-10 19:12:11.116 | control.py:0074 | INFO | Click ( 481, 149) @ GB_WIN
2024-11-10 19:12:15.015 | script_task.py:0090 | INFO | Tomorrow is the Kirin day
2024-11-10 19:12:15.023 | config.py:0365 | INFO | Delay task `hunt` to 2024-11-11 20:51:14 (server_update=True, target=datetime.datetime(2024,
11, 11, 20, 51, 0, 16439))
2024-11-10 19:12:15.035 | logger.py:0284 | INFO | [hunt.scheduler.next_run] 2024-11-11 20:51:14
2024-11-10 19:12:15.037 | script.py:0445 | INFO | Scheduler: End task `Hunt`
2024-11-10 19:12:15.045 | config.py:0222 | INFO | No task pending
2024-11-10 19:12:15.047 | logger.py:0284 | INFO | [Task] RyouToppa (Enable, 6, 2024-11-10 19:12:17)
2024-11-10 19:12:15.048 | script.py:0309 | INFO | Wait until 2024-11-10 19:12:17 for task `RyouToppa`
2024-11-10 19:12:15.049 | script.py:0321 | INFO | Goto main page during wait
2024-11-10 19:12:15.054 | script.py:0350 | INFO | module_path: D:\yys\OnmyojiAutoScript-ove-dev\tasks\GotoMain\script_task.py, module_name:
script_task
2024-11-10 19:12:15.056 | game_ui.py:0097 | INFO | UI get current page
2024-11-10 19:12:15.078 | logger.py:0284 | INFO | [UI] page_hunt
2024-11-10 19:12:15.080 | logger.py:0276 | INFO | <<< UI GOTO PAGE_MAIN >>>
2024-11-10 19:12:15.096 | game_ui.py:0245 | INFO | Page switch: page_hunt -> page_town
2024-11-10 19:12:15.099 | control.py:0074 | INFO | Click ( 106, 77) @ RES_BACK_BLUE
2024-11-10 19:12:16.566 | game_ui.py:0245 | INFO | Page switch: page_town -> page_main
2024-11-10 19:12:16.574 | control.py:0074 | INFO | Click (1083, 248) @ PAGE_TOWN_GOTO_MAIN
2024-11-10 19:12:18.668 | game_ui.py:0222 | INFO | Page arrive: page_main
2024-11-10 19:12:18.669 | script.py:0440 | INFO | Scheduler: Start task `RyouToppa`
已完成
可以
如题,先不要合并,等我把之前的狭间也改一改已完成,加入 custom_next_run 方法可供未来其他任务调用。狭间、狩猎战的时间每天都不一样,宴会、首领退治也是只有指定的日期才开启,未来可使用此方法精确运行时间。 注意:使用时切勿使用强制执行时间,后者优先级更高。需要将时间调整至默认 9:00:00。