LmeSzinc / AzurLaneAutoScript

Azur Lane bot (CN/EN/JP/TW) 碧蓝航线脚本 | 无缝委托科研,全自动大世界
https://alas.azurlane.cloud
GNU General Public License v3.0
6.9k stars 825 forks source link

小米渠道服每日重启时无法正常进行,在账号登录时不断关闭游戏重启 #3854

Open safasegfasdgds opened 5 months ago

safasegfasdgds commented 5 months ago

在提问之前...

描述你的问题

mumu12小米服在执行重启时总是检测到游戏未启动,然后不断重启游戏,最后卡死,请看图片;猜测是因为小米服账号登录需要一定时间,模拟器检测到登录界面后在账号还没登陆成功的情况下点击了,导致该问题发生;建议延长点击时间或者不要进行重试的检测

如何复现

mumu12 小米服 重启设置;先是出现图1过早点击,然后多次强制重试后变成图2和图3的样子,出现代码00:29:01.884 │ [Device Orientation] 1 (HOME key on the right);图4为账号登录动画,约需要6秒钟

预期行为

小米服可以正常重启

相关 Logs

INFO     00:24:12.535 │ <<< UI ENSURE >>>                                          
INFO     00:24:12.536 │ UI get current page                                        
INFO     00:24:12.561 │ Unknown ui page                                            
INFO     00:24:12.566 │ Click (1025,  678) @ GET_SHIP                              
INFO     00:24:12.867 │ Unknown ui page                                            
INFO     00:24:12.884 │ Click ( 477,  353) @ LOGIN_CHECK                           
INFO     00:24:13.154 │ Unknown ui page                                            
INFO     00:24:13.203 │ [Package_name] com.xiaomi.gamecenter.sdk.service           
WARNING  00:24:13.204 │ Game not running                                           
INFO     00:24:13.204 │ Task call: Restart                                         
INFO     00:24:13.213 │ Bind task ['General', 'Alas', 'OpsiGeneral',               
         'OpsiAshBeacon']                                                          
INFO     00:24:13.213 │ Save config ./config\alas.json,                            
         Restart.Scheduler.NextRun=datetime.datetime(2024, 6, 5, 0, 24, 13),       
         Restart.Scheduler.Enable=True                                             
INFO     00:24:13.218 │ Scheduler: End task `OpsiAshBeacon`                        
INFO     00:24:13.219 │ [Server] cn                                                
INFO     00:24:13.228 │ Bind task ['General', 'Alas']                              
INFO     00:24:13.230 │ Pending tasks: ['Restart', 'OpsiAshBeacon', 'OpsiDaily',   
         'Daily', 'OpsiAshAssist']                                                 
INFO     00:24:13.231 │ [Task] Restart (Enable, 2024-06-05 00:24:13)               
INFO     00:24:13.231 │ Bind task ['General', 'Alas', 'Restart']                   
INFO     00:24:13.236 │ Scheduler: Start task `Restart`                            

INFO     00:29:01.759 │ <<< APP RESTART >>>                                        
INFO     00:29:01.760 │ App stop: com.bilibili.blhx.mi                             
INFO     00:29:01.779 │ App start: com.bilibili.blhx.mi                            
INFO     00:29:01.864 │ <<< APP LOGIN >>>                                          
INFO     00:29:01.884 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:29:06.906 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:29:12.036 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:29:17.142 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:29:22.259 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:29:27.376 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:29:32.512 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:29:37.620 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:29:42.740 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:29:47.861 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:29:52.961 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:29:58.077 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:30:03.216 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:30:08.333 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:30:13.456 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:30:18.579 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:30:23.688 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:30:28.803 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:30:33.935 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:30:39.053 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:30:44.153 │ [Device Orientation] 1 (HOME key on the right)

截图

image image image image

还有别的吗?

No response

LmeSzinc commented 5 months ago

https://github.com/LmeSzinc/AzurLaneAutoScript/issues/3339#issuecomment-1867917492