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

OpSi shop voucher #4532

Open
4 tasks done
dragonheart107 opened this issue Jan 21, 2025 · 0 comments
Open
4 tasks done

OpSi shop voucher #4532

dragonheart107 opened this issue Jan 21, 2025 · 0 comments
Labels
bug / 缺陷 Something isn't working

Comments

@dragonheart107
Copy link
Contributor

dragonheart107 commented Jan 21, 2025

Before you asking

  • I have searched the existing issues
  • I spend at least 5 minutes for thinking and preparing
  • I checked Frequently Asked Questions (FAQ) in Wiki page
  • I am using the latest version of Alas

Describe the bug

I noticed only today but it seems that the books don't seem to get recognized /skipped and because of that they won't be bought even if included in the item filter.
log doesn't even mention these.
attached are manual taken screenshots of what my shop looked like.
maybe it happens due to scrolling too far and cutting the third horizontal row.

To Reproduce

  1. enable opsi voucher
  2. let it run
  3. it doesn't recognize the books and fragments/third horizontal row
  4. task delay to next month

Expected behavior

supposed to buy all items in list and if available

Relevant log output

═══════════════════════════════════ OS VOUCHER ════════════════════════════════════
INFO     18:48:27.537 │ OS VOUCHER                                                 
INFO     18:48:27.544 │ Click ( 982,  664) @ MAP_GOTO_GLOBE                        
INFO     18:48:30.551 │ <<< UI CLICK >>>                                           
INFO     18:48:30.560 │ Click ( 256,  670) @ EXCHANGE_ENTER                        
══════════════════════════════════ VOUCHER SHOP ═══════════════════════════════════
INFO     18:48:31.091 │ VOUCHER SHOP                                               
INFO     18:48:31.106 │ [Vouchers_icon] 1                                          
INFO     18:48:31.107 │ VOUCHER_SHOP_SCROLL_AREA set to 0.0                        
INFO     18:48:31.107 │ [VOUCHER_SHOP_SCROLL_AREA] 0.49 (229.0-113.5)/(463-227)    
INFO     18:48:31.108 │ Swipe (1261,  411) -> (1257,  180)                         
INFO     18:48:31.563 │ [VOUCHER_SHOP_SCROLL_AREA] 0.00 (nan-0.0)/(463-0)          
──────────────────────────────────── SHOP BUY ─────────────────────────────────────
INFO     18:48:31.564 │ SHOP BUY                                                   
INFO     18:48:31.577 │ [Vouchers_icon] 2                                          
INFO     18:48:31.578 │ Loading template folder: ./assets/shop/voucher             
INFO     18:48:31.596 │ [next_template_index] 25                                   
INFO     18:48:31.605 │ New template: 26                                           
INFO     18:48:31.675 │ [Price_ocr 0.066s] [0, 1000, 800, 800, 800, 800, 800, 800] 
WARNING  18:48:31.677 │ Ignore 1 items, because price <= 0                         
INFO     18:48:31.677 │ [Item detected] 7                                          
INFO     18:48:31.889 │ [Price_ocr 0.060s] [0, 1000, 800, 800, 800, 800, 800, 800] 
WARNING  18:48:31.890 │ Ignore 1 items, because price <= 0                         
INFO     18:48:31.891 │ [Item detected] 7                                          
INFO     18:48:31.892 │ Shop row 1: ['HiddenZoneDataLogger_x1_Voucher_x1000',      
         'LoggerArchiveT2_x1_Voucher_x800', 'LoggerArchiveT2_x1_Voucher_x800']     
INFO     18:48:31.893 │ Shop row 2: ['LoggerArchiveT2_x1_Voucher_x800',            
         'LoggerArchiveT2_x1_Voucher_x800', 'LoggerArchiveT2_x1_Voucher_x800',     
         'LoggerArchiveT2_x1_Voucher_x800']                                        
INFO     18:48:31.911 │ [SHOP_VOUCHER 0.017s] 2501                                 
INFO     18:48:31.911 │ Voucher: 2501                                              
INFO     18:48:31.912 │ Shop buy finished                                          
INFO     18:48:31.913 │ [VOUCHER_SHOP_SCROLL_AREA] 0.00 (113.0-113.5)/(463-227)    
INFO     18:48:31.913 │ VOUCHER_SHOP_SCROLL_AREA set to 1.0                        
INFO     18:48:31.914 │ [VOUCHER_SHOP_SCROLL_AREA] 0.00 (113.0-113.5)/(463-227)    
INFO     18:48:31.915 │ Swipe (1261,  306) -> (1257,  618)                         
INFO     18:48:32.410 │ [VOUCHER_SHOP_SCROLL_AREA] 0.00 (nan-0.0)/(463-0)          
INFO     18:48:32.687 │ [VOUCHER_SHOP_SCROLL_AREA] 1.00 (349.5-113.0)/(463-226)    
──────────────────────────────────── SHOP BUY ─────────────────────────────────────
INFO     18:48:32.689 │ SHOP BUY                                                   
INFO     18:48:32.701 │ [Vouchers_icon] 2                                          
INFO     18:48:32.702 │ Loading template folder: ./assets/shop/voucher             
INFO     18:48:32.714 │ [next_template_index] 25                                   
INFO     18:48:32.748 │ [Price_ocr 0.027s] [50, 50, 50]                            
INFO     18:48:32.749 │ [Item detected] 3                                          
INFO     18:48:33.061 │ [Price_ocr 0.025s] [50, 50, 50]                            
INFO     18:48:33.062 │ [Item detected] 3                                          
INFO     18:48:33.063 │ Shop row 1: ['TuningCombatT2_x1_Voucher_x50',              
         'TuningCombatT2_x1_Voucher_x50']                                          
INFO     18:48:33.063 │ Shop row 2: ['TuningCombatT2_x1_Voucher_x50']              
INFO     18:48:33.081 │ [SHOP_VOUCHER 0.017s] 2501                                 
INFO     18:48:33.082 │ Voucher: 2501                                              
INFO     18:48:33.082 │ Shop buy finished                                          
INFO     18:48:33.083 │ [VOUCHER_SHOP_SCROLL_AREA] 1.00 (349.5-113.0)/(463-226)    
INFO     18:48:33.084 │ Voucher Shop reach bottom, stop                            
INFO     18:48:33.085 │ <<< UI CLICK >>>                                           
INFO     18:48:33.088 │ Click (  64,   51) @ BACK_ARROW                            
INFO     18:48:33.622 │ <<< UI CLICK >>>                                           
INFO     18:48:33.623 │ Click (  54,   60) @ GLOBE_GOTO_MAP                        
INFO     18:48:34.519 │ OS voucher finished, delay to next reset                   
INFO     18:48:34.520 │ [OpsiNextReset] 2025-02-01 08:00:00                        
INFO     18:48:34.521 │ Delay task `OpsiVoucher` to 2025-02-01 08:00:00            
         (target=datetime.datetime(2025, 2, 1, 8, 0))                              
INFO     18:48:34.528 │ Bind task ['General', 'Alas', 'OpsiGeneral', 'OpsiVoucher']
INFO     18:48:34.529 │ Save config ./config\alas.json,                            
         OpsiVoucher.Scheduler.NextRun=datetime.datetime(2025, 2, 1, 8, 0)         
INFO     18:48:34.533 │ Scheduler: End task `OpsiVoucher`                          
INFO     18:48:34.534 │ [Server] en                                                
INFO     18:48:34.549 │ Bind task ['General', 'Alas']                              
INFO     18:48:34.551 │ No task pending                                            
INFO     18:48:34.551 │ [Task] Tactical (Enable, 2025-01-21 19:04:44)              
INFO     18:48:34.552 │ Bind task ['General', 'Alas', 'Tactical']                  
INFO     18:48:34.561 │ Wait until 2025-01-21 19:04:44 for task `Tactical`         
INFO     18:48:34.561 │ Goto main page during wait                                 
INFO     18:48:34.880 │ [Package_name] com.YoStarEN.AzurLane                       
INFO     18:48:34.881 │ App is already running, goto main page                     
INFO     18:48:34.881 │ <<< UI ENSURE >>>                                          
INFO     18:48:34.882 │ UI get current page                                        
INFO     18:48:34.907 │ [UI] page_os                                               
INFO     18:48:34.908 │ Goto page_main                                             
INFO     18:48:34.908 │ <<< UI GOTO PAGE_MAIN >>>                                  
INFO     18:48:34.914 │ Page switch: page_os -> page_main                          
INFO     18:48:34.914 │ Click (1238,   31) @ GOTO_MAIN                             
INFO     18:48:36.052 │ Page arrive: page_main                                     
INFO     18:48:51.058 │ Config "alas" changed at 2025-01-21 18:48:49               
INFO     18:48:51.059 │ [Server] en                                                
INFO     18:48:51.078 │ Bind task ['General', 'Alas']                              
INFO     18:48:51.080 │ No task pending                                            
INFO     18:48:51.080 │ [Task] Tactical (Enable, 2025-01-21 19:04:44)              
INFO     18:48:51.081 │ Bind task ['General', 'Alas', 'Tactical']                  
INFO     18:48:51.087 │ Wait until 2025-01-21 19:04:44 for task `Tactical`         
INFO     18:48:51.088 │ Goto main page during wait                                 
INFO     18:48:51.298 │ [Package_name] com.YoStarEN.AzurLane                       
INFO     18:48:51.298 │ App is already running, goto main page                     
INFO     18:48:51.299 │ <<< UI ENSURE >>>                                          
INFO     18:48:51.299 │ UI get current page                                        
INFO     18:48:51.306 │ [UI] page_main                                             
INFO     18:48:51.307 │ Already at page_main

Screenshots

Image

Image

my item filter:

Image

Anything else?

No response

@dragonheart107 dragonheart107 added the bug / 缺陷 Something isn't working label Jan 21, 2025
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

1 participant