OnmyojiAutoScript icon indicating copy to clipboard operation
OnmyojiAutoScript copied to clipboard

可以正常换阵容,然后点击探索,但是就会卡住不动了,麻烦各位大佬帮忙解决

Open jingyu324 opened this issue 4 months ago • 8 comments

在提问之前...

  • [x] 我已经搜索了现有的 issues
  • [x] 我在提问题之前至少花费了 5 分钟来思考和准备
  • [x] 我已经阅读了文档中的 常见问题(FAQ)
  • [x] 这个问题出现了至少三次,不是偶发的
  • [ ] 我使用 OAS 的 dev 分支

描述你的问题

INFO | 17:58:02.201 | Log cleanup finished
INFO | 17:58:02.207 | Start scheduler loop: oas1
INFO | 17:58:02.222 | 显示窗口: MuMu模拟器12
INFO | 17:58:02.236 | Pending tasks: ['RyouToppa']
INFO | 17:58:02.276 | [Task] RyouToppa (Enable, 5, 2023-01-01 00:00:00)
════════════════════════════════════ DEVICE ════════════════════════════════════ INFO | 17:58:02.289 | DEVICE
INFO | 17:58:02.294 | [AdbBinary]
C:/Users/30515/Desktop/脚本/ONMYOJ~1/ONMYOJ~1/toolkit/Lib/site-packages adbutils/binaries/adb.exe
INFO | 17:58:02.306 | [AdbClient] AdbClient(127.0.0.1, 5037)
INFO | 17:58:02.315 | <<< DETECT DEVICE >>>
INFO | 17:58:02.320 | Here are the available devices, copy to
Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"
INFO | 17:58:02.329 | 127.0.0.1:7555
INFO | 17:58:02.344 | connected to 127.0.0.1:16384
INFO | 17:58:02.350 | [AdbDevice] AdbDevice(serial=127.0.0.1:16384)
INFO | 17:58:02.361 | <<< DETECT PACKAGE >>>
INFO | 17:58:02.373 | Get package list
INFO | 17:58:02.653 | Here are the available packages in device
"127.0.0.1:16384", copy to Alas.Emulator.PackageName to use it
INFO | 17:58:02.661 | com.netease.onmyoji.wyzymnqsd_cps
INFO | 17:58:02.671 | Auto package detection found only one package, using
it
INFO | 17:58:02.681 | Server changed, release resources
INFO | 17:58:02.687 | [PackageName] com.netease.onmyoji.wyzymnqsd_cps
INFO | 17:58:02.694 | <<< HANDLE >>>
INFO | 17:58:02.700 | Handle is handle string. oas use it as root handle
title
INFO | 17:58:02.704 | The root handle title is MuMu模拟器12 and num is
590036
INFO | 17:58:02.710 | Emulator handle structure:
INFO | 17:58:02.716 | MuMu模拟器12
INFO | 17:58:02.721 | └── MuMuPlayer
INFO | 17:58:02.729 | └── nemudisplay
INFO | 17:58:02.733 | 590036
INFO | 17:58:02.741 | └── 329134
INFO | 17:58:02.748 | └── 264338
INFO | 17:58:02.755 | Emulator family: EmulatorFamily.FAMILY_MUMU
INFO | 17:58:02.762 | Your window screen scale rate: 1.5
INFO | 17:58:02.771 | The emulator is MuMu模拟器12
INFO | 17:58:02.779 | Screenshot handle num: 329134
INFO | 17:58:02.785 | Emulator screenshot size: (1280, 720)
INFO | 17:58:02.793 | Screenshot interval set to 0.3s
INFO | 17:58:02.799 | Scheduler: Start task RyouToppa
════════════════════════════════════════════════════════════════════════════════ ────────────────────────────────── RYOUTOPPA ─────────────────────────────────── ════════════════════════════════════════════════════════════════════════════════ INFO | 17:58:03.538 | [Screen_size] 1280x720
INFO | 17:58:03.548 | module_path:
C:\Users\30515\Desktop\脚本\ONMYOJ~1\ONMYOJ~1\tasks\RyouToppa\script_ta sk.py, module_name: script_task
INFO | 17:58:03.976 | UI get current page
INFO | 17:58:03.998 | [UI] page_main
INFO | 17:58:04.008 | <<< UI GOTO PAGE_SHIKIGAMI_RECORDS >>>
INFO | 17:58:04.074 | Page switch: page_main -> page_shikigami_records
INFO | 17:58:04.084 | Click (1105, 615) @ PAGE_MAIN_GOTO_SHIKIGAMI_RECORDS INFO | 17:58:07.012 | Page arrive: page_shikigami_records
ERROR | 17:58:07.016 | Switch soul config error
INFO | 17:58:07.020 | UI get current page
INFO | 17:58:07.061 | [UI] page_shikigami_records
INFO | 17:58:07.068 | <<< UI GOTO PAGE_KEKKAI_TOPPA >>>
INFO | 17:58:07.097 | Page switch: page_shikigami_records -> page_main
INFO | 17:58:07.104 | Click ( 32, 24) @ PAGE_BACK_Y
INFO | 17:58:08.626 | Page switch: page_main -> page_exploration
INFO | 17:58:08.648 | Click ( 684, 156) @ PAGE_MAIN_GOTO_EXPLORATION
INFO | 17:58:10.872 | Page switch: page_exploration -> page_realm_raid
INFO | 17:58:14.977 | Page switch: page_exploration -> page_realm_raid

如何复现

  1. 前往 '探索'
  2. 无法点击 '突破等其他选项'但是可以识别并点击到准备
  3. 滑动到 '....'
  4. 出现问题

预期行为

No response

相关 Logs


截图

No response

还有别的吗?

No response

jingyu324 avatar Aug 19 '25 10:08 jingyu324

有图的吗,你可以等一会然后会报错的,这个时候会显示保存错误的位置,里面有图

runhey avatar Aug 20 '25 02:08 runhey

体服吧这是,还不支持的

ytipocmk631 avatar Aug 21 '25 03:08 ytipocmk631

体服吧这是,还不支持的

有点没搞明白为什么可以换阵容点进魂土又可以准备,但是就是会卡在探索界面里要手动点击副本

jingyu324 avatar Aug 21 '25 13:08 jingyu324

体服吧这是,还不支持的

有点没搞明白为什么可以换阵容点进魂土又可以准备,但是就是会卡在探索界面里要手动点击副本

是不是体服?体服ui变了进不了突破

ytipocmk631 avatar Aug 22 '25 07:08 ytipocmk631

[我也遇到了相似的问题,个人突破进入地图后无法移动,不是体服,但是进入突破界面后可正常运行,怀疑是地图移动问题。

════════════════════════════════════════════════════════════════════════════════
────────────────────────────────── REALMRAID ───────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
INFO           | 00:01:32.399 | module_path:                                          
         D:\app\OnmyojiAutoScript\OnmyojiAutoScript-easy-install\tasks\RealmRaid
         \script_task.py, module_name: script_task                              
INFO           | 00:01:32.403 | UI get current page                                   
INFO           | 00:01:32.429 | [UI] page_exploration                                 
INFO           | 00:01:32.432 | <<< UI GOTO PAGE_REALM_RAID >>>                       
INFO           | 00:01:32.484 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:36.594 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:40.896 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:45.111 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:49.420 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:53.893 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:57.924 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:02.659 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:06.961 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:11.300 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:15.715 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:20.219 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:24.570 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:29.000 | Page switch: page_exploration -> page_realm_raid      
WARNING  | 00:02:32.546 | Wait too long                                         
WARNING  | 00:02:32.550 | Waiting for set()                                     
INFO           | 00:02:32.839 | [Package_name] com.netease.onmyoji.wyzymnqsd_cps      
ERROR        | 00:02:32.845 | GameStuckError: Wait too long                         
WARNING  | 00:02:32.850 | Saving error: ./log/error/1755878552850               
WARNING  | 00:02:33.721 | Game stuck, com.netease.onmyoji.wyzymnqsd_cps will be 
         restarted in 10 seconds                                                
WARNING  | 00:02:33.726 | If you are playing by hand, please stop Alas          
INFO           | 00:02:33.729 | Notifier: OAS1                                        
INFO           | 00:02:33.737 | Task call: restart                                    
INFO           | 00:02:43.774 | Scheduler: End task `RealmRaid`                       
CRITICAL    | 00:02:43.779 | Task `RealmRaid` failed 3 or more times.              
CRITICAL    | 00:02:43.782 | Possible reason #1: You haven't used it correctly.    
         Please read the help text of the options.                              
CRITICAL    | 00:02:43.786 | Possible reason #2: There is a problem with this task.
         Please contact developers or try to fix it yourself.                   
CRITICAL    | 00:02:43.790 | Request human takeover                                
INFO           | 00:02:43.793 | Script oas1 process exit                              
ERROR        | 00:02:43.797 | Error: 1                                              

此时卡在地图界面,与地图界面相关的功能(例如大蛇副本,个人突破,探索等)都会出现上述问题。

Qilingwan avatar Aug 22 '25 16:08 Qilingwan

[我也遇到了相似的问题,个人突破进入地图后无法移动,不是体服,但是进入突破界面后可正常运行,怀疑是地图移动问题。

════════════════════════════════════════════════════════════════════════════════
────────────────────────────────── REALMRAID ───────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
INFO           | 00:01:32.399 | module_path:                                          
         D:\app\OnmyojiAutoScript\OnmyojiAutoScript-easy-install\tasks\RealmRaid
         \script_task.py, module_name: script_task                              
INFO           | 00:01:32.403 | UI get current page                                   
INFO           | 00:01:32.429 | [UI] page_exploration                                 
INFO           | 00:01:32.432 | <<< UI GOTO PAGE_REALM_RAID >>>                       
INFO           | 00:01:32.484 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:36.594 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:40.896 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:45.111 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:49.420 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:53.893 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:01:57.924 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:02.659 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:06.961 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:11.300 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:15.715 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:20.219 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:24.570 | Page switch: page_exploration -> page_realm_raid      
INFO           | 00:02:29.000 | Page switch: page_exploration -> page_realm_raid      
WARNING  | 00:02:32.546 | Wait too long                                         
WARNING  | 00:02:32.550 | Waiting for set()                                     
INFO           | 00:02:32.839 | [Package_name] com.netease.onmyoji.wyzymnqsd_cps      
ERROR        | 00:02:32.845 | GameStuckError: Wait too long                         
WARNING  | 00:02:32.850 | Saving error: ./log/error/1755878552850               
WARNING  | 00:02:33.721 | Game stuck, com.netease.onmyoji.wyzymnqsd_cps will be 
         restarted in 10 seconds                                                
WARNING  | 00:02:33.726 | If you are playing by hand, please stop Alas          
INFO           | 00:02:33.729 | Notifier: OAS1                                        
INFO           | 00:02:33.737 | Task call: restart                                    
INFO           | 00:02:43.774 | Scheduler: End task `RealmRaid`                       
CRITICAL    | 00:02:43.779 | Task `RealmRaid` failed 3 or more times.              
CRITICAL    | 00:02:43.782 | Possible reason #1: You haven't used it correctly.    
         Please read the help text of the options.                              
CRITICAL    | 00:02:43.786 | Possible reason #2: There is a problem with this task.
         Please contact developers or try to fix it yourself.                   
CRITICAL    | 00:02:43.790 | Request human takeover                                
INFO           | 00:02:43.793 | Script oas1 process exit                              
ERROR        | 00:02:43.797 | Error: 1                                              

此时卡在地图界面,与地图界面相关的功能(例如大蛇副本,个人突破,探索等)都会出现上述问题。

#issue1003 也提出了相同的问题。

Qilingwan avatar Aug 22 '25 16:08 Qilingwan

之前用的是mumu模拟器,现在换成雷电模拟器就没有上述问题了。

Qilingwan avatar Aug 23 '25 10:08 Qilingwan

已解决,需要把高清字体关了,在头像那里。

Qilingwan avatar Aug 24 '25 08:08 Qilingwan