runhey / OnmyojiAutoScript

Onmyoji Auto Script | 阴阳师脚本
https://runhey.github.io/OnmyojiAutoScript-website/
GNU General Public License v3.0
1.87k stars 187 forks source link

悬赏封印由于庭院式神过高导致识别不到“封” #480

Closed nyanyaww closed 1 month ago

nyanyaww commented 1 month ago

在提问之前...

描述你的问题

悬赏封印由于庭院式神过高导致识别不到“封”,从而卡在悬赏封印阶段。 我知道是一个小问题,所以看看有没有好心人提个PR。

如何复现

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

预期行为

如图所示,如果我使用“高一点“的式神,例如sp千姬就会识别不到“封”这个字。 不过如果我换成了紧那罗等等相对矮一些的式神,就不会有这个问题了。 我觉得可以修改一下“封”的ROI区域。

相关 Logs

════════════════════════════════════════════════════════════════════════════════
───────────────────────────────── WANTEDQUESTS ─────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
2024-10-03 20:35:28.313 |            script.py:0350 |     INFO | module_path: E:\OnmyojiAutoScript-easy-install\tasks\WantedQuests\script_task.py, module_name: 
script_task                                                                                                                                                     
2024-10-03 20:35:28.318 |           game_ui.py:0096 |     INFO | UI get current page                                                                            
2024-10-03 20:35:28.324 |            logger.py:0284 |     INFO | [UI] page_main                                                                                 
2024-10-03 20:35:28.327 |            logger.py:0276 |     INFO | <<< UI GOTO PAGE_MAIN >>>                                                                      
2024-10-03 20:35:28.331 |           game_ui.py:0221 |     INFO | Page arrive: page_main                                                                         
2024-10-03 20:36:28.409 |            device.py:0135 |  WARNING | Wait too long                                                                                  
2024-10-03 20:36:28.414 |            device.py:0136 |  WARNING | Waiting for set()                                                                              
2024-10-03 20:36:28.681 |            logger.py:0284 |     INFO | [Package_name] com.netease.onmyoji.wyzymnqsd_cps                                               
2024-10-03 20:36:28.684 |            logger.py:0318 |    ERROR | GameStuckError: Wait too long                                                                  
2024-10-03 20:36:28.688 |            script.py:0096 |  WARNING | Saving error: ./log/error/1727958988688

截图

悬赏封印

还有别的吗?

No response

runhey commented 1 month ago

这么高

runhey commented 1 month ago

https://github.com/runhey/OnmyojiAutoScript/commit/5b6e8baf70d55972d083dad219b6d0502db270b7