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

支援区存在 鲸井小弟 情况下骰子数量增加导致识别出错的问题 #1

Closed
Womsxd opened this issue Jul 30, 2023 · 6 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@Womsxd
Copy link

Womsxd commented Jul 30, 2023

拿脚本挂机打周常牌的时候遇到人机使用 鲸井小弟 这张牌,该牌的作用是开局生成一点万能元素后进入对手道具牌区,然后给对手生成完成后返回自己牌区进行循环,从而导致脚本一直识别出9个骰子
14:33:02.7012|INFO|当前骰子数量9与期望的骰子数量8不相等,重试
14:33:03.3892|INFO|当前骰子状态:风 4| 岩 2| 雷 0| 草 0| 水 0| 火 2| 冰 0| 全 1

@huiyadanli huiyadanli added enhancement New feature or request bug Something isn't working labels Jul 30, 2023
@huiyadanli
Copy link
Member

还真是没想到的情况,看样子要加一个场景牌的识别 😂

@huiyadanli huiyadanli changed the title System.Exception: 骰子数量与预期不符,重试次数过多,可能出现了未知错误! 支援区存在 鲸井小弟 情况下骰子数量增加导致识别出错的问题 Jul 30, 2023
@Womsxd
Copy link
Author

Womsxd commented Aug 3, 2023

看输出是有元素类型的识别,可以考虑增加一个万能元素数量判断?至少>=1才可能有小弟

@huiyadanli
Copy link
Member

看输出是有元素类型的识别,可以考虑增加一个万能元素数量判断?至少>=1才可能有小弟

可以,这样更加准确

@huiyadanli
Copy link
Member

1.3 版本临时解决了这个问题

@huiyadanli huiyadanli reopened this Aug 5, 2023
@huiyadanli
Copy link
Member

刚好遇到了一把,测试还是有些问题,暂不关闭

@huiyadanli
Copy link
Member

修复了bug并新增了一个bug,测试通过。

但仍有小概率出现首次识别错误,识别8个(实际9个)然后正常执行,第二次识别正确后无法正常把逻辑走下去。

主要还是万能骰子识别率比较低造成的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants