runhey / OnmyojiAutoScript

Onmyoji Auto Script | 阴阳师脚本
https://runhey.github.io/OnmyojiAutoScript-website/
GNU General Public License v3.0
1.78k stars 176 forks source link

出现Game page unknown错误代码,脚本识别模拟器出现异常图像拉伸 #406

Closed OrimimiNeko closed 2 months ago

OrimimiNeko commented 2 months ago

在提问之前...

描述你的问题

自从mumu模拟器最新更新以后一直出现无法识别游戏场景的问题,检查出错截图发现脚本识别图像中出现异常拉伸,但实际上我的模拟器分辨率设置为安装手册中要求的1280*720平板型。 重新安装mumu模拟器,重新安装oas与oasx,修改分辨率,修改截图方案均有尝试,但仍然出现此问题。

如何复现

  1. mumu模拟器
  2. 打开oas
  3. 打开oasx
  4. 出现问题

预期行为

No response

相关 Logs

════════════════════════════════════════════════════════════════════════════════
──────────────────────────────── KEKKAIUTILIZE ─────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
2024-09-02 22:32:47.048 |            logger.py:0284 |     INFO | [nemud.app_keep_alive]                                                                         
2024-09-02 22:32:47.052 |        connection.py:0440 |     INFO | Reuse forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20737', remote='tcp:53516')    
2024-09-02 22:32:47.183 |            logger.py:0284 |     INFO | [Screen_size] 1280x720                                                                         
2024-09-02 22:32:47.187 |            script.py:0350 |     INFO | module_path: D:\YYSOAS~1\ONMYOJ~1\ONMYOJ~1\tasks\KekkaiUtilize\script_task.py, module_name:    
script_task                                                                                                                                                     
2024-09-02 22:32:47.524 |           game_ui.py:0096 |     INFO | UI get current page                                                                            
2024-09-02 22:32:47.727 |             image.py:0076 |     INFO | roi_front size changed to 66x75                                                                
2024-09-02 22:32:47.774 |            logger.py:0284 |     INFO | [u2.Device] Device(atx_agent_url=http://127.0.0.1:50386)                                       
2024-09-02 22:32:47.850 |            logger.py:0284 |     INFO | [Package_name] com.netease.onmyoji.wyzymnqsd_cps                                               
2024-09-02 22:32:47.868 |            logger.py:0284 |     INFO | [Device Orientation] 1 (HOME key on the right)                                                 
2024-09-02 22:32:57.911 |           game_ui.py:0153 |  WARNING | Unknown ui page                                                                                
2024-09-02 22:32:57.916 |            logger.py:0284 |     INFO | [EMULATOR__SCREENSHOT_METHOD] ScreenshotMethod.DROIDCAST_RAW                                   
2024-09-02 22:32:57.919 |            logger.py:0284 |     INFO | [EMULATOR__CONTROL_METHOD] ControlMethod.MINITOUCH                                             
2024-09-02 22:32:57.922 |           game_ui.py:0156 |  WARNING | Starting from current page is not supported                                                    
2024-09-02 22:32:57.925 |           game_ui.py:0157 |  WARNING | Supported page: ['page_main', 'page_summon', 'page_exploration', 'page_town',                  
'page_awake_zones', 'page_soul_zones', 'page_realm_raid', 'page_goryou_realm', 'page_delegation', 'page_secret_zones', 'page_area_boss', 'page_heian_kitan',    
'page_six_gates', 'page_bondling_fairyland', 'page_kekkai_toppa', 'page_duel', 'page_demon_encounter', 'page_hunt', 'page_draft_duel', 'page_hyakkisen',        
'page_shikigami_records', 'page_onmyodo', 'page_friends', 'page_daily', 'page_mall', 'page_guild', 'page_team', 'page_collection']                              
2024-09-02 22:32:57.933 |           game_ui.py:0158 |  WARNING | Supported page: Any page with a "HOME" button on the upper-right                               
2024-09-02 22:32:57.936 |           game_ui.py:0159 | CRITICAL | Please switch to a supported page before starting oas                                          
2024-09-02 22:32:57.939 |            script.py:0377 |     INFO | Game server may be under maintenance or network may be broken, check server status now         
2024-09-02 22:32:57.944 |            script.py:0379 | CRITICAL | Game page unknown                                                                              
2024-09-02 22:32:57.951 |            script.py:0096 |  WARNING | Saving error: ./log/error/1725287577951

截图

Image_1725288631341

还有别的吗?

No response

runhey commented 2 months ago

每一个截图方案都试过了吗,可以考虑nemu_ipc