AzurLaneAutoScript
AzurLaneAutoScript copied to clipboard
0点更新时重启自动检测逍遥模拟器失败
在提问之前...
- [X] 我已经搜索了现有的 issues
- [X] 我在提问题之前至少花费了 5 分钟来思考和准备
- [X] 我已经阅读了 Wiki 中的 常见问题(FAQ)
- [X] 我正在使用最新版的 Alas
描述你的问题
每天0点的时候Alas会自动重启游戏以及模拟器,无法重启模拟器,但是不重要,重要的是正常运行着的模拟器他无法识别出来,必须手动点启动Alas才能识别出模拟器继续运行
如何复现
1.模拟器Serial设置为auto 2.使用的模拟器为逍遥模拟器 3.每天0点时自动触发重启设置
预期行为
无法重启模拟器和游戏就放弃重启模拟器,正常重启游戏继续脚本程序 然后正确识别到游戏
相关 Logs
──────────────────────────────────── BATTLE_4 ─────────────────────────────────────
INFO 00:00:39.604 │ BATTLE_4
INFO 00:00:39.606 │ Auto search moving
INFO 00:00:39.609 │ Fleet: 2, fleet_current_index: 1
INFO 00:00:39.651 │ [OCR_OIL 0.040s] 4584
INFO 00:00:44.713 │ Click ( 796, 515) @ POPUP_CONFIRM_IGNORE_LOW_EMOTION
INFO 00:00:45.659 │ [Loading] 5%
INFO 00:00:45.664 │ Auto search combat loading
INFO 00:00:45.666 │ Screenshot interval set to 1.0s
INFO 00:00:53.639 │ Auto Search combat execute
INFO 00:00:59.630 │ Combat auto check timer reached
INFO 00:01:36.665 │ Screenshot interval set to 0.3s
INFO 00:01:36.667 │ Auto Search combat status
INFO 00:01:37.047 │ Click (1021, 666) @ BATTLE_STATUS_S
INFO 00:01:37.571 │ Click (1036, 669) @ BATTLE_STATUS_S
INFO 00:01:37.754 │ Click (1024, 651) @ GET_ITEMS_1
INFO 00:01:38.362 │ Click (1075, 632) @ EXP_INFO_S
INFO 00:01:38.866 │ Click (1103, 635) @ EXP_INFO_S
INFO 00:01:40.367 │ Click (1233, 560) @ AUTO_SEARCH_MAP_OPTION_OFF
INFO 00:01:41.559 │ <<< CAMPAIGN END >>>
INFO 00:01:41.593 │ [OCR_COIN 0.031s] 33436
INFO 00:01:41.615 │ Pending tasks: ['Restart', 'Exercise', 'Meowfficer',
'Guild', 'Gacha', 'SupplyPack', 'MetaReward', 'BattlePass',
'ShopFrequent', 'ShopOnce', 'OpsiAshBeacon', 'OpsiDaily', 'OpsiShop',
'OpsiAbyssal', 'OpsiStronghold', 'OpsiObscure', 'Daily', 'Hard',
'OpsiAshAssist', 'OpsiMeowfficerFarming', 'GemsFarming']
INFO 00:01:41.620 │ [Task] Restart (Enable, 2022-09-26 00:00:00)
INFO 00:01:41.623 │ Switch task `GemsFarming (Enable, 2022-09-25 19:01:55)` to
`Restart (Enable, 2022-09-26 00:00:00)`
INFO 00:01:41.641 │ Click ( 424, 606) @ AUTO_SEARCH_MENU_EXIT
INFO 00:01:42.229 │ Scheduler: End task `GemsFarming`
INFO 00:01:42.233 │ [Server] cn
INFO 00:01:42.255 │ Bind task {'Alas', 'General'}
INFO 00:01:42.259 │ Pending tasks: ['Restart', 'Exercise', 'Meowfficer',
'Guild', 'Gacha', 'SupplyPack', 'MetaReward', 'BattlePass',
'ShopFrequent', 'ShopOnce', 'OpsiAshBeacon', 'OpsiDaily', 'OpsiShop',
'OpsiAbyssal', 'OpsiStronghold', 'OpsiObscure', 'Daily', 'Hard',
'OpsiAshAssist', 'OpsiMeowfficerFarming', 'GemsFarming']
INFO 00:01:42.263 │ [Task] Restart (Enable, 2022-09-26 00:00:00)
INFO 00:01:42.267 │ Bind task {'Restart', 'General', 'Alas'}
INFO 00:01:42.276 │ Scheduler: Start task `Restart`
═══════════════════════════════════════════════════════════════════════════════════
RESTART
═══════════════════════════════════════════════════════════════════════════════════
INFO 00:01:42.487 │ <<< APP RESTART >>>
INFO 00:01:42.489 │ <<< EMULATOR RESTART >>>
INFO 00:01:42.492 │ Detect emulator from all emulators installed
INFO 00:01:42.494 │ Detected emulators:
WARNING 00:01:42.496 │ The emulator corresponding to serial is not found, please
check the setting or use custom command
CRITICAL 00:01:42.500 │ Request human takeover
INFO 00:01:42.503 │ No provider specified, skip sending
═══════════════════════════════════════════════════════════════════════════════════
START
═══════════════════════════════════════════════════════════════════════════════════
INFO 00:03:36.892 │ Start scheduler loop: alas
INFO 00:03:36.895 │ [Server] cn
INFO 00:03:36.917 │ Bind task {'General', 'Alas'}
INFO 00:03:37.057 │ Server "巴巴罗萨" is available.
INFO 00:03:37.062 │ Pending tasks: ['Restart', 'Exercise', 'Meowfficer',
'Guild', 'Gacha', 'SupplyPack', 'MetaReward', 'BattlePass',
'ShopFrequent', 'ShopOnce', 'OpsiAshBeacon', 'OpsiDaily', 'OpsiShop',
'OpsiAbyssal', 'OpsiStronghold', 'OpsiObscure', 'Daily', 'Hard',
'OpsiAshAssist', 'OpsiMeowfficerFarming', 'GemsFarming']
INFO 00:03:37.067 │ [Task] Restart (Enable, 2022-09-26 00:00:00)
INFO 00:03:37.072 │ Bind task {'Restart', 'Alas', 'General'}
═════════════════════════════════════ DEVICE ══════════════════════════════════════
INFO 00:03:39.085 │ DEVICE
INFO 00:03:39.089 │ [AdbBinary] D:\Download\AzurLaneAutoScript\toolkit\Lib\site
-packages\adbutils\binaries\adb.exe
INFO 00:03:39.093 │ [AdbClient] AdbClient(127.0.0.1, 5037)
INFO 00:03:39.095 │ <<< DETECT DEVICE >>>
INFO 00:03:39.098 │ Here are the available devices, copy to
Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"
INFO 00:03:39.102 │ 127.0.0.1:21503
INFO 00:03:39.104 │ Auto device detection found only one device, using it
INFO 00:03:39.110 │ already connected to 127.0.0.1:21503
INFO 00:03:39.114 │ [AdbDevice] AdbDevice(serial=127.0.0.1:21503)
INFO 00:03:39.117 │ [PackageName] com.bilibili.azurlane
INFO 00:03:39.120 │ [Server] cn
INFO 00:03:39.122 │ Screenshot interval set to 0.3s
INFO 00:03:39.124 │ Skip task `Restart` at scheduler start
INFO 00:03:39.126 │ Delay task `Restart` to 2022-09-27 00:00:00
(server_update='00:00')
INFO 00:03:39.141 │ Bind task {'Restart', 'Alas', 'General'}
INFO 00:03:39.144 │ Save config ./config\alas.json,
Restart.Scheduler.NextRun=datetime.datetime(2022, 9, 27, 0, 0)
INFO 00:03:39.155 │ [Server] cn
INFO 00:03:39.172 │ Bind task {'General', 'Alas'}
INFO 00:03:39.175 │ Pending tasks: ['Exercise', 'Meowfficer', 'Guild', 'Gacha',
'SupplyPack', 'MetaReward', 'BattlePass', 'ShopFrequent', 'ShopOnce',
'OpsiAshBeacon', 'OpsiDaily', 'OpsiShop', 'OpsiAbyssal', 'OpsiStronghold',
'OpsiObscure', 'Daily', 'Hard', 'OpsiAshAssist', 'OpsiMeowfficerFarming',
'GemsFarming']
INFO 00:03:39.178 │ [Task] Exercise (Enable, 2022-09-26 00:00:00)
INFO 00:03:39.181 │ Bind task {'Alas', 'General', 'Exercise'}
INFO 00:03:39.186 │ Scheduler: Start task `Exercise`
截图
No response
还有别的吗?
Alas设置-启用重启模拟器此项是打开状态,但是实际该选项并不能起到实际作用 Alas是管理员运行状态
重启模拟器目前只支持夜神蓝叠mumu,不支持逍遥