LmeSzinc / AzurLaneAutoScript

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

大世界相关内容卡在黑屏,之后重启游戏 #4225

Open 0AHA0 opened 2 months ago

0AHA0 commented 2 months ago

在提问之前...

描述你的问题

大世界相关任务完成后卡在黑屏,有机会恢复正常,或者一段时间后退出重启,还可能报错直接结束alas

如何复现

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

预期行为

No response

相关 Logs

INFO     14:55:34.866 │ OS AUTO SEARCH                                             
INFO     14:55:34.871 │ Click (1230,  539) @ AUTO_SEARCH_OS_MAP_OPTION_OFF         
INFO     14:55:58.333 │ [Loading] 7%                                               
INFO     14:55:58.334 │ [battle_count] 1                                           
INFO     14:55:58.335 │ Auto search combat loading                                 
INFO     14:55:58.336 │ Screenshot interval set to 1.0s                            
INFO     14:56:05.332 │ Auto Search combat execute                                 
INFO     14:56:10.340 │ Submarine call timer reached                               
INFO     14:56:25.355 │ Screenshot interval set to 0.3s                            
INFO     14:56:25.355 │ Combat end.                                                
INFO     14:56:33.487 │ [Loading] 14%                                              
INFO     14:56:33.488 │ [battle_count] 2                                           
INFO     14:56:33.489 │ Auto search combat loading                                 
INFO     14:56:33.490 │ Screenshot interval set to 1.0s                            
INFO     14:56:39.499 │ Auto Search combat execute                                 
INFO     14:56:45.496 │ Submarine call timer reached                               
INFO     14:57:03.518 │ Screenshot interval set to 0.3s                            
INFO     14:57:03.519 │ Combat end.                                                
INFO     14:57:29.106 │ [Loading] 12%                                              
INFO     14:57:29.106 │ [battle_count] 3                                           
INFO     14:57:29.108 │ Auto search combat loading                                 
INFO     14:57:29.108 │ Screenshot interval set to 1.0s                            
INFO     14:57:35.115 │ Auto Search combat execute                                 
INFO     14:57:41.117 │ Submarine call timer reached                               
INFO     14:57:56.134 │ Screenshot interval set to 0.3s                            
INFO     14:57:56.135 │ Combat end.                                                
INFO     14:58:37.380 │ Click ( 686,  621) @ AUTO_SEARCH_REWARD                    
INFO     14:58:38.879 │ OS auto search finished                                    
INFO     14:58:38.882 │ [HP]  98%  98%  98%  96%  96%  93%                         
INFO     14:58:38.885 │ [Repair icon] [False, False, False, False, False, False]   
───────────────────────────────── CLEAR QUESTION ──────────────────────────────────
INFO     14:58:38.887 │ CLEAR QUESTION                                             
INFO     14:58:38.925 │             -- -- --                                       
INFO     14:58:38.926 │       -- -- -- -- -- -- --                                 
INFO     14:58:38.927 │    -- -- -- -- -- -- -- -- --                              
INFO     14:58:38.929 │    -- -- -- -- -- -- -- -- --                              
INFO     14:58:38.929 │ -- EN EN -- -- -- -- -- -- -- --                           
INFO     14:58:38.930 │ -- RE -- -- -- FL -- -- -- -- --                           
INFO     14:58:38.930 │ -- -- -- -- -- -- -- -- -- -- --                           
INFO     14:58:38.931 │    -- EN -- -- -- -- -- -- --                              
INFO     14:58:38.932 │    -- -- -- -- -- -- -- -- --                              
INFO     14:58:38.932 │       -- -- -- -- -- -- --                                 
INFO     14:58:38.933 │             -- -- --                                       
INFO     14:58:38.933 │ No question mark above current fleet on this radar         
INFO     14:58:38.934 │ <<< FLEET SET TO 1 >>>                                     
INFO     14:58:38.939 │ It is fleet 1 already                                      
─────────────────────────────── MAP RESCAN CURRENT ────────────────────────────────
INFO     14:58:38.941 │ MAP RESCAN CURRENT                                         
INFO     14:58:38.942 │ Load map_data, has_loop=False, use_loop=False              
INFO     14:58:38.943 │ Load spawn_data, has_loop=False, use_loop=False            
INFO     14:58:38.943 │ grid_connection: wall=False, portal=False                  
INFO     14:58:38.948 │ Load mechanism, land_base=False, maze=False,               
         fortress=False, bouncing_enemy=False                                      
INFO     14:58:39.041 │            tile_center: 0.955 (good match)                 
INFO     14:58:39.043 │ 0.067s      edge_lines: 0 hori, 0 vert                     
INFO     14:58:39.044 │ Edges:       homo_loca: ( 53,  58)                         
INFO     14:58:39.051 │            center_loca: (5, 4)                             
INFO     14:58:39.053 │ [view.center_offset] [0.50890036 0.50640643]               
INFO     14:58:39.054 │                 Camera: A1                                 
INFO     14:58:39.129 │ 0.076s         predict: 84                                 
INFO     14:58:39.130 │ -- -- -- -- -- -- -- -- -- -- -- --                        
INFO     14:58:39.131 │ -- -- -- -- -- -- -- -- -- -- -- --                        
INFO     14:58:39.132 │ .. -- -- -- -- -- -- -- -- -- -- --                        
INFO     14:58:39.133 │ .. -- -- -- -- -- -- -- -- -- -- ..                        
INFO     14:58:39.133 │ .. -- -- -- -- FL -- -- -- -- -- ..                        
INFO     14:58:39.134 │ .. -- -- -- -- -- -- -- -- -- -- ..                        
INFO     14:58:39.135 │ .. -- -- -- -- -- -- -- -- -- -- ..                        
INFO     14:58:39.135 │ .. .. -- -- -- -- -- -- -- -- -- ..                        
INFO     14:58:39.136 │ No map event                                               
INFO     14:58:39.137 │ Map rescan once end, result=False                          
INFO     14:58:39.138 │ [Solved_map_event] set()                                   
INFO     14:58:39.138 │ <<< FLEET SET TO 1 >>>                                     
INFO     14:58:39.144 │ It is fleet 1 already                                      
INFO     14:58:39.145 │ <<< MAP EXIT >>>                                           
INFO     14:58:39.146 │ Click (1170,  664) @ MAP_EXIT                              
INFO     14:58:39.583 │ Click ( 810,  508) @ POPUP_CONFIRM_MAP_EXIT                
INFO     14:59:39.795 │ 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 L152 run_process()                                     
                    alas.py L537 loop()                                            
                    alas.py  L69 run()                                             
                    alas.py L311 opsi_obscure()                                    
                  os_run.py  L74 opsi_obscure()                                    
         operation_siren.py L589 os_obscure()                                      
         operation_siren.py L584 clear_obscure()                                   
           map_operation.py L248 map_exit()                                        
                  device.py L175 screenshot()                                      
                  device.py L237 stuck_record_check()                              
                  device.py  L43 show_function_call()                              
WARNING  14:59:39.797 │ Wait too long                                              
WARNING  14:59:39.797 │ Waiting for {'POPUP_CANCEL', 'AUTO_SEARCH_REWARD',         
         'GAME_TIPS', 'GET_MEOWFFICER_ITEMS_1', 'STORY_LETTERS_ONLY',              
         'GUILD_POPUP_CONFIRM', 'MAP_WORLD', 'GET_MISSION', 'POPUP_CONFIRM_WHITE', 
         'POPUP_CONFIRM', 'MAP_EXIT', 'MAP_ARCHIVES', 'MAP_GOTO_GLOBE_FOG',        
         'GET_ADAPTABILITY', 'STORY_CLOSE', 'GET_ITEMS_3', 'GET_ITEMS_1',          
         'OS_GAME_TIPS', 'GET_ITEMS_2', 'STORY_SKIP_3', 'GET_MEOWFFICER_ITEMS_2'}  
INFO     14:59:39.824 │ [Package_name] com.bilibili.azurlane                       
ERROR    14:59:39.825 │ GameStuckError: Wait too long                              
WARNING  14:59:39.826 │ Saving error: ./log/error/1726901979826                    
WARNING  14:59:39.852 │ Game stuck, com.bilibili.azurlane will be restarted in 10  
         seconds                                                                   
WARNING  14:59:39.853 │ If you are playing by hand, please stop Alas               
INFO     14:59:39.854 │ Task call: Restart                                         
INFO     14:59:39.860 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiObscure']
INFO     14:59:39.861 │ Save config ./config\alas.json,                            
         Restart.Scheduler.NextRun=datetime.datetime(2024, 9, 21, 14, 59, 39),     
         Restart.Scheduler.Enable=True

截图

image

还有别的吗?

No response

Air111 commented 2 months ago

手操游戏卡黑屏不也是重启?自己先调教好模拟器再说

0AHA0 commented 2 months ago

但我手点一下就正常了,卡在隐秘海域返回港口,跟之前几个月区别是这个月没买隐秘海域记录仪

─────────────────────────────── OS AUTO SEARCH ────────────────────────────────── INFO 01:00:30.076 │ OS AUTO SEARCH
INFO 01:00:30.079 │ Click (1233, 538) @ AUTO_SEARCH_OS_MAP_OPTION_OFF
INFO 01:00:36.389 │ [Loading] 7%
INFO 01:00:36.390 │ [battle_count] 1
INFO 01:00:36.391 │ Auto search combat loading
INFO 01:00:36.391 │ Screenshot interval set to 1.0s
INFO 01:00:42.386 │ Auto Search combat execute
INFO 01:00:48.389 │ Submarine call timer reached
INFO 01:00:59.401 │ Screenshot interval set to 0.3s
INFO 01:00:59.403 │ Combat end.
INFO 01:01:05.128 │ [Loading] 16%
INFO 01:01:05.129 │ [battle_count] 2
INFO 01:01:05.130 │ Auto search combat loading
INFO 01:01:05.130 │ Screenshot interval set to 1.0s
INFO 01:01:11.129 │ Auto Search combat execute
INFO 01:01:16.132 │ Submarine call timer reached
INFO 01:01:27.161 │ Screenshot interval set to 0.3s
INFO 01:01:27.162 │ Combat end.
INFO 01:01:48.224 │ Click ( 651, 618) @ AUTO_SEARCH_REWARD
INFO 01:01:49.723 │ OS auto search finished
INFO 01:01:49.725 │ [HP] 98% 98% 98% 98% 98% 98%
INFO 01:01:49.727 │ [Repair icon] [False, False, False, False, False, False]
───────────────────────────────── CLEAR QUESTION ────────────────────────────────── INFO 01:01:49.728 │ CLEAR QUESTION
INFO 01:01:49.746 │ -- -- --
INFO 01:01:49.747 │ -- -- -- -- -- -- --
INFO 01:01:49.748 │ -- -- -- -- -- -- -- -- --
INFO 01:01:49.748 │ -- -- -- -- -- -- -- -- --
INFO 01:01:49.749 │ -- -- -- -- EN -- -- -- -- -- --
INFO 01:01:49.750 │ -- EN -- -- -- FL -- -- -- -- --
INFO 01:01:49.750 │ -- -- -- EN -- -- -- EN -- -- --
INFO 01:01:49.751 │ -- -- -- -- -- -- -- -- --
INFO 01:01:49.751 │ -- -- -- -- -- EN -- -- --
INFO 01:01:49.752 │ -- -- -- -- -- -- EN
INFO 01:01:49.752 │ -- -- --
INFO 01:01:49.753 │ No question mark above current fleet on this radar
INFO 01:01:49.753 │ <<< FLEET SET TO 1 >>>
INFO 01:01:49.756 │ It is fleet 1 already
─────────────────────────────── MAP RESCAN CURRENT ──────────────────────────────── INFO 01:01:49.757 │ MAP RESCAN CURRENT
INFO 01:01:49.758 │ Load map_data, has_loop=False, use_loop=False
INFO 01:01:49.759 │ Load spawn_data, has_loop=False, use_loop=False
INFO 01:01:49.760 │ grid_connection: wall=False, portal=False
INFO 01:01:49.762 │ Load mechanism, land_base=False, maze=False,
fortress=False, bouncing_enemy=False
INFO 01:01:49.828 │ tile_center: 0.922 (good match)
INFO 01:01:49.830 │ 0.044s edge_lines: 0 hori, 0 vert
INFO 01:01:49.830 │ Edges: homo_loca: ( 53, 58)
INFO 01:01:49.835 │ center_loca: (5, 4)
INFO 01:01:49.836 │ [view.center_offset] [0.50890036 0.50640643]
INFO 01:01:49.837 │ Camera: A1
INFO 01:01:49.872 │ 0.035s predict: 84
INFO 01:01:49.873 │ -- -- -- -- -- -- -- -- -- -- -- --
INFO 01:01:49.874 │ -- -- -- -- -- -- -- -- -- -- -- --
INFO 01:01:49.874 │ .. -- -- -- -- -- -- -- -- -- -- --
INFO 01:01:49.875 │ .. -- -- -- -- -- -- -- -- -- -- ..
INFO 01:01:49.875 │ .. -- -- -- -- FL -- -- -- -- -- ..
INFO 01:01:49.876 │ .. -- -- -- -- -- -- -- -- -- -- ..
INFO 01:01:49.877 │ .. -- -- -- -- -- -- -- -- -- -- ..
INFO 01:01:49.877 │ .. .. -- -- -- -- -- -- -- -- -- ..
INFO 01:01:49.878 │ No map event
INFO 01:01:49.879 │ Map rescan once end, result=False
INFO 01:01:49.879 │ [Solved_map_event] set()
INFO 01:01:49.879 │ <<< FLEET SET TO 1 >>>
INFO 01:01:49.883 │ It is fleet 1 already
INFO 01:01:49.883 │ <<< MAP EXIT >>>
INFO 01:01:49.885 │ Click (1201, 660) @ MAP_EXIT
INFO 01:01:50.387 │ Click ( 760, 508) @ POPUP_CONFIRM_MAP_EXIT
INFO 01:02:50.577 │ Function calls:

L1 spawn.py L105 spawn_main() spawn.py L118 _main() process.py L297 _bootstrap() process.py L99 run() process_manager.py L152 run_process() alas.py L537 loop() alas.py L69 run() alas.py L311 opsi_obscure() os_run.py L74 opsi_obscure() operation_siren.py L589 os_obscure() operation_siren.py L584 clear_obscure() map_operation.py L248 map_exit() device.py L175 screenshot() device.py L237 stuck_record_check() device.py L43 show_function_call() WARNING 01:02:50.579 │ Wait too long WARNING 01:02:50.579 │ Waiting for {'AUTO_SEARCH_REWARD', 'POPUP_CANCEL', 'STORY_LETTERS_ONLY', 'GET_ADAPTABILITY', 'POPUP_CONFIRM_WHITE', 'POPUP_CONFIRM', 'GET_ITEMS_2', 'OS_GAME_TIPS', 'GET_MEOWFFICER_ITEMS_2', 'MAP_EXIT', 'STORY_CLOSE', 'GET_ITEMS_3', 'MAP_GOTO_GLOBE_FOG', 'GAME_TIPS', 'GET_MEOWFFICER_ITEMS_1', 'STORY_SKIP_3', 'GET_MISSION', 'MAP_WORLD', 'GUILD_POPUP_CONFIRM', 'MAP_ARCHIVES', 'GET_ITEMS_1'} INFO 01:02:50.601 │ [Package_name] com.bilibili.azurlane ERROR 01:02:50.602 │ GameStuckError: Wait too long WARNING 01:02:50.603 │ Saving error: ./log/error/1726938170602 WARNING 01:02:50.633 │ Game stuck, com.bilibili.azurlane will be restarted in 10 seconds WARNING 01:02:50.634 │ If you are playing by hand, please stop Alas INFO 01:02:50.634 │ Task call: Restart INFO 01:02:50.640 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiObscure'] INFO 01:02:50.641 │ Save config ./config\alas.json, Restart.Scheduler.NextRun=datetime.datetime(2024, 9, 22, 1, 2, 50), Restart.Scheduler.Enable=True INFO 01:03:00.647 │ Scheduler: End task `OpsiObscure` CRITICAL 01:03:00.647 │ Task `OpsiObscure` failed 3 or more times. CRITICAL 01:03:00.648 │ Possible reason #1: You haven't used it correctly. Please read the help text of the options. CRITICAL 01:03:00.649 │ Possible reason #2: There is a problem with this task. Please contact developers or try to fix it yourself. CRITICAL 01:03:00.650 │ Request human takeover INFO 01:03:00.764 │ No provider specified, skip sending
Chassk commented 1 month ago

我这边的蓝叠也出现了同样的问题,即使是把模拟器性能调到最高,也依旧会在退出隐秘海域会有个黑屏,得点一下屏幕黑屏才会消失。我感觉应该是模拟器本身的问题。 已经将模拟器更新到最新版本,电脑用的是11800h和3060

屏幕截图 2024-10-05 025425 屏幕截图 2024-10-05 030618
Chassk commented 1 month ago

解决了,将设置里的图形渲染器从dx换成OpenGL就没问题了