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

[150 Bug]: 使用rdn接原因句子该指令后,返回结果中间项缺失 #1056

Open
4 tasks done
bigmiin opened this issue Oct 6, 2024 · 1 comment
Open
4 tasks done
Assignees
Labels
bug Something isn't working

Comments

@bigmiin
Copy link

bigmiin commented Oct 6, 2024

在提问之前...

  • 我理解 Issue 是用于反馈和解决问题的,而非吐槽评论区,将尽可能提供更多信息帮助问题解决
  • 我填写了简短且清晰明确的标题,以便开发者在翻阅 issue 列表时能快速确定大致问题。而不是“一个建议”、“卡住了”等
  • 我已查看master branch或最新测试版的更新内容,并未提及该 bug 已被修复的情况
  • 已有issue中并没有看见其他人与我反馈相同的问题

问题描述

rd数字 测试
如图,在使用rdn+原因该指令时,中间数字多出一空格,而使用rd+原因该指令时中间数字后跟着骰面数字,怀疑rdn+原因该指令中间结果应该也有一个骰面表现
该豹版本为150自编译,但理论未动算法这一部分
以下为github最新版150dev,同样存在这个问题(纯新无污染刚解压的新dev豹)
rd150

如何复现

前提:150dev版豹
1.发送.rdn+原因
n为任意数字,但不为空
2.骰子返回带有空格中间值的结果

你期望发生的

使用rdn+原因该指令后返回结果为dn=x[Dn]=x
其中n为骰面,x为0-n范围内随机整数

实际上发生的

使用rdn+原因该指令后返回结果dn=x =x
x后多出莫名空格
其中n为骰面,x为0-n范围内随机整数

日志文件

rd日志

截图

No response

海豹核心版本

150dev

操作系统

win10

帐号类型

QQ KOOK DODO TG DISCORD

使用协议

No response

附加内容

No response

@bigmiin bigmiin added the bug Something isn't working label Oct 6, 2024
@fy0
Copy link
Member

fy0 commented Oct 9, 2024

收到力,下次改动的时候顺便TrimSpace一下

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

2 participants