LmeSzinc / StarRailCopilot

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

[模拟器问题] 逍遥模拟器无法正常使用"角色养成规划"功能 #507

Open bling-yshs opened 4 months ago

bling-yshs commented 4 months ago

在提问之前...

描述你的问题

模拟器是逍遥模拟器,其他可以正常刷本做日常,但是角色养成规划就是提示Not in page_planner,截图在下方

如何复现

No response

预期行为

No response

相关 Logs

═════════════════════════════════════════════════════════════
                            START                            
═════════════════════════════════════════════════════════════
INFO     12:14:14.218 │ [Lang] cn                            
INFO     12:14:14.223 │ Bind task ['Alas']                   
══════════════════════════ DEVICE ═══════════════════════════
INFO     12:14:14.225 │ DEVICE                               
INFO     12:14:14.234 │ [AdbBinary]                          
         C:\abys\软件\StarRailCopilot\toolkit\Lib\site-packag
         \adbutils\binaries\adb.exe                          
INFO     12:14:14.235 │ [AdbClient] AdbClient(127.0.0.1,     
         5037)                                               
INFO     12:14:14.236 │ <<< DETECT DEVICE >>>                
INFO     12:14:14.237 │ Here are the available devices, copy 
         to Alas.Emulator.Serial to use it or set            
         Alas.Emulator.Serial="auto"                         
INFO     12:14:14.238 │ 127.0.0.1:21503                      
INFO     12:14:14.241 │ already connected to 127.0.0.1:21503 
INFO     12:14:14.242 │ [AdbDevice]                          
         AdbDevice(serial=127.0.0.1:21503)                   
INFO     12:14:14.243 │ [Server] CN-Official                 
INFO     12:14:14.244 │ [PackageName] com.miHoYo.hkrpg       
INFO     12:14:14.244 │ [Lang] auto                          
INFO     12:14:14.245 │ [nemu_ipc_available] False           
WARNING  12:14:14.333 │ atx-agent has something wrong, auto  
         recovering                                          
INFO     12:14:14.335 │ device 127.0.0.1:21503 is online     
INFO     12:14:14.681 │ uiautomator2 version: 2.16.17        
INFO     12:14:14.682 │ Shell: ('/data/local/tmp/atx-agent', 
         'server', '--stop')                                 
INFO     12:14:14.807 │ Real version: [0, 10, 0], Expect     
         version: [0, 10, 0]                                 
INFO     12:14:14.808 │ Shell: ('/data/local/tmp/atx-agent', 
         'server', '--nouia', '-d', '--addr',                
         '127.0.0.1:7912')                                   
INFO     12:14:14.859 │ Check atx-agent version              
INFO     12:14:14.860 │ Forward: local:tcp:11972 ->          
         remote:tcp:7912                                     
INFO     12:14:14.947 │ atx-agent version 0.10.0             
INFO     12:14:15.035 │ device wlan ip: 192.168.232.2        
INFO     12:14:15.127 │ newCommandTimeout updated to 168h0m0s
INFO     12:14:15.129 │ [u2.Device]                          
         Device(atx_agent_url=http://127.0.0.1:11972)        
INFO     12:14:15.229 │ [Device Orientation] 0 (Normal)      
INFO     12:14:15.231 │ [Screen_size] 720x1280               
INFO     12:14:15.231 │ <<< SCRCPY SERVER START >>>          
INFO     12:14:15.273 │ Create server stream                 
INFO     12:14:15.439 │ b'[server] INFO: Device: Asus        
         ASUS_I003DD (Android 9)\n'                          
INFO     12:14:15.440 │ Create video socket                  
INFO     12:14:15.482 │ Create control socket                
INFO     12:14:15.525 │ Fetch device info                    
INFO     12:14:15.527 │ [Scrcpy Device] ASUS_I003DD          
INFO     12:14:15.528 │ [Scrcpy Resolution] (1280, 720)      
INFO     12:14:15.529 │ Start video stream loop thread       
INFO     12:14:15.530 │ Scrcpy server is up                  
INFO     12:14:15.754 │ [Screen_size] 1280x720               
INFO     12:14:16.173 │ Bind task ['Alas', 'PlannerScan']    
─────────────────── PARSE PLANNER RESULT ────────────────────
INFO     12:14:16.254 │ PARSE PLANNER RESULT                 
ERROR    12:14:16.273 │ Not in page_planner, game must in the
         planner result page before scanning                 
INFO     12:14:16.274 │ [src2] exited. Reason: Finish

截图

image

还有别的吗?

No response

bling-yshs commented 4 months ago

补充一下我昨天用mumu12,是可以扫到的,但是mumu12开了hyperv会很卡,所以换逍遥了

LmeSzinc commented 4 months ago

使用模拟器的截图工具截图,关闭hyperv

bling-yshs commented 4 months ago

使用模拟器的截图工具截图,关闭hyperv

2024-06-13_21-41-42-175996 log.txt

新版本好像报错的时候会自动截图了,上面是 src 自己截的图,下面是模拟器截图工具截的图 Screenshot_20240613-214100

至于 hyperv 的话我电脑关不掉,不过我用 mumu 的时候也是开着 hyperv 的,当时是可以正常用的

LmeSzinc commented 4 months ago

模拟器dpi改成 240,网络搜索关闭Hyperv就可以关掉了

bling-yshs commented 4 months ago

模拟器dpi改成 240,网络搜索关闭Hyperv就可以关掉了

dpi在720p下已经是240了。hyperv的话是我没表达清楚不好意思,因为我要用docker,所以hyperv必须开着。

那我试试其它模拟器吧,如果可以的话那就是这个功能无法适配逍遥,到时候我 issue 标题改一下

image

bling-yshs commented 4 months ago

蓝叠5可以正常使用,issue标题已修改