Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

yobot独立模式改名后索引bug #9

Open
planetarianx opened this issue Oct 20, 2020 · 7 comments
Open

yobot独立模式改名后索引bug #9

planetarianx opened this issue Oct 20, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@planetarianx
Copy link

公会内成员改名后提示无此成员

重新绑定以后

发现cbi插件显示yobot索引比实际yobot少一条,比如出刀推送索引28条,yobot状态索引27条,但是实际yobot是28条

@zyujs
Copy link
Owner

zyujs commented Oct 20, 2020

非bug,yobot只匹配最新记录,yobot索引是内部记录推送进度的变量,和Yobot没关系

@planetarianx
Copy link
Author

明白了,我再看看,谢谢

@planetarianx
Copy link
Author

planetarianx commented Oct 20, 2020

改名后我发现群.json文件里,之前改名前和改名后的成员同时存在,我删除改名前成员后重启hoshino后依旧提示需要绑定改名前的成员,我猜测是否是引起索引减少1条的原因?

@zyujs
Copy link
Owner

zyujs commented Oct 20, 2020

没有关系,建议去对比总出刀表和yobot记录,成员改名后毕方出刀记录并不一定更新名字。建议看毕方网页boss出刀表

@planetarianx
Copy link
Author

看了下毕方,公会日表和公会总表是更新后的名字,boss报表是更新前名字一刀记录和更新后二刀记录同时存在。

就是说索引不一致不影响功能使用对吧,只需要yobot最新的记录的序号和伤害对应上就行。我再使用观察下,谢谢~

@planetarianx
Copy link
Author

可以在这里提无关主题的issue吗,就是bot偶尔会提YobotAPI访问异常,提出异常后会自动暂停,可能是因为网络延迟,试了ping一下200ms或者丢包,能否加入设定重试几次吗?

@zyujs zyujs added the enhancement New feature or request label Oct 21, 2020
@zyujs
Copy link
Owner

zyujs commented Oct 25, 2020

yobotAPI数据读取已经加入错误重试, 最多尝试读取5次

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants