Skip to content

[KekkaiActivation/结界挂卡] 结界卡到期未收取时被误判为仍在使用 #1708

Description

@xmttttt

在提问之前...

  • 我已经搜索了现有的 issues
  • 我在提问题之前至少花费了 5 分钟来思考和准备
  • 我已经阅读了文档中的 常见问题(FAQ)
  • 这个问题出现了至少三次,不是偶发的
  • 我使用 OAS 的 dev 分支

描述你的问题

去年阴阳师更新一键收菜功能后,结界卡放置就出现了问题。当结界卡用完后,直接打开结界卡放置窗口会存在一个剩余时间0分0秒的老结界卡,必须点击鲤鱼旗上方或在主页一键收菜才能正常放置结界卡。oas没有更新相关功能,问题已经出现很长时间,例如#739

如何复现

  1. 放置一次结界卡,并等待其用完
  2. 打开oas的结界放卡功能
  3. 问题出现

预期行为

在放置结界卡前先点击一次鲤鱼旗上方收菜,或在桌面一键收菜。

相关 Logs

INFO     | 06:48:19.036 | Pending tasks: ['KekkaiActivation', 'RealmRaid',      
         'Exploration']                                                         
INFO     | 06:48:19.042 | [Task] KekkaiActivation (Enable, 2, 2026-07-25        
         06:37:07)                                                              
INFO     | 06:48:19.047 | Scheduler: Start task `KekkaiActivation`              
════════════════════════════════════════════════════════════════════════════════
─────────────────────────────── KEKKAIACTIVATION ───────────────────────────────
════════════════════════════════════════════════════════════════════════════════
INFO     | 06:48:19.055 | auto save config                                      
INFO     | 06:48:19.632 | module_path:                                          
         E:\yys\ONMYOJ~1\tasks\KekkaiActivation\script_task.py, module_name:    
         script_task                                                            
INFO     | 06:48:19.645 | Switch carp banner theme costume_carpbanner_1         
         (override realm assets)                                                
INFO     | 06:48:19.649 | Switch shikigami theme costume_shikigami_2            
INFO     | 06:48:19.725 | UI get current page                                   
INFO     | 06:48:19.737 | [UI] page_main                                        
INFO     | 06:48:19.741 | <<< UI GOTO PAGE_GUILD >>>                            
INFO     | 06:48:19.745 | Current page: page_main. Following shortest path:     
INFO     | 06:48:19.750 | page_main -> page_guild                               
INFO     | 06:48:23.151 | Page switch: page_main -> page_guild                  
INFO     | 06:48:23.156 | Wait appear and operate PAGE_MAIN_GOTO_GUILD on       
         page_main                                                              
INFO     | 06:48:23.723 | Click ( 563,  630) @ PAGE_MAIN_GOTO_GUILD             
INFO     | 06:48:23.778 | Waiting for page_guild                                
INFO     | 06:48:26.074 | [2.3s]Page arrived page_guild                         
INFO     | 06:48:27.702 | Click (1124,  673) @ KU_GUILD_REALM                   
INFO     | 06:48:28.953 | Click (1126,  665) @ KU_GUILD_REALM                   
INFO     | 06:48:31.453 | Click ( 563,  333) @ CB1_SHI_GROWN_1                  
INFO     | 06:48:32.493 | Enter shikigami grown                                 
INFO     | 06:48:32.499 | Exist max level shikigami and replace it              
INFO     | 06:48:32.978 | Click (1139,  259) @ RS_RS_LEVEL_MAX                  
INFO     | 06:48:33.514 | Unset all shikigami max lv                            
INFO     | 06:48:35.041 | Animation Stable @ SHIKIGAMI_SWITCH_1                 
INFO     | 06:48:35.046 | Click (  36,  624) @ shikigami_switch_1               
INFO     | 06:48:36.556 | Animation Stable @ SHIKIGAMI_SWITCH_1                 
INFO     | 06:48:37.030 | Wait until RS_RS_N position stable                    
INFO     | 06:48:37.067 | Current:[129, 298, 47, 49], pre:None                  
INFO     | 06:48:37.531 | Current:[129, 298, 47, 49], pre:[129, 298, 47, 49]    
INFO     | 06:48:37.996 | Current:[129, 298, 47, 49], pre:[129, 298, 47, 49]    
INFO     | 06:48:38.486 | Current:[129, 298, 47, 49], pre:[129, 298, 47, 49]    
INFO     | 06:48:38.962 | Current:[129, 298, 47, 49], pre:[129, 298, 47, 49]    
INFO     | 06:48:38.968 | RS_RS_N position has stabilized                       
INFO     | 06:48:39.008 | Click ( 134,  342) @ RS_RS_N                          
INFO     | 06:48:39.542 | Wait until RS_RS_N position stable                    
INFO     | 06:48:39.581 | Current:[129, 298, 47, 49], pre:None                  
INFO     | 06:48:40.089 | Current:[41, 625, 47, 49], pre:[41, 625, 47, 49]      
INFO     | 06:48:40.591 | Current:[41, 625, 47, 49], pre:[41, 625, 47, 49]      
INFO     | 06:48:41.091 | Current:[41, 625, 47, 49], pre:[41, 625, 47, 49]      
INFO     | 06:48:41.096 | RS_RS_N position has stabilized                       
INFO     | 06:48:41.134 | Select shikigami class: ShikigamiClass.N              
INFO     | 06:48:41.622 | Click (1076,  538) @ shikigami_left_7                 
INFO     | 06:48:43.161 | Click ( 878,  593) @ shikigami_left_6                 
INFO     | 06:48:43.714 | Set shikigami: 7                                      
INFO     | 06:48:44.700 | Click (  22,   49) @ UI_UI_BACK_BLUE                  
INFO     | 06:48:46.878 | Click ( 860,  324) @ CB1_SHI_CARD_1                   
INFO     | 06:48:47.797 | Enter card page                                       
INFO     | 06:48:47.801 | <<< START ACTIVATION >>>                              
INFO     | 06:48:48.664 | Card is using                                         
INFO     | 06:48:48.674 | [CARD_ALL_TIME 0.007s] [00:00:00]                     
ERROR    | 06:48:48.679 | The remaining time detected for this card is 0        
ERROR    | 06:48:48.682 | This may be due to the fact that the card has not yet 
         been collected                                                         
ERROR    | 06:48:48.686 | GameStuckError:                                       
WARNING  | 06:48:48.695 | Saving error: ./log/error/1784933328695               
INFO     | 06:48:48.699 | 保存详细错误的日志和截图到路径:                       
INFO     | 06:48:48.702 | E:\yys\ONMYOJ~1\log\error\1784933328695               
WARNING  | 06:48:48.938 | Game stuck, com.netease.onmyoji.wyzymnqsd_cps will be 
         restarted in 10 seconds                                                
WARNING  | 06:48:48.943 | If you are playing by hand, please stop Alas          
INFO     | 06:48:48.946 | Notifier: 绘卷                                        
INFO     | 06:48:48.950 | Task call: restart                                    
INFO     | 06:48:58.966 | auto save config                                      
INFO     | 06:48:58.984 | Scheduler: End task `KekkaiActivation`                
INFO     | 06:48:59.000 | Pending tasks: ['KekkaiActivation', 'RealmRaid',      
         'Exploration']                                                         
INFO     | 06:48:59.004 | [Task] KekkaiActivation (Enable, 2, 2026-07-25        
         06:37:07)                                                              
INFO     | 06:48:59.008 | Scheduler: Start task `KekkaiActivation`              
════════════════════════════════════════════════════════════════════════════════
─────────────────────────────── KEKKAIACTIVATION ───────────────────────────────
════════════════════════════════════════════════════════════════════════════════
INFO     | 06:48:59.015 | auto save config                                      
INFO     | 06:48:59.376 | module_path:                                          
         E:\yys\ONMYOJ~1\tasks\KekkaiActivation\script_task.py, module_name:    
         script_task                                                            
INFO     | 06:48:59.381 | Switch carp banner theme costume_carpbanner_1         
         (override realm assets)                                                
INFO     | 06:48:59.384 | Switch shikigami theme costume_shikigami_2            
INFO     | 06:48:59.470 | UI get current page                                   
INFO     | 06:48:59.589 | Click (1163,   94) @ UI_UI_BACK_RED                   
WARNING  | 06:48:59.645 | Trying to switch to supported page                    
INFO     | 06:48:59.649 | [0.1s]Click UI_UI_BACK_RED on None success            
INFO     | 06:49:00.061 | [Package_name] com.netease.onmyoji.wyzymnqsd_cps      
INFO     | 06:49:00.088 | [Device Orientation] 1 (HOME key on the right)        
INFO     | 06:49:00.723 | Click (  50,   37) @ UI_UI_BACK_YELLOW                
WARNING  | 06:49:00.778 | Trying to switch to supported page                    
INFO     | 06:49:00.782 | [0.1s]Click UI_UI_BACK_YELLOW on None success         
INFO     | 06:49:01.714 | Click (1148,  250) @ SAFE_RANDOM_CLICK                
INFO     | 06:49:03.631 | [UI] page_guild                                       
INFO     | 06:49:03.635 | <<< UI GOTO PAGE_GUILD >>>                            
INFO     | 06:49:03.639 | Current page: page_guild. Following shortest path:    
INFO     | 06:49:03.644 | page_guild                                            
INFO     | 06:49:04.705 | Page arrived page_guild                               
INFO     | 06:49:05.301 | Click (1104,  647) @ KU_GUILD_REALM                   
INFO     | 06:49:06.512 | Click (1097,  668) @ KU_GUILD_REALM                   
INFO     | 06:49:08.985 | Click ( 577,  309) @ CB1_SHI_GROWN_1                  
INFO     | 06:49:10.056 | Enter shikigami grown                                 
INFO     | 06:49:10.064 | No max level shikigami                                
INFO     | 06:49:11.055 | Click (  33,   49) @ UI_UI_BACK_BLUE                  
INFO     | 06:49:13.266 | Click ( 853,  325) @ CB1_SHI_CARD_1                   
INFO     | 06:49:14.192 | Enter card page                                       
INFO     | 06:49:14.198 | <<< START ACTIVATION >>>                              
INFO     | 06:49:15.071 | Card is using                                         
INFO     | 06:49:15.082 | [CARD_ALL_TIME 0.006s] [00:00:00]                     
ERROR    | 06:49:15.086 | The remaining time detected for this card is 0        
ERROR    | 06:49:15.090 | This may be due to the fact that the card has not yet 
         been collected                                                         
ERROR    | 06:49:15.095 | GameStuckError:                                       
WARNING  | 06:49:15.100 | Saving error: ./log/error/1784933355100               
INFO     | 06:49:15.104 | 保存详细错误的日志和截图到路径:                       
INFO     | 06:49:15.109 | E:\yys\ONMYOJ~1\log\error\1784933355100               
WARNING  | 06:49:15.291 | Game stuck, com.netease.onmyoji.wyzymnqsd_cps will be 
         restarted in 10 seconds                                                
WARNING  | 06:49:15.294 | If you are playing by hand, please stop Alas          
INFO     | 06:49:15.298 | Notifier: 绘卷                                        
INFO     | 06:49:15.302 | Task call: restart                                    
INFO     | 06:49:25.320 | auto save config                                      
INFO     | 06:49:25.338 | Scheduler: End task `KekkaiActivation`                
INFO     | 06:49:25.351 | Pending tasks: ['KekkaiActivation', 'RealmRaid',      
         'Exploration']                                                         
INFO     | 06:49:25.355 | [Task] KekkaiActivation (Enable, 2, 2026-07-25        
         06:37:07)                                                              
INFO     | 06:49:25.361 | Scheduler: Start task `KekkaiActivation`              
════════════════════════════════════════════════════════════════════════════════
─────────────────────────────── KEKKAIACTIVATION ───────────────────────────────
════════════════════════════════════════════════════════════════════════════════
INFO     | 06:49:25.368 | auto save config                                      
INFO     | 06:49:25.722 | module_path:                                          
         E:\yys\ONMYOJ~1\tasks\KekkaiActivation\script_task.py, module_name:    
         script_task                                                            
INFO     | 06:49:25.728 | Switch carp banner theme costume_carpbanner_1         
         (override realm assets)                                                
INFO     | 06:49:25.731 | Switch shikigami theme costume_shikigami_2            
INFO     | 06:49:25.808 | UI get current page                                   
INFO     | 06:49:25.935 | Click (1191,  108) @ UI_UI_BACK_RED                   
WARNING  | 06:49:25.991 | Trying to switch to supported page                    
INFO     | 06:49:25.994 | [0.1s]Click UI_UI_BACK_RED on None success            
INFO     | 06:49:26.407 | [Package_name] com.netease.onmyoji.wyzymnqsd_cps      
INFO     | 06:49:26.436 | [Device Orientation] 1 (HOME key on the right)        
INFO     | 06:49:27.075 | Click (  67,   38) @ UI_UI_BACK_YELLOW                
WARNING  | 06:49:27.129 | Trying to switch to supported page                    
INFO     | 06:49:27.133 | [0.1s]Click UI_UI_BACK_YELLOW on None success         
INFO     | 06:49:28.084 | Click ( 836,  639) @ SAFE_RANDOM_CLICK                
INFO     | 06:49:30.144 | [UI] page_guild                                       
INFO     | 06:49:30.148 | <<< UI GOTO PAGE_GUILD >>>                            
INFO     | 06:49:30.152 | Current page: page_guild. Following shortest path:    
INFO     | 06:49:30.156 | page_guild                                            
INFO     | 06:49:31.201 | Page arrived page_guild                               
INFO     | 06:49:31.794 | Click (1083,  665) @ KU_GUILD_REALM                   
INFO     | 06:49:33.033 | Click (1100,  660) @ KU_GUILD_REALM                   
INFO     | 06:49:35.514 | Click ( 565,  328) @ CB1_SHI_GROWN_1                  
INFO     | 06:49:36.575 | Enter shikigami grown                                 
INFO     | 06:49:36.581 | No max level shikigami                                
INFO     | 06:49:37.555 | Click (  51,   55) @ UI_UI_BACK_BLUE                  
INFO     | 06:49:39.782 | Click ( 862,  331) @ CB1_SHI_CARD_1                   
INFO     | 06:49:40.722 | Enter card page                                       
INFO     | 06:49:40.725 | <<< START ACTIVATION >>>                              
INFO     | 06:49:41.573 | Card is using                                         
INFO     | 06:49:41.584 | [CARD_ALL_TIME 0.006s] [00:00:00]                     
ERROR    | 06:49:41.588 | The remaining time detected for this card is 0        
ERROR    | 06:49:41.591 | This may be due to the fact that the card has not yet 
         been collected                                                         
ERROR    | 06:49:41.594 | GameStuckError:                                       
WARNING  | 06:49:41.599 | Saving error: ./log/error/1784933381599               
INFO     | 06:49:41.602 | 保存详细错误的日志和截图到路径:                       
INFO     | 06:49:41.606 | E:\yys\ONMYOJ~1\log\error\1784933381599               
WARNING  | 06:49:41.786 | Game stuck, com.netease.onmyoji.wyzymnqsd_cps will be 
         restarted in 10 seconds                                                
WARNING  | 06:49:41.792 | If you are playing by hand, please stop Alas          
INFO     | 06:49:41.794 | Notifier: 绘卷                                        
INFO     | 06:49:41.800 | Task call: restart                                    
INFO     | 06:49:51.816 | auto save config                                      
INFO     | 06:49:51.833 | Scheduler: End task `KekkaiActivation`                
CRITICAL | 06:49:51.838 | Task `KekkaiActivation` failed 3 or more times.       
CRITICAL | 06:49:51.842 | Possible reason #1: You haven't used it correctly.    
         Please read the help text of the options.                              
CRITICAL | 06:49:51.847 | Possible reason #2: There is a problem with this task.
         Please contact developers or try to fix it yourself.                   
CRITICAL | 06:49:51.851 | Request human takeover                                
INFO     | 06:49:51.854 | Script 绘卷 process exit                              
ERROR    | 06:49:51.861 | Error: 1

报错时游戏的截图/别的截图

Image Image

还有别的吗?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrepeat

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions