runhey / OnmyojiAutoScript

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

石距功能无法 #488

Closed hwef closed 1 month ago

hwef commented 1 month ago

在提问之前...

描述你的问题

在更换完御魂后进入到组队界面后一直循环点击石距组队列表 不进行下一步

如何复现

直接运行即可

预期行为

No response

相关 Logs

════════════════════════════════════════════════════════════════════════════════
───────────────────────────────────── TAKO ─────────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
2024-10-08 13:50:49.548 |            logger.py:0284 |     INFO | [Screen_size] 1280x720                                                                         
2024-10-08 13:50:49.553 |            script.py:0350 |     INFO | module_path:                                                                                   
H:\game\yys\OnmyojiAutoScript-easy-install\OnmyojiAutoScript-easy-install\tasks\Tako\script_task.py, module_name: script_task                                   
2024-10-08 13:50:49.741 |           game_ui.py:0097 |     INFO | UI get current page                                                                            
2024-10-08 13:50:49.782 |             image.py:0077 |     INFO | roi_front size changed to 66x75                                                                
2024-10-08 13:50:49.806 |            logger.py:0284 |     INFO | [UI] page_team                                                                                 
2024-10-08 13:50:49.812 |            logger.py:0276 |     INFO | <<< UI GOTO PAGE_SHIKIGAMI_RECORDS >>>                                                         
2024-10-08 13:50:49.860 |           game_ui.py:0245 |     INFO | Page switch: page_team -> page_main                                                            
2024-10-08 13:50:49.865 |           control.py:0074 |     INFO | Click (  26,   65) @ PAGE_BACK_Y                                                               
2024-10-08 13:50:49.869 |            logger.py:0276 |     INFO | <<< MINITOUCH INIT >>>                                                                         
2024-10-08 13:50:49.886 |            logger.py:0284 |     INFO | [Device Orientation] 1 (HOME key on the right)                                                 
2024-10-08 13:50:49.891 |        connection.py:0452 |     INFO | Create forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20593',                       
remote='localabstract:minitouch')                                                                                                                               
2024-10-08 13:50:49.898 |         minitouch.py:0401 |     INFO | v 1                                                                                            
2024-10-08 13:50:49.902 |         minitouch.py:0405 |     INFO | ^ 10 720 1280 0                                                                                
2024-10-08 13:50:49.906 |         minitouch.py:0428 |     INFO | $ 10244                                                                                        
2024-10-08 13:50:49.910 |         minitouch.py:0432 |     INFO | minitouch running on port: 20593, pid: 10244                                                   
2024-10-08 13:50:49.914 |         minitouch.py:0435 |     INFO | max_contact: 10; max_x: 720; max_y: 1280; max_pressure: 0                                      
2024-10-08 13:50:50.935 |           game_ui.py:0245 |     INFO | Page switch: page_main -> page_shikigami_records                                               
2024-10-08 13:50:50.940 |           control.py:0074 |     INFO | Click (1108,  653) @ PAGE_MAIN_GOTO_SHIKIGAMI_RECORDS                                          
2024-10-08 13:50:52.651 |           game_ui.py:0222 |     INFO | Page arrive: page_shikigami_records                                                            
2024-10-08 13:50:52.655 |            logger.py:0318 |    ERROR | Switch soul config error                                                                       
2024-10-08 13:50:52.660 |           game_ui.py:0097 |     INFO | UI get current page                                                                            
2024-10-08 13:50:52.702 |            logger.py:0284 |     INFO | [UI] page_shikigami_records                                                                    
2024-10-08 13:50:52.707 |            logger.py:0276 |     INFO | <<< UI GOTO PAGE_TEAM >>>                                                                      
2024-10-08 13:50:52.749 |           game_ui.py:0245 |     INFO | Page switch: page_shikigami_records -> page_main                                               
2024-10-08 13:50:52.755 |           control.py:0074 |     INFO | Click (  39,   26) @ PAGE_BACK_Y                                                               
2024-10-08 13:50:55.185 |           game_ui.py:0245 |     INFO | Page switch: page_main -> page_team                                                            
2024-10-08 13:50:55.190 |             image.py:0077 |     INFO | roi_front size changed to 38x51                                                                
2024-10-08 13:50:55.196 |           control.py:0074 |     INFO | Click ( 448,  668) @ PAGE_MAIN_GOTO_TEAM                                                       
2024-10-08 13:50:56.191 |           game_ui.py:0222 |     INFO | Page arrive: page_team                                                                         
2024-10-08 13:50:57.160 |            logger.py:0284 |     INFO | [石距 0.641s] ['经验妖怪', '金币妖怪', '年兽', '石距', '结界突破', '真·八岐大蛇', '对卉社']    
2024-10-08 13:50:57.168 |              list.py:0189 |     INFO | Ocr 石距 appear in current screen, do not need to scroll                                       
2024-10-08 13:50:57.504 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:50:57.837 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:50:58.170 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:50:58.504 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:50:58.512 |           control.py:0074 |     INFO | Click ( 254,  400) @ Click                                                                     
2024-10-08 13:50:58.897 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:50:59.241 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:50:59.589 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:50:59.934 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:50:59.938 |           control.py:0074 |     INFO | Click ( 251,  409) @ Click                                                                     
2024-10-08 13:51:00.340 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:00.689 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.008s] [石距#]                                                                 
2024-10-08 13:51:01.033 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:01.039 |           control.py:0074 |     INFO | Click ( 255,  405) @ Click                                                                     
2024-10-08 13:51:01.430 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:01.770 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:02.126 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:02.474 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:02.480 |           control.py:0074 |     INFO | Click ( 253,  409) @ Click                                                                     
2024-10-08 13:51:02.871 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:03.212 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:03.557 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:03.895 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:03.900 |           control.py:0074 |     INFO | Click ( 260,  409) @ Click                                                                     
2024-10-08 13:51:04.297 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:04.618 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:04.936 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.008s] [石距#]                                                                 
2024-10-08 13:51:05.261 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:05.266 |           control.py:0074 |     INFO | Click ( 260,  409) @ Click                                                                     
2024-10-08 13:51:05.641 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:05.968 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:06.290 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:06.616 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:06.621 |           control.py:0074 |     INFO | Click ( 257,  400) @ Click                                                                     
2024-10-08 13:51:06.985 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:07.329 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:07.659 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:07.993 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:07.999 |           control.py:0074 |     INFO | Click ( 259,  410) @ Click                                                                     
2024-10-08 13:51:08.391 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:08.741 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:09.087 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:09.427 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:09.433 |           control.py:0074 |     INFO | Click ( 256,  408) @ Click                                                                     
2024-10-08 13:51:09.819 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:10.162 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:10.500 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:10.835 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:10.840 |           control.py:0074 |     INFO | Click ( 254,  407) @ Click                                                                     
2024-10-08 13:51:11.242 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:11.584 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:11.935 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:11.941 |           control.py:0074 |     INFO | Click ( 255,  400) @ Click                                                                     
2024-10-08 13:51:12.332 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:12.680 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:13.026 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.009s] [石距#]                                                                 
2024-10-08 13:51:13.376 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:13.381 |           control.py:0074 |     INFO | Click ( 256,  404) @ Click                                                                     
2024-10-08 13:51:13.775 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:14.118 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:14.467 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.008s] [石距#]                                                                 
2024-10-08 13:51:14.808 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:14.813 |           control.py:0074 |     INFO | Click ( 259,  405) @ Click                                                                     
2024-10-08 13:51:15.202 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.007s] [石距#]                                                                 
2024-10-08 13:51:15.535 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:15.883 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.008s] [石距#]                                                                 
2024-10-08 13:51:16.218 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:16.224 |           control.py:0074 |     INFO | Click ( 256,  400) @ Click                                                                     
2024-10-08 13:51:16.618 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:16.959 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.008s] [石距#]                                                                 
2024-10-08 13:51:17.300 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:17.644 |            logger.py:0284 |     INFO | [GR_ZONES_NAME 0.006s] [石距#]                                                                 
2024-10-08 13:51:17.650 |            device.py:0186 |  WARNING | Too many click for a button: Click                                                             
2024-10-08 13:51:17.654 |            device.py:0187 |  WARNING | History click: ['Click', 'Click', 'Click', 'Click', 'Click', 'Click', 'Click', 'Click',        
'Click', 'Click', 'Click', 'Click', 'Click', 'Click', 'Click']                                                                                                  
2024-10-08 13:51:17.662 |            logger.py:0318 |    ERROR | GameTooManyClickError: Too many click for a button: Click                                      
2024-10-08 13:51:17.668 |            script.py:0096 |  WARNING | Saving error: ./log/error/1728366677668

截图

2024-10-08_13-51-17-637788

还有别的吗?

No response

runhey commented 1 month ago

OCR 出错识别成 石距#