LmeSzinc/StarRailCopilot

蓝叠安卓11 运行没有任何反应

asahinobori opened this issue · 2 comments

在提问之前...

  • 我已经搜索了现有的 issues
  • 我在提问题之前至少花费了 5 分钟来思考和准备
  • 我正在使用最新版的 SRC

描述你的问题

几个月没登录游戏了,现在捡起,使用Bluestacks 5 模拟器,然后使用SRC,启动脚本,没有输出问题,在scrcpy server is up输出后就没有后续反应,游戏也没有任何动作

如何复现

1、打开bluestacks5 hyper-v 国际版,安装国服官服安卓版
2、运行游戏、登入账号、正常游戏
3、启动SRC,正常进入控制界面
4、启动调度器,观察日志输出

预期行为

应该会执行一些基本的动作,如仪表盘更新

相关 Logs

═══════════════════════════════════════════════════════════════════════════════════
                                       START                                       
═══════════════════════════════════════════════════════════════════════════════════
INFO     11:52:19.043 │ Start scheduler loop: src                                  
INFO     11:52:19.045 │ [Lang] cn                                                  
INFO     11:52:19.049 │ Bind task ['Alas']                                         
INFO     11:52:19.050 │ Pending tasks: ['Restart', 'Dungeon', 'Assignment',        
         'BattlePass', 'DailyQuest', 'DataUpdate']                                 
INFO     11:52:19.051 │ [Task] Restart (Enable, 2020-01-01 00:00:00)               
INFO     11:52:19.052 │ Bind task ['Alas', 'Restart']                              
═════════════════════════════════════ DEVICE ══════════════════════════════════════
INFO     11:52:19.643 │ DEVICE                                                     
INFO     11:52:19.650 │ [AdbBinary]                                                
         D:\Game\azurelane\StarRailCopilot\toolkit\Lib\site-packages\adbutils\binar
         ies\adb.exe                                                               
INFO     11:52:19.651 │ [AdbClient] AdbClient(127.0.0.1, 5037)                     
INFO     11:52:19.652 │ <<< DETECT DEVICE >>>                                      
INFO     11:52:19.653 │ Here are the available devices, copy to                    
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"         
INFO     11:52:19.656 │ 127.0.0.1:5575                                             
INFO     11:52:19.656 │ emulator-5574                                              
INFO     11:52:19.657 │ "emulator-5574" is a `emulator-*` serial, skip adb connect 
INFO     11:52:19.658 │ [AdbDevice] AdbDevice(serial=emulator-5574)                
INFO     11:52:19.659 │ [Server] CN-Official                                       
INFO     11:52:19.660 │ [PackageName] com.miHoYo.hkrpg                             
INFO     11:52:19.661 │ [Lang] auto                                                
INFO     11:52:19.661 │ [nemu_ipc_available] False                                 
INFO     11:52:19.662 │ <<< MAATOUCH INIT >>>                                      
INFO     11:52:19.663 │ Skip task `Restart` at scheduler start                     
INFO     11:52:19.665 │ Delay task `Restart` to 2024-07-09 04:00:00                
         (server_update='04:00')                                                   
INFO     11:52:19.667 │ Bind task ['Alas', 'Restart']                              
INFO     11:52:19.668 │ Save config ./config\src.json,                             
         Restart.Scheduler.NextRun=datetime.datetime(2024, 7, 9, 4, 0)             
INFO     11:52:19.673 │ [Device Orientation] 0 (Normal)                            
INFO     11:52:19.675 │ [Lang] auto                                                
INFO     11:52:19.680 │ Bind task ['Alas']                                         
INFO     11:52:19.681 │ Pending tasks: ['Dungeon', 'Assignment', 'BattlePass',     
         'DailyQuest', 'DataUpdate']                                               
INFO     11:52:19.682 │ [Task] Dungeon (Enable, 2020-01-01 00:00:00)               
INFO     11:52:19.683 │ Bind task ['Alas', 'Dungeon']                              
INFO     11:52:19.684 │ Scheduler: Start task `Dungeon`                            
═══════════════════════════════════════════════════════════════════════════════════
                                      DUNGEON                                      
═══════════════════════════════════════════════════════════════════════════════════
INFO     11:52:19.690 │ newCommandTimeout updated to 168h0m0s                      
INFO     11:52:19.692 │ [u2.Device] Device(atx_agent_url=http://127.0.0.1:12311)   
INFO     11:52:19.702 │ [Device Orientation] 0 (Normal)                            
INFO     11:52:19.704 │ [Screen_size] 720x1280                                     
INFO     11:52:19.704 │ <<< SCRCPY SERVER START >>>                                
INFO     11:52:19.707 │ Create server stream                                       
INFO     11:52:19.760 │ ^ 10 1280 720 255                                          
INFO     11:52:19.761 │ $ 255                                                      
INFO     11:52:19.762 │ MaaTouch stream connected                                  
INFO     11:52:19.763 │ max_contact: 10; max_x: 1280; max_y: 720; max_pressure: 255
INFO     11:52:19.796 │ b'[server] INFO: Device: Xiaomi 2107113SI (Android 11)\n'  
INFO     11:52:19.798 │ Create video socket                                        
INFO     11:52:19.902 │ Create control socket                                      
INFO     11:52:19.904 │ Fetch device info                                          
INFO     11:52:19.905 │ [Scrcpy Device] 2107113SI                                  
INFO     11:52:19.906 │ [Scrcpy Resolution] (1280, 720)                            
INFO     11:52:19.907 │ Start video stream loop thread                             
INFO     11:52:19.907 │ Scrcpy server is up

截图

src_not_working

还有别的吗?

实在没有搜索到相关scrcpy启动后没有反应问题和解决方法,scrcpy我平时也会使用来控制物理手机,使用正常,从输出日志来看,adb连接正常,scrcpy服务也启动,不知道是不是没有识别到目前游戏画面

这似乎是Bluestacks Android 11本身的问题,已反馈到Bluestacks团队。

缓解措施 :在Windows开始菜单找到 Bluestacks Multi-Instance Manager ,切换到Android 9系统,就能正确工作了。模拟器的数据尚不能无缝迁移。

请查阅上游scrcpy的bug报告: Genymobile/scrcpy#4447 @asahinobori

这似乎是Bluestacks Android 11本身的问题,已反馈到Bluestacks团队。

缓解措施 :在Windows开始菜单找到 Bluestacks Multi-Instance Manager ,切换到Android 9系统,就能正确工作了。模拟器的数据尚不能无缝迁移。

请查阅上游scrcpy的bug报告: Genymobile/scrcpy#4447 @asahinobori

感谢回复,将Bluestacks的android 11改用成android 9, SRC有反应了,验证不是SRC的问题,关闭这个issue