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

bal2d名称匹配问题 #57

Open
Rod-fish opened this issue May 13, 2024 · 8 comments
Open

bal2d名称匹配问题 #57

Rod-fish opened this issue May 13, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@Rod-fish
Copy link

我这里使用ba羁绊直接查询学生名称或者昵称基本都没有问题,但是查询学生的部分着装比方说泳装使用之前0.8几的版本时当时可以用的,现在更新0.11.2之后会显示无法找到学生
水若藻,水忍忍,温泉斯大萝什么的这种之前都是可以用的,我看了下代码大概是这块好像会有一个文件?
schaledb.py

async def schale_get_stu_data(loc: str = "cn") -> List[Dict[str, Any]]:
    return await schale_get(f"data/{loc}/students.min.json")

大概是这里有个json文件来获取学生名称?
我翻遍了我的目录没有找到这个json,我想看下这种特殊着装学生名称到底是怎么样的我该怎么搜索
实在找不到只能球大佬帮助

@XieXiLin2
Copy link
Contributor

XieXiLin2 commented May 13, 2024

https://github.com/SchaleDB/SchaleDB/blob/main/data/cn/students.min.json

如果是想看别名的话 https://github.com/lgc-NB2Dev/bawiki-data/blob/main/data/stu_alias.json
要是不行的话还请说声,可能是没做别名转换……

@XieXiLin2 XieXiLin2 added the question Further information is requested label May 13, 2024
@Rod-fish
Copy link
Author

Rod-fish commented May 13, 2024

https://github.com/SchaleDB/SchaleDB/blob/main/data/cn/students.min.json

如果是想看别名的话 https://github.com/lgc-NB2Dev/bawiki-data/blob/main/data/stu_alias.json 要是不行的话还请说声,可能是没做别名转换……

很奇怪的是我看了下https://bawiki.lgc2333.top/data/stu_alias.json 这个接口的数据我服务器是拿的到的
但是我指定角色l2d就是搜不到,必须是完全名字,带衣服特装的就搜不到,用这个接口的数据也不行确实很奇怪
插件重装了两次也还是有这个问题
97680019881221726d084c2e90d99ed3
.env也没有配置代理和db服务器链接
找不到该怎么解决了,我curl直接访问接口是可以查到数据的网络应该是没问题的,很奇怪就是不能用别名查询

@XieXiLin2
Copy link
Contributor

等白天处理,……不在电脑面前不好排查

@Rod-fish
Copy link
Author

等白天处理,……不在电脑面前不好排查

好的那麻烦你咯,我看了下重装了两次确实都还有问题,.env配置没动过的

@FalfaChino FalfaChino added the wontfix This will not be worked on label May 13, 2024 — with Kawaii Rio
Copy link
Contributor

等重构,预计高考后

@XieXiLin2 XieXiLin2 removed the question Further information is requested label May 13, 2024
@XieXiLin2 XieXiLin2 added the bug Something isn't working label May 13, 2024 — with Kawaii Rio
@Rod-fish
Copy link
Author

等重构,预计高考后

好,那祝你高考顺利

@lgc2333
Copy link
Member

lgc2333 commented May 14, 2024

顺什么利,过去走个形式而已,现在只是不想动,虽然说我的时间很充裕
https://blog.lgc2333.top/about

@lgc2333
Copy link
Member

lgc2333 commented May 14, 2024

另外提一下这个问题有可能是因为schaledb和gamekee使用的译名不一致导致的,需要在数据源 https://github.com/lgc-NB2Dev/bawiki-data/blob/main/data/schale_to_gamekee.json 中添加映射

@XieXiLin2 XieXiLin2 removed the wontfix This will not be worked on label Jul 17, 2024
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

4 participants