LmeSzinc / AzurLaneAutoScript

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

深渊海域卡在刚进入的画面 #2973

Open 24k12315 opened 1 year ago

24k12315 commented 1 year ago

在提问之前...

描述你的问题

深渊海域进入后无反应

如何复现

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

预期行为

No response

相关 Logs

OPSIABYSSAL                                    
═══════════════════════════════════════════════════════════════════════════════════
═════════════════════════════════════ OS INIT ═════════════════════════════════════
INFO     07:16:12.158 │ OS INIT                                                    
INFO     07:16:12.182 │ <<< UI ENSURE >>>                                          
INFO     07:16:12.183 │ UI get current page                                        
INFO     07:16:12.191 │ [UI] page_sp                                               
INFO     07:16:12.193 │ Goto page_os                                               
INFO     07:16:12.194 │ <<< UI GOTO PAGE_OS >>>                                    
INFO     07:16:12.202 │ Page switch: page_sp -> page_main                          
INFO     07:16:12.204 │ Click (1240,   38) @ GOTO_MAIN                             
INFO     07:16:13.055 │ Page switch: page_main -> page_campaign_menu               
INFO     07:16:13.056 │ Click (1078,  346) @ MAIN_GOTO_CAMPAIGN                    
INFO     07:16:13.353 │ Page switch: page_campaign_menu -> page_os                 
INFO     07:16:13.355 │ Click ( 759,  412) @ CAMPAIGN_MENU_GOTO_OS                 
INFO     07:16:14.255 │ Page arrive: page_os                                       
INFO     07:16:14.257 │ <<< ZONE INIT >>>                                          
INFO     07:16:14.265 │ Get zone name                                              
INFO     07:16:14.308 │ Loading OCR model: ./bin/cnocr_models/cnocr                
INFO     07:16:14.406 │ [MAP_NAME 0.115s] 布勒斯特                                 
INFO     07:16:14.408 │ Map name processed: 布勒斯特                               
INFO     07:16:14.410 │ [Zone] [6|Brest]                                           
──────────────────────────────── AFTER AUTO SEARCH ────────────────────────────────
INFO     07:16:14.413 │ AFTER AUTO SEARCH                                          
INFO     07:16:14.430 │ No EMP debuff on current fleet                             
INFO     07:16:14.436 │ [HP]  98%  98%  98%  96%  98%  98%                         
INFO     07:16:14.441 │ [Repair icon] [False, False, False, False, False, False]   
INFO     07:16:14.443 │ No ship found to be below threshold 40%, continue OS       
         exploration                                                               
INFO     07:16:14.445 │ Handle after auto search finished, solved=False            
INFO     07:16:14.446 │ Current fleet is not afflicted with the low resolve debuff 
INFO     07:16:14.449 │ Ash beacon status: gray                                    
INFO     07:16:14.479 │ [ASH_COLLECT_STATUS 0.028s] 0/200                          
INFO     07:16:14.507 │ [ASH_DAILY_STATUS 0.025s] 200/200                          
INFO     07:16:14.508 │ Ash beacon fully collected today                           
INFO     07:16:14.509 │ Run auto search, question=True, rescan=False               
───────────────────────────────── OS AUTO SEARCH ──────────────────────────────────
INFO     07:16:14.511 │ OS AUTO SEARCH                                             
INFO     07:16:14.527 │ Click (1250,  538) @ AUTO_SEARCH_OS_MAP_OPTION_OFF         
INFO     07:16:16.456 │ OS auto search finished                                    
INFO     07:16:16.457 │ Drop record added, genre=opsi_abyssal, amount=1            
INFO     07:16:16.461 │ [HP]  98%  98%  98%  96%  98%  98%                         
INFO     07:16:16.463 │ [Repair icon] [False, False, False, False, False, False]   
───────────────────────────────── CLEAR QUESTION ──────────────────────────────────
INFO     07:16:16.465 │ CLEAR QUESTION                                             
INFO     07:16:16.526 │             -- -- --                                       
INFO     07:16:16.527 │       -- -- -- -- -- -- --                                 
INFO     07:16:16.529 │    -- -- -- -- -- -- -- -- --                              
INFO     07:16:16.530 │    -- -- -- -- -- PO -- -- --                              
INFO     07:16:16.530 │ -- -- -- -- -- -- QU -- -- -- --                           
INFO     07:16:16.531 │ -- -- -- -- -- FL -- -- -- -- --                           
INFO     07:16:16.532 │ -- -- -- -- -- -- -- -- -- -- --                           
INFO     07:16:16.533 │    -- -- -- -- -- -- -- -- --                              
INFO     07:16:16.534 │    -- -- -- -- -- -- -- -- --                              
INFO     07:16:16.535 │       -- -- -- -- -- -- --                                 
INFO     07:16:16.536 │             -- -- --                                       
INFO     07:16:16.538 │ No question mark above current fleet on this radar         
──────────────────────────────── AFTER AUTO SEARCH ────────────────────────────────
INFO     07:16:16.539 │ AFTER AUTO SEARCH                                          
INFO     07:16:16.541 │ No EMP debuff on current fleet                             
INFO     07:16:16.545 │ [HP]  98%  98%  98%  96%  98%  98%                         
INFO     07:16:16.549 │ [Repair icon] [False, False, False, False, False, False]   
INFO     07:16:16.550 │ No ship found to be below threshold 40%, continue OS       
         exploration                                                               
INFO     07:16:16.552 │ Handle after auto search finished, solved=False            
════════════════════════════════ OS CLEAR ABYSSAL ═════════════════════════════════
INFO     07:16:16.554 │ OS CLEAR ABYSSAL                                           
INFO     07:16:16.555 │ <<< OS GET NEXT OBSCURE >>>                                
INFO     07:16:16.556 │ Storage enter                                              
INFO     07:16:16.571 │ Click ( 832,  663) @ STORAGE_ENTER                         
INFO     07:16:17.940 │ <<< STORAGE LOGGER USE ALL >>>                             
INFO     07:16:18.111 │ [Storage_logger] 0                                         
INFO     07:16:18.112 │ All loggers in storage have been used                      
INFO     07:16:18.113 │ <<< STORAGE CHECKOUT ITEM ABYSSAL >>>                      
INFO     07:16:18.147 │ [Storage_ABYSSAL] 2                                        
INFO     07:16:18.149 │ Click ( 185,  157) @ TEMPLATE_STORAGE_ABYSSAL              
INFO     07:16:18.553 │ Click ( 631,  536) @ STORAGE_COORDINATE_CHECKOUT           
INFO     07:16:20.977 │ Already selected at ABYSSAL                                
INFO     07:16:20.990 │ Click ( 447,  292) @ ZONE_ENTRANCE                         
INFO     07:16:21.294 │ Click ( 792,  511) @ POPUP_CONFIRM_GLOBE_ENTER             
INFO     07:16:22.472 │ <<< ZONE INIT >>>                                          
INFO     07:16:22.474 │ Get zone name                                              
INFO     07:16:22.539 │ [MAP_NAME 0.054s] 东大陆架D-深渊海域                       
INFO     07:16:22.540 │ Map name processed: 东大陆架D                              
INFO     07:16:22.542 │ [Zone] [124|East Continental Shelf D]                      
INFO     07:16:22.553 │ [Fleet_Lock] on                                            
INFO     07:16:22.556 │ Click (1191,  540) @ OS_FLEET_LOCKED                       
INFO     07:16:22.776 │ [Fleet_Lock] off                                           
INFO     07:16:23.068 │ <<< QUESTION GOTO >>>                                      
INFO     07:16:23.071 │ [homo_storage] ((10, 7), [(110.307, 103.657), (1012.311,   
         103.657), (-32.959, 600.567), (1113.057, 600.567)])                       
INFO     07:16:23.193 │            tile_center: 0.920 (good match)                 
INFO     07:16:23.249 │ 0.143s  _   edge_lines: 12 hori, 7 vert                    
INFO     07:16:23.250 │ Edges: /_\   homo_loca: ( 54,  58)                         
INFO     07:16:23.255 │            center_loca: (3, 1)                             
INFO     07:16:23.290 │ 0.034s         predict: 28                                 
INFO     07:16:23.291 │ -- -- -- -- -- -- --                                       
INFO     07:16:23.292 │ -- -- -- FL -- -- --                                       
INFO     07:16:23.293 │ -- -- -- -- -- -- --                                       
INFO     07:16:23.294 │ -- -- -- -- -- -- --                                       
INFO     07:16:23.332 │             -- -- --                                       
INFO     07:16:23.333 │       -- -- -- -- -- -- --                                 
INFO     07:16:23.335 │    -- -- -- -- -- -- -- -- --                              
INFO     07:16:23.335 │    -- -- -- -- QU -- -- -- --                              
INFO     07:16:23.336 │ -- -- -- -- -- -- -- -- -- -- --                           
INFO     07:16:23.337 │ EN -- -- -- -- FL -- -- -- -- EN                           
INFO     07:16:23.338 │ -- -- -- -- -- -- -- -- -- -- --                           
INFO     07:16:23.339 │    -- -- -- -- -- -- -- -- --                              
INFO     07:16:23.340 │    -- -- -- -- -- -- -- -- --                              
INFO     07:16:23.341 │       -- -- -- -- -- -- --                                 
INFO     07:16:23.342 │             -- -- --                                       
WARNING  07:16:23.343 │ Convert radar to local, but target grid not in local view. 
         Assuming camera center is current fleet: D2                               
ERROR    07:16:23.344 │ KeyError: (3, -1)                                          
         ╭────────────────── Traceback (most recent call last) ───────────────────╮
         │                                                                        │
         │ D:\迅雷下载\AzurLaneAutoScript\module\os\camera.py:150 in              │
         │ convert_radar_to_local                                                 │
         │                                                                        │
         │   148 │   │                                                            │
         │   149 │   │   try:                                                     │
         │ ❱ 150 │   │   │   local = self.view[np.add(location, center)]          │
         │   151 │   │   except KeyError:                                         │
         │   152 │   │   │   logger.warning(f'Convert radar to local, but target  │
         │       '                                                                │
         │                                                                        │
         │ ╭────────────────────────────── locals ──────────────────────────────╮ │
         │ │   center = (3, 1)                                                  │ │
         │ │   fleets = <module.map.map_grids.SelectedGrids object at           │ │
         │ │            0x000001D2C89D9BC8>                                     │ │
         │ │ location = (0, -2)                                                 │ │
         │ │     self = <module.os.operation_siren.OperationSiren object at     │ │
         │ │            0x000001D2C8AA9BC8>                                     │ │
         │ ╰────────────────────────────────────────────────────────────────────╯ │
         │ D:\迅雷下载\AzurLaneAutoScript\module\map_detection\view.py:36 in      │
         │ __getitem__                                                            │
         │                                                                        │
         │    34 │                                                                │
         │    35 │   def __getitem__(self, item):                                 │
         │ ❱  36 │   │   return self.grids[tuple(item)]                           │
         │    37 │                                                                │
         │    38 │   def __contains__(self, item):                                │
         │                                                                        │
         │ ╭────────────────────────────── locals ──────────────────────────────╮ │
         │ │ item = array([ 3, -1])                                             │ │
         │ │ self = <module.map_detection.view.View object at                   │ │
         │ │        0x000001D2B79F25C8>                                         │ │
         │ ╰────────────────────────────────────────────────────────────────────╯ │
         ╰────────────────────────────────────────────────────────────────────────╯
         KeyError: (3, -1)                                                         

         During handling of the above exception, another exception occurred:       

         ╭────────────────── Traceback (most recent call last) ───────────────────╮
         │                                                                        │
         │ D:\迅雷下载\AzurLaneAutoScript\alas.py:74 in run                       │
         │                                                                        │
         │    72 │   │   try:                                                     │
         │    73 │   │   │   self.device.screenshot()                             │
         │ ❱  74 │   │   │   self.__getattribute__(command)()                     │
         │    75 │   │   │   return True                                          │
         │    76 │   │   except TaskEnd:                                          │
         │                                                                        │
         │ ╭───────────────────────────── locals ─────────────────────────────╮   │
         │ │ command = 'opsi_abyssal'                                         │   │
         │ │       e = KeyError((3, -1))                                      │   │
         │ │    self = <alas.AzurLaneAutoScript object at 0x000001D297B58C48> │   │
         │ ╰──────────────────────────────────────────────────────────────────╯   │
         │ D:\迅雷下载\AzurLaneAutoScript\alas.py:315 in opsi_abyssal             │
         │                                                                        │
         │   313 │                                                                │
         │   314 │   def opsi_abyssal(self):                                      │
         │ ❱ 315 │   │   OSCampaignRun(config=self.config, device=self.device).op │
         │   316 │                                                                │
         │   317 │   def opsi_archive(self):                                      │
         │                                                                        │
         │ ╭─────────────────────────── locals ────────────────────────────╮      │
         │ │ self = <alas.AzurLaneAutoScript object at 0x000001D297B58C48> │      │
         │ ╰───────────────────────────────────────────────────────────────╯      │
         │                                                                        │
         │ D:\迅雷下载\AzurLaneAutoScript\module\campaign\os_run.py:94 in         │
         │ opsi_abyssal                                                           │
         │                                                                        │
         │    92 │   │   try:                                                     │
         │    93 │   │   │   self.load_campaign()                                 │
         │ ❱  94 │   │   │   self.campaign.os_abyssal()                           │
         │    95 │   │   except ActionPointLimit:                                 │
         │    96 │   │   │   self.config.opsi_task_delay(ap_limit=True)           │
         │                                                                        │
         │ ╭────────────────────────────── locals ──────────────────────────────╮ │
         │ │ self = <module.campaign.os_run.OSCampaignRun object at             │ │
         │ │        0x000001D2C8754748>                                         │ │
         │ ╰────────────────────────────────────────────────────────────────────╯ │
         │                                                                        │
         │ D:\迅雷下载\AzurLaneAutoScript\module\os\operation_siren.py:620 in     │
         │ os_abyssal                                                             │
         │                                                                        │
         │   618 │   def os_abyssal(self):                                        │
         │   619 │   │   while 1:                                                 │
         │ ❱ 620 │   │   │   self.clear_abyssal()                                 │
         │   621 │   │   │   self.config.check_task_switch()                      │
         │   622                                                                  │
         │                                                                        │
         │ ╭────────────────────────────── locals ──────────────────────────────╮ │
         │ │ self = <module.os.operation_siren.OperationSiren object at         │ │
         │ │        0x000001D2C8AA9BC8>                                         │ │
         │ ╰────────────────────────────────────────────────────────────────────╯ │
         │                                                                        │
         │ D:\迅雷下载\AzurLaneAutoScript\module\os\operation_siren.py:611 in     │
         │ clear_abyssal                                                          │
         │                                                                        │
         │   609 │   │   )                                                        │
         │   610 │   │   self.zone_init()                                         │
         │ ❱ 611 │   │   result = self.run_abyssal()                              │
         │   612 │   │   if not result:                                           │
         │   613 │   │   │   raise RequestHumanTakeover                           │
         │                                                                        │
         │ ╭────────────────────────────── locals ──────────────────────────────╮ │
         │ │ result = True                                                      │ │
         │ │   self = <module.os.operation_siren.OperationSiren object at       │ │
         │ │          0x000001D2C8AA9BC8>                                       │ │
         │ ╰────────────────────────────────────────────────────────────────────╯ │
         │                                                                        │
         │ D:\迅雷下载\AzurLaneAutoScript\module\os\fleet.py:787 in run_abyssal   │
         │                                                                        │
         │   785 │   │   while 1:                                                 │
         │   786 │   │   │   self.device.screenshot()                             │
         │ ❱ 787 │   │   │   self.question_goto(has_fleet_step=True)              │
         │   788 │   │   │                                                        │
         │   789 │   │   │   if self.radar.select(is_enemy=True).filter(is_at_fro │
         │                                                                        │
         │ ╭────────────────────────────── locals ──────────────────────────────╮ │
         │ │ is_at_front = <function OSFleet.run_abyssal.<locals>.is_at_front   │ │
         │ │               at 0x000001D2C90AA438>                               │ │
         │ │        self = <module.os.operation_siren.OperationSiren object at  │ │
         │ │               0x000001D2C8AA9BC8>                                  │ │
         │ ╰────────────────────────────────────────────────────────────────────╯ │
         │                                                                        │
         │ D:\迅雷下载\AzurLaneAutoScript\module\os\fleet.py:554 in question_goto │
         │                                                                        │
         │   552 │   │   │   │   if has_fleet_step:                               │
         │   553 │   │   │   │   │   grid = limit_walk(grid)                      │
         │ ❱ 554 │   │   │   │   grid = self.convert_radar_to_local(grid)         │
         │   555 │   │   │   │   self.device.click(grid)                          │
         │   556 │   │   │   else:                                                │
         │                                                                        │
         │ ╭────────────────────────────── locals ──────────────────────────────╮ │
         │ │           grid = (0, -2)                                           │ │
         │ │          grids = <module.map.map_grids.SelectedGrids object at     │ │
         │ │                  0x000001D2C8C8E308>                               │ │
         │ │ has_fleet_step = True                                              │ │
         │ │           self = <module.os.operation_siren.OperationSiren object  │ │
         │ │                  at 0x000001D2C8AA9BC8>                            │ │
         │ ╰────────────────────────────────────────────────────────────────────╯ │
         │                                                                        │
         │ D:\迅雷下载\AzurLaneAutoScript\module\os\camera.py:155 in              │
         │ convert_radar_to_local                                                 │
         │                                                                        │
         │   153 │   │   │   │   │   │      f'Assuming camera center is current f │
         │       {location2node(self.view.center_loca)}')                         │
         │   154 │   │   │   center = self.view.center_loca                       │
         │ ❱ 155 │   │   │   local = self.view[np.add(location, center)]          │
         │   156 │   │                                                            │
         │   157 │   │   logger.info('Radar %s -> Local %s (fleet=%s)' % (        │
         │                                                                        │
         │ ╭────────────────────────────── locals ──────────────────────────────╮ │
         │ │   center = (3, 1)                                                  │ │
         │ │   fleets = <module.map.map_grids.SelectedGrids object at           │ │
         │ │            0x000001D2C89D9BC8>                                     │ │
         │ │ location = (0, -2)                                                 │ │
         │ │     self = <module.os.operation_siren.OperationSiren object at     │ │
         │ │            0x000001D2C8AA9BC8>                                     │ │
         │ ╰────────────────────────────────────────────────────────────────────╯ │
         │                                                                        │
         │ D:\迅雷下载\AzurLaneAutoScript\module\map_detection\view.py:36 in      │
         │ __getitem__                                                            │
         │                                                                        │
         │    34 │                                                                │
         │    35 │   def __getitem__(self, item):                                 │
         │ ❱  36 │   │   return self.grids[tuple(item)]                           │
         │    37 │                                                                │
         │    38 │   def __contains__(self, item):                                │
         │                                                                        │
         │ ╭────────────────────────────── locals ──────────────────────────────╮ │
         │ │ item = array([ 3, -1])                                             │ │
         │ │ self = <module.map_detection.view.View object at                   │ │
         │ │        0x000001D2B79F25C8>                                         │ │
         │ ╰────────────────────────────────────────────────────────────────────╯ │
         ╰────────────────────────────────────────────────────────────────────────╯
         KeyError: (3, -1)                                                         
WARNING  07:16:23.837 │ Saving error: ./log/error/1691190983837                    
ERROR    07:16:24.164 │ Fail to load onepush config, skip sending

截图

2023-08-05_07-16-23-068408

还有别的吗?

log.txt

24k12315 commented 1 year ago

error文件夹里只有这些了。

UPSETTT114 commented 1 year ago

1697802592670.zip 相同问题,深渊海域卡死