Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

御魂队员有大概率在结算界面卡住的bug #274

Closed
4 of 5 tasks
loseLight opened this issue Jun 14, 2024 · 2 comments
Closed
4 of 5 tasks

御魂队员有大概率在结算界面卡住的bug #274

loseLight opened this issue Jun 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@loseLight
Copy link

在提问之前...

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

描述你的问题

单刷和队长从没有遇到过这个问题,只有队员会出现错误“GameStuckError: Wait too long”,基本运行100次以内必定会出现,概率非常高。卡住位置在结算奖励界面。

正常运行的log是:
2024-06-15 04:42:03.220 | INFO | Win battle
2024-06-15 04:42:03.516 | INFO | Click (1248, 437) @ GB_REWARD
2024-06-15 04:42:05.020 | INFO | Click ( 737, 656) @ GB_REWARD
2024-06-15 04:42:06.222 | INFO | Wait battle 120 seconds
出错的log是:
2024-06-15 04:43:21.424 | INFO | Win battle
2024-06-15 04:43:21.724 | INFO | Click ( 210, 383) @ GB_REWARD
2024-06-15 04:44:21.974 | WARNING | Wait too long

本人通过观察log发现,正常运行要click两次,卡住时却只click一次。
完整的log在下面。

我将oas配置文件deploy.yaml里默认的“Branch: master”改为了“Branch: dev"

如何复现

No response

预期行为

No response

相关 Logs

════════════════════════════════════════════════════════════════════════════════
──────────────────────────────────── OROCHI ────────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
2024-06-15 04:39:05.049 |     INFO | module_path:                               
C:\Users\Administrator\Desktop\一条龙\OnmyojiAutoScript-easy-install\tasks\Oroch
i\script_task.py, module_name: script_task                                      
2024-06-15 04:39:05.057 |     INFO | UI get current page                        
2024-06-15 04:39:05.063 |     INFO | [UI] page_main                             
2024-06-15 04:39:05.066 |     INFO | <<< UI GOTO PAGE_SHIKIGAMI_RECORDS >>>     
2024-06-15 04:39:05.082 |     INFO | Page switch: page_main ->                  
page_shikigami_records                                                          
2024-06-15 04:39:05.086 |     INFO | Click (1146,  615) @                       
PAGE_MAIN_GOTO_SHIKIGAMI_RECORDS                                                
2024-06-15 04:39:06.258 |     INFO | Page arrive: page_shikigami_records        
2024-06-15 04:39:06.561 |     INFO | Click ( 382,   84) @ SS_SOUL_PRESET        
2024-06-15 04:39:06.856 |     INFO | Click preset in switch soul                
2024-06-15 04:39:07.526 |     INFO | [SS_GROUP_NAME 0.366s] ['探索秘闻地',      
'活动', '结界/寮', '御魂/觉醒', '逢魔之时', '真蛇/阴界', '六道之门']            
2024-06-15 04:39:07.529 |     INFO | Swipe (1211,  199) -> (1198,  336)         
2024-06-15 04:39:08.131 |     INFO | [SS_GROUP_NAME 0.363s] ['探索秘闻地',      
'活动', '结界/寮', '御魂/觉醒', '逢魔之时', '真蛇/阴界']                        
2024-06-15 04:39:08.556 |     INFO | [SS_GROUP_NAME 0.417s] ['探索秘闻地',      
'活动', '结界/寮', '御魂/觉醒', '逢魔之时', '真蛇/阴界', '六道之门']            
2024-06-15 04:39:08.996 |     INFO | [SS_GROUP_NAME 0.426s] ['探索秘闻地',      
'活动', '结界/寮', '御魂/觉醒', '逢魔之时', '真蛇/阴界', '六道之门']            
2024-06-15 04:39:09.005 |     INFO | Click (1182,  313) @ sou_group_4           
2024-06-15 04:39:09.557 |     INFO | Click (1236,  331) @ sou_group_4           
2024-06-15 04:39:10.925 |     INFO | Click ( 997,  153) @ SS_SOU_SWITCH_1       
2024-06-15 04:39:11.785 |  WARNING | Click team 1 failed in group 4             
2024-06-15 04:39:12.594 |     INFO | Click (1003,  175) @ SS_SOU_SWITCH_1       
2024-06-15 04:39:12.646 |     INFO | Switch soul_one group 4 team 1             
2024-06-15 04:39:12.900 |     INFO | UI get current page                        
2024-06-15 04:39:12.926 |     INFO | [UI] page_shikigami_records                
2024-06-15 04:39:12.927 |     INFO | <<< UI GOTO PAGE_MAIN >>>                  
2024-06-15 04:39:12.936 |     INFO | Page switch: page_shikigami_records ->     
page_main                                                                       
2024-06-15 04:39:12.938 |     INFO | Click (  48,   33) @ PAGE_BACK_Y           
2024-06-15 04:39:13.498 |     INFO | Page arrive: page_main                     
2024-06-15 04:39:13.501 |     INFO | Open buff                                  
2024-06-15 04:39:13.797 |     INFO | Click ( 380,   36) @ GB_BUFF_1             
2024-06-15 04:39:15.006 |     INFO | Soul buff                                  
2024-06-15 04:39:15.606 |     INFO | Close buff                                 
2024-06-15 04:39:15.907 |     INFO | Click ( 390,   69) @ GB_BUFF_1             
2024-06-15 04:39:16.211 |     INFO | Start run member                           
2024-06-15 04:39:16.212 |     INFO | UI get current page                        
2024-06-15 04:39:16.216 |     INFO | [UI] page_main                             
2024-06-15 04:39:25.550 |     INFO | Click accept                               
2024-06-15 04:39:26.156 |     INFO | Click ( 132,  250) @ GI_I_ACCEPT           
2024-06-15 04:39:27.357 |     INFO | Wait battle 120 seconds                    
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-06-15 04:39:27.659 |     INFO | GENERAL BATTLE START                       
2024-06-15 04:39:27.660 |     INFO | Current count: 1                           
2024-06-15 04:39:27.661 |     INFO | Lock team is not enable                    
2024-06-15 04:39:27.663 |     INFO | Preset is enable                           
2024-06-15 04:39:28.864 |     INFO | Click (  49,  669) @ GB_PRESET             
2024-06-15 04:39:29.466 |     INFO | Click preset button                        
2024-06-15 04:39:29.468 |     INFO | Click ( 120,  478) @ Click                 
2024-06-15 04:39:29.521 |     INFO | Select preset group                        
2024-06-15 04:39:30.022 |     INFO | Click ( 229,  337) @ Click                 
2024-06-15 04:39:30.074 |     INFO | Select preset team                         
2024-06-15 04:39:30.087 |     INFO | Click ( 374,  669) @ GB_PRESET_ENSURE      
2024-06-15 04:39:30.389 |     INFO | Click preset ensure                        
2024-06-15 04:39:31.292 |     INFO | Click (1200,  586) @ GB_PREPARE_HIGHLIGHT  
2024-06-15 04:39:31.893 |     INFO | Click prepare ensure button                
2024-06-15 04:39:32.195 |     INFO | Start battle process                       
2024-06-15 04:39:48.847 |     INFO | Click (1106,  457) @ GB_WIN                
2024-06-15 04:39:49.970 |     INFO | Win battle                                 
2024-06-15 04:39:50.267 |     INFO | Click ( 754,  668) @ GB_REWARD             
2024-06-15 04:39:51.781 |     INFO | Click (  28,  275) @ GB_REWARD             
2024-06-15 04:39:55.387 |     INFO | Click accept                               
2024-06-15 04:39:55.990 |     INFO | Click ( 211,  224) @ GI_I_ACCEPT_DEFAULT   
2024-06-15 04:39:56.594 |     INFO | Click ( 788,  422) @ GI_GI_SURE            
2024-06-15 04:39:57.496 |     INFO | Click accept                               
2024-06-15 04:39:59.011 |     INFO | Start battle process                       
2024-06-15 04:40:17.771 |     INFO | Click (1191,  142) @ GB_WIN                
2024-06-15 04:40:18.890 |     INFO | Win battle                                 
2024-06-15 04:40:19.180 |     INFO | Click (  71,  189) @ GB_REWARD             
2024-06-15 04:40:20.687 |     INFO | Click ( 208,  152) @ GB_REWARD             
2024-06-15 04:40:21.891 |     INFO | Wait battle 120 seconds                    
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-06-15 04:40:24.309 |     INFO | GENERAL BATTLE START                       
2024-06-15 04:40:24.310 |     INFO | Current count: 2                           
2024-06-15 04:40:24.311 |     INFO | Lock team is not enable                    
2024-06-15 04:40:26.111 |     INFO | Click (1168,  617) @ GB_PREPARE_HIGHLIGHT  
2024-06-15 04:40:26.414 |     INFO | Click prepare ensure button                
2024-06-15 04:40:26.715 |     INFO | Start battle process                       
2024-06-15 04:40:43.813 |     INFO | Click ( 310,  196) @ GB_WIN                
2024-06-15 04:40:44.935 |     INFO | Win battle                                 
2024-06-15 04:40:45.227 |     INFO | Click (1121,  269) @ GB_REWARD             
2024-06-15 04:40:46.733 |     INFO | Click ( 209,  170) @ GB_REWARD             
2024-06-15 04:40:47.934 |     INFO | Wait battle 120 seconds                    
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-06-15 04:40:50.647 |     INFO | GENERAL BATTLE START                       
2024-06-15 04:40:50.648 |     INFO | Current count: 3                           
2024-06-15 04:40:50.649 |     INFO | Lock team is not enable                    
2024-06-15 04:40:52.154 |     INFO | Click (1159,  629) @ GB_PREPARE_HIGHLIGHT  
2024-06-15 04:40:52.758 |     INFO | Click prepare ensure button                
2024-06-15 04:40:53.059 |     INFO | Start battle process                       
2024-06-15 04:41:10.130 |     INFO | Click ( 231,  435) @ GB_WIN                
2024-06-15 04:41:11.248 |     INFO | Win battle                                 
2024-06-15 04:41:11.546 |     INFO | Click (  50,  353) @ GB_REWARD             
2024-06-15 04:41:13.049 |     INFO | Click (1128,  390) @ GB_REWARD             
2024-06-15 04:41:14.252 |     INFO | Wait battle 120 seconds                    
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-06-15 04:41:16.665 |     INFO | GENERAL BATTLE START                       
2024-06-15 04:41:16.667 |     INFO | Current count: 4                           
2024-06-15 04:41:16.668 |     INFO | Lock team is not enable                    
2024-06-15 04:41:18.172 |     INFO | Click (1215,  570) @ GB_PREPARE_HIGHLIGHT  
2024-06-15 04:41:18.783 |     INFO | Click prepare ensure button                
2024-06-15 04:41:19.078 |     INFO | Start battle process                       
2024-06-15 04:41:36.129 |     INFO | Click (1206,  348) @ GB_WIN                
2024-06-15 04:41:37.245 |     INFO | Win battle                                 
2024-06-15 04:41:37.542 |     INFO | Click (1204,  584) @ GB_REWARD             
2024-06-15 04:41:39.054 |     INFO | Click ( 246,  405) @ GB_REWARD             
2024-06-15 04:41:40.248 |     INFO | Wait battle 120 seconds                    
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-06-15 04:41:42.666 |     INFO | GENERAL BATTLE START                       
2024-06-15 04:41:42.668 |     INFO | Current count: 5                           
2024-06-15 04:41:42.669 |     INFO | Lock team is not enable                    
2024-06-15 04:41:44.473 |     INFO | Click (1178,  605) @ GB_PREPARE_HIGHLIGHT  
2024-06-15 04:41:45.071 |     INFO | Click prepare ensure button                
2024-06-15 04:41:45.374 |     INFO | Start battle process                       
2024-06-15 04:42:02.109 |     INFO | Click ( 303,  154) @ GB_WIN                
2024-06-15 04:42:03.220 |     INFO | Win battle                                 
2024-06-15 04:42:03.516 |     INFO | Click (1248,  437) @ GB_REWARD             
2024-06-15 04:42:05.020 |     INFO | Click ( 737,  656) @ GB_REWARD             
2024-06-15 04:42:06.222 |     INFO | Wait battle 120 seconds                    
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-06-15 04:42:08.639 |     INFO | GENERAL BATTLE START                       
2024-06-15 04:42:08.640 |     INFO | Current count: 6                           
2024-06-15 04:42:08.642 |     INFO | Lock team is not enable                    
2024-06-15 04:42:10.444 |     INFO | Click (1128,  614) @ GB_PREPARE_HIGHLIGHT  
2024-06-15 04:42:10.747 |     INFO | Click prepare ensure button                
2024-06-15 04:42:11.050 |     INFO | Start battle process                       
2024-06-15 04:42:15.990 |     INFO | Click ( 768,  123) @ random_click          
2024-06-15 04:42:17.126 |     INFO | Swipe ( 426,  483) -> ( 791,  469)         
2024-06-15 04:42:27.928 |     INFO | Click ( 453,  103) @ GB_WIN                
2024-06-15 04:42:29.048 |     INFO | Win battle                                 
2024-06-15 04:42:29.344 |     INFO | Click ( 818,  657) @ GB_REWARD             
2024-06-15 04:42:30.852 |     INFO | Click ( 805,  685) @ GB_REWARD             
2024-06-15 04:42:32.053 |     INFO | Wait battle 120 seconds                    
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-06-15 04:42:34.771 |     INFO | GENERAL BATTLE START                       
2024-06-15 04:42:34.773 |     INFO | Current count: 7                           
2024-06-15 04:42:34.774 |     INFO | Lock team is not enable                    
2024-06-15 04:42:36.576 |     INFO | Click (1175,  564) @ GB_PREPARE_HIGHLIGHT  
2024-06-15 04:42:37.178 |     INFO | Click prepare ensure button                
2024-06-15 04:42:37.480 |     INFO | Start battle process                       
2024-06-15 04:42:54.030 |     INFO | Click (1090,  567) @ GB_WIN                
2024-06-15 04:42:55.144 |     INFO | Win battle                                 
2024-06-15 04:42:55.440 |     INFO | Click ( 194,  405) @ GB_REWARD             
2024-06-15 04:42:56.951 |     INFO | Click ( 786,  630) @ GB_REWARD             
2024-06-15 04:42:58.152 |     INFO | Wait battle 120 seconds                    
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-06-15 04:43:00.568 |     INFO | GENERAL BATTLE START                       
2024-06-15 04:43:00.570 |     INFO | Current count: 8                           
2024-06-15 04:43:00.571 |     INFO | Lock team is not enable                    
2024-06-15 04:43:02.374 |     INFO | Click (1144,  568) @ GB_PREPARE_HIGHLIGHT  
2024-06-15 04:43:02.976 |     INFO | Click prepare ensure button                
2024-06-15 04:43:03.277 |     INFO | Start battle process                       
2024-06-15 04:43:20.304 |     INFO | Click ( 757,  111) @ GB_WIN                
2024-06-15 04:43:21.424 |     INFO | Win battle                                 
2024-06-15 04:43:21.724 |     INFO | Click ( 210,  383) @ GB_REWARD             
2024-06-15 04:44:21.974 |  WARNING | Wait too long                              
2024-06-15 04:44:21.976 |  WARNING | Waiting for set()                          
2024-06-15 04:44:21.981 |     INFO | [u2.Device]                                
Device(atx_agent_url=http://127.0.0.1:56479)                                    
2024-06-15 04:44:22.039 |     INFO | [Package_name]                             
com.netease.onmyoji.wyzymnqsd_cps                                               
2024-06-15 04:44:22.040 |    ERROR | GameStuckError: Wait too long              
2024-06-15 04:44:22.041 |  WARNING | Saving error: ./log/error/1718397862041

截图

2024-06-15_04-44-21-372973
2024-06-15_04-44-21-673963
2024-06-15_04-44-21-973818
捕获

还有别的吗?

文件deploy.yaml的配置如下:

Deploy:
Git:
# URL of AzurLaneAutoScript repository
# [CN user] Use 'https://gitee.com/lmeszinc/azur-lane-auto-script-mirror' for faster and more stable download
# [Other] Use 'https://github.com/LmeSzinc/AzurLaneAutoScript'
Repository: https://e.coding.net/onmyojiautoscript/oas/OnmyojiAutoScript.git
# Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features
# [Other] Use 'master', the stable branch
Branch: dev
# Filepath of git executable git.exe
# [Easy installer] Use './toolkit/Git/mingw64/bin/git.exe'
# [Other] Use you own git
GitExecutable: ./toolkit/Git/mingw64/bin/git.exe
# Set git proxy
# [CN user] Use your local http proxy (http://127.0.0.1:{port}) or socks5 proxy (socks5://127.0.0.1:{port})
# [Other] Use null
GitProxy: null
# Update Alas at startup
# [In most cases] Use true
AutoUpdate: true
# Whether to keep local changes during update
# User settings, logs and screenshots will be kept, no mather this is true or false
# [Developer] Use true, if you modified the code
# [Other] Use false
KeepLocalChanges: false

Python:
# Filepath of python executable python.exe
# [Easy installer] Use './toolkit/python.exe'
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: ./toolkit/python.exe
# URL of pypi mirror
# [CN user] Use 'https://pypi.tuna.tsinghua.edu.cn/simple' for faster and more stable download
# [Other] Use null
PypiMirror: https://pypi.tuna.tsinghua.edu.cn/simple
# Install dependencies at startup
# [In most cases] Use true
InstallDependencies: true
# Path to requirements.txt
# [In most cases] Use 'requirements.txt'
# [In AidLux] Use './deploy/AidLux/{version}/requirements.txt', version is default to 0.92
RequirementsFile: requirements.txt

Adb:
# Filepath of ADB executable adb.exe
# [Easy installer] Use './toolkit/Lib/site-packages/adbutils/binaries/adb.exe'
# [Other] Use you own latest ADB, but not the ADB in your emulator
AdbExecutable: ./toolkit/Lib/site-packages/adbutils/binaries/adb.exe
# Whether to replace ADB
# Chinese emulators (NoxPlayer, LDPlayer, MemuPlayer, MuMuPlayer) use their own ADB, instead of the latest.
# Different ADB servers will terminate each other at startup, resulting in disconnection.
# For compatibility, we have to replace them all.
# This will do:
# 1. Terminate current ADB server
# 2. Rename ADB from all emulators to *.bak and replace them by the AdbExecutable set above
# 3. Brute-force connect to all available emulator instances
# [In most cases] Use true
# [In few cases] Use false, if you have other programs using ADB.
ReplaceAdb: true
# Brute-force connect to all available emulator instances
# [In most cases] Use true
AutoConnect: true
# Re-install uiautomator2
# [In most cases] Use true
InstallUiautomator2: true

Ocr:
# Run Ocr as a service, can reduce memory usage by not import mxnet everytime you start an alas instance

# Whether to use ocr server
# [Default] false
UseOcrServer: false
# Whether to start ocr server when start GUI
# [Default] false
StartOcrServer: false
# Port of ocr server runs by GUI
# [Default] 22268
OcrServerPort: 22268
# Address of ocr server for alas instance to connect
# [Default] 127.0.0.1:22268
OcrClientAddress: 127.0.0.1:22268

Update:
# Use auto update and builtin updater feature
# This may cause problem LmeSzinc/AzurLaneAutoScript#876
EnableReload: true
# Check update every X minute
# [Disable] 0
# [Default] 5
CheckUpdateInterval: 5
# Scheduled restart time
# If there are updates, Alas will automatically restart and update at this time every day
# and run all alas instances that running before restarted
# [Disable] null
# [Default] 03:50
AutoRestartTime: 03:50

Misc:
# Enable discord rich presence
DiscordRichPresence: false

RemoteAccess:
# Enable remote access (using ssh reverse tunnel serve by https://github.com/wang0618/localshare)
# ! You need to set Password below to enable remote access since everyone can access to your alas if they have your url.
# See here (http://app.azurlane.cloud/en.html) for more infomation.
EnableRemoteAccess: false
# Username when login into ssh server
# [Default] null (will generate a random one when startup)
SSHUser: null
# Server to connect
# [Default] null
# [Format] host:port
SSHServer: null
# Filepath of SSH executable ssh.exe
# [Default] ssh (find ssh in system PATH)
# If you don't have one, install OpenSSH or download it here (https://github.com/PowerShell/Win32-OpenSSH/releases)
SSHExecutable: ssh

Webui:
# --host. Host to listen
# [Use IPv6] '::'
# [In most cases] Default to '0.0.0.0'
WebuiHost: 0.0.0.0
# --port. Port to listen
# You will be able to access webui via http://{host}:{port}
# [In most cases] Default to 22267
WebuiPort: 22288
# Language to use on web ui
# 'zh-CN' for Chinese simplified
# 'en-US' for English
# 'ja-JP' for Japanese
# 'zh-TW' for Chinese traditional
Language: zh-CN
# Theme of web ui
# 'default' for light theme
# 'dark' for dark theme
Theme: default
# Follow system DPI scaling
# [In most cases] true
# [In few cases] false to make Alas smaller, if you have a low resolution but high DPI scaling.
DpiScaling: true
# --key. Password of web ui
# Useful when expose Alas to the public network
Password: null
# --cdn. Use jsdelivr cdn for pywebio static files (css, js).
# 'true' for jsdelivr cdn
# 'false' for self host cdn (automatically)
# 'https://path.to.your/cdn' to use custom cdn
CDN: false
# --run. Auto-run specified config when startup
# 'null' default no specified config
# '["alas"]' specified "alas" config
# '["alas","alas2"]' specified "alas" "alas2" configs
Run: null

@loseLight loseLight added the bug Something isn't working label Jun 14, 2024
@runhey
Copy link
Owner

runhey commented Jun 15, 2024

把贪吃鬼开了

@loseLight
Copy link
Author

把贪吃鬼开了

这么一提醒豁然开朗,我悟了,原因是人品大爆发奖励太多导致遮挡了判定标志。蟹蟹。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants