Opt: use LoggerUnlock in storage
使用仓库内的战役信息记录仪和隐秘海域信息记录仪,图片用image_fixup处理过了
implementation seems reasonable and functionally does not hinder anything but would wait on owner's input whether really need to add to opsi_daily since clear_obscure and clear_abyssal already naturally call storage_logger_use_all
opsi_daily does not incorporate loggers into its sequence of running I think? can just keep the new assets and conditions to interface with those assets when handling these specific loggers
implementation seems reasonable and functionally does not hinder anything but would wait on owner's input whether really need to add to
opsi_dailysinceclear_obscureandclear_abyssalalready naturally callstorage_logger_use_all
opsi_dailydoes not incorporate loggers into its sequence of running I think? can just keep the new assets and conditions to interface with those assets when handling these specific loggers
thx for suggestions
Users may not enable task OpsiAbyssal and OpsiObscure. For Hidden Zone Data Logger, it's ok to use it in clear_obscure and clear_abyssal
I added it into OpsiDaily since self._os_explore_task_delay() in OpsiExplore will delay all opsi tasks except OpsiDaily.
For Operation Siren Data Logger, there is no chance to use logger before os explore finished.
Users may not enable task
OpsiAbyssalandOpsiObscure. For Hidden Zone Data Logger, it's ok to use it inclear_obscureandclear_abyssalI added it intoOpsiDailysinceself._os_explore_task_delay()inOpsiExplorewill delay all opsi tasks exceptOpsiDaily. For Operation Siren Data Logger, there is no chance to use logger before os explore finished.
that is fair argument though if a user wants to min max opsi then it be weird for them to not have it enabled
anyway looks fine for the most part, probably just wait on owner input if any. if no traction, I see no potential negative impact and can merge
just had one more comment, not sure if it was intentional given STORAGE_USE doesn't toggle the success flag. copy and paste accidental carry over?
@LmeSzinc any concerns with this merging? feels like a small add quick step in the daily process
if anything, I might suggest given this is for the unlock logger after voucher shop, maybe just place it after this https://github.com/LmeSzinc/AzurLaneAutoScript/blob/master/module/os/operation_siren.py#L308
but I get the idea of wanting to use all the loggers daily too so it can just do so naturally that way, but at the same time I think loggers are only effectively used during OpSiAbyssal/Obscure though so they are used then, of course not having them enabled then skips it
测试用掉记录仪的log
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
OPSIDAILY
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════════════ OS INIT ═══════════════════════════════════════════════════════
2025-09-02 00:06:36.084 | INFO | OS INIT
2025-09-02 00:06:36.132 | INFO | <<< UI ENSURE >>>
2025-09-02 00:06:36.135 | INFO | UI get current page
2025-09-02 00:06:36.224 | INFO | [UI] page_game_room
2025-09-02 00:06:36.226 | INFO | Goto page_os
2025-09-02 00:06:36.229 | INFO | <<< UI GOTO PAGE_OS >>>
2025-09-02 00:06:36.272 | INFO | Page switch: page_game_room -> page_main
2025-09-02 00:06:36.275 | INFO | Click (1233, 40) @ GAME_ROOM_GOTO_MAIN
2025-09-02 00:06:37.184 | INFO | Page switch: page_main_white -> page_campaign_menu
2025-09-02 00:06:37.188 | INFO | Click (1177, 493) @ MAIN_GOTO_CAMPAIGN_WHITE
2025-09-02 00:06:37.693 | INFO | Page switch: page_campaign_menu -> page_os
2025-09-02 00:06:37.697 | INFO | Click ( 777, 398) @ CAMPAIGN_MENU_GOTO_OS
2025-09-02 00:06:39.288 | INFO | Page arrive: page_os
2025-09-02 00:06:39.292 | INFO | <<< ZONE INIT >>>
2025-09-02 00:06:39.316 | INFO | Get zone name
2025-09-02 00:06:39.409 | INFO | Loading OCR model: ./bin/cnocr_models/cnocr
2025-09-02 00:06:39.583 | INFO | [MAP_NAME 0.206s] 东南洋脊B
2025-09-02 00:06:39.588 | INFO | Map name processed: 东南洋脊B
2025-09-02 00:06:39.595 | INFO | [Zone] [52|Southeast Ocean Ridge B]
────────────────────────────────────────────────── AFTER AUTO SEARCH ──────────────────────────────────────────────────
2025-09-02 00:06:39.601 | INFO | AFTER AUTO SEARCH
2025-09-02 00:06:39.642 | INFO | No EMP debuff on current fleet
2025-09-02 00:06:39.646 | INFO | Handle after auto search finished, solved=False
2025-09-02 00:06:39.651 | INFO | Current fleet is not afflicted with the low resolve debuff
2025-09-02 00:06:39.658 | INFO | Run auto search, question=True, rescan=False
─────────────────────────────────────────────────── OS AUTO SEARCH ────────────────────────────────────────────────────
2025-09-02 00:06:39.663 | INFO | OS AUTO SEARCH
2025-09-02 00:06:39.712 | INFO | Click (1250, 535) @ AUTO_SEARCH_OS_MAP_OPTION_OFF
2025-09-02 00:06:41.455 | INFO | OS auto search finished
2025-09-02 00:06:41.460 | INFO | [HP] 98% 98% 98% 98% 98% 98%
2025-09-02 00:06:41.468 | INFO | [Repair icon] [False, False, False, False, False, False]
─────────────────────────────────────────────────── CLEAR QUESTION ────────────────────────────────────────────────────
2025-09-02 00:06:41.471 | INFO | CLEAR QUESTION
2025-09-02 00:06:41.545 | INFO | -- -- --
2025-09-02 00:06:41.547 | INFO | -- -- -- -- -- -- --
2025-09-02 00:06:41.548 | INFO | -- -- -- -- -- -- -- -- --
2025-09-02 00:06:41.550 | INFO | -- -- -- -- -- -- -- -- --
2025-09-02 00:06:41.553 | INFO | -- -- -- -- -- -- -- -- -- -- --
2025-09-02 00:06:41.554 | INFO | -- -- -- -- -- FL -- -- -- -- --
2025-09-02 00:06:41.557 | INFO | -- -- -- -- -- -- -- -- -- -- --
2025-09-02 00:06:41.559 | INFO | -- -- -- -- -- -- -- -- --
2025-09-02 00:06:41.560 | INFO | -- -- -- -- -- -- -- -- --
2025-09-02 00:06:41.561 | INFO | -- -- -- -- -- -- --
2025-09-02 00:06:41.563 | INFO | -- -- --
2025-09-02 00:06:41.564 | INFO | No question mark above current fleet on this radar
────────────────────────────────────────────────── AFTER AUTO SEARCH ──────────────────────────────────────────────────
2025-09-02 00:06:41.566 | INFO | AFTER AUTO SEARCH
2025-09-02 00:06:41.571 | INFO | No EMP debuff on current fleet
2025-09-02 00:06:41.573 | INFO | Handle after auto search finished, solved=False
2025-09-02 00:06:41.574 | INFO | <<< TURNING SAMPLE USE >>>
2025-09-02 00:06:41.577 | INFO | Storage enter
2025-09-02 00:06:41.594 | INFO | Click ( 840, 664) @ STORAGE_ENTER
2025-09-02 00:06:42.929 | INFO | [Storage_sample] 0
2025-09-02 00:06:43.148 | INFO | [Storage_sample] 0
2025-09-02 00:06:43.379 | INFO | [Storage_sample] 0
2025-09-02 00:06:43.568 | INFO | [Storage_sample] 0
2025-09-02 00:06:43.753 | INFO | [Storage_sample] 0
2025-09-02 00:06:43.939 | INFO | [Storage_sample] 0
2025-09-02 00:06:43.942 | INFO | All samples in storage have been used
2025-09-02 00:06:43.944 | INFO | <<< LOGGER USE >>>
2025-09-02 00:06:43.946 | INFO | Storage enter
2025-09-02 00:06:43.950 | INFO | <<< STORAGE LOGGER USE ALL >>>
2025-09-02 00:06:43.953 | INFO | STORATE_SCROLL set to 1.0
2025-09-02 00:06:43.954 | INFO | [STORATE_SCROLL] 0.00 (189.5-190.0)/(487-380)
2025-09-02 00:06:43.956 | INFO | Swipe (1256, 291) -> (1259, 433)
2025-09-02 00:06:44.281 | INFO | [STORATE_SCROLL] 0.94 (296.0978260869565-184.0)/(487-368)
2025-09-02 00:06:44.448 | INFO | [STORATE_SCROLL] 1.00 (297.5-189.0)/(487-378)
2025-09-02 00:06:44.810 | INFO | [Storage_logger] 1
2025-09-02 00:06:44.885 | INFO | Click (1020, 516) @ TEMPLATE_STORAGE_LOGGER_UNLOCK
2025-09-02 00:06:45.213 | INFO | Click ( 610, 509) @ BOX_USE
2025-09-02 00:06:45.568 | INFO | STORATE_SCROLL set to 1.0
2025-09-02 00:06:45.572 | INFO | [STORATE_SCROLL] 1.00 (297.5-189.0)/(487-378)
2025-09-02 00:06:45.911 | INFO | [Storage_logger] 0
2025-09-02 00:06:45.920 | INFO | All loggers in storage have been used
2025-09-02 00:06:45.923 | INFO | Storage quit
2025-09-02 00:06:45.924 | INFO | <<< UI CLICK >>>
2025-09-02 00:06:45.952 | INFO | Click ( 58, 55) @ BACK_ARROW
加上另一个记录仪的自动使用,默认有就是使用,不增加设置。游戏里买了还要手动使用的设计挺让人无语的
similarity=0.5能同时匹配到两种记录仪- 在白票商店后运行一次 logger_use,因为战役信息记录仪应该在开荒前使用
对于隐秘海域信息记录,点击 BOX_USE 后直接退出到仓库 对于战役信息记录仪,点击 BOX_USE 后出现 story_option ,然后是三种适应性,再是获得的体力箱,最后退出到仓库
INFO 2025-10-01 15:51:18.562 │ [Story_options] 1 INFO 2025-10-01 15:51:18.566 │ Click ( 713, 326) @ STORY_OPTION_1_OF_1 INFO 2025-10-01 15:51:18.942 │ Click (1158, 239) @ CLICK_SAFE_AREA INFO 2025-10-01 15:51:20.952 │ Click (1199, 214) @ CLICK_SAFE_AREA INFO 2025-10-01 15:51:22.966 │ Click (1164, 244) @ CLICK_SAFE_AREA INFO 2025-10-01 15:51:23.165 │ Click (1025, 675) @ GET_ITEMS_1