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

更新后开发船坞物资买图纸功能识别有误 #3828

Closed
4 tasks done
GOODGINKO opened this issue May 29, 2024 · 4 comments
Closed
4 tasks done

更新后开发船坞物资买图纸功能识别有误 #3828

GOODGINKO opened this issue May 29, 2024 · 4 comments
Labels
bug / 缺陷 Something isn't working

Comments

@GOODGINKO
Copy link

在提问之前...

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

描述你的问题

上一次更新适配新ui之后,发现在开发船坞花物资买图纸功能里即使填写了每天购买15张金图纸,也会只购买两张,查阅log发现alas未能在主界面正确识别剩余物资量(附图可知 [SHOP_GOLD_COINS 0.018s] 0   ),导致每次都以为没钱了就只买前两张免费图纸。
此bug已连续四天出现,确认不是ocr偶现问题。

如何复现

No response

预期行为

No response

相关 Logs

NFO     08:09:55.063 │ Scheduler: Start task `Shipyard`                                                                        
════════════════════════════════════════════════════════════════════════════════════════════════════════
                                                            SHIPYARD                                                            
════════════════════════════════════════════════════════════════════════════════════════════════════════
═════════════════════════════════════════════════════════ SHIPYARD DR ══════════════════════════════════
INFO     08:09:55.210 │ SHIPYARD DR                                                                                             
INFO     08:09:55.211 │ [ShipyardDr_LastRun] 2024-05-08 12:25:21                                                                
═════════════════════════════════════════════════════════ SHIPYARD PR ══════════════════════════════════
INFO     08:09:55.212 │ SHIPYARD PR                                                                                             
INFO     08:09:55.213 │ [Shipyard_LastRun] 2024-05-28 08:00:52                                                                  
INFO     08:09:55.214 │ <<< UI ENSURE >>>                                                                                       
INFO     08:09:55.215 │ UI get current page                                                                                     
INFO     08:09:55.227 │ [UI] page_event                                                                                         
INFO     08:09:55.229 │ Goto page_main                                                                                          
INFO     08:09:55.230 │ <<< UI GOTO PAGE_MAIN >>>                                                                               
INFO     08:09:55.237 │ Page switch: page_event -> page_main                                                                    
INFO     08:09:55.239 │ Click (1240,   31) @ GOTO_MAIN                                                                          
INFO     08:09:56.016 │ Page arrive: page_main                                                                                  
INFO     08:09:56.034 │ [SHOP_GOLD_COINS 0.018s] 0                                                                              
INFO     08:09:56.062 │ [SHOP_GEMS 0.025s] 0                                                                                    
INFO     08:09:56.063 │ Gold coins: 0, Gems: 0                                                                                  
INFO     08:09:56.065 │ <<< UI GOTO PAGE_SHIPYARD >>>                                                                           
INFO     08:09:56.073 │ Page switch: page_main_white -> page_reshmenu                                                           
INFO     08:09:56.075 │ Click ( 710,  685) @ MAIN_GOTO_RESHMENU                                                                 
INFO     08:09:56.632 │ Page switch: page_reshmenu -> page_shipyard                                                             
INFO     08:09:56.633 │ Click ( 646,  349) @ RESHMENU_GOTO_SHIPYARD                                                             
INFO     08:09:57.425 │ Page arrive: page_shipyard                                                                              
INFO     08:09:57.427 │ <<< UI CLICK >>>                                                                                        
INFO     08:09:57.437 │ Click ( 109,  676) @ SHIPYARD_SERIES_SELECT_ENTER                                                       
INFO     08:09:57.623 │ <<< UI CLICK >>>                                                                                        
INFO     08:09:57.646 │ Click ( 782,  288) @ SHIPYARD_SERIES_GRID_1_0                                                           
INFO     08:09:58.427 │ SHIPYARD_FACE_GRID set to left=1                                                                        
INFO     08:09:58.429 │ Nav item active: 0 from range (0, 5)                                                                    
INFO     08:10:00.105 │ <<< SHIPYARD_USE >>>                                                                                    
INFO     08:10:00.150 │ [OCR_BP_COUNT 0.044s] [0, 0, 0, 0, 0, 7]                                                                
INFO     08:10:00.151 │ <<< SHIPYARD_BUY >>>                                                                                    
INFO     08:10:00.153 │ Can only buy up to 2 of the 15 BPs                                                                      
INFO     08:10:00.202 │ [SHIPYARD_TOTAL_DEV 0.024s] 0                                                                           
INFO     08:10:00.606 │ Click (1234,  444) @ SHIPYARD_PLUS_DEV                                                                  
INFO     08:10:00.999 │ Click (1232,  443) @ SHIPYARD_PLUS_DEV                                                                  
INFO     08:10:01.492 │ [SHIPYARD_TOTAL_DEV 0.016s] 2                                                                           
INFO     08:10:01.493 │ Capable of consuming all 2 BPs                                                                          
INFO     08:10:01.507 │ Bind task ['General', 'Alas', 'Shipyard']                                                               
INFO     08:10:01.508 │ Save config ./config\Sub.json, Shipyard.Shipyard.LastRun=datetime.datetime(2024, 5, 29, 8, 10, 1)       
INFO     08:10:01.527 │ Click (1108,  500) @ SHIPYARD_CONFIRM_DEV                                                               
INFO     08:10:01.676 │ Click ( 795,  509) @ POPUP_CONFIRM_BP_BUY                                                               
INFO     08:10:05.902 │ Delay task `Shipyard` to 2024-05-30 04:00:00 (server_update='04:00')                                    
INFO     08:10:05.913 │ Bind task ['General', 'Alas', 'Shipyard']                                                               
INFO     08:10:05.914 │ Save config ./config\Sub.json, Shipyard.Scheduler.NextRun=datetime.datetime(2024, 5, 30, 4, 0)          
INFO     08:10:05.920 │ Scheduler: End task `Shipyard`                                                                          
INFO     08:10:05.922 │ [Server] cn                                                                                             
INFO     08:10:05.935 │ Bind task ['General', 'Alas']                                                                           
INFO     08:10:05.937 │ Pending tasks: ['GemsFarming', 'OpsiHazard1Leveling']                                                   
INFO     08:10:05.937 │ [Task] GemsFarming (Enable, 2020-01-01 00:00:00)                                                        
INFO     08:10:05.938 │ Bind task ['General', 'Alas', 'TaskBalancer', 'EventGeneral', 'GemsFarming']                            
INFO     08:10:05.944 │ Scheduler: Start task `GemsFarming`                                                                     
════════════════════════════════════════════════════════════════════════════════════════════════════════
                                                          GEMSFARMING                                                           
════════════════════════════════════════════════════════════════════════════════════════════════════════

截图

1
2

还有别的吗?

No response

@GOODGINKO GOODGINKO added the bug / 缺陷 Something isn't working label May 29, 2024
@Air111
Copy link
Contributor

Air111 commented May 30, 2024

暂时先关闭使用新版主界面

@whitebluepants
Copy link

同发现几次,起初还以为是模拟器卡住导致没买好。 后面自己试了下发现购买数量设置多少都只会买两张

@Guosh2020
Copy link

加一,我也是这个问题,求作者修复一下

@jutongpan
Copy link

我也有这个问题,一直设定每天买10张金图纸,但自从周年庆以来,ALAS每次只买2张就停了。

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

6 participants