runhey / OnmyojiAutoScript

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

大富翁选项中的神龛购买识别失败 #535

Open xwq999sir opened 2 hours ago

xwq999sir commented 2 hours ago

在提问之前...

描述你的问题

在启用大富翁选项中的神龛购买选项时,会停留在召唤界面不进行下一步

如何复现

启动大富翁选项中的神龛购买,运行脚本,稳定复现

预期行为

No response

相关 Logs

module_name: script_task                                                                                                                                        
2024-11-15 22:42:40.859 |            logger.py:0276 |     INFO | <<< START THOUSAND THINGS >>>                                                                  
2024-11-15 22:42:40.860 |   thousand_things.py:0023 |     INFO | Thousand Things is disabled                                                                    
2024-11-15 22:42:40.860 |            logger.py:0276 |     INFO | <<< START SHRINE >>>                                                                           
2024-11-15 22:42:40.861 |           game_ui.py:0097 |     INFO | UI get current page                                                                            
2024-11-15 22:42:40.865 |            logger.py:0284 |     INFO | [UI] page_main                                                                                 
2024-11-15 22:42:40.866 |            logger.py:0276 |     INFO | <<< UI GOTO PAGE_SUMMON >>>                                                                    
2024-11-15 22:42:40.877 |           game_ui.py:0245 |     INFO | Page switch: page_main -> page_summon                                                          
2024-11-15 22:42:40.881 |           control.py:0074 |     INFO | Click (1131,  171) @ PAGE_MAIN_GOTO_SUMMON                                                     
2024-11-15 22:42:42.368 |           game_ui.py:0222 |     INFO | Page arrive: page_summon                                                                       
2024-11-15 22:42:42.670 |           control.py:0074 |     INFO | Click (1146,  321) @ c_shrine                                                                  
2024-11-15 22:42:43.876 |           control.py:0074 |     INFO | Click (1102,  320) @ c_shrine                                                                  
2024-11-15 22:42:45.058 |           control.py:0074 |     INFO | Click (1148,  360) @ c_shrine                                                                  
2024-11-15 22:42:46.305 |           control.py:0074 |     INFO | Click (1120,  351) @ c_shrine                                                                  
2024-11-15 22:42:47.496 |           control.py:0074 |     INFO | Click (1099,  325) @ c_shrine                                                                  
2024-11-15 22:42:48.695 |           control.py:0074 |     INFO | Click (1144,  282) @ c_shrine                                                                  
2024-11-15 22:42:49.896 |           control.py:0074 |     INFO | Click (1125,  266) @ c_shrine                                                                  
2024-11-15 22:42:51.114 |           control.py:0074 |     INFO | Click (1125,  335) @ c_shrine                                                                  
2024-11-15 22:42:52.317 |           control.py:0074 |     INFO | Click (1112,  308) @ c_shrine                                                                  
2024-11-15 22:42:53.502 |           control.py:0074 |     INFO | Click (1125,  329) @ c_shrine                                                                  
2024-11-15 22:42:54.703 |           control.py:0074 |     INFO | Click (1107,  329) @ c_shrine                                                                  
2024-11-15 22:42:55.917 |           control.py:0074 |     INFO | Click (1119,  310) @ c_shrine                                                                  
2024-11-15 22:42:57.124 |           control.py:0074 |     INFO | Click (1149,  267) @ c_shrine                                                                  
2024-11-15 22:42:58.315 |           control.py:0074 |     INFO | Click (1128,  273) @ c_shrine                                                                  
2024-11-15 22:42:59.516 |            device.py:0186 |  WARNING | Too many click for a button: c_shrine                                                          
2024-11-15 22:42:59.517 |            device.py:0187 |  WARNING | History click: ['c_shrine', 'c_shrine', 'c_shrine', 'c_shrine', 'c_shrine', 'c_shrine',        
'c_shrine', 'c_shrine', 'c_shrine', 'c_shrine', 'c_shrine', 'c_shrine', 'c_shrine', 'c_shrine', 'c_shrine']                                                     
2024-11-15 22:42:59.518 |            logger.py:0318 |    ERROR | GameTooManyClickError: Too many click for a button: c_shrine                                   
2024-11-15 22:42:59.519 |            script.py:0096 |  WARNING | Saving error: ./log/error/1731681779519

截图

2024-11-15_22-42-59-515209

还有别的吗?

No response

xwq999sir commented 2 hours ago

同时勾选了杂物间购买选项也会出现此问题 以下为日记与截图 2024-11-15 21:23:05.008 | logger.py:0276 | INFO | <<< START THOUSAND THINGS >>>
2024-11-15 21:23:05.009 | thousand_things.py:0023 | INFO | Thousand Things is disabled
2024-11-15 21:23:05.010 | logger.py:0276 | INFO | <<< START SHRINE >>>
2024-11-15 21:23:05.011 | shrine.py:0019 | INFO | Shrine is disabled
═════════════════════════════════ START GUILD ══════════════════════════════════ 2024-11-15 21:23:05.012 | logger.py:0271 | INFO | START GUILD
2024-11-15 21:23:05.012 | game_ui.py:0097 | INFO | UI get current page
2024-11-15 21:23:05.015 | logger.py:0284 | INFO | [UI] page_main
2024-11-15 21:23:05.016 | logger.py:0276 | INFO | <<< UI GOTO PAGE_GUILD >>>
2024-11-15 21:23:05.028 | game_ui.py:0245 | INFO | Page switch: page_main -> page_guild
2024-11-15 21:23:05.030 | control.py:0074 | INFO | Click ( 579, 664) @ PAGE_MAIN_GOTO_GUILD
2024-11-15 21:23:06.826 | game_ui.py:0222 | INFO | Page arrive: page_guild
2024-11-15 21:23:07.110 | control.py:0074 | INFO | Click ( 916, 666) @ GUILD_GUILD_SHRINE
2024-11-15 21:23:07.704 | control.py:0074 | INFO | Click ( 838, 565) @ GUILD_GUILD_STORE
2024-11-15 21:23:08.003 | guild.py:0030 | INFO | Enter guild store success
2024-11-15 21:23:08.682 | control.py:0170 | INFO | Swipe ( 816, 473) -> ( 762, 214), 0.335
───────────────────────────── GUILD MYSTERY AMULET ───────────────────────────── 2024-11-15 21:23:09.803 | logger.py:0274 | INFO | GUILD MYSTERY AMULET
2024-11-15 21:23:10.402 | logger.py:0284 | INFO | [GUILD_TOTAL 0.003s] [7963]
2024-11-15 21:23:10.403 | buy.py:0178 | INFO | Money is enough
2024-11-15 21:23:10.404 | guild.py:0103 | INFO | Image roi [794, 186, 74, 73]
2024-11-15 21:23:10.406 | guild.py:0104 | INFO | Image roi [756, 269, 154, 33]
2024-11-15 21:23:10.702 | logger.py:0284 | INFO | [GUILD_REMAIN 0.006s] []
2024-11-15 21:23:10.704 | sub_ocr.py:0081 | INFO | [GUILD_REMAIN] Try to detect vertically
2024-11-15 21:23:10.891 | logger.py:0284 | INFO | [GUILD_REMAIN 0.187s] []
2024-11-15 21:23:10.892 | sub_ocr.py:0084 | INFO | [GUILD_REMAIN]: No text detected in ROI
2024-11-15 21:23:10.893 | guild.py:0113 | INFO | Remain: 0
2024-11-15 21:23:10.894 | guild.py:0065 | WARNING | No mystery amulet can buy
─────────────────────────── GUILD BLACK DARUMA SCRAP ─────────────────────────── 2024-11-15 21:23:10.896 | logger.py:0274 | INFO | GUILD BLACK DARUMA SCRAP
2024-11-15 21:23:11.365 | logger.py:0284 | INFO | [GUILD_TOTAL 0.004s] [7963]
2024-11-15 21:23:11.366 | buy.py:0178 | INFO | Money is enough
2024-11-15 21:23:11.367 | guild.py:0103 | INFO | Image roi [570, 439, 71, 68]
2024-11-15 21:23:11.368 | guild.py:0104 | INFO | Image roi [532, 522, 154, 33]
2024-11-15 21:23:11.656 | logger.py:0284 | INFO | [GUILD_REMAIN 0.006s] []
2024-11-15 21:23:11.658 | sub_ocr.py:0081 | INFO | [GUILD_REMAIN] Try to detect vertically
2024-11-15 21:23:11.837 | logger.py:0284 | INFO | [GUILD_REMAIN 0.180s] []
2024-11-15 21:23:11.839 | sub_ocr.py:0084 | INFO | [GUILD_REMAIN]: No text detected in ROI
2024-11-15 21:23:11.841 | guild.py:0113 | INFO | Remain: 0
2024-11-15 21:23:11.842 | guild.py:0078 | WARNING | No black daruma can buy
────────────────────────────── GUILD SKIN TICKET ─────────────────────────────── 2024-11-15 21:23:11.844 | logger.py:0274 | INFO | GUILD SKIN TICKET
2024-11-15 21:23:12.302 | logger.py:0284 | INFO | [GUILD_TOTAL 0.004s] [7963]
2024-11-15 21:23:12.303 | buy.py:0178 | INFO | Money is enough
2024-11-15 21:23:12.304 | guild.py:0103 | INFO | Image roi [795, 461, 71, 72]
2024-11-15 21:23:12.305 | guild.py:0104 | INFO | Image roi [757, 544, 154, 33]
2024-11-15 21:23:12.598 | logger.py:0284 | INFO | [GUILD_REMAIN 0.005s] [本周剩余数量0]
2024-11-15 21:23:12.599 | guild.py:0113 | INFO | Remain: 0
2024-11-15 21:23:12.600 | guild.py:0094 | WARNING | No skin ticket can buy
2024-11-15 21:23:12.905 | control.py:0074 | INFO | Click (1043, 163) @ GUILD_GUILD_CLOSE_RED
2024-11-15 21:23:13.216 | control.py:0074 | INFO | Click ( 40, 38) @ UI_UI_BACK_YELLOW
═════════════════════════════════════ MALL ═════════════════════════════════════ 2024-11-15 21:23:13.552 | logger.py:0271 | INFO | MALL
2024-11-15 21:23:13.553 | game_ui.py:0097 | INFO | UI get current page
2024-11-15 21:23:13.575 | logger.py:0284 | INFO | [UI] page_guild
2024-11-15 21:23:13.576 | logger.py:0276 | INFO | <<< UI GOTO PAGE_MALL >>>
2024-11-15 21:23:13.578 | control.py:0074 | INFO | Click ( 49, 26) @ PAGE_BACK_Y
2024-11-15 21:23:13.643 | game_ui.py:0215 | INFO | Page page_mall AB PAGE_BACK_Y clicked
2024-11-15 21:23:13.840 | game_ui.py:0245 | INFO | Page switch: page_guild -> page_main
2024-11-15 21:23:13.841 | control.py:0074 | INFO | Click ( 36, 19) @ PAGE_BACK_Y
2024-11-15 21:23:15.631 | game_ui.py:0245 | INFO | Page switch: page_main -> page_mall
2024-11-15 21:23:15.632 | control.py:0074 | INFO | Click ( 677, 682) @ PAGE_MAIN_GOTO_MALL
2024-11-15 21:23:19.849 | game_ui.py:0245 | INFO | Page switch: page_main -> page_mall
2024-11-15 21:23:19.850 | control.py:0074 | INFO | Click ( 689, 680) @ PAGE_MAIN_GOTO_MALL
2024-11-15 21:23:20.738 | control.py:0074 | INFO | Click ( 66, 21) @ PAGE_BACK_Y
2024-11-15 21:23:20.804 | game_ui.py:0215 | INFO | Page page_mall AB PAGE_BACK_Y clicked
2024-11-15 21:23:23.765 | game_ui.py:0222 | INFO | Page arrive: page_mall
2024-11-15 21:24:20.944 | device.py:0135 | WARNING | Wait too long
2024-11-15 21:24:20.945 | device.py:0136 | WARNING | Waiting for set()
2024-11-15 21:24:20.985 | logger.py:0284 | INFO | [Package_name] com.netease.onmyoji.wyzymnqsd_cps
2024-11-15 21:24:20.986 | logger.py:0318 | ERROR | GameStuckError: Wait too long
2024-11-15 21:24:20.987 | script.py:0096 | WARNING | Saving error: ./log/error/1731677060987
2024-11-15_21-24-20-941829

runhey commented 2 hours ago

装饰-> 召唤物 -> 默认(四时雅苑)

xwq999sir commented 1 hour ago

这个皮肤要签到777天大佬,目前小号没有这个召唤屋有的是故梦雅苑

xwq999sir commented 1 hour ago

还有第二个问题大富翁会在杂货铺前卡主大佬,在第二章截图和日记中