LmeSzinc / AzurLaneAutoScript

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

舰队开荒4-1报错 #3429

Closed MLFCWZX closed 9 months ago

MLFCWZX commented 9 months ago

在提问之前...

描述你的问题

舰队开荒4-1无法选中舰队,导致无法出击,重启循环错误 重启模拟器,重复上述失败

如何复现

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

预期行为

正常开荒

相关 Logs

═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
                                                         MAIN                                                          
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
2024-01-12 22:28:04.230 | INFO | Reuse forward: ForwardItem(serial='emulator-5564', local='tcp:20170',                 
remote='tcp:53516')                                                                                                    
2024-01-12 22:28:04.325 | INFO | [Screen_size] 1280x720                                                                
════════════════════════════════════════════════════ CAMPAIGN_4_1 ═════════════════════════════════════════════════════
2024-01-12 22:28:04.432 | INFO | CAMPAIGN_4_1                                                                          
2024-01-12 22:28:04.434 | INFO | Count: 0                                                                              
2024-01-12 22:28:04.454 | INFO | <<< UI ENSURE >>>                                                                     
2024-01-12 22:28:04.457 | INFO | UI get current page                                                                   
2024-01-12 22:28:04.682 | INFO | Unknown ui page                                                                       
2024-01-12 22:28:04.842 | INFO | Click ( 253,   21) @ MAP_PREPARATION_CANCEL                                           
2024-01-12 22:28:04.844 | INFO | <<< MINITOUCH INIT >>>                                                                
2024-01-12 22:28:04.876 | INFO | [Device Orientation] 0 (Normal)                                                       
2024-01-12 22:28:04.877 | INFO | Reuse forward: ForwardItem(serial='emulator-5564', local='tcp:20123',                 
remote='localabstract:minitouch')                                                                                      
2024-01-12 22:28:04.880 | INFO | v 1                                                                                   
2024-01-12 22:28:04.882 | INFO | ^ 2 32767 32767 0                                                                     
2024-01-12 22:28:04.883 | INFO | $ 4348                                                                                
2024-01-12 22:28:04.885 | INFO | minitouch running on port: 20123, pid: 4348                                           
2024-01-12 22:28:04.886 | INFO | max_contact: 2; max_x: 32767; max_y: 32767; max_pressure: 0                           
2024-01-12 22:28:05.069 | INFO | Unknown ui page                                                                       
2024-01-12 22:28:05.153 | INFO | [u2.Device] Device(atx_agent_url=http://127.0.0.1:62936)                              
2024-01-12 22:28:05.236 | INFO | [Package_name] com.bilibili.azurlane                                                  
2024-01-12 22:28:05.284 | INFO | [Device Orientation] 0 (Normal)                                                       
2024-01-12 22:28:05.391 | INFO | Unknown ui page                                                                       
2024-01-12 22:28:05.680 | INFO | [UI] page_campaign                                                                    
2024-01-12 22:28:05.681 | INFO | Already at page_campaign                                                              
2024-01-12 22:28:05.706 | INFO | [Mode_switch_1] hard                                                                  
2024-01-12 22:28:05.708 | INFO | <<< UI ENSURE INDEX >>>                                                               
2024-01-12 22:28:05.767 | INFO | Loading OCR model: ./bin/cnocr_models/azur_lane                                       
2024-01-12 22:28:05.830 | INFO | [campaign 0.083s] 4--1                                                                
2024-01-12 22:28:05.832 | INFO | [Chapter] 4                                                                           
2024-01-12 22:28:05.833 | INFO | [Stage] 4-1                                                                           
2024-01-12 22:28:05.835 | INFO | [Index] 4                                                                             
2024-01-12 22:28:05.887 | INFO | [OCR_OIL 0.036s] 10704                                                                
───────────────────────────────────────────────────────── 4-1 ─────────────────────────────────────────────────────────
2024-01-12 22:28:05.891 | INFO | 4-1                                                                                   
2024-01-12 22:28:05.893 | INFO | Expect emotion reduce: (8, 0)                                                         
2024-01-12 22:28:05.919 | INFO | Bind task ['General', 'Alas', 'Main']                                                 
2024-01-12 22:28:05.922 | INFO | Save config ./config\alas2.json, Main.Emotion.Fleet1Value=119,                        
Main.Emotion.Fleet1Record=datetime.datetime(2024, 1, 12, 22, 28, 5), Main.Emotion.Fleet2Value=119,                     
Main.Emotion.Fleet2Record=datetime.datetime(2024, 1, 12, 22, 28, 5)                                                    
2024-01-12 22:28:05.933 | INFO | [Emotion fleet_1] 119                                                                 
2024-01-12 22:28:05.935 | INFO | [Emotion fleet_2] 119                                                                 
2024-01-12 22:28:05.937 | INFO | <<< ENTER MAP >>>                                                                     
2024-01-12 22:28:05.985 | INFO | Click ( 234,  343) @ 4-1                                                              
2024-01-12 22:28:06.725 | INFO | [Map_clear_percentage] 0.0                                                            
2024-01-12 22:28:07.038 | INFO | [Map_clear_percentage] 0.0                                                            
2024-01-12 22:28:07.345 | INFO | [Map_clear_percentage] 0.0                                                            
2024-01-12 22:28:07.348 | INFO | [MAP_CLEAR_ALL_THIS_TIME] False                                                       
2024-01-12 22:28:07.349 | INFO | [Map_info] 0%,                                                                        
2024-01-12 22:28:07.351 | INFO | [StopCondition_MapAchievement] 100_percent_clear                                      
2024-01-12 22:28:07.362 | INFO | No auto search option.                                                                
2024-01-12 22:28:07.364 | INFO | Click ( 901,  505) @ MAP_PREPARATION                                                  
2024-01-12 22:28:07.936 | INFO | Using fleet: [1, 2, 1]                                                                
2024-01-12 22:28:07.978 | INFO | Hard satisfied: Fleet_1: None, Fleet_2: None, Submarine: None                         
2024-01-12 22:28:07.984 | INFO | Click (1136,  330) @ FLEET_2_CLEAR                                                    
2024-01-12 22:28:08.530 | INFO | Click (1079,  227) @ FLEET_1_CHOOSE                                                   
2024-01-12 22:28:11.852 | INFO | Click (1066,  208) @ FLEET_1_CHOOSE                                                   
2024-01-12 22:28:15.166 | INFO | Click (1064,  220) @ FLEET_1_CHOOSE                                                   
2024-01-12 22:28:18.301 | INFO | Click (1063,  216) @ FLEET_1_CHOOSE                                                   
2024-01-12 22:28:21.582 | INFO | Click (1039,  226) @ FLEET_1_CHOOSE                                                   
2024-01-12 22:28:24.885 | INFO | Click (1054,  228) @ FLEET_1_CHOOSE                                                   
2024-01-12 22:28:27.992 | INFO | Click (1044,  225) @ FLEET_1_CHOOSE                                                   
2024-01-12 22:28:31.318 | INFO | Click (1052,  213) @ FLEET_1_CHOOSE                                                   
2024-01-12 22:28:34.437 | INFO | Click (1057,  205) @ FLEET_1_CHOOSE                                                   
2024-01-12 22:28:38.051 | INFO | Click (1051,  205) @ FLEET_1_CHOOSE                                                   
2024-01-12 22:28:41.207 | INFO | Click (1045,  219) @ FLEET_1_CHOOSE                                                   
2024-01-12 22:28:44.544 | INFO | Function calls:                                                                       
                <string>   L1 <module>                                                                                 
                spawn.py L105 spawn_main()                                                                             
                spawn.py L118 _main()                                                                                  
              process.py L297 _bootstrap()                                                                             
              process.py  L99 run()                                                                                    
      process_manager.py L151 run_process()                                                                            
                 alas.py L514 loop()                                                                                   
                 alas.py  L68 run()                                                                                    
                 alas.py L343 main()                                                                                   
                  run.py L380 run()                                                                                    
        campaign_base.py L125 run()                                                                                    
        map_operation.py L175 enter_map()                                                                              
map_fleet_preparation.py L334 fleet_preparation()                                                                      
map_fleet_preparation.py L264 ensure_to_be()                                                                           
map_fleet_preparation.py L172 open()                                                                                   
              control.py  L35 click()                                                                                  
               device.py L183 handle_control_check()                                                                   
               device.py L219 click_record_check()                                                                     
               device.py  L41 show_function_call()                                                                     
2024-01-12 22:28:44.551 | WARNING | Too many click for a button: FLEET_1_CHOOSE                                        
2024-01-12 22:28:44.552 | WARNING | History click: ['4-1', 'MAP_PREPARATION', 'FLEET_2_CLEAR', 'FLEET_1_CHOOSE',       
'FLEET_1_CHOOSE', 'FLEET_1_CHOOSE', 'FLEET_1_CHOOSE', 'FLEET_1_CHOOSE', 'FLEET_1_CHOOSE', 'FLEET_1_CHOOSE',            
'FLEET_1_CHOOSE', 'FLEET_1_CHOOSE', 'FLEET_1_CHOOSE', 'FLEET_1_CHOOSE', 'FLEET_1_CHOOSE']                              
2024-01-12 22:28:44.555 | ERROR | GameTooManyClickError: Too many click for a button: FLEET_1_CHOOSE                   
2024-01-12 22:28:44.560 | WARNING | Saving error: ./log/error/1705069724560

截图

2024-01-12_22-28-44-542390

还有别的吗?

蓝叠模拟器,最新ALAS,账号为小号

HaiJeng commented 9 months ago

mumu模拟器同样出现该问题,使用最新的alas

LmeSzinc commented 9 months ago

购买70级指挥官直升包并通关5-4

chocolate-byte commented 5 months ago

购买70级指挥官直升包并通关5-4

建议提交pull request