runhey / OnmyojiAutoScript

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

御灵和突破启动后会自动回退庭院,任务停止 #434

Closed sauce8 closed 2 months ago

sauce8 commented 2 months ago

在提问之前...

描述你的问题

1、御灵启动后会自动回退庭院,任务停止 2、突破任务启动后会自动运行随机次数后,卷仍有剩余时会自动回退庭院,任务停止

如何复现

  1. 前往 '...'
  2. 点击 '....'
  3. 滑动到 '....'
  4. 出现问题

预期行为

No response

相关 Logs

════════════════════════════════════════════════════════════════════════════════
──────────────────────────────────── START ─────────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
2024-09-11 22:16:50.609 |            script.py:0406 |     INFO | Start scheduler loop: 御灵                                                                     
2024-09-11 22:16:50.616 |            config.py:0214 |     INFO | Pending tasks: ['GoryouRealm']                                                                 
2024-09-11 22:16:50.617 |            logger.py:0284 |     INFO | [Task] GoryouRealm (Enable, 5, 2024-06-11 23:14:58)                                            
════════════════════════════════════ DEVICE ════════════════════════════════════
2024-09-11 22:16:50.618 |            logger.py:0271 |     INFO | DEVICE                                                                                         
2024-09-11 22:16:50.619 |            logger.py:0284 |     INFO | [AdbBinary]                                                                                    
D:/GaMe/YYS/OAS/OnmyojiAutoScript-easy-install/toolkit/Lib/site-packages/adbutils/binaries/adb.exe                                                              
2024-09-11 22:16:50.620 |            logger.py:0284 |     INFO | [AdbClient] AdbClient(127.0.0.1, 5037)                                                         
2024-09-11 22:16:50.621 |            logger.py:0276 |     INFO | <<< DETECT DEVICE >>>                                                                          
2024-09-11 22:16:50.622 |        connection.py:0750 |     INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set                  
Alas.Emulator.Serial="auto"                                                                                                                                     
2024-09-11 22:16:50.623 |        connection.py:0757 |     INFO | 127.0.0.1:16384                                                                                
2024-09-11 22:16:50.623 |        connection.py:0757 |     INFO | 127.0.0.1:7555                                                                                 
2024-09-11 22:16:50.626 |        connection.py:0553 |     INFO | already connected to 127.0.0.1:16384                                                           
2024-09-11 22:16:50.628 |            logger.py:0284 |     INFO | [AdbDevice] AdbDevice(serial=127.0.0.1:16384)                                                  
2024-09-11 22:16:50.628 |            logger.py:0276 |     INFO | <<< DETECT PACKAGE >>>                                                                         
2024-09-11 22:16:50.630 |        connection.py:0820 |     INFO | Get package list                                                                               
2024-09-11 22:16:50.696 |        connection.py:0854 |     INFO | Here are the available packages in device "127.0.0.1:16384", copy to Alas.Emulator.PackageName 
to use it                                                                                                                                                       
2024-09-11 22:16:50.698 |        connection.py:0858 |     INFO | com.netease.onmyoji.wyzymnqsd_cps                                                              
2024-09-11 22:16:50.698 |        connection.py:0868 |     INFO | Auto package detection found only one package, using it                                        
2024-09-11 22:16:50.699 |        connection.py:0874 |     INFO | Server changed, release resources                                                              
2024-09-11 22:16:50.700 |            logger.py:0284 |     INFO | [PackageName] com.netease.onmyoji.wyzymnqsd_cps                                                
2024-09-11 22:16:50.700 |            logger.py:0276 |     INFO | <<< HANDLE >>>                                                                                 
2024-09-11 22:16:50.701 |            handle.py:0167 |     INFO | Handle is empty. oas not use handle                                                            
2024-09-11 22:16:50.702 |        screenshot.py:0185 |     INFO | Screenshot interval set to 0.2s                                                                
2024-09-11 22:16:50.702 |            script.py:0440 |     INFO | Scheduler: Start task `GoryouRealm`                                                            
════════════════════════════════════════════════════════════════════════════════
───────────────────────────────── GORYOUREALM ──────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
2024-09-11 22:16:50.708 |            logger.py:0284 |     INFO | [nemud.app_keep_alive] false                                                                   
2024-09-11 22:16:50.708 |         droidcast.py:0177 |     INFO | Update droidcast resolution                                                                    
2024-09-11 22:16:50.715 |            logger.py:0284 |     INFO | [u2.Device] Device(atx_agent_url=http://127.0.0.1:5773)                                        
2024-09-11 22:16:50.725 |            logger.py:0284 |     INFO | [Device Orientation] 1 (HOME key on the right)                                                 
2024-09-11 22:16:50.726 |         droidcast.py:0183 |     INFO | Droicast resolution: (720, 1280)                                                               
2024-09-11 22:16:50.727 |        connection.py:0440 |     INFO | Reuse forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20335', remote='tcp:53516')    
2024-09-11 22:16:50.791 |            logger.py:0284 |     INFO | [Screen_size] 1280x720                                                                         
2024-09-11 22:16:50.792 |            script.py:0350 |     INFO | module_path: D:\GaMe\YYS\OAS\OnmyojiAutoScript-easy-install\tasks\GoryouRealm\script_task.py,  
module_name: script_task                                                                                                                                        
2024-09-11 22:16:50.902 |      costume_base.py:0135 |     INFO | Switch main costume to costume_main_1                                                          
2024-09-11 22:16:50.903 |      costume_base.py:0153 |     INFO | Switch battle theme costume_battle_2                                                           
2024-09-11 22:16:50.904 |           game_ui.py:0096 |     INFO | UI get current page                                                                            
2024-09-11 22:16:50.912 |            logger.py:0284 |     INFO | [UI] page_exploration                                                                          
2024-09-11 22:16:50.912 |            logger.py:0276 |     INFO | <<< UI GOTO PAGE_GORYOU_REALM >>>                                                              
2024-09-11 22:16:50.927 |             image.py:0076 |     INFO | roi_front size changed to 66x75                                                                
2024-09-11 22:16:50.930 |           game_ui.py:0244 |     INFO | Page switch: page_exploration -> page_goryou_realm                                             
2024-09-11 22:16:50.930 |           control.py:0074 |     INFO | Click ( 359,  644) @ PAGE_EXPLORATION_GOTO_GORYOU_REALM                                        
2024-09-11 22:16:50.931 |            logger.py:0276 |     INFO | <<< MINITOUCH INIT >>>                                                                         
2024-09-11 22:16:50.938 |            logger.py:0284 |     INFO | [Device Orientation] 1 (HOME key on the right)                                                 
2024-09-11 22:16:50.940 |        connection.py:0440 |     INFO | Reuse forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20171',                        
remote='localabstract:minitouch')                                                                                                                               
2024-09-11 22:16:50.951 |         minitouch.py:0401 |     INFO | v 1                                                                                            
2024-09-11 22:16:50.951 |         minitouch.py:0405 |     INFO | ^ 10 720 1280 0                                                                                
2024-09-11 22:16:50.952 |         minitouch.py:0428 |     INFO | $ 5193                                                                                         
2024-09-11 22:16:50.952 |         minitouch.py:0432 |     INFO | minitouch running on port: 20171, pid: 5193                                                    
2024-09-11 22:16:50.953 |         minitouch.py:0435 |     INFO | max_contact: 10; max_x: 720; max_y: 1280; max_pressure: 0                                      
2024-09-11 22:16:51.258 |           game_ui.py:0221 |     INFO | Page arrive: page_goryou_realm                                                                 
2024-09-11 22:16:51.455 |           control.py:0074 |     INFO | Click ( 520,  281) @ gr_c_2                                                                    
2024-09-11 22:16:51.658 |       script_task.py:0042 |     INFO | Enter GoryouRealm                                                                              
2024-09-11 22:16:51.659 |    general_battle.py:0429 |     INFO | Lock team                                                                                      
2024-09-11 22:16:52.252 |           sub_ocr.py:0107 |  WARNING | OCR GR_TICKET: Result "" is revised to "0"                                                     
2024-09-11 22:16:52.253 |            logger.py:0284 |     INFO | [GR_TICKET 0.179s] [0]                                                                         
2024-09-11 22:16:52.308 |           control.py:0074 |     INFO | Click (  74,   21) @ UI_UI_BACK_BLUE                                                           
2024-09-11 22:16:52.508 |       script_task.py:0075 |     INFO | Back to exploration                                                                            
2024-09-11 22:16:52.513 |            config.py:0365 |     INFO | Delay task `goryou_realm` to 2024-09-11 23:16:52 (success=True, server_update=True)            
2024-09-11 22:16:52.523 |            logger.py:0284 |     INFO | [goryou_realm.scheduler.next_run] 2024-09-11 23:16:52                                          
2024-09-11 22:16:52.524 |            script.py:0445 |     INFO | Scheduler: End task `GoryouRealm`                                                              
2024-09-11 22:16:52.535 |            config.py:0222 |     INFO | No task pending                                                                                
2024-09-11 22:16:52.536 |            logger.py:0284 |     INFO | [Task] GoryouRealm (Enable, 5, 2024-09-11 23:16:52)                                            
2024-09-11 22:16:52.536 |            script.py:0309 |     INFO | Wait until 2024-09-11 23:16:52 for task `GoryouRealm`                                          
2024-09-11 22:16:52.873 |            script.py:0321 |     INFO | Goto main page during wait                                                                     
2024-09-11 22:16:52.923 |            script.py:0350 |     INFO | module_path: D:\GaMe\YYS\OAS\OnmyojiAutoScript-easy-install\tasks\GotoMain\script_task.py,     
module_name: script_task                                                                                                                                        
2024-09-11 22:16:52.975 |      costume_base.py:0135 |     INFO | Switch main costume to costume_main_1                                                          
2024-09-11 22:16:53.025 |      costume_base.py:0153 |     INFO | Switch battle theme costume_battle_2                                                           
2024-09-11 22:16:53.628 |           game_ui.py:0096 |     INFO | UI get current page                                                                            
2024-09-11 22:16:53.635 |            logger.py:0284 |     INFO | [UI] page_exploration                                                                          
2024-09-11 22:16:53.636 |            logger.py:0276 |     INFO | <<< UI GOTO PAGE_MAIN >>>                                                                      
2024-09-11 22:16:53.690 |           game_ui.py:0244 |     INFO | Page switch: page_exploration -> page_main                                                     
2024-09-11 22:16:53.732 |           control.py:0074 |     INFO | Click (  71,   38) @ PAGE_BACK_BLUE                                                            
2024-09-11 22:16:55.242 |           game_ui.py:0221 |     INFO | Page arrive: page_main                                                                         

###############################################################################################

════════════════════════════════════════════════════════════════════════════════
──────────────────────────────────── START ─────────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
2024-09-11 22:12:49.603 |            script.py:0406 |     INFO | Start scheduler loop: 突破                                                                     
2024-09-11 22:12:49.612 |            config.py:0214 |     INFO | Pending tasks: ['RealmRaid']                                                                   
2024-09-11 22:12:49.614 |            logger.py:0284 |     INFO | [Task] RealmRaid (Enable, 5, 2024-09-11 18:55:04)                                              
════════════════════════════════════ DEVICE ════════════════════════════════════
2024-09-11 22:12:49.616 |            logger.py:0271 |     INFO | DEVICE                                                                                         
2024-09-11 22:12:49.616 |            logger.py:0284 |     INFO | [AdbBinary]                                                                                    
D:/GaMe/YYS/OAS/OnmyojiAutoScript-easy-install/toolkit/Lib/site-packages/adbutils/binaries/adb.exe                                                              
2024-09-11 22:12:49.617 |            logger.py:0284 |     INFO | [AdbClient] AdbClient(127.0.0.1, 5037)                                                         
2024-09-11 22:12:49.618 |            logger.py:0276 |     INFO | <<< DETECT DEVICE >>>                                                                          
2024-09-11 22:12:49.619 |        connection.py:0750 |     INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set                  
Alas.Emulator.Serial="auto"                                                                                                                                     
2024-09-11 22:12:49.620 |        connection.py:0757 |     INFO | 127.0.0.1:16384                                                                                
2024-09-11 22:12:49.621 |        connection.py:0757 |     INFO | 127.0.0.1:7555                                                                                 
2024-09-11 22:12:49.623 |        connection.py:0553 |     INFO | already connected to 127.0.0.1:16384                                                           
2024-09-11 22:12:49.624 |            logger.py:0284 |     INFO | [AdbDevice] AdbDevice(serial=127.0.0.1:16384)                                                  
2024-09-11 22:12:49.625 |            logger.py:0276 |     INFO | <<< DETECT PACKAGE >>>                                                                         
2024-09-11 22:12:49.625 |        connection.py:0820 |     INFO | Get package list                                                                               
2024-09-11 22:12:49.775 |        connection.py:0854 |     INFO | Here are the available packages in device "127.0.0.1:16384", copy to Alas.Emulator.PackageName 
to use it                                                                                                                                                       
2024-09-11 22:12:49.777 |        connection.py:0858 |     INFO | com.netease.onmyoji.wyzymnqsd_cps                                                              
2024-09-11 22:12:49.778 |        connection.py:0868 |     INFO | Auto package detection found only one package, using it                                        
2024-09-11 22:12:49.778 |        connection.py:0874 |     INFO | Server changed, release resources                                                              
2024-09-11 22:12:49.779 |            logger.py:0284 |     INFO | [PackageName] com.netease.onmyoji.wyzymnqsd_cps                                                
2024-09-11 22:12:49.780 |            logger.py:0276 |     INFO | <<< HANDLE >>>                                                                                 
2024-09-11 22:12:49.780 |            handle.py:0167 |     INFO | Handle is empty. oas not use handle                                                            
2024-09-11 22:12:49.781 |        screenshot.py:0185 |     INFO | Screenshot interval set to 0.2s                                                                
2024-09-11 22:12:49.782 |            script.py:0440 |     INFO | Scheduler: Start task `RealmRaid`                                                              
════════════════════════════════════════════════════════════════════════════════
────────────────────────────────── REALMRAID ───────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
2024-09-11 22:12:49.792 |            logger.py:0284 |     INFO | [nemud.app_keep_alive] false                                                                   
2024-09-11 22:12:49.793 |         droidcast.py:0177 |     INFO | Update droidcast resolution                                                                    
2024-09-11 22:12:49.807 |            logger.py:0284 |     INFO | [u2.Device] Device(atx_agent_url=http://127.0.0.1:5773)                                        
2024-09-11 22:12:49.833 |            logger.py:0284 |     INFO | [Device Orientation] 1 (HOME key on the right)                                                 
2024-09-11 22:12:49.834 |         droidcast.py:0183 |     INFO | Droicast resolution: (720, 1280)                                                               
2024-09-11 22:12:49.835 |        connection.py:0440 |     INFO | Reuse forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20335', remote='tcp:53516')    
2024-09-11 22:12:49.933 |            logger.py:0284 |     INFO | [Screen_size] 1280x720                                                                         
2024-09-11 22:12:49.934 |            script.py:0350 |     INFO | module_path: D:\GaMe\YYS\OAS\OnmyojiAutoScript-easy-install\tasks\RealmRaid\script_task.py,    
module_name: script_task                                                                                                                                        
2024-09-11 22:12:50.076 |      costume_base.py:0135 |     INFO | Switch main costume to costume_main_1                                                          
2024-09-11 22:12:50.077 |      costume_base.py:0153 |     INFO | Switch battle theme costume_battle_2                                                           
2024-09-11 22:12:50.077 |           game_ui.py:0096 |     INFO | UI get current page                                                                            
2024-09-11 22:12:50.095 |            logger.py:0284 |     INFO | [UI] page_goryou_realm                                                                         
2024-09-11 22:12:50.096 |            logger.py:0276 |     INFO | <<< UI GOTO PAGE_SHIKIGAMI_RECORDS >>>                                                         
2024-09-11 22:12:50.110 |             image.py:0076 |     INFO | roi_front size changed to 66x75                                                                
2024-09-11 22:12:50.130 |           game_ui.py:0244 |     INFO | Page switch: page_goryou_realm -> page_exploration                                             
2024-09-11 22:12:50.132 |           control.py:0074 |     INFO | Click (  25,   54) @ PAGE_BACK_BLUE                                                            
2024-09-11 22:12:50.133 |            logger.py:0276 |     INFO | <<< MINITOUCH INIT >>>                                                                         
2024-09-11 22:12:50.141 |            logger.py:0284 |     INFO | [Device Orientation] 1 (HOME key on the right)                                                 
2024-09-11 22:12:50.142 |        connection.py:0440 |     INFO | Reuse forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20171',                        
remote='localabstract:minitouch')                                                                                                                               
2024-09-11 22:12:50.144 |         minitouch.py:0401 |     INFO | v 1                                                                                            
2024-09-11 22:12:50.144 |         minitouch.py:0405 |     INFO | ^ 10 720 1280 0                                                                                
2024-09-11 22:12:50.145 |         minitouch.py:0428 |     INFO | $ 5193                                                                                         
2024-09-11 22:12:50.145 |         minitouch.py:0432 |     INFO | minitouch running on port: 20171, pid: 5193                                                    
2024-09-11 22:12:50.146 |         minitouch.py:0435 |     INFO | max_contact: 10; max_x: 720; max_y: 1280; max_pressure: 0                                      
2024-09-11 22:12:50.464 |           game_ui.py:0244 |     INFO | Page switch: page_exploration -> page_main                                                     
2024-09-11 22:12:54.480 |           game_ui.py:0244 |     INFO | Page switch: page_exploration -> page_main                                                     
2024-09-11 22:12:54.481 |           control.py:0074 |     INFO | Click (  59,   38) @ PAGE_BACK_BLUE                                                            
2024-09-11 22:12:56.079 |           game_ui.py:0244 |     INFO | Page switch: page_main -> page_shikigami_records                                               
2024-09-11 22:12:56.091 |           control.py:0074 |     INFO | Click (1115,  617) @ PAGE_MAIN_GOTO_SHIKIGAMI_RECORDS                                          
2024-09-11 22:12:57.484 |           game_ui.py:0221 |     INFO | Page arrive: page_shikigami_records                                                            
2024-09-11 22:12:57.713 |           control.py:0074 |     INFO | Click ( 408,   73) @ SS_SOUL_PRESET                                                            
2024-09-11 22:12:58.088 |       switch_soul.py:0061 |     INFO | Click preset in switch soul                                                                    
2024-09-11 22:12:58.606 |            logger.py:0284 |     INFO | [SS_GROUP_NAME 0.318s] ['道馆', '默认', '活动', '日/周常', '六道', '斗技', '地鬼', '封魔']     
2024-09-11 22:12:58.607 |           control.py:0158 |     INFO | Swipe (1229,  192) -> (1172,  331)                                                             
2024-09-11 22:12:59.519 |            logger.py:0284 |     INFO | [SS_GROUP_NAME 0.113s] ['道馆', '默认', '活动', '日/周常', '六道', '斗技', '地鬼', '封魔']     
2024-09-11 22:12:59.521 |           control.py:0074 |     INFO | Click (1125,  322) @ sou_group_4                                                               
2024-09-11 22:13:00.073 |           control.py:0074 |     INFO | Click (1107,  312) @ sou_group_4                                                               
2024-09-11 22:13:01.487 |           control.py:0074 |     INFO | Click (1000,  167) @ SS_SOU_SWITCH_1                                                           
2024-09-11 22:13:02.390 |           control.py:0074 |     INFO | Click ( 701,  417) @ SS_SOU_SWITCH_SURE                                                        
2024-09-11 22:13:03.443 |           control.py:0074 |     INFO | Click ( 973,  159) @ SS_SOU_SWITCH_1                                                           
2024-09-11 22:13:03.496 |       switch_soul.py:0138 |     INFO | Switch soul_one group 4 team 1                                                                 
2024-09-11 22:13:03.497 |           game_ui.py:0096 |     INFO | UI get current page                                                                            
2024-09-11 22:13:03.513 |            logger.py:0284 |     INFO | [UI] page_shikigami_records                                                                    
2024-09-11 22:13:03.514 |            logger.py:0276 |     INFO | <<< UI GOTO PAGE_REALM_RAID >>>                                                                
2024-09-11 22:13:03.530 |           game_ui.py:0244 |     INFO | Page switch: page_shikigami_records -> page_main                                               
2024-09-11 22:13:03.543 |           control.py:0074 |     INFO | Click (  47,   30) @ PAGE_BACK_Y                                                               
2024-09-11 22:13:04.061 |           game_ui.py:0244 |     INFO | Page switch: page_main -> page_exploration                                                     
2024-09-11 22:13:08.076 |           game_ui.py:0244 |     INFO | Page switch: page_main -> page_exploration                                                     
2024-09-11 22:13:08.079 |           control.py:0074 |     INFO | Click ( 503,  201) @ MAIN1_MAIN_GOTO_EXPLORATION_1                                             
2024-09-11 22:13:09.086 |           game_ui.py:0244 |     INFO | Page switch: page_exploration -> page_realm_raid                                               
2024-09-11 22:13:09.099 |           control.py:0074 |     INFO | Click ( 286,  643) @ PAGE_EXPLORATION_GOTO_REALM_RAID                                          
2024-09-11 22:13:13.103 |           game_ui.py:0244 |     INFO | Page switch: page_exploration -> page_realm_raid                                               
2024-09-11 22:13:13.104 |           control.py:0074 |     INFO | Click ( 254,  639) @ PAGE_EXPLORATION_GOTO_REALM_RAID                                          
2024-09-11 22:13:13.689 |           game_ui.py:0221 |     INFO | Page arrive: page_realm_raid                                                                   
2024-09-11 22:13:14.114 |       script_task.py:0272 |     INFO | Click RES_LOCK                                                                                 
2024-09-11 22:13:14.898 |            logger.py:0284 |     INFO | [NUMBER 0.002s] []                                                                             
2024-09-11 22:13:14.898 |           sub_ocr.py:0081 |     INFO | [NUMBER] Try to detect vertically                                                              
2024-09-11 22:13:15.002 |            logger.py:0284 |     INFO | [NUMBER 0.103s] ['5/30']                                                                       
2024-09-11 22:13:15.036 |       script_task.py:0368 |     INFO | Find one medal [RES_MEDAL_5], order is 9                                                       
2024-09-11 22:13:15.332 |           control.py:0074 |     INFO | Click (1018,  507) @ partition_9                                                               
2024-09-11 22:13:15.727 |           control.py:0074 |     INFO | Click ( 994,  651) @ RES_FIRE                                                                  
2024-09-11 22:13:16.303 |       script_task.py:0482 |     INFO | Click fire 9 success                                                                           
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-09-11 22:13:16.304 |            logger.py:0274 |     INFO | GENERAL BATTLE START                                                                           
2024-09-11 22:13:16.305 |    general_battle.py:0029 |     INFO | Current count: 1                                                                               
2024-09-11 22:13:16.305 |    general_battle.py:0035 |     INFO | Lock team is not enable                                                                        
2024-09-11 22:13:16.306 |    general_battle.py:0284 |     INFO | Preset is enable                                                                               
2024-09-11 22:13:17.309 |           control.py:0074 |     INFO | Click (  46,  689) @ GB_PRESET                                                                 
2024-09-11 22:13:17.712 |    general_battle.py:0296 |     INFO | Click preset button                                                                            
2024-09-11 22:13:17.713 |           control.py:0074 |     INFO | Click (  44,  475) @ Click                                                                     
2024-09-11 22:13:17.764 |    general_battle.py:0318 |     INFO | Select preset group                                                                            
2024-09-11 22:13:18.265 |           control.py:0074 |     INFO | Click ( 408,  263) @ Click                                                                     
2024-09-11 22:13:18.317 |    general_battle.py:0334 |     INFO | Select preset team                                                                             
2024-09-11 22:13:18.569 |           control.py:0074 |     INFO | Click ( 457,  671) @ GB_PRESET_ENSURE                                                          
2024-09-11 22:13:18.778 |    general_battle.py:0344 |     INFO | Click preset ensure                                                                            
2024-09-11 22:13:19.377 |           control.py:0074 |     INFO | Click (1203,  635) @ GB_PREPARE_HIGHLIGHT                                                      
2024-09-11 22:13:19.581 |    general_battle.py:0056 |     INFO | Click prepare ensure button                                                                    
2024-09-11 22:13:19.785 |            device.py:0113 |     INFO | Add stuck record: BATTLE_STATUS_S                                                              
2024-09-11 22:13:19.786 |    general_battle.py:0164 |     INFO | Start battle process                                                                           
2024-09-11 22:13:27.836 |    general_battle.py:0170 |     INFO | Battle result is win                                                                           
2024-09-11 22:13:27.840 |    general_battle.py:0196 |     INFO | Reconfirm the results of the battle                                                            
2024-09-11 22:13:28.026 |           control.py:0074 |     INFO | Click (1188,  139) @ GB_WIN                                                                    
2024-09-11 22:13:29.028 |    general_battle.py:0217 |     INFO | Get reward                                                                                     
2024-09-11 22:13:29.232 |           control.py:0074 |     INFO | Click ( 787,  686) @ GB_REWARD                                                                 
2024-09-11 22:13:30.841 |           control.py:0074 |     INFO | Click (1152,  538) @ GB_REWARD                                                                 
2024-09-11 22:13:31.846 |            logger.py:0284 |     INFO | [TEXT 0.002s] []                                                                               
2024-09-11 22:13:31.848 |           sub_ocr.py:0081 |     INFO | [TEXT] Try to detect vertically                                                                
2024-09-11 22:13:31.951 |            logger.py:0284 |     INFO | [TEXT 0.102s] ['4/30']                                                                         
2024-09-11 22:13:32.448 |            logger.py:0284 |     INFO | [NUMBER 0.002s] []                                                                             
2024-09-11 22:13:32.449 |           sub_ocr.py:0081 |     INFO | [NUMBER] Try to detect vertically                                                              
2024-09-11 22:13:32.552 |            logger.py:0284 |     INFO | [NUMBER 0.102s] ['4/30']                                                                       
2024-09-11 22:13:32.595 |       script_task.py:0368 |     INFO | Find one medal [RES_MEDAL_4], order is 2                                                       
2024-09-11 22:13:32.875 |           control.py:0074 |     INFO | Click ( 571,  209) @ partition_2                                                               
2024-09-11 22:13:33.278 |           control.py:0074 |     INFO | Click ( 754,  381) @ RES_FIRE                                                                  
2024-09-11 22:13:34.058 |       script_task.py:0482 |     INFO | Click fire 2 success                                                                           
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-09-11 22:13:34.060 |            logger.py:0274 |     INFO | GENERAL BATTLE START                                                                           
2024-09-11 22:13:34.061 |    general_battle.py:0029 |     INFO | Current count: 2                                                                               
2024-09-11 22:13:34.061 |    general_battle.py:0035 |     INFO | Lock team is not enable                                                                        
2024-09-11 22:13:35.262 |           control.py:0074 |     INFO | Click (1161,  614) @ GB_PREPARE_HIGHLIGHT                                                      
2024-09-11 22:13:35.466 |    general_battle.py:0056 |     INFO | Click prepare ensure button                                                                    
2024-09-11 22:13:35.665 |            device.py:0113 |     INFO | Add stuck record: BATTLE_STATUS_S                                                              
2024-09-11 22:13:35.666 |    general_battle.py:0164 |     INFO | Start battle process                                                                           
2024-09-11 22:13:45.317 |    general_battle.py:0170 |     INFO | Battle result is win                                                                           
2024-09-11 22:13:45.319 |    general_battle.py:0196 |     INFO | Reconfirm the results of the battle                                                            
2024-09-11 22:13:45.522 |           control.py:0074 |     INFO | Click (1231,  397) @ GB_WIN                                                                    
2024-09-11 22:13:46.721 |    general_battle.py:0217 |     INFO | Get reward                                                                                     
2024-09-11 22:13:46.921 |           control.py:0074 |     INFO | Click ( 187,  140) @ GB_REWARD                                                                 
2024-09-11 22:13:48.533 |           control.py:0074 |     INFO | Click ( 672,  657) @ GB_REWARD                                                                 
2024-09-11 22:13:49.535 |            logger.py:0284 |     INFO | [TEXT 0.002s] []                                                                               
2024-09-11 22:13:49.536 |           sub_ocr.py:0081 |     INFO | [TEXT] Try to detect vertically                                                                
2024-09-11 22:13:49.640 |            logger.py:0284 |     INFO | [TEXT 0.102s] ['3/30']                                                                         
2024-09-11 22:13:50.142 |            logger.py:0284 |     INFO | [NUMBER 0.002s] []                                                                             
2024-09-11 22:13:50.143 |           sub_ocr.py:0081 |     INFO | [NUMBER] Try to detect vertically                                                              
2024-09-11 22:13:50.248 |            logger.py:0284 |     INFO | [NUMBER 0.103s] ['3/30']                                                                       
2024-09-11 22:13:50.296 |       script_task.py:0368 |     INFO | Find one medal [RES_MEDAL_3], order is 6                                                       
2024-09-11 22:13:50.578 |           control.py:0074 |     INFO | Click ( 945,  289) @ partition_6                                                               
2024-09-11 22:13:52.587 |           control.py:0074 |     INFO | Click ( 937,  370) @ partition_6                                                               
2024-09-11 22:13:54.595 |           control.py:0074 |     INFO | Click ( 987,  294) @ partition_6                                                               
2024-09-11 22:13:54.998 |           control.py:0074 |     INFO | Click (1075,  542) @ RES_FIRE                                                                  
2024-09-11 22:13:55.778 |       script_task.py:0482 |     INFO | Click fire 6 success                                                                           
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-09-11 22:13:55.781 |            logger.py:0274 |     INFO | GENERAL BATTLE START                                                                           
2024-09-11 22:13:55.782 |    general_battle.py:0029 |     INFO | Current count: 3                                                                               
2024-09-11 22:13:55.782 |    general_battle.py:0035 |     INFO | Lock team is not enable                                                                        
2024-09-11 22:13:56.981 |           control.py:0074 |     INFO | Click (1138,  575) @ GB_PREPARE_HIGHLIGHT                                                      
2024-09-11 22:13:57.181 |    general_battle.py:0056 |     INFO | Click prepare ensure button                                                                    
2024-09-11 22:13:57.392 |            device.py:0113 |     INFO | Add stuck record: BATTLE_STATUS_S                                                              
2024-09-11 22:13:57.393 |    general_battle.py:0164 |     INFO | Start battle process                                                                           
2024-09-11 22:14:05.225 |    general_battle.py:0170 |     INFO | Battle result is win                                                                           
2024-09-11 22:14:05.227 |    general_battle.py:0196 |     INFO | Reconfirm the results of the battle                                                            
2024-09-11 22:14:05.430 |           control.py:0074 |     INFO | Click (1097,  459) @ GB_WIN                                                                    
2024-09-11 22:14:06.632 |    general_battle.py:0217 |     INFO | Get reward                                                                                     
2024-09-11 22:14:06.844 |           control.py:0074 |     INFO | Click (1153,  486) @ GB_REWARD                                                                 
2024-09-11 22:14:08.445 |           control.py:0074 |     INFO | Click (1096,  176) @ GB_REWARD                                                                 
2024-09-11 22:14:09.451 |            logger.py:0284 |     INFO | [TEXT 0.003s] []                                                                               
2024-09-11 22:14:09.453 |           sub_ocr.py:0081 |     INFO | [TEXT] Try to detect vertically                                                                
2024-09-11 22:14:09.552 |            logger.py:0284 |     INFO | [TEXT 0.099s] ['2/30']                                                                         
2024-09-11 22:14:10.054 |            logger.py:0284 |     INFO | [NUMBER 0.002s] []                                                                             
2024-09-11 22:14:10.056 |           sub_ocr.py:0081 |     INFO | [NUMBER] Try to detect vertically                                                              
2024-09-11 22:14:10.159 |            logger.py:0284 |     INFO | [NUMBER 0.104s] ['2/30']                                                                       
2024-09-11 22:14:10.209 |       script_task.py:0368 |     INFO | Find one medal [RES_MEDAL_3], order is 5                                                       
2024-09-11 22:14:10.490 |           control.py:0074 |     INFO | Click ( 692,  303) @ partition_5                                                               
2024-09-11 22:14:10.889 |           control.py:0074 |     INFO | Click ( 740,  532) @ RES_FIRE                                                                  
2024-09-11 22:14:11.469 |       script_task.py:0482 |     INFO | Click fire 5 success                                                                           
───────────────────────────── GENERAL BATTLE START ─────────────────────────────
2024-09-11 22:14:11.471 |            logger.py:0274 |     INFO | GENERAL BATTLE START                                                                           
2024-09-11 22:14:11.471 |    general_battle.py:0029 |     INFO | Current count: 4                                                                               
2024-09-11 22:14:11.472 |    general_battle.py:0035 |     INFO | Lock team is not enable                                                                        
2024-09-11 22:14:12.875 |           control.py:0074 |     INFO | Click (1163,  583) @ GB_PREPARE_HIGHLIGHT                                                      
2024-09-11 22:14:13.080 |    general_battle.py:0056 |     INFO | Click prepare ensure button                                                                    
2024-09-11 22:14:13.281 |            device.py:0113 |     INFO | Add stuck record: BATTLE_STATUS_S                                                              
2024-09-11 22:14:13.282 |    general_battle.py:0164 |     INFO | Start battle process                                                                           
2024-09-11 22:14:21.116 |    general_battle.py:0170 |     INFO | Battle result is win                                                                           
2024-09-11 22:14:21.120 |    general_battle.py:0196 |     INFO | Reconfirm the results of the battle                                                            
2024-09-11 22:14:21.321 |           control.py:0074 |     INFO | Click ( 224,  432) @ GB_WIN                                                                    
2024-09-11 22:14:22.518 |    general_battle.py:0217 |     INFO | Get reward                                                                                     
2024-09-11 22:14:22.718 |           control.py:0074 |     INFO | Click ( 891,  624) @ GB_REWARD                                                                 
2024-09-11 22:14:24.338 |           control.py:0074 |     INFO | Click ( 927,  666) @ GB_REWARD                                                                 
2024-09-11 22:14:25.333 |            logger.py:0284 |     INFO | [TEXT 0.002s] [10]                                                                             
2024-09-11 22:14:25.936 |            logger.py:0284 |     INFO | [NUMBER 0.002s] [10]                                                                           
2024-09-11 22:14:25.937 |           sub_ocr.py:0146 |  WARNING | Unexpected ocr result: None                                                                    
2024-09-11 22:14:26.137 |            logger.py:0284 |     INFO | [TEXT 0.001s] [10]                                                                             
2024-09-11 22:14:26.139 |            logger.py:0284 |     INFO | [NUMBER 0.001s] [10]                                                                           
2024-09-11 22:14:26.140 |           sub_ocr.py:0146 |  WARNING | Unexpected ocr result: None                                                                    
2024-09-11 22:14:26.141 |       script_task.py:0303 |  WARNING | Execute raid failed, no ticket                                                                 
2024-09-11 22:14:26.342 |           control.py:0074 |     INFO | Click (1215,  158) @ RES_BACK_RED                                                              
2024-09-11 22:14:26.738 |           game_ui.py:0096 |     INFO | UI get current page                                                                            
2024-09-11 22:14:26.743 |            logger.py:0284 |     INFO | [UI] page_exploration                                                                          
2024-09-11 22:14:26.744 |            logger.py:0276 |     INFO | <<< UI GOTO PAGE_MAIN >>>                                                                      
2024-09-11 22:14:26.762 |           game_ui.py:0244 |     INFO | Page switch: page_exploration -> page_main                                                     
2024-09-11 22:14:26.764 |           control.py:0074 |     INFO | Click (  38,   73) @ PAGE_BACK_BLUE                                                            
2024-09-11 22:14:28.348 |           game_ui.py:0221 |     INFO | Page arrive: page_main                                                                         
2024-09-11 22:14:28.354 |            config.py:0365 |     INFO | Delay task `realm_raid` to 2024-09-11 23:14:28 (success=True, server_update=True)              
2024-09-11 22:14:28.365 |            logger.py:0284 |     INFO | [realm_raid.scheduler.next_run] 2024-09-11 23:14:28                                            
2024-09-11 22:14:28.366 |            script.py:0445 |     INFO | Scheduler: End task `RealmRaid`                                                                
2024-09-11 22:14:28.379 |            config.py:0222 |     INFO | No task pending                                                                                
2024-09-11 22:14:28.380 |            logger.py:0284 |     INFO | [Task] RealmRaid (Enable, 5, 2024-09-11 23:14:28)                                              
2024-09-11 22:14:28.380 |            script.py:0309 |     INFO | Wait until 2024-09-11 23:14:28 for task `RealmRaid`                                            
2024-09-11 22:14:28.382 |            script.py:0321 |     INFO | Goto main page during wait                                                                     
2024-09-11 22:14:28.551 |            script.py:0350 |     INFO | module_path: D:\GaMe\YYS\OAS\OnmyojiAutoScript-easy-install\tasks\GotoMain\script_task.py,     
module_name: script_task                                                                                                                                        
2024-09-11 22:14:28.553 |      costume_base.py:0135 |     INFO | Switch main costume to costume_main_1                                                          
2024-09-11 22:14:28.554 |      costume_base.py:0153 |     INFO | Switch battle theme costume_battle_2                                                           
2024-09-11 22:14:28.555 |           game_ui.py:0096 |     INFO | UI get current page                                                                            
2024-09-11 22:14:28.557 |            logger.py:0284 |     INFO | [UI] page_main                                                                                 
2024-09-11 22:14:28.558 |            logger.py:0276 |     INFO | <<< UI GOTO PAGE_MAIN >>>                                                                      
2024-09-11 22:14:28.560 |           game_ui.py:0221 |     INFO | Page arrive: page_main

截图

No response

还有别的吗?

No response

runhey commented 2 months ago

ocr 异常导致无法识别

429


2024-09-11 22:14:25.333 | logger.py:0284 | INFO | [TEXT 0.002s] [10]
2024-09-11 22:14:25.936 | logger.py:0284 | INFO | [NUMBER 0.002s] [10]
2024-09-11 22:14:25.937 | sub_ocr.py:0146 | WARNING | Unexpected ocr result: None
2024-09-11 22:14:26.137 | logger.py:0284 | INFO | [TEXT 0.001s] [10]
2024-09-11 22:14:26.139 | logger.py:0284 | INFO | [NUMBER 0.001s] [10]
2024-09-11 22:14:26.140 | sub_ocr.py:0146 | WARNING | Unexpected ocr result: None
2024-09-11 22:14:26.141 | script_task.py:0303 | WARNING | Execute raid failed, no ticket

sauce8 commented 2 months ago

OCR 异常导致无法识别 #429

2024-09-11 22:14:25.333 |logger.py:0284 |信息 |[文本 0.002s][10] 2024-09-11 22:14:25.936 |logger.py:0284 |信息 |[数字 0.002s][10] 2024-09-11 22:14:25.937 |sub_ocr.py:0146 |警告 |意外的 ocr 结果:无 2024-09-11 22:14:26.137 |logger.py:0284 |信息 |[文本 0.001s][10] 2024-09-11 22:14:26.139 |logger.py:0284 |信息 |[数字 0.001s][10] 2024-09-11 22:14:26.140 |sub_ocr.py:0146 |警告 |意外的 ocr 结果:无 2024-09-11 22:14:26.141 |script_task.py:0303 |警告 |执行 raid 失败,无票据

是的,这个日志我的问题,这个日志正常运行了。09.11dev更新后上午打突破还剩10多张卷退到庭院的日志被我删除了。我看到#432问题和我一样了。我就不复现提交日志了