LmeSzinc / StarRailCopilot

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

SRC调度器开始运行后会在进入游戏后卡住,log显示nemu_ipc released #617

Closed lsdlBlueDragon closed 3 months ago

lsdlBlueDragon commented 3 months ago

在提问之前...

描述你的问题

今天使用时调度器能正常打开模拟器、游戏并点击进入游戏,但是在进入游戏内之后log到nemu_ipc released这一行就会卡住不动。 在更新mumu推送的版本后依然无法使用。 重启电脑、删除并重新安装SRC、强制关闭adb进程后重新启动SRC均会出现此问题。 明日方舟MAA和FGO的BBChannel运行未见问题(我也不知道这些信息有没有用总之说一下)

2024-08-27_gui.txt 2024-08-27_installer.txt 2024-08-27_src.txt 2024-08-27_webapp.txt

INFO 11:09:16.370 │ nemu_ipc released
[src] exited. Reason: Manual stop

════════════════════════════════════════════════════════════════════════ START
════════════════════════════════════════════════════════════════════════ INFO 11:15:53.333 │ Start scheduler loop: src
INFO 11:15:53.336 │ [Lang] cn
INFO 11:15:53.341 │ Bind task ['Alas']
INFO 11:15:53.343 │ No task pending
INFO 11:15:53.344 │ [Task] Dungeon (Enable, 2024-08-27 15:18:57)
INFO 11:15:53.345 │ Bind task ['Alas', 'Dungeon']
INFO 11:15:53.346 │ Wait until 2024-08-27 15:18:57 for task
Dungeon
INFO 11:15:53.347 │ Goto main page during wait
════════════════════════════════ DEVICE ════════════════════════════════ INFO 11:15:53.925 │ DEVICE
INFO 11:15:53.933 │ [AdbBinary] C:\Users\Xu\Desktop\Game
Assist\StarRailCopilot\toolkit\Lib\site-packages\adbutils\binar ies\adb.exe
INFO 11:15:53.934 │ [AdbClient] AdbClient(127.0.0.1, 5037)
INFO 11:15:53.935 │ <<< DETECT DEVICE >>>
INFO 11:15:53.935 │ Here are the available devices, copy to
Alas.Emulator.Serial to use it or set
Alas.Emulator.Serial="auto"
INFO 11:15:58.177 │ No available devices
INFO 11:15:58.220 │ connected to 127.0.0.1:16448
INFO 11:15:58.221 │ [AdbDevice] AdbDevice(serial=127.0.0.1:16448)
INFO 11:15:58.222 │ [Server] CN-Official
INFO 11:15:58.223 │ [PackageName] com.miHoYo.hkrpg
INFO 11:15:58.224 │ [Lang] cn
INFO 11:15:58.316 │ [nemud.player_version]
INFO 11:15:58.318 │ [customer.app_keptlive] false
INFO 11:15:58.318 │ [nemu_ipc_available] True
INFO 11:15:58.319 │ Screenshot interval set to 0.2s
INFO 11:15:58.320 │ <<< MAATOUCH INIT >>>
INFO 11:15:58.320 │ NemuIpcImpl init, nemu_folder=C:\Program
Files\Netease\MuMuPlayer-12.0, ipc_dll=C:\Program
Files\Netease\MuMuPlayer-12.0\shell\sdk\external_renderer_ipc.d ll, instance_id=2, display_id=0
INFO 11:15:58.332 │ [Device Orientation] 1 (HOME key on the right)
INFO 11:15:58.335 │ [Screen_size] 1280x720
INFO 11:15:58.452 │ [Package_name] com.miHoYo.hkrpg
INFO 11:15:58.453 │ App is already running, goto main page
INFO 11:15:58.454 │ <<< UI ENSURE >>>
INFO 11:15:58.455 │ UI get current page
INFO 11:15:58.468 │ [UI] page_main
INFO 11:15:58.473 │ ^ 10 1280 720 255
INFO 11:15:58.475 │ $ 255
INFO 11:15:58.476 │ MaaTouch stream connected
INFO 11:15:58.477 │ max_contact: 10; max_x: 1280; max_y: 720;
max_pressure: 255
INFO 11:15:58.483 │ acquire_lang_checked
INFO 11:15:58.484 │ <<< UI GOTO PAGE_MAIN >>>
INFO 11:15:58.485 │ Page arrive: page_main
INFO 11:15:58.733 │ Page arrive confirm page_main
INFO 11:15:58.735 │ check_lang_from_map_plane
INFO 11:15:58.736 │ Try ocr in lang cn
INFO 11:15:58.962 │ [OCR_MAP_NAME 0.225s] 旧武器试验场
INFO 11:15:58.963 │ [CurrentPlane]
MapPlane(Jarilo_OldWeaponTestingGround)
INFO 11:15:58.963 │ check_lang_from_map_plane matched lang: cn
INFO 11:15:58.964 │ UI get current page
INFO 11:15:58.965 │ [UI] page_main
INFO 11:15:58.966 │ Already at page_main
INFO 11:15:58.974 │ nemu_ipc released

运行环境 VT : 开启 Hyper-V : 关闭 网络环境检测 : 正常 以管理员运行方式 : 否 DirectX 11是否安装 : 是 防火墙 : 开启(建议关闭)

电脑配置 主板型号 : Manufacturer: ASUSTeK COMPUTER INC. Product: ROG STRIX B760-G GAMING WIFI D4 CPU : 13th Gen Intel(R) Core(TM) i5-13400F 系统版本 : Windows 11 64-bit Kernel 10.0.22631 显卡驱动 : 正常 显卡驱动型号 : 560.94 (20240814) 所有显卡 : NVIDIA GeForce RTX 4060 Ti | Microsoft Basic Render Driver 当前使用显卡 : NVIDIA GeForce RTX 4060 Ti 安装磁盘(可用/总)空间 : 379.6GB/930.4GB 可用内存/总内存 : 16.1GB/31.8GB

模拟器设置 Root : 关闭 显卡渲染模式 : Vulkan 模式(独家) 性能设置 : 8核/16GB 手机型号 : Redmi K50 分辨率 : 1280 * 720 高帧率 : 开启 后台保活 : 关闭

连接设备 音频输入 : 已连接 音频输出 : 已连接

网络信息 MuMu DNS : 192.168.5.1 电脑DNS : 192.168.5.1 Rom MAC地址 : 08:5a:5c:2f:e0:02

ADB调试端口 : 16448 MuMu出口IP地址 : 10.0.2.15 电脑出口IP地址 : 36.159.243.202

其它信息 其它版本信息 : vm: 120.1.79.004 hyperv: 6.3.27.0 renderer: 0.0.184.0 Vendor : NetEase OpenGL Renderer : MuMu GL (Vulkan 1.3.280 NVIDIA GeForce RTX 4060 Ti 560.94 A) OpenGL Version : OpenGL ES 3.2 V132 运行时间 : 0 : 16 : 59

MUMU模拟器的log: {e8f48dfd-c7a1-4cd6-a786-e20aceda1208}.zip

如何复现

  1. 前往 '...'
  2. 点击 '....'
  3. 滑动到 '....'
  4. 出现问题

预期行为

No response

相关 Logs

════════════════════════════════════════════════════════════════════════
                                 START                                  
════════════════════════════════════════════════════════════════════════
INFO     11:08:20.695 │ Start scheduler loop: src                       
INFO     11:08:20.697 │ [Lang] cn                                       
INFO     11:08:20.701 │ Bind task ['Alas']                              
INFO     11:08:20.703 │ No task pending                                 
INFO     11:08:20.703 │ [Task] Dungeon (Enable, 2024-08-27 15:18:57)    
INFO     11:08:20.703 │ Bind task ['Alas', 'Dungeon']                   
INFO     11:08:20.705 │ Wait until 2024-08-27 15:18:57 for task         
         `Dungeon`                                                      
INFO     11:08:20.706 │ Goto main page during wait                      
════════════════════════════════ DEVICE ════════════════════════════════
INFO     11:08:21.228 │ DEVICE                                          
INFO     11:08:21.234 │ [AdbBinary] C:\Users\Xu\Desktop\Game            
         Assist\StarRailCopilot\toolkit\Lib\site-packages\adbutils\binar
         ies\adb.exe                                                    
INFO     11:08:21.235 │ [AdbClient] AdbClient(127.0.0.1, 5037)          
INFO     11:08:21.236 │ <<< DETECT DEVICE >>>                           
INFO     11:08:21.236 │ Here are the available devices, copy to         
         Alas.Emulator.Serial to use it or set                          
         Alas.Emulator.Serial="auto"                                    
INFO     11:08:21.237 │ No available devices                            
INFO     11:08:21.238 │ Here are the devices detected but unavailable   
INFO     11:08:21.238 │ 127.0.0.1:16448 (offline)                       
WARNING  11:08:21.239 │ Device 127.0.0.1:16448 is offline, disconnect it
         before connecting                                              
INFO     11:08:21.241 │ disconnected 127.0.0.1:16448                    
INFO     11:08:23.291 │ cannot connect to 127.0.0.1:16448:              
         由于目标计算机积极拒绝,无法连接。 (10061)                     
INFO     11:08:25.331 │ cannot connect to 127.0.0.1:16450:              
         由于目标计算机积极拒绝,无法连接。 (10061)                     
INFO     11:08:25.334 │ cannot connect to 127.0.0.1:16446:              
         由于目标计算机积极拒绝,无法连接。 (10061)                     
INFO     11:08:25.335 │ cannot connect to 127.0.0.1:16447:              
         由于目标计算机积极拒绝,无法连接。 (10061)                     
INFO     11:08:25.336 │ cannot connect to 127.0.0.1:16449:              
         由于目标计算机积极拒绝,无法连接。 (10061)                     
INFO     11:08:25.344 │ <<< DETECT DEVICE >>>                           
INFO     11:08:25.344 │ Here are the available devices, copy to         
         Alas.Emulator.Serial to use it or set                          
         Alas.Emulator.Serial="auto"                                    
INFO     11:08:25.345 │ No available devices                            
INFO     11:08:25.347 │ Here are the devices detected but unavailable   
INFO     11:08:25.347 │ 127.0.0.1:16448 (offline)                       
WARNING  11:08:25.347 │ No such device exists, please restart the       
         emulator or set a correct serial                               
──────────────────────── FIND EMULATOR INSTANCE ────────────────────────
INFO     11:08:25.349 │ FIND EMULATOR INSTANCE                          
INFO     11:08:25.379 │ MuMuPlayer12(serial="127.0.0.1:16384",          
         name="MuMuPlayer-12.0-0", path="C:/Program                     
         Files/Netease/MuMuPlayer-12.0/shell/MuMuPlayer.exe")           
INFO     11:08:25.380 │ MuMuPlayer12(serial="127.0.0.1:16416",          
         name="MuMuPlayer-12.0-1", path="C:/Program                     
         Files/Netease/MuMuPlayer-12.0/shell/MuMuPlayer.exe")           
INFO     11:08:25.381 │ MuMuPlayer12(serial="127.0.0.1:16448",          
         name="MuMuPlayer-12.0-2", path="C:/Program                     
         Files/Netease/MuMuPlayer-12.0/shell/MuMuPlayer.exe")           
INFO     11:08:25.382 │ MuMuPlayer12(serial="127.0.0.1:16480",          
         name="MuMuPlayer-12.0-3", path="C:/Program                     
         Files/Netease/MuMuPlayer-12.0/shell/MuMuPlayer.exe")           
INFO     11:08:25.382 │ MuMuPlayer12(serial="127.0.0.1:16512",          
         name="MuMuPlayer-12.0-4", path="C:/Program                     
         Files/Netease/MuMuPlayer-12.0/shell/MuMuPlayer.exe")           
────────────────────────── EMULATOR INSTANCE ───────────────────────────
INFO     11:08:25.384 │ EMULATOR INSTANCE                               
INFO     11:08:25.385 │ Found emulator instance:                        
         MuMuPlayer12(serial="127.0.0.1:16448",                         
         name="MuMuPlayer-12.0-2", path="C:/Program                     
         Files/Netease/MuMuPlayer-12.0/shell/MuMuPlayer.exe")           
════════════════════════════ EMULATOR START ════════════════════════════
INFO     11:08:25.386 │ EMULATOR START                                  
INFO     11:08:25.386 │ Execute: "C:/Program                            
         Files/Netease/MuMuPlayer-12.0/shell/MuMuManager.exe" api -v 2  
         shutdown_player                                                
INFO     11:08:25.899 │ Execute: "C:/Program                            
         Files/Netease/MuMuPlayer-12.0/shell/MuMuPlayer.exe" -v 2       
──────────────────────────── EMULATOR START ────────────────────────────
INFO     11:08:25.911 │ EMULATOR START                                  
INFO     11:08:25.912 │ Current window: 2100596                         
INFO     11:08:28.470 │ New window showing up: 331438, focus back       
INFO     11:08:36.505 │ Emulator online: AdbDevice(127.0.0.1:16448,     
         device)                                                        
INFO     11:08:36.594 │ Command ping: pong                              
INFO     11:08:36.639 │ Found azurlane packages: ['com.miHoYo.hkrpg']   
INFO     11:08:36.640 │ Minimize new window: 331438                     
INFO     11:08:36.842 │ De-flash current window: 2100596                
INFO     11:08:36.843 │ Flash new window: 331438                        
INFO     11:08:36.845 │ Emulator start completed                        
════════════════════════════════ DEVICE ════════════════════════════════
INFO     11:08:36.845 │ DEVICE                                          
INFO     11:08:36.846 │ [AdbBinary] C:\Users\Xu\Desktop\Game            
         Assist\StarRailCopilot\toolkit\Lib\site-packages\adbutils\binar
         ies\adb.exe                                                    
INFO     11:08:36.846 │ <<< DETECT DEVICE >>>                           
INFO     11:08:36.847 │ Here are the available devices, copy to         
         Alas.Emulator.Serial to use it or set                          
         Alas.Emulator.Serial="auto"                                    
INFO     11:08:36.848 │ 127.0.0.1:16448                                 
INFO     11:08:36.850 │ already connected to 127.0.0.1:16448            
INFO     11:08:36.850 │ [AdbDevice] AdbDevice(serial=127.0.0.1:16448)   
INFO     11:08:36.851 │ [Server] CN-Official                            
INFO     11:08:36.852 │ [PackageName] com.miHoYo.hkrpg                  
INFO     11:08:36.853 │ [Lang] cn                                       
INFO     11:08:36.858 │ [nemud.player_version]                          
INFO     11:08:36.859 │ [customer.app_keptlive] false                   
INFO     11:08:36.859 │ [nemu_ipc_available] True                       
INFO     11:08:36.860 │ Screenshot interval set to 0.2s                 
INFO     11:08:36.861 │ <<< MAATOUCH INIT >>>                           
INFO     11:08:36.861 │ NemuIpcImpl init, nemu_folder=C:\Program        
         Files\Netease\MuMuPlayer-12.0, ipc_dll=C:\Program              
         Files\Netease\MuMuPlayer-12.0\shell\sdk\external_renderer_ipc.d
         ll, instance_id=2, display_id=0                                
INFO     11:08:36.876 │ [Screen_size] 1280x720                          
INFO     11:08:36.880 │ [Device Orientation] 1 (HOME key on the right)  
INFO     11:08:36.986 │ [Package_name] com.mumu.launcher                
INFO     11:08:36.986 │ App is not running, start app and goto main page
INFO     11:08:36.987 │ <<< APP START >>>                               
INFO     11:08:36.988 │ App start: com.miHoYo.hkrpg                     
INFO     11:08:37.000 │ ^ 10 1280 720 255                               
INFO     11:08:37.001 │ $ 255                                           
INFO     11:08:37.001 │ MaaTouch stream connected                       
INFO     11:08:37.002 │ max_contact: 10; max_x: 1280; max_y: 720;       
         max_pressure: 255                                              
INFO     11:08:37.006 │ handle_app_login                                
INFO     11:08:37.007 │ Screenshot interval set to 1.0s                 
INFO     11:08:37.007 │ <<< APP LOGIN >>>                               
INFO     11:08:37.024 │ [Device Orientation] 1 (HOME key on the right)  
INFO     11:08:42.933 │ [Package_name] com.miHoYo.hkrpg                 
INFO     11:08:42.943 │ [Device Orientation] 1 (HOME key on the right)  
INFO     11:08:48.907 │ [Package_name] com.miHoYo.hkrpg                 
INFO     11:08:48.915 │ [Device Orientation] 1 (HOME key on the right)  
INFO     11:08:54.932 │ [Package_name] com.miHoYo.hkrpg                 
INFO     11:08:54.940 │ [Device Orientation] 1 (HOME key on the right)  
INFO     11:08:57.897 │ Game resources downloading or loading           
INFO     11:09:02.930 │ [Package_name] com.miHoYo.hkrpg                 
INFO     11:09:02.941 │ [Device Orientation] 1 (HOME key on the right)  
INFO     11:09:04.906 │ Click (1082,  512) @ LOGIN_CONFIRM              
INFO     11:09:08.934 │ [Package_name] com.miHoYo.hkrpg                 
INFO     11:09:13.960 │ [Package_name] com.miHoYo.hkrpg                 
INFO     11:09:15.918 │ Login to main confirm                           
INFO     11:09:15.919 │ Screenshot interval set to 0.2s                 
INFO     11:09:15.920 │ <<< UI ENSURE >>>                               
INFO     11:09:15.921 │ UI get current page                             
INFO     11:09:15.922 │ [UI] page_main                                  
INFO     11:09:15.926 │ acquire_lang_checked                            
INFO     11:09:15.927 │ <<< UI GOTO PAGE_MAIN >>>                       
INFO     11:09:15.928 │ Page arrive: page_main                          
INFO     11:09:16.116 │ Page arrive confirm page_main                   
INFO     11:09:16.117 │ check_lang_from_map_plane                       
INFO     11:09:16.118 │ Try ocr in lang cn                              
INFO     11:09:16.351 │ [OCR_MAP_NAME 0.232s] 旧武器试验场              
INFO     11:09:16.353 │ [CurrentPlane]                                  
         MapPlane(Jarilo_OldWeaponTestingGround)                        
INFO     11:09:16.353 │ check_lang_from_map_plane matched lang: cn      
INFO     11:09:16.354 │ UI get current page                             
INFO     11:09:16.355 │ [UI] page_main                                  
INFO     11:09:16.356 │ Already at page_main                            
INFO     11:09:16.370 │ nemu_ipc released                               
[src] exited. Reason: Manual stop

════════════════════════════════════════════════════════════════════════
                                 START                                  
════════════════════════════════════════════════════════════════════════
INFO     11:15:53.333 │ Start scheduler loop: src                       
INFO     11:15:53.336 │ [Lang] cn                                       
INFO     11:15:53.341 │ Bind task ['Alas']                              
INFO     11:15:53.343 │ No task pending                                 
INFO     11:15:53.344 │ [Task] Dungeon (Enable, 2024-08-27 15:18:57)    
INFO     11:15:53.345 │ Bind task ['Alas', 'Dungeon']                   
INFO     11:15:53.346 │ Wait until 2024-08-27 15:18:57 for task         
         `Dungeon`                                                      
INFO     11:15:53.347 │ Goto main page during wait                      
════════════════════════════════ DEVICE ════════════════════════════════
INFO     11:15:53.925 │ DEVICE                                          
INFO     11:15:53.933 │ [AdbBinary] C:\Users\Xu\Desktop\Game            
         Assist\StarRailCopilot\toolkit\Lib\site-packages\adbutils\binar
         ies\adb.exe                                                    
INFO     11:15:53.934 │ [AdbClient] AdbClient(127.0.0.1, 5037)          
INFO     11:15:53.935 │ <<< DETECT DEVICE >>>                           
INFO     11:15:53.935 │ Here are the available devices, copy to         
         Alas.Emulator.Serial to use it or set                          
         Alas.Emulator.Serial="auto"                                    
INFO     11:15:58.177 │ No available devices                            
INFO     11:15:58.220 │ connected to 127.0.0.1:16448                    
INFO     11:15:58.221 │ [AdbDevice] AdbDevice(serial=127.0.0.1:16448)   
INFO     11:15:58.222 │ [Server] CN-Official                            
INFO     11:15:58.223 │ [PackageName] com.miHoYo.hkrpg                  
INFO     11:15:58.224 │ [Lang] cn                                       
INFO     11:15:58.316 │ [nemud.player_version]                          
INFO     11:15:58.318 │ [customer.app_keptlive] false                   
INFO     11:15:58.318 │ [nemu_ipc_available] True                       
INFO     11:15:58.319 │ Screenshot interval set to 0.2s                 
INFO     11:15:58.320 │ <<< MAATOUCH INIT >>>                           
INFO     11:15:58.320 │ NemuIpcImpl init, nemu_folder=C:\Program        
         Files\Netease\MuMuPlayer-12.0, ipc_dll=C:\Program              
         Files\Netease\MuMuPlayer-12.0\shell\sdk\external_renderer_ipc.d
         ll, instance_id=2, display_id=0                                
INFO     11:15:58.332 │ [Device Orientation] 1 (HOME key on the right)  
INFO     11:15:58.335 │ [Screen_size] 1280x720                          
INFO     11:15:58.452 │ [Package_name] com.miHoYo.hkrpg                 
INFO     11:15:58.453 │ App is already running, goto main page          
INFO     11:15:58.454 │ <<< UI ENSURE >>>                               
INFO     11:15:58.455 │ UI get current page                             
INFO     11:15:58.468 │ [UI] page_main                                  
INFO     11:15:58.473 │ ^ 10 1280 720 255                               
INFO     11:15:58.475 │ $ 255                                           
INFO     11:15:58.476 │ MaaTouch stream connected                       
INFO     11:15:58.477 │ max_contact: 10; max_x: 1280; max_y: 720;       
         max_pressure: 255                                              
INFO     11:15:58.483 │ acquire_lang_checked                            
INFO     11:15:58.484 │ <<< UI GOTO PAGE_MAIN >>>                       
INFO     11:15:58.485 │ Page arrive: page_main                          
INFO     11:15:58.733 │ Page arrive confirm page_main                   
INFO     11:15:58.735 │ check_lang_from_map_plane                       
INFO     11:15:58.736 │ Try ocr in lang cn                              
INFO     11:15:58.962 │ [OCR_MAP_NAME 0.225s] 旧武器试验场              
INFO     11:15:58.963 │ [CurrentPlane]                                  
         MapPlane(Jarilo_OldWeaponTestingGround)                        
INFO     11:15:58.963 │ check_lang_from_map_plane matched lang: cn      
INFO     11:15:58.964 │ UI get current page                             
INFO     11:15:58.965 │ [UI] page_main                                  
INFO     11:15:58.966 │ Already at page_main                            
INFO     11:15:58.974 │ nemu_ipc released

截图

No response

还有别的吗?

No response

lsdlBlueDragon commented 3 months ago

隔了两天自己好了,怪耶