runhey / OnmyojiAutoScript

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

个人结界突破报错,退四打九锁级失效 #481

Closed loseLight closed 1 month ago

loseLight commented 1 month ago

在提问之前...

描述你的问题

结界等级从57级变成了59级,并且脚本报错停止。

如何复现

报错附近都有这几句日志: Click fire 1 success
Click (1133, 568) @ GB_PREPARE_HIGHLIGHT
Click (1226, 539) @ GB_PREPARE_HIGHLIGHT
Click GB_PREPARE_HIGHLIGHT
WARNING | Wait too long 从”fire 1“可以看出,这是正在打第一个结界,进而推测应该是退四打九的bug。

预期行为

No response

相关 Logs

───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-10-03 18:42:36.603 |            logger.py:0274 |     INFO | GENERAL BATTLE START                                                                           
2024-10-03 18:42:36.606 |    general_battle.py:0029 |     INFO | Current count: 14                                                                              
2024-10-03 18:42:36.608 |    general_battle.py:0035 |     INFO | Lock team is not enable                                                                        
2024-10-03 18:42:37.808 |           control.py:0074 |     INFO | Click (1193,  590) @ GB_PREPARE_HIGHLIGHT                                                      
2024-10-03 18:42:39.313 |           control.py:0074 |     INFO | Click (1140,  610) @ GB_PREPARE_HIGHLIGHT                                                      
2024-10-03 18:42:39.611 |    general_battle.py:0056 |     INFO | Click prepare ensure button                                                                    
2024-10-03 18:42:39.928 |            device.py:0113 |     INFO | Add stuck record: BATTLE_STATUS_S                                                              
2024-10-03 18:42:39.932 |    general_battle.py:0164 |     INFO | Start battle process                                                                           
2024-10-03 18:42:50.169 |    general_battle.py:0170 |     INFO | Battle result is win                                                                           
2024-10-03 18:42:50.178 |    general_battle.py:0196 |     INFO | Reconfirm the results of the battle                                                            
2024-10-03 18:42:50.470 |           control.py:0074 |     INFO | Click (1174,  561) @ GB_WIN                                                                    
2024-10-03 18:42:51.664 |    general_battle.py:0217 |     INFO | Get reward                                                                                     
2024-10-03 18:42:51.964 |           control.py:0074 |     INFO | Click (1230,  531) @ GB_REWARD                                                                 
2024-10-03 18:42:53.472 |           control.py:0074 |     INFO | Click ( 221,  170) @ GB_REWARD                                                                 
2024-10-03 18:42:54.388 |            logger.py:0284 |     INFO | [TEXT 0.013s] [5/30]                                                                           
2024-10-03 18:42:55.292 |            logger.py:0284 |     INFO | [NUMBER 0.012s] [5/30]                                                                         
2024-10-03 18:42:55.589 |       script_task.py:0368 |     INFO | Find one medal [RES_MEDAL_0], order is 1                                                       
2024-10-03 18:42:55.592 |       script_task.py:0183 |     INFO | Now is the first one                                                                           
2024-10-03 18:42:55.595 |       script_task.py:0185 |     INFO | Exit four enable                                                                               
2024-10-03 18:42:56.018 |           control.py:0074 |     INFO | Click ( 300,  234) @ partition_1                                                               
2024-10-03 18:42:56.631 |           control.py:0074 |     INFO | Click ( 399,  391) @ RES_FIRE                                                                  
2024-10-03 18:42:57.116 |       script_task.py:0482 |     INFO | Click fire 1 success                                                                           
2024-10-03 18:42:58.338 |           control.py:0074 |     INFO | Click (1133,  568) @ GB_PREPARE_HIGHLIGHT                                                      
2024-10-03 18:43:00.125 |           control.py:0074 |     INFO | Click (1226,  539) @ GB_PREPARE_HIGHLIGHT                                                      
2024-10-03 18:43:00.429 |    general_battle.py:0088 |     INFO | Click GB_PREPARE_HIGHLIGHT                                                                     
2024-10-03 18:44:00.340 |            device.py:0135 |  WARNING | Wait too long                                                                                  
2024-10-03 18:44:00.343 |            device.py:0136 |  WARNING | Waiting for set()                                                                              
2024-10-03 18:44:00.411 |            logger.py:0284 |     INFO | [Package_name] com.netease.onmyoji.wyzymnqsd_cps                                               
2024-10-03 18:44:00.412 |            logger.py:0318 |    ERROR | GameStuckError: Wait too long                                                                  
2024-10-03 18:44:00.413 |            script.py:0096 |  WARNING | Saving error: ./log/error/1727952240413

截图

文件夹1727952240413下的截图和日志文件: 2024-10-03_18-44-00-336659 log.txt

文件夹1727951796175下的截图和日志文件: 2024-10-03_18-36-36-107573 log.txt

文件夹1727951515158下的截图和日志文件: 2024-10-03_18-31-55-083423 log.txt

报错附近的日志截图:

2 1 3

还有别的吗?

No response

runhey commented 1 month ago

额。 要你你在游戏里面设置战斗主题默认 要么你在oas里面设置好战斗主题对应的

loseLight commented 1 month ago

额,悟了!!!辛苦! 我见支持战斗主题了,就试了下皮肤功能,后来想了下小号没有皮肤,为了保证通用性,我就又改回去默认了,结果只改了oas的,忘了改游戏的了。 = =