LmeSzinc / StarRailCopilot

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

运行每日任务时报错 #320

Open Menhera7 opened 9 months ago

Menhera7 commented 9 months ago

在提问之前...

描述你的问题

点击启动后无法识别ui

如何复现

  1. 点击 '启动'
  2. 出现问题

预期行为

No response

相关 Logs

═══════════════════════════════════════════════════════════════════════════════════
                                       START                                       
═══════════════════════════════════════════════════════════════════════════════════
INFO     00:08:21.915 │ Start scheduler loop: src                                  
INFO     00:08:21.919 │ [Lang] cn                                                  
INFO     00:08:21.927 │ Bind task ['Alas']                                         
INFO     00:08:21.929 │ Pending tasks: ['BattlePass', 'DailyQuest', 'Assignment',  
         'Freebies', 'DataUpdate', 'Weekly', 'Dungeon', 'Rogue']                   
INFO     00:08:21.931 │ [Task] BattlePass (Enable, 2024-02-11 00:08:06)            
INFO     00:08:21.933 │ Bind task ['Alas', 'BattlePass']                           
═════════════════════════════════════ DEVICE ══════════════════════════════════════
INFO     00:08:23.351 │ DEVICE                                                     
INFO     00:08:23.399 │ [AdbBinary]                                                
         D:\StarRailCopilot\toolkit\Lib\site-packages\adbutils\binaries\adb.exe    
INFO     00:08:23.400 │ [AdbClient] AdbClient(127.0.0.1, 5037)                     
INFO     00:08:23.402 │ <<< DETECT DEVICE >>>                                      
INFO     00:08:23.404 │ Here are the available devices, copy to                    
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"         
INFO     00:08:23.406 │ 127.0.0.1:16384                                            
INFO     00:08:23.410 │ already connected to 127.0.0.1:16384                       
INFO     00:08:23.412 │ [AdbDevice] AdbDevice(serial=127.0.0.1:16384)              
INFO     00:08:23.413 │ [Server] CN-Official                                       
INFO     00:08:23.415 │ [PackageName] com.miHoYo.hkrpg                             
INFO     00:08:23.416 │ [Lang] cn                                                  
INFO     00:08:23.439 │ [nemud.app_keep_alive] false                               
INFO     00:08:23.441 │ Scheduler: Start task `BattlePass`                         
═══════════════════════════════════════════════════════════════════════════════════
                                    BATTLEPASS                                     
═══════════════════════════════════════════════════════════════════════════════════
INFO     00:08:23.453 │ [u2.Device] Device(atx_agent_url=http://127.0.0.1:14413)   
INFO     00:08:23.491 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:08:23.493 │ [Screen_size] 1280x720                                     
INFO     00:08:23.495 │ <<< SCRCPY SERVER START >>>                                
INFO     00:08:23.500 │ Create server stream                                       
INFO     00:08:23.791 │ b'[server] INFO: Device: Xiaomi 2206122SC (Android 12)\n'  
INFO     00:08:23.793 │ Create video socket                                        
INFO     00:08:23.898 │ Create control socket                                      
INFO     00:08:23.901 │ Fetch device info                                          
INFO     00:08:23.902 │ [Scrcpy Device] 2206122SC                                  
INFO     00:08:23.904 │ [Scrcpy Resolution] (1280, 720)                            
INFO     00:08:23.906 │ Start video stream loop thread                             
INFO     00:08:23.908 │ Scrcpy server is up                                        
INFO     00:08:24.162 │ [Screen_size] 1280x720                                     
INFO     00:08:24.366 │ <<< UI ENSURE >>>                                          
INFO     00:08:24.368 │ UI get current page                                        
INFO     00:08:24.563 │ Unknown ui page                                            
INFO     00:08:24.730 │ [Package_name] com.miHoYo.hkrpg                            
INFO     00:08:24.748 │ [Device Orientation] 1 (HOME key on the right)             
INFO     00:08:24.789 │ Unknown ui page                                            
INFO     00:08:24.915 │ Unknown ui page                                            
INFO     00:08:25.022 │ Unknown ui page                                            
INFO     00:08:25.147 │ Unknown ui page                                            
INFO     00:08:25.253 │ Unknown ui page                                            
INFO     00:08:25.323 │ Unknown ui page                                            
INFO     00:08:25.437 │ Unknown ui page                                            
INFO     00:08:25.525 │ Unknown ui page                                            
INFO     00:08:25.629 │ Unknown ui page                                            
INFO     00:08:25.734 │ Unknown ui page                                            
INFO     00:08:25.825 │ Unknown ui page                                            
INFO     00:08:25.923 │ Unknown ui page                                            
INFO     00:08:26.021 │ Unknown ui page                                            
INFO     00:08:26.127 │ Unknown ui page                                            
INFO     00:08:26.222 │ Unknown ui page                                            
INFO     00:08:26.356 │ Unknown ui page                                            
INFO     00:08:26.455 │ Unknown ui page                                            
INFO     00:08:26.521 │ Unknown ui page                                            
INFO     00:08:26.622 │ Unknown ui page                                            
INFO     00:08:26.717 │ Unknown ui page                                            
INFO     00:08:26.820 │ Unknown ui page                                            
INFO     00:08:26.960 │ Unknown ui page                                            
INFO     00:08:27.057 │ Unknown ui page                                            
INFO     00:08:27.154 │ Unknown ui page                                            
INFO     00:08:27.250 │ Unknown ui page                                            
INFO     00:08:27.358 │ Unknown ui page                                            
INFO     00:08:27.450 │ Unknown ui page                                            
INFO     00:08:27.517 │ Unknown ui page                                            
INFO     00:08:27.623 │ Unknown ui page                                            
INFO     00:08:27.713 │ Unknown ui page                                            
INFO     00:08:27.851 │ Unknown ui page                                            
INFO     00:08:27.918 │ Unknown ui page                                            
INFO     00:08:28.017 │ Unknown ui page                                            
INFO     00:08:28.151 │ Unknown ui page                                            
INFO     00:08:28.220 │ Unknown ui page                                            
INFO     00:08:28.354 │ Unknown ui page                                            
INFO     00:08:28.455 │ Unknown ui page                                            
INFO     00:08:28.550 │ Unknown ui page                                            
INFO     00:08:28.661 │ Unknown ui page                                            
INFO     00:08:28.746 │ Unknown ui page                                            
INFO     00:08:28.834 │ Unknown ui page                                            
INFO     00:08:28.949 │ Unknown ui page                                            
INFO     00:08:29.022 │ Unknown ui page                                            
INFO     00:08:29.156 │ Unknown ui page                                            
INFO     00:08:29.232 │ Unknown ui page                                            
INFO     00:08:29.363 │ Unknown ui page                                            
INFO     00:08:29.430 │ Unknown ui page                                            
INFO     00:08:29.523 │ Unknown ui page                                            
INFO     00:08:29.622 │ Unknown ui page                                            
INFO     00:08:29.721 │ Unknown ui page                                            
INFO     00:08:29.823 │ Unknown ui page                                            
INFO     00:08:29.922 │ Unknown ui page                                            
INFO     00:08:30.023 │ Unknown ui page                                            
INFO     00:08:30.122 │ Unknown ui page                                            
INFO     00:08:30.323 │ Unknown ui page                                            
INFO     00:08:30.419 │ Unknown ui page                                            
INFO     00:08:30.521 │ Unknown ui page                                            
INFO     00:08:30.634 │ Unknown ui page                                            
INFO     00:08:30.755 │ Unknown ui page                                            
INFO     00:08:30.828 │ Unknown ui page                                            
INFO     00:08:30.922 │ Unknown ui page                                            
INFO     00:08:31.022 │ Unknown ui page                                            
INFO     00:08:31.129 │ Unknown ui page                                            
INFO     00:08:31.258 │ Unknown ui page                                            
INFO     00:08:31.361 │ Unknown ui page                                            
INFO     00:08:31.442 │ Unknown ui page                                            
INFO     00:08:31.517 │ Unknown ui page                                            
INFO     00:08:31.662 │ Unknown ui page                                            
INFO     00:08:31.745 │ Unknown ui page                                            
INFO     00:08:31.825 │ Unknown ui page                                            
INFO     00:08:31.944 │ Unknown ui page                                            
INFO     00:08:32.019 │ Unknown ui page                                            
INFO     00:08:32.170 │ Unknown ui page                                            
INFO     00:08:32.256 │ Unknown ui page                                            
INFO     00:08:32.321 │ Unknown ui page                                            
INFO     00:08:32.429 │ Unknown ui page                                            
INFO     00:08:32.560 │ Unknown ui page                                            
INFO     00:08:32.650 │ Unknown ui page                                            
INFO     00:08:32.745 │ Unknown ui page                                            
INFO     00:08:32.818 │ Unknown ui page                                            
INFO     00:08:32.920 │ Unknown ui page                                            
INFO     00:08:33.019 │ Unknown ui page                                            
INFO     00:08:33.122 │ Unknown ui page                                            
INFO     00:08:33.218 │ Unknown ui page                                            
INFO     00:08:33.324 │ Unknown ui page                                            
INFO     00:08:33.433 │ Unknown ui page                                            
INFO     00:08:33.524 │ Unknown ui page                                            
INFO     00:08:33.619 │ Unknown ui page                                            
INFO     00:08:33.720 │ Unknown ui page                                            
INFO     00:08:33.822 │ Unknown ui page                                            
INFO     00:08:33.921 │ Unknown ui page                                            
INFO     00:08:34.021 │ Unknown ui page                                            
INFO     00:08:34.151 │ Unknown ui page                                            
INFO     00:08:34.222 │ Unknown ui page                                            
INFO     00:08:34.354 │ Unknown ui page                                            
WARNING  00:08:34.440 │ Unknown ui page                                            
INFO     00:08:34.442 │ [EMULATOR__SCREENSHOT_METHOD] scrcpy                       
INFO     00:08:34.444 │ [EMULATOR__CONTROL_METHOD] MaaTouch                        
INFO     00:08:34.446 │ [Lang] cn                                                  
WARNING  00:08:34.447 │ Starting from current page is not supported                
WARNING  00:08:34.449 │ Supported page: ['page_main', 'page_menu',                 
         'page_character', 'page_team', 'page_item', 'page_guide', 'page_gacha',   
         'page_battle_pass', 'page_event', 'page_map', 'page_world',               
         'page_tutorial', 'page_mission', 'page_message', 'page_camera',           
         'page_synthesize', 'page_assignment', 'page_forgotten_hall', 'page_rogue']
WARNING  00:08:34.451 │ Supported page: Any page with a "HOME" button on the       
         upper-right                                                               
CRITICAL 00:08:34.453 │ Please switch to a supported page before starting SRC      
INFO     00:08:34.454 │ Game server may be under maintenance or network may be     
         broken, check server status now                                           
CRITICAL 00:08:34.456 │ Game page unknown                                          
WARNING  00:08:34.460 │ Saving error: ./log/error/1707581314460                    
ERROR    00:08:34.572 │ Error notify is not supported yet

截图

MuMu12-20240211-001109

还有别的吗?

No response

kisuno commented 9 months ago

你这紫屏很明显是模拟器那边的问题啊,有没有尝试切换渲染模式

Menhera7 commented 9 months ago

你这紫屏很明显是模拟器那边的问题啊,有没有尝试切换渲染模式

紫屏是模拟器渲染问题,但是以前一直都是能正常用的,最近更新后才有这些问题

aaahai00 commented 9 months ago

你这紫屏很明显是模拟器那边的问题啊,有没有尝试切换渲染模式

紫屏好像不影响adb正常采集画面

MusherM commented 9 months ago

紫屏是模拟器问题,尝试去设置里开启vulkan渲染模式,如果开不了去更新n卡驱动