AzurLaneAutoScript icon indicating copy to clipboard operation
AzurLaneAutoScript copied to clipboard

大世界海域切换bug

Open amountnothing opened this issue 1 year ago • 8 comments

在提问之前...

  • [X] 我已经搜索了现有的 issues
  • [X] 我在提问题之前至少花费了 5 分钟来思考和准备
  • [X] 我已经阅读了 Wiki 中的 常见问题(FAQ)
  • [X] 我正在使用最新版的 Alas

描述你的问题

大世界无法切换海域

如何复现

启动大世界开荒任务(其他任务也会出现相同情况),将要开荒的海域同时也是隐秘海域。alas无法正常切换海域

预期行为

顺利切换海域并开始自动化任务

相关 Logs

══════════════════════════════════════════════════════════ OS EXPLORE ══════════════════════════════════════════════════════════
INFO     02:57:17.622 │ OS EXPLORE                                                                                              
INFO     02:57:17.625 │ First run, next zone: [44]                                                                              
INFO     02:57:17.629 │ <<< GLOBE GOTO: [44|WEST CONTINENTAL SHELF D] >>>                                                       
INFO     02:57:17.644 │ Click ( 992,  659) @ MAP_GOTO_GLOBE                                                                     
INFO     02:57:20.728 │ Swipe ( 476,  460) -> ( 522,  415)                                                                      
INFO     02:57:22.844 │ Loading OS globe map                                                                                    
INFO     02:57:23.301 │ [homo_storage] ((4, 3), [(445, 180), (879, 180), (376, 497), (963, 497)])                               
INFO     02:57:23.493 │           globe_center: (419.0, 954.0)                                                                  
INFO     02:57:23.497 │ 0.188s      similarity: 0.400                                                                           
INFO     02:57:23.501 │ [Globe_center] 0                                                                                        
INFO     02:57:23.506 │ Globe focus_to: 44                                                                                      
INFO     02:57:23.514 │ Click ( 553,  559) @ ZONE_44                                                                            
INFO     02:57:24.693 │           globe_center: (471.0, 1088.0)                                                                 
INFO     02:57:24.696 │ 0.152s      similarity: 0.342                                                                           
INFO     02:57:24.699 │ [Globe_center] 22                                                                                       
INFO     02:57:25.355 │           globe_center: (471.0, 1088.0)                                                                 
INFO     02:57:25.359 │ 0.158s      similarity: 0.324                                                                           
INFO     02:57:25.362 │ [Globe_center] 22                                                                                       
INFO     02:57:25.367 │ [Globe_pinned] [44|West Continental Shelf D]                                                            
INFO     02:57:25.372 │ Zone is safe, stopped                                                                                   
INFO     02:57:25.377 │ Swipe ( 489,  471) -> ( 540,  422)                                                                      
INFO     02:57:27.119 │ Zone cleared: [44|West Continental Shelf D]                                                             
INFO     02:57:27.143 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiExplore']                                             
INFO     02:57:27.147 │ Save config ./config/alas.json, OpsiExplore.OpsiExplore.LastZone=44                                     
INFO     02:57:27.164 │ <<< GLOBE GOTO: [24|NA OCEAN SW SECTOR D] >>>                                                           
INFO     02:57:27.826 │           globe_center: (423.0, 1142.0)                                                                 
INFO     02:57:27.830 │ 0.172s      similarity: 0.465                                                                           
INFO     02:57:27.833 │ [Globe_center] 44                                                                                       
INFO     02:57:27.837 │ Globe focus_to: 24                                                                                      
INFO     02:57:27.844 │ Click ( 626,  609) @ ZONE_24                                                                            
INFO     02:57:28.973 │           globe_center: (541.0, 1320.0)                                                                 
INFO     02:57:28.979 │ 0.184s      similarity: 0.402                                                                           
INFO     02:57:28.985 │ [Globe_center] 31                                                                                       
INFO     02:57:29.843 │           globe_center: (541.0, 1320.0)                                                                 
INFO     02:57:29.846 │ 0.159s      similarity: 0.345                                                                           
INFO     02:57:29.851 │ [Globe_center] 31                                                                                       
INFO     02:57:29.856 │ [Globe_pinned] [24|NA Ocean SW Sector D]                                                                
INFO     02:57:29.861 │ Zone is safe, stopped                                                                                   
INFO     02:57:29.866 │ Swipe ( 500,  476) -> ( 556,  430)                                                                      
INFO     02:57:31.711 │ Zone cleared: [24|NA Ocean SW Sector D]                                                                 
INFO     02:57:31.730 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiExplore']                                             
INFO     02:57:31.734 │ Save config ./config/alas.json, OpsiExplore.OpsiExplore.LastZone=24                                     
INFO     02:57:31.785 │ <<< GLOBE GOTO: [22|NA OCEAN SW SECTOR B] >>>                                                           
INFO     02:57:32.456 │           globe_center: (491.0, 1366.0)                                                                 
INFO     02:57:32.460 │ 0.180s      similarity: 0.476                                                                           
INFO     02:57:32.464 │ [Globe_center] 24                                                                                       
INFO     02:57:32.467 │ Globe focus_to: 22                                                                                      
INFO     02:57:32.475 │ Click ( 647,  226) @ ZONE_22                                                                            
INFO     02:57:33.663 │           globe_center: (631.0, 1108.0)                                                                 
INFO     02:57:33.667 │ 0.167s      similarity: 0.425                                                                           
INFO     02:57:33.671 │ [Globe_center] 21                                                                                       
INFO     02:57:34.490 │           globe_center: (631.0, 1108.0)                                                                 
INFO     02:57:34.493 │ 0.192s      similarity: 0.378                                                                           
INFO     02:57:34.497 │ [Globe_center] 21                                                                                       
INFO     02:57:34.503 │ [Globe_pinned] [22|NA Ocean SW Sector B]                                                                
INFO     02:57:34.510 │ Zone is safe, stopped                                                                                   
INFO     02:57:34.517 │ Swipe ( 505,  440) -> ( 555,  393)                                                                      
INFO     02:57:36.521 │ Zone cleared: [22|NA Ocean SW Sector B]                                                                 
INFO     02:57:36.544 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiExplore']                                             
INFO     02:57:36.548 │ Save config ./config/alas.json, OpsiExplore.OpsiExplore.LastZone=22                                     
INFO     02:57:36.565 │ <<< GLOBE GOTO: [31|SOUTHWEST OCEAN RIDGE A] >>>                                                        
INFO     02:57:37.290 │           globe_center: (587.0, 1158.0)                                                                 
INFO     02:57:37.294 │ 0.161s      similarity: 0.453                                                                           
INFO     02:57:37.299 │ [Globe_center] 22                                                                                       
INFO     02:57:37.303 │ Globe focus_to: 31                                                                                      
INFO     02:57:37.312 │ Click ( 735,  470) @ ZONE_31                                                                            
INFO     02:57:38.395 │           globe_center: (807.0, 1204.0)                                                                 
INFO     02:57:38.398 │ 0.171s      similarity: 0.395                                                                           
INFO     02:57:38.403 │ [Globe_center] 25                                                                                       
INFO     02:57:39.207 │           globe_center: (805.0, 1204.0)                                                                 
INFO     02:57:39.212 │ 0.169s      similarity: 0.315                                                                           
INFO     02:57:39.217 │ [Globe_center] 25                                                                                       
INFO     02:57:39.222 │ [Globe_pinned] [31|Southwest Ocean Ridge A]                                                             
INFO     02:57:39.227 │ Zone is safe, stopped                                                                                   
INFO     02:57:39.232 │ Swipe ( 485,  420) -> ( 531,  369)                                                                      
INFO     02:57:41.247 │ Zone cleared: [31|Southwest Ocean Ridge A]                                                              
INFO     02:57:41.271 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiExplore']                                             
INFO     02:57:41.275 │ Save config ./config/alas.json, OpsiExplore.OpsiExplore.LastZone=31                                     
INFO     02:57:41.288 │ <<< GLOBE GOTO: [21|NA OCEAN SW SECTOR A] >>>                                                           
INFO     02:57:41.962 │           globe_center: (763.0, 1260.0)                                                                 
INFO     02:57:41.965 │ 0.155s      similarity: 0.532                                                                           
INFO     02:57:41.969 │ [Globe_center] 31                                                                                       
INFO     02:57:41.972 │ Globe focus_to: 21                                                                                      
INFO     02:57:41.978 │ Swipe ( 306,  279) -> ( 361,  428)                                                                      
INFO     02:57:43.326 │           globe_center: (711.0, 1098.0)                                                                 
INFO     02:57:43.329 │ 0.174s      similarity: 0.492                                                                           
INFO     02:57:43.333 │ [Globe_center] 23                                                                                       
INFO     02:57:43.337 │ Click ( 603,  259) @ ZONE_21                                                                            
INFO     02:57:44.465 │           globe_center: (803.0, 884.0)                                                                  
INFO     02:57:44.469 │ 0.165s      similarity: 0.423                                                                           
INFO     02:57:44.472 │ [Globe_center] 83                                                                                       
INFO     02:57:45.289 │           globe_center: (803.0, 884.0)                                                                  
INFO     02:57:45.292 │ 0.154s      similarity: 0.349                                                                           
INFO     02:57:45.296 │ [Globe_center] 83                                                                                       
INFO     02:57:45.301 │ [Globe_pinned] [21|NA Ocean SW Sector A]                                                                
INFO     02:57:45.306 │ Zone is safe, stopped                                                                                   
INFO     02:57:45.312 │ Swipe ( 499,  438) -> ( 545,  384)                                                                      
INFO     02:57:47.173 │ Zone cleared: [21|NA Ocean SW Sector A]                                                                 
INFO     02:57:47.193 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiExplore']                                             
INFO     02:57:47.197 │ Save config ./config/alas.json, OpsiExplore.OpsiExplore.LastZone=21                                     
INFO     02:57:47.210 │ <<< GLOBE GOTO: [23|NA OCEAN SW SECTOR C] >>>                                                           
INFO     02:57:47.875 │           globe_center: (761.0, 940.0)                                                                  
INFO     02:57:47.879 │ 0.159s      similarity: 0.499                                                                           
INFO     02:57:47.883 │ [Globe_center] 21                                                                                       
INFO     02:57:47.887 │ Globe focus_to: 23                                                                                      
INFO     02:57:47.893 │ Click ( 667,  460) @ ZONE_23                                                                            
INFO     02:57:49.083 │           globe_center: (919.0, 978.0)                                                                  
INFO     02:57:49.086 │ 0.206s      similarity: 0.370                                                                           
INFO     02:57:49.090 │ [Globe_center] 83                                                                                       
INFO     02:57:49.862 │           globe_center: (919.0, 976.0)                                                                  
INFO     02:57:49.865 │ 0.181s      similarity: 0.312                                                                           
INFO     02:57:49.868 │ [Globe_center] 83                                                                                       
INFO     02:57:49.873 │ [Globe_pinned] [23|NA Ocean SW Sector C]                                                                
INFO     02:57:49.884 │ <<< UI CLICK >>>                                                                                        
INFO     02:57:49.944 │ Click ( 112,  344) @ ZONE_SWITCH                                                                        
INFO     02:58:50.236 │ Function calls:                                                                                         
               threading.py L890 _bootstrap()                                                                                   
               threading.py L926 _bootstrap_inner()                                                                             
               threading.py L870 run()                                                                                          
             threadbased.py L254 run()                                                                                          
                  output.py L801 click_callback()                                                                               
                     app.py L388 <lambda>                                                                                       
         process_manager.py  L52 start()                                                                                        
                 process.py L112 start()                                                                                        
                 context.py L223 _Popen()                                                                                       
                 context.py L277 _Popen()                                                                                       
              popen_fork.py  L20 __init__()                                                                                     
              popen_fork.py  L74 _launch()                                                                                      
                 process.py L297 _bootstrap()                                                                                   
                 process.py  L99 run()                                                                                          
         process_manager.py L162 run_process()                                                                                  
                    alas.py L537 loop()                                                                                         
                    alas.py  L69 run()                                                                                          
                    alas.py L295 opsi_explore()                                                                                 
                  os_run.py  L27 opsi_explore()                                                                                 
         operation_siren.py L543 os_explore()                                                                                   
         operation_siren.py L517 _os_explore()                                                                                  
                     map.py L143 globe_goto()                                                                                   
         globe_operation.py L267 zone_has_safe()                                                                                
         globe_operation.py L181 zone_select_enter()                                                                            
                      ui.py L106 ui_click()                                                                                     
                  device.py L184 screenshot()                                                                                   
                  device.py L246 stuck_record_check()                                                                           
                  device.py  L43 show_function_call()                                                                           
WARNING  02:58:50.252 │ Wait too long                                                                                           
WARNING  02:58:50.255 │ Waiting for {'SELECT_ARCHIVE', 'ZONE_SAFE', 'ZONE_ABYSSAL', 'ZONE_DANGEROUS', 'ZONE_STRONGHOLD',        
         'SELECT_DANGEROUS', 'SELECT_STRONGHOLD', 'SELECT_ABYSSAL', 'SELECT_SAFE', 'ZONE_ARCHIVE', 'SELECT_OBSCURE',            
         'ZONE_OBSCURE'}                                                                                                        
INFO     02:58:50.302 │ newCommandTimeout updated to 168h0m0s                                                                   
INFO     02:58:50.306 │ [u2.Device] Device(atx_agent_url=http://127.0.0.1:54445)                                                
INFO     02:58:50.715 │ [Package_name] com.bilibili.azurlane                                                                    
ERROR    02:58:50.728 │ GameStuckError: Wait too long                                                                           
WARNING  02:58:50.742 │ Saving error: ./log/error/1735783130742                                                                 
WARNING  02:58:50.995 │ Game stuck, com.bilibili.azurlane will be restarted in 10 seconds                                       
WARNING  02:58:50.999 │ If you are playing by hand, please stop Alas                                                            
INFO     02:58:51.003 │ Task call: Restart                                                                                      
INFO     02:58:51.025 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiExplore']                                             
INFO     02:58:51.029 │ Save config ./config/alas.json, Restart.Scheduler.NextRun=datetime.datetime(2025, 1, 2, 2, 58, 51),     
         Restart.Scheduler.Enable=True                                                                                          
INFO     02:59:01.055 │ Scheduler: End task `OpsiExplore`                                                                       
INFO     02:59:01.847 │ Server "冰山行动" is available.                                                                         
INFO     02:59:01.864 │ [Server] cn                                                                                             
INFO     02:59:01.897 │ Bind task ['General', 'Alas']                                                                           
INFO     02:59:01.906 │ Pending tasks: ['Restart', 'OpsiExplore', 'OpsiDaily', 'OpsiAbyssal', 'OpsiStronghold', 'OpsiObscure',  
         'Daily', 'Hard', 'OpsiAshAssist', 'OpsiMonthBoss', 'Event', 'OpsiMeowfficerFarming']                                   
INFO     02:59:01.911 │ [Task] Restart (Enable, 2025-01-02 02:58:51)                                                            
INFO     02:59:01.916 │ Bind task ['General', 'Alas', 'Restart']                                                                
INFO     02:59:01.931 │ Scheduler: Start task `Restart`

截图

No response

还有别的吗?

No response

amountnothing avatar Jan 02 '25 02:01 amountnothing

上传截图

Air111 avatar Jan 02 '25 04:01 Air111

Screenshot_2025-01-02-16-07-22-841_com bilibili azurlane image

amountnothing avatar Jan 02 '25 15:01 amountnothing

上传截图

卡在上侧图片位置

amountnothing avatar Jan 02 '25 15:01 amountnothing

系统语言选择简体中文,不要使用杀马特字体作为系统字体

LmeSzinc avatar Jan 04 '25 15:01 LmeSzinc

系统语言选择简体中文,不要使用杀马特字体作为系统字体

碧蓝航线运行系统字体misans,系统语言简体中文

amountnothing avatar Jan 04 '25 16:01 amountnothing

如一位被删除的评论,切换苹果标准正园可以解决问题

amountnothing avatar Jan 04 '25 23:01 amountnothing

苹果标准正圆在海域同时是隐秘海域,普通海域,深渊海域时也会卡住。在同时是隐秘海域和普通海域时不会卡住

amountnothing avatar Jan 05 '25 17:01 amountnothing

去小米字体商店换成黑体,貌似就稳定了,注意是"黑体",不是"标准黑体"

Meteor-Sage avatar May 21 '25 03:05 Meteor-Sage