Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新战斗UI导致刷紧急委托中断,请求适配 #4447

Closed
4 tasks done
raiden1231 opened this issue Dec 19, 2024 · 2 comments
Closed
4 tasks done

新战斗UI导致刷紧急委托中断,请求适配 #4447

raiden1231 opened this issue Dec 19, 2024 · 2 comments
Labels
bug / 缺陷 Something isn't working

Comments

@raiden1231
Copy link

在提问之前...

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

描述你的问题

购买并装扮新主题圣诞雪景后,运行刷紧急委托,战斗结束时Wait too long alas停止运作重启

如何复现

1.运行‘刷紧急委托’模块,设置为自律寻敌或按照地图索敌
2.alas开始执行任务
3.数次道中完成任务
4.出现问题

预期行为

No response

相关 Logs

────────────────────────────────────── 15-1 ───────────────────────────────────────
INFO     23:50:58.128 │ 15-1                                                       
INFO     23:50:58.129 │ <<< ENTER MAP >>>                                          
INFO     23:50:58.157 │ Click ( 472,  566) @ 15-1                                  
INFO     23:50:58.627 │ [Map_clear_percentage] 42%                                 
INFO     23:50:58.827 │ [Map_clear_percentage] 83%                                 
INFO     23:50:59.028 │ [Map_clear_percentage] 99%                                 
INFO     23:50:59.029 │ [MAP_CLEAR_ALL_THIS_TIME] False                            
INFO     23:50:59.030 │ [Map_info] 99%, star_1, star_2, star_3, 100_percent_clear, 
         3_stars, threat_safe, clear_mode                                          
INFO     23:50:59.031 │ [StopCondition_MapAchievement] non_stop                    
INFO     23:50:59.032 │ Fast_Forward set to on                                     
INFO     23:50:59.032 │ [Fast_Forward] on                                          
INFO     23:50:59.039 │ Auto_Search set to on                                      
INFO     23:50:59.040 │ [Auto_Search] on                                           
INFO     23:50:59.040 │ Click ( 961,  512) @ MAP_PREPARATION                       
INFO     23:50:59.229 │ Handling 2x book setting, mode=prep.                       
INFO     23:50:59.238 │ Using fleet: [1, 2, 0]                                     
INFO     23:50:59.272 │ Hard satisfied: Fleet_1: None, Fleet_2: None, Submarine:   
         None                                                                      
INFO     23:50:59.275 │ Click (1142,  287) @ FLEET_2_CLEAR                         
INFO     23:50:59.430 │ Click (1063,  170) @ FLEET_1_CHOOSE                        
INFO     23:50:59.631 │ Current selected: [1]                                      
INFO     23:50:59.632 │ Click (1042,  173) @ FLEET_1_CHOOSE                        
INFO     23:50:59.831 │ Click (1061,  288) @ FLEET_2_CHOOSE                        
INFO     23:51:00.031 │ Current selected: [1]                                      
INFO     23:51:00.032 │ Click (1058,  394) @ FLEET_2_BAR_INDEX_2                   
INFO     23:51:00.233 │ Click (1142,  393) @ SUBMARINE_CLEAR                       
INFO     23:51:00.434 │ Auto search setting                                        
INFO     23:51:00.440 │ [_fleet_sidebar_offset] -39                                
INFO     23:51:00.441 │ [Fleet_sidebar] 1/3                                        
INFO     23:51:00.442 │ Click (1228,  383) @ FLEET_SIDEBAR_0_2                     
INFO     23:51:00.904 │ [_fleet_sidebar_offset] -39                                
INFO     23:51:00.905 │ [Fleet_sidebar] 3/3                                        
INFO     23:51:00.905 │ [Auto_Search_Setting] fleet1_all_fleet2_standby            
INFO     23:51:00.906 │ Click ( 932,  171) @ AUTO_SEARCH_SET_STANDBY               
INFO     23:51:01.344 │ [Auto_Search_Setting] fleet1_standby_fleet2_all            
INFO     23:51:01.344 │ Selected to the correct auto search setting                
INFO     23:51:01.345 │ Click (1095,  612) @ FLEET_PREPARATION                     
INFO     23:51:01.748 │ Click ( 798,  517) @ POPUP_CONFIRM_IGNORE_LOW_EMOTION      
INFO     23:51:02.352 │ is_auto_search_running appeared                            
INFO     23:51:02.385 │ [LevelOcr 0.030s] [120, 120, 120, 125, 120, 120]           
INFO     23:51:02.386 │ [LEVEL] 120, 120, 120, 125, 120, 120                       
──────────────────────────────────── BATTLE_0 ─────────────────────────────────────
INFO     23:51:02.387 │ BATTLE_0                                                   
INFO     23:51:02.388 │ Auto search moving                                         
INFO     23:51:02.394 │ Fleet: 1, fleet_current_index: 2                           
INFO     23:51:02.422 │ [LevelOcr 0.026s] [120, 120, 120, 125, 120, 120]           
INFO     23:51:02.423 │ [LEVEL] 120, 120, 120, 125, 120, 120                       
INFO     23:51:02.438 │ [OCR_OIL 0.015s] 17256                                     
INFO     23:51:02.453 │ [OCR_COIN 0.015s] 285978                                   
INFO     23:51:05.169 │ Fleet: 2, fleet_current_index: 1                           
INFO     23:51:05.203 │ [LevelOcr 0.032s] [63, 0, 0, 100, 0, 0]                    
INFO     23:51:05.204 │ [LEVEL] 63, 0, 0, 100, 0, 0                                
INFO     23:51:07.977 │ Click ( 793,  512) @ POPUP_CONFIRM_IGNORE_LOW_EMOTION      
INFO     23:51:08.383 │ [Loading] 9%                                               
INFO     23:51:08.384 │ Auto search combat loading                                 
INFO     23:51:08.385 │ Screenshot interval set to 1.0s                            
INFO     23:54:08.515 │ 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 L162 run_process()                                  
                       alas.py L537 loop()                                         
                       alas.py  L69 run()                                          
                       alas.py L396 gems_farming()                                 
               gems_farming.py L409 run()                                          
                        run.py L394 run()                                          
              campaign_base.py L143 run()                                          
              campaign_base.py L178 auto_search_execute_a_battle()                 
         auto_search_combat.py L356 auto_search_combat()                           
         auto_search_combat.py L228 auto_search_combat_execute()                   
                     device.py L175 screenshot()                                   
                     device.py L237 stuck_record_check()                           
                     device.py  L43 show_function_call()                           
WARNING  23:54:08.518 │ Wait too long                                              
WARNING  23:54:08.519 │ Waiting for {'CAMPAIGN_CHECK', 'PAUSE',                    
         'AUTOMATION_CONFIRM_CHECK', 'EVENT_CHECK', 'SP_CHECK'}                    
INFO     23:54:08.524 │ newCommandTimeout updated to 168h0m0s                      
INFO     23:54:08.525 │ [u2.Device] Device(atx_agent_url=http://127.0.0.1:52896)   
INFO     23:54:08.558 │ [Package_name] com.bilibili.azurlane                       
ERROR    23:54:08.559 │ GameStuckError: Wait too long                              
WARNING  23:54:08.560 │ Saving error: ./log/error/1734623648560                    
WARNING  23:54:08.731 │ Game stuck, com.bilibili.azurlane will be restarted in 10  
         seconds                                                                   
WARNING  23:54:08.731 │ If you are playing by hand, please stop Alas               
INFO     23:54:08.732 │ Task call: Restart                                         
INFO     23:54:08.743 │ Bind task ['General', 'Alas', 'TaskBalancer',              
         'EventGeneral', 'GemsFarming']                                            
INFO     23:54:08.744 │ Save config ./config\alas.json,                            
         Restart.Scheduler.NextRun=datetime.datetime(2024, 12, 19, 23, 54, 8),     
         Restart.Scheduler.Enable=True                                             
INFO     23:54:18.750 │ Scheduler: End task `GemsFarming`                          
INFO     23:54:18.751 │ [Server] cn                                                
INFO     23:54:18.762 │ Bind task ['General', 'Alas']                              
INFO     23:54:18.762 │ Pending tasks: ['Restart', 'GemsFarming',                  
         'OpsiHazard1Leveling']                                                    
INFO     23:54:18.763 │ [Task] Restart (Enable, 2024-12-19 23:54:08)               
INFO     23:54:18.764 │ Bind task ['General', 'Alas', 'Restart']                   
INFO     23:54:18.770 │ Scheduler: Start task `Restart`

截图

441e84f9-038a-49c4-931a-811fad02ea92
2024-12-19_alas.txt

还有别的吗?

No response

@raiden1231 raiden1231 added the bug / 缺陷 Something isn't working label Dec 19, 2024
@Astuislam
Copy link

Astuislam commented Dec 20, 2024

+1,新UI界面 圣诞雪景 目前似乎无法识别战斗相关页面。我尝试多次在更换为旧版UI后可以正常执行模块。我觉得很有可能是新UI界面同一个问题。以下是一些信息。

复现
我尝试了启动以下模块,但是在进入战斗后,ALAS都失去了响应。长时间不执行下一步操作,最后卡死在某一战斗页面上。类似问题1日内复现过5次以上。
包括以下模块:演习、主线图、半自动点击。

演习:进入战斗后无下一步操作,不会识别血量。演习结束后手动关闭调度,再启动调度器后,log显示无法识别页面。
主线图:进入战斗后无下一步操作,log无更新,甚至到下几场战斗后,始终无更新。
半自动点击:进入战斗后无下一步操作,战斗结束后不会自动结算.

在换回旧UI后ALAS行为正常。

截图和日志(尝试主线时)
2024-12-20_19-04-01-143983
log.txt

@LmeSzinc
Copy link
Owner

LmeSzinc commented Jan 4, 2025

76fcfdf

@LmeSzinc LmeSzinc closed this as completed Jan 4, 2025
@LmeSzinc LmeSzinc mentioned this issue Jan 4, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug / 缺陷 Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants