LmeSzinc / StarRailCopilot

崩坏:星穹铁道脚本 | Honkai: Star Rail auto bot (简体中文/繁體中文/English/Español)
GNU General Public License v3.0
3.16k stars 159 forks source link

卡在 启动界面 云 星铁 和 安卓 mumu #606

Closed MartletH closed 1 month ago

MartletH commented 3 months ago

在提问之前...

描述你的问题

mumu内启动云星铁和安卓星铁时,卡在列车界面不再继续登陆。 一直在重复以下报错提示: INFO 11:46:40.569 │ [Package_name] com.miHoYo.cloudgames.hkrpg
INFO 11:46:40.602 │ [Device Orientation] 1 (HOME key on the right)

如何复现

  1. 前往 'src'
  2. 点击 '启动'
  3. 等待 '列车界面'
  4. 出现问题

预期行为

进入游戏

相关 Logs

════════════════════════════════ CLOUD ENTER GAME ═════════════════════════════════
INFO     11:45:41.614 │ CLOUD ENTER GAME                                           
INFO     11:45:41.622 │ Bind task ['Alas', 'Restart']                              
INFO     11:45:41.625 │ Not in cloud page                                          
INFO     11:45:41.626 │ <<< CLOUD START >>>                                        
INFO     11:45:50.905 │ Login to cloud main page                                   
INFO     11:45:50.906 │ Remain season pass:                                        
INFO     11:45:50.914 │ Remain paid: 3545 分钟                                     
INFO     11:45:50.916 │ Remain free: 526 分钟                                      
INFO     11:45:50.918 │ Cloud remain: season pass 0 days, 3545 min paid, 526 min   
         free                                                                      
INFO     11:45:50.923 │ Bind task ['Alas', 'Restart']                              
INFO     11:45:50.924 │ Save config ./config\src.json,                             
         DataUpdate.CloudStorage.CloudRemainSeasonPass={'time':                    
         datetime.datetime(2024, 8, 13, 11, 45, 50), 'value': 0},                  
         DataUpdate.CloudStorage.CloudRemainPaid={'time': datetime.datetime(2024,  
         8, 13, 11, 45, 50), 'value': 3545},                                       
         DataUpdate.CloudStorage.CloudRemainFree={'time': datetime.datetime(2024,  
         8, 13, 11, 45, 50), 'value': 526}                                         
INFO     11:45:50.934 │ <<< CLOUD ENTER >>>                                        
INFO     11:45:51.021 │ Click ( 976,  633) @                                       
         com.miHoYo.cloudgames.hkrpg:id/btnLauncher                                
INFO     11:45:55.642 │ Click ( 664,  463) @                                       
         com.miHoYo.cloudgames.hkrpg:id/clOptionNormal                             
INFO     11:45:56.264 │ Click (1125,  641) @                                       
         com.miHoYo.cloudgames.hkrpg:id/btnLauncher                                
INFO     11:45:56.394 │ Queue remain: <1 分钟                                      
INFO     11:46:11.986 │ Cloud game entered                                         
INFO     11:46:11.989 │ [Net state] None                                           
INFO     11:46:11.991 │ handle_app_login                                           
INFO     11:46:11.992 │ Screenshot interval set to 0.1s                            
INFO     11:46:11.992 │ <<< APP LOGIN >>>                                          
INFO     11:46:12.089 │ [Device Orientation] 1 (HOME key on the right)             
INFO     11:46:17.136 │ [Package_name] com.miHoYo.cloudgames.hkrpg                 
INFO     11:46:17.183 │ [Device Orientation] 1 (HOME key on the right)             
INFO     11:46:24.536 │ [Package_name] com.miHoYo.cloudgames.hkrpg                 
INFO     11:46:24.613 │ [Device Orientation] 1 (HOME key on the right)             
INFO     11:46:29.724 │ [Package_name] com.miHoYo.cloudgames.hkrpg                 
INFO     11:46:29.746 │ [Device Orientation] 1 (HOME key on the right)             
INFO     11:46:35.431 │ [Package_name] com.miHoYo.cloudgames.hkrpg                 
INFO     11:46:35.505 │ [Device Orientation] 1 (HOME key on the right)             
INFO     11:46:40.569 │ [Package_name] com.miHoYo.cloudgames.hkrpg                 
INFO     11:46:40.602 │ [Device Orientation] 1 (HOME key on the right)

安卓端等的时间足够长还会出现以下信息,云端等不到这个信息。

INFO     13:43:10.202 │ Function calls:                                            
                   <string>   L1 <module>                                          
                   spawn.py L116 spawn_main()                                      
                   spawn.py L129 _main()                                           
                 process.py L314 _bootstrap()                                      
                 process.py L108 run()                                             
         process_manager.py L152 run_process()                                     
                    alas.py L274 loop()                                            
                    alas.py  L79 run()                                             
                     src.py   L8 restart()                                         
                   login.py L110 app_restart()                                     
                   login.py  L80 handle_app_login()                                
                   login.py  L41 _handle_app_login()                               
                  device.py L156 screenshot()                                      
                  device.py L208 stuck_record_check()                              
                  device.py  L46 show_function_call()                              
WARNING  13:43:10.205 │ Wait too long                                              
WARNING  13:43:10.207 │ Waiting for {'USER_AGREEMENT_ACCEPT', 'LOGIN_CONFIRM',     
         'MONTHLY_CARD_GET_ITEM', 'MONTHLY_CARD_REWARD', 'INFO_CLOSE',             
         'POPUP_CONFIRM', 'POPUP_SINGLE', 'COMBAT_EXIT', 'GET_REWARD',             
         'LOGIN_LOADING', 'COMBAT_PREPARE', 'BATTLE_PASS_NOTIFICATION',            
         'GET_LIGHT_CONE', 'MAIN_GOTO_CHARACTER'}                                  
INFO     13:43:10.310 │ [Package_name] com.miHoYo.hkrpg                            
ERROR    13:43:10.312 │ GameStuckError: Wait too long                              
WARNING  13:43:10.317 │ Saving error: ./log/error/1723527790317                    
WARNING  13:43:10.465 │ Game stuck, com.miHoYo.hkrpg will be restarted in 10       
         seconds                                                                   
WARNING  13:43:10.467 │ If you are playing by hand, please stop Src                
INFO     13:43:10.469 │ Task call: Restart                                         
INFO     13:43:10.473 │ Bind task ['Alas', 'Restart']                              
INFO     13:43:10.475 │ Save config ./config\src2.json,                            
         Restart.Scheduler.NextRun=datetime.datetime(2024, 8, 13, 13, 43, 10),     
         Restart.Scheduler.Enable=True                                             
INFO     13:43:20.485 │ Scheduler: End task `Restart`                              
INFO     13:43:20.487 │ [Lang] auto                                                
INFO     13:43:20.504 │ Bind task ['Alas']                                         
INFO     13:43:20.506 │ Pending tasks: ['Restart', 'Dungeon', 'Assignment',        
         'BattlePass', 'DailyQuest', 'Freebies', 'DataUpdate']                     
INFO     13:43:20.507 │ [Task] Restart (Enable, 2024-08-13 13:43:10)               
INFO     13:43:20.508 │ Bind task ['Alas', 'Restart']                              
INFO     13:43:20.510 │ Scheduler: Start task `Restart`                            
═══════════════════════════════════════════════════════════════════════════════════
                                      RESTART                                      
═══════════════════════════════════════════════════════════════════════════════════

截图

image

还有别的吗?

No response

MartletH commented 3 months ago

关闭issue。 如果有同学遇到同样问题,只要关闭mumu的这个选项就行。 望以后开发时兼容这个选项,有时需要用的。 image