LmeSzinc / AzurLaneAutoScript

Azur Lane bot (CN/EN/JP/TW) 碧蓝航线脚本 | 无缝委托科研,全自动大世界
https://alas.azurlane.cloud
GNU General Public License v3.0
6.97k stars 836 forks source link

META作戰和支援無法正常執行 #4279

Open KurupekoChiotzin opened 1 month ago

KurupekoChiotzin commented 1 month ago

在提问之前...

描述你的问题

日服更新UI後META作戰與支援無法正常執行 模擬器版本:BlueStacks pie64

如何复现

No response

预期行为

No response

相关 Logs

META作戰:
════════════════════════════════════════════════════════════════════════════════════════════
                                           START                                            
════════════════════════════════════════════════════════════════════════════════════════════
INFO     02:17:44.291 │ Start scheduler loop: alas                                          
INFO     02:17:44.332 │ [Server] cn                                                         
INFO     02:17:44.340 │ Bind task ['General', 'Alas']                                       
INFO     02:17:44.342 │ Pending tasks: ['OpsiAshBeacon']                                    
INFO     02:17:44.343 │ [Task] OpsiAshBeacon (Enable, 2024-10-13 02:08:34)                  
INFO     02:17:44.343 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiAshBeacon']       
══════════════════════════════════════════ DEVICE ══════════════════════════════════════════
INFO     02:17:44.599 │ DEVICE                                                              
INFO     02:17:44.600 │ [IS_ON_PHONE_CLOUD] False                                           
INFO     02:17:44.601 │ [AdbBinary]                                                         
         D:\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe          
INFO     02:17:44.603 │ [AdbClient] AdbClient(127.0.0.1, 5037)                              
INFO     02:17:44.603 │ <<< DETECT DEVICE >>>                                               
INFO     02:17:44.604 │ Here are the available devices, copy to Alas.Emulator.Serial to use 
         it or set Alas.Emulator.Serial="auto"                                              
INFO     02:17:44.605 │ 127.0.0.1:49315                                                     
INFO     02:17:44.608 │ already connected to 127.0.0.1:49315                                
INFO     02:17:44.609 │ [AdbDevice] AdbDevice(serial=127.0.0.1:49315)                       
INFO     02:17:44.610 │ [PackageName] com.YoStarJP.AzurLane                                 
INFO     02:17:44.611 │ [Server] jp                                                         
INFO     02:17:44.611 │ Screenshot interval set to 0.3s                                     
INFO     02:17:44.612 │ Scheduler: Start task `OpsiAshBeacon`                               
════════════════════════════════════════════════════════════════════════════════════════════
                                       OPSIASHBEACON                                        
════════════════════════════════════════════════════════════════════════════════════════════
INFO     02:17:44.845 │ [Screen_size] 1280x720                                              
INFO     02:17:44.975 │ early_ocr_import call                                               
INFO     02:17:44.976 │ early_ocr_import start                                              
INFO     02:17:44.976 │ <<< UI ENSURE >>>                                                   
INFO     02:17:44.978 │ UI get current page                                                 
INFO     02:17:44.979 │ Loading OCR dependencies                                            
INFO     02:17:45.001 │ [UI] page_main                                                      
INFO     02:17:45.002 │ Goto page_reward                                                    
INFO     02:17:45.003 │ <<< UI GOTO PAGE_REWARD >>>                                         
INFO     02:17:45.060 │ Page switch: page_main_white -> page_reward                         
INFO     02:17:45.067 │ Click (  17,  241) @ MAIN_GOTO_REWARD_WHITE                         
INFO     02:17:45.395 │ early_ocr_import finish                                             
INFO     02:17:45.816 │ Page arrive: page_reward                                            
INFO     02:17:45.816 │ <<< META BEACON ATTACK >>>                                          
INFO     02:17:45.817 │ Ensure beacon attack page                                           
INFO     02:17:45.861 │ Click ( 630,  452) @ META_ENTRANCE                                  
INFO     02:17:46.451 │ In meta page                                                        
INFO     02:17:46.457 │ Meta state:INIT                                                     
INFO     02:17:46.468 │ Loading OCR model: ./bin/cnocr_models/azur_lane                     
INFO     02:17:46.506 │ [POINT_OCR 0.044s] /2                                               
WARNING  02:17:46.507 │ Unexpected ocr result: /2                                           
INFO     02:17:46.535 │ [POINT_OCR 0.023s] 1140                                             
WARNING  02:17:46.537 │ Unexpected ocr result: 1140                                         
INFO     02:17:46.537 │ Delay task `OpsiAshBeacon` to 2024-10-13 23:00:00                   
         (server_update='00:00')                                                            
INFO     02:17:46.545 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiAshBeacon']       
INFO     02:17:46.546 │ Save config ./config\alas.json,                                     
         OpsiAshBeacon.Scheduler.NextRun=datetime.datetime(2024, 10, 13, 23, 0)             
INFO     02:17:46.564 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiAshBeacon']       
INFO     02:17:46.565 │ Scheduler: End task `OpsiAshBeacon`                                 
INFO     02:17:46.566 │ [Server] jp                                                         
INFO     02:17:46.574 │ Bind task ['General', 'Alas']                                       
INFO     02:17:46.576 │ No task pending                                                     
INFO     02:17:46.577 │ [Task] Tactical (Enable, 2024-10-13 02:22:18)                       
INFO     02:17:46.578 │ Bind task ['General', 'Alas', 'Tactical']                           
INFO     02:17:46.585 │ Wait until 2024-10-13 02:22:18 for task `Tactical`                  
INFO     02:17:46.586 │ Goto main page during wait                                          
INFO     02:17:46.809 │ [Package_name] com.YoStarJP.AzurLane                                
INFO     02:17:46.810 │ App is already running, goto main page                              
INFO     02:17:46.811 │ <<< UI ENSURE >>>                                                   
INFO     02:17:46.811 │ UI get current page                                                 
INFO     02:17:46.843 │ Unknown ui page                                                     
INFO     02:17:46.847 │ Click (1231,   28) @ GOTO_MAIN                                      
INFO     02:17:47.131 │ Unknown ui page                                                     
INFO     02:17:47.160 │ [Package_name] com.YoStarJP.AzurLane                                
INFO     02:17:47.167 │ [Device Orientation] 0 (Normal)                                     
INFO     02:17:47.460 │ Unknown ui page                                                     
INFO     02:17:47.794 │ Unknown ui page                                                     
INFO     02:17:48.071 │ [UI] page_main                                                      
INFO     02:17:48.072 │ Already at page_main                                                

META支援:
════════════════════════════════════════════════════════════════════════════════════════════
                                       OPSIASHASSIST                                        
════════════════════════════════════════════════════════════════════════════════════════════
INFO     02:19:14.573 │ <<< UI ENSURE >>>                                                   
INFO     02:19:14.574 │ UI get current page                                                 
INFO     02:19:14.578 │ [UI] page_main                                                      
INFO     02:19:14.579 │ Goto page_reward                                                    
INFO     02:19:14.580 │ <<< UI GOTO PAGE_REWARD >>>                                         
INFO     02:19:14.603 │ Page switch: page_main_white -> page_reward                         
INFO     02:19:14.605 │ Click (  20,  230) @ MAIN_GOTO_REWARD_WHITE                         
INFO     02:19:15.332 │ Page arrive: page_reward                                            
INFO     02:19:15.333 │ <<< META BEACON ASSIST >>>                                          
INFO     02:19:15.334 │ Ensure beacon assist page                                           
INFO     02:19:15.371 │ Click ( 601,  458) @ META_ENTRANCE                                  
INFO     02:19:15.935 │ Click ( 359,  291) @ META_MAIN_BEACON_ENTRANCE                      
INFO     02:19:16.000 │ In meta page main                                                   
INFO     02:19:16.592 │ Click ( 111,  675) @ BEACON_LIST                                    
INFO     02:19:17.233 │ In beacon assist page                                               
INFO     02:19:17.568 │ Loading OCR model: ./bin/cnocr_models/azur_lane                     
INFO     02:19:17.600 │ [BEACON_REMAIN 0.058s] 23                                           
WARNING  02:19:17.601 │ Unexpected ocr result: 23                                           
INFO     02:19:17.602 │ No enough assist times, complete                                    
INFO     02:19:17.603 │ <<< UI ENSURE >>>                                                   
INFO     02:19:17.604 │ UI get current page                                                 
INFO     02:19:17.620 │ Unknown ui page                                                     
INFO     02:19:17.624 │ Click (1247,   34) @ GOTO_MAIN                                      
INFO     02:19:17.983 │ Unknown ui page                                                     
INFO     02:19:18.011 │ [Package_name] com.YoStarJP.AzurLane                                
INFO     02:19:18.017 │ [Device Orientation] 0 (Normal)                                     
INFO     02:19:18.241 │ Unknown ui page                                                     
INFO     02:19:18.563 │ Unknown ui page                                                     
INFO     02:19:18.882 │ [UI] page_main                                                      
INFO     02:19:18.883 │ Goto page_meta                                                      
INFO     02:19:18.884 │ <<< UI GOTO PAGE_META >>>                                           
INFO     02:19:18.888 │ Page switch: page_main_white -> page_reshmenu                       
INFO     02:19:18.889 │ Click ( 683,  686) @ MAIN_GOTO_RESHMENU                             
INFO     02:19:19.793 │ Page switch: page_reshmenu -> page_meta                             
INFO     02:19:19.794 │ Click (1130,  310) @ RESHMENU_GOTO_META                             
INFO     02:19:20.763 │ Page arrive: page_meta                                              
INFO     02:19:20.764 │ No meta reward red dot                                              
INFO     02:19:20.765 │ Delay task `OpsiAshAssist` to 2024-10-13 23:00:00                   
         (server_update='00:00')                                                            
INFO     02:19:20.772 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiAshAssist']       
INFO     02:19:20.773 │ Save config ./config\alas.json,                                     
         OpsiAshAssist.Scheduler.NextRun=datetime.datetime(2024, 10, 13, 23, 0)             
INFO     02:19:20.779 │ Scheduler: End task `OpsiAshAssist`                                 
INFO     02:19:20.780 │ [Server] jp                                                         
INFO     02:19:20.793 │ Bind task ['General', 'Alas']                                       
INFO     02:19:20.795 │ No task pending                                                     
INFO     02:19:20.795 │ [Task] Tactical (Enable, 2024-10-13 02:22:18)                       
INFO     02:19:20.796 │ Bind task ['General', 'Alas', 'Tactical']                           
INFO     02:19:20.799 │ Wait until 2024-10-13 02:22:18 for task `Tactical`                  
INFO     02:19:20.800 │ Goto main page during wait                                          
INFO     02:19:21.099 │ [Package_name] com.YoStarJP.AzurLane                                
INFO     02:19:21.100 │ App is already running, goto main page                              
INFO     02:19:21.101 │ <<< UI ENSURE >>>                                                   
INFO     02:19:21.102 │ UI get current page                                                 
INFO     02:19:21.120 │ [UI] page_meta                                                      
INFO     02:19:21.121 │ Goto page_main                                                      
INFO     02:19:21.122 │ <<< UI GOTO PAGE_MAIN >>>                                           
INFO     02:19:21.129 │ Page switch: page_meta -> page_main                                 
INFO     02:19:21.130 │ Click (1245,   37) @ GOTO_MAIN                                      
INFO     02:19:22.341 │ Page arrive: page_main

截图

META作戰設定: 螢幕擷取畫面 2024-10-13 015731

META支援設定: 螢幕擷取畫面 2024-10-13 015747

还有别的吗?

No response

nantekoto commented 1 month ago

同样,meta无法完成死循环,坐标偏差导致的识别问题?

beankin commented 1 month ago

同样,有很大概率陷入侵蚀1练级和META作战的循环:侵蚀1练级开始(已消耗AP)-> 打断去META作战页面,刚打开后立即关闭-> 回到侵蚀1练级重新开始(消耗AP)-> 再打断去META作战

guoh064 commented 1 month ago

因为日服又把字体改粗了,原来适配细字体的就没用了