cosmos01 / blue_archive_hoshinobot Goto Github PK
View Code? Open in Web Editor NEWBlue Archive 碧蓝档案(日服\国服\国际服通用)图形化活动日历、模拟抽卡、官推转发、攻略图获取插件, 适用于 HoshinoBot v2.
License: GNU General Public License v3.0
Blue Archive 碧蓝档案(日服\国服\国际服通用)图形化活动日历、模拟抽卡、官推转发、攻略图获取插件, 适用于 HoshinoBot v2.
License: GNU General Public License v3.0
大佬您好,我在使用过程中发现日服日历没有具体数据(只有最上面一行的标题:日服活动 日期 正在进行),请问是哪里出了问题呢?
然后日服的卡池更新速度似乎也很慢,一直没有更新到最新的卡池,现在还显示七月份的卡池
谢谢!
ba查询加入wiki的图片,就是那个技能加点之类的。
有偿请求
没法复制报错代码,2012服务器复制不了很急
已经使用过更新卡池指令
2022-09-28 16:54:01 INFO Self: 3573362118, Message 2111837974 from ******@[群:******]: 'ba来一井'
[2022-09-28 16:54:01,994 blue_gacha] INFO: Message 2111837974 triggered gacha_200.
2022-09-28 16:54:01 INFO Message 2111837974 triggered gacha_200.
[2022-09-28 16:54:02,303 hoshino] ERROR: 缺少图片资源:./res/img\bluearchive\unit\icon_unit_1000.png
2022-09-28 16:54:02 ERROR 缺少图片资源:./res/img\bluearchive\unit\icon_unit_1000.png
[2022-09-28 16:54:02,313 chara] ERROR: File not found: ./res/img\bluearchive\unit\icon_unit_1000.png
2022-09-28 16:54:02 ERROR File not found: ./res/img\bluearchive\unit\icon_unit_1000.png
[2022-09-28 16:54:02,329 blue_gacha] ERROR: <class 'NameError'> occured when gacha_200 handling message 2111837974.
2022-09-28 16:54:02 ERROR <class 'NameError'> occured when gacha_200 handling message 2111837974.
[2022-09-28 16:54:02,351 blue_gacha] ERROR: name 'unknown_chara_icon' is not defined
Traceback (most recent call last):
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\chara.py", line 154, in render_icon
pic = self.icon.open().convert('RGBA').resize((size, size), Image.LANCZOS)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\R.py", line 50, in open
return Image.open(self.path)
File "C:\Users\gao\AppData\Local\Programs\Python\Python39\lib\site-packages\PIL\Image.py", line 3068, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: './res/img\\bluearchive\\unit\\icon_unit_1000.png'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\msghandler.py", line 28, in handle_message
await service_func.func(bot, event)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\service.py", line 228, in wrapper
return await func(bot, event)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\__init__.py", line 167, in gacha_200
pics.append(chara.gen_team_pic(res[i:j], star_slot_verbose=False))
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\chara.py", line 112, in gen_team_pic
src = chara.render_icon(size, star_slot_verbose)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\chara.py", line 157, in render_icon
pic = unknown_chara_icon.convert('RGBA').resize((size, size), Image.LANCZOS)
NameError: name 'unknown_chara_icon' is not defined
2022-09-28 16:54:02 ERROR name 'unknown_chara_icon' is not defined
Traceback (most recent call last):
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\chara.py", line 154, in render_icon
pic = self.icon.open().convert('RGBA').resize((size, size), Image.LANCZOS)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\R.py", line 50, in open
return Image.open(self.path)
File "C:\Users\gao\AppData\Local\Programs\Python\Python39\lib\site-packages\PIL\Image.py", line 3068, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: './res/img\\bluearchive\\unit\\icon_unit_1000.png'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\msghandler.py", line 28, in handle_message
await service_func.func(bot, event)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\service.py", line 228, in wrapper
return await func(bot, event)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\__init__.py", line 167, in gacha_200
pics.append(chara.gen_team_pic(res[i:j], star_slot_verbose=False))
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\chara.py", line 112, in gen_team_pic
src = chara.render_icon(size, star_slot_verbose)
File "C:\Users\gao\Desktop\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\gacha\chara.py", line 157, in render_icon
pic = unknown_chara_icon.convert('RGBA').resize((size, size), Image.LANCZOS)
NameError: name 'unknown_chara_icon' is not defined
大佬您好,在使用“ba查询 xx”指令过程中发现部分学生的信息获取失败,具体学生和错误信息如下:
无法获取信息的学生:水日奈、水星野、春香、温泉切里诺、静子、小护士、水静子
Hoshinobot错误信息:
ERROR: <ActionFailed data=None, echo={'seq': 646}, msg='SEND_MSG_API_ERROR', retcode=100, status='failed', wording='请参考 go-cqhttp 端输出'>
Traceback (most recent call last):
File "C:\HOSHINO\HoshinoBot\hoshino\msghandler.py", line 21, in handle_message
await service_func.func(bot, event)
File "C:\HOSHINO\HoshinoBot\hoshino\modules\Blue_Archive_HoshinoBot\calendar.py", line 168, in send_student_info
await bot.send_group_forward_msg(group_id=ev.group_id,messages=msgs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\aiocqhttp_init_.py", line 238, in call_action
return await self._api.call_action(action=action, **params)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\aiocqhttp\api_impl.py", line 178, in call_action
result = await self._wsr_api.call_action(action, **params)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\aiocqhttp\api_impl.py", line 153, in call_action
return _handle_api_result(await
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\aiocqhttp\api_impl.py", line 38, in _handle_api_result
raise ActionFailed(result=result)
aiocqhttp.exceptions.ActionFailed: <ActionFailed data=None, echo={'seq': 646}, msg='SEND_MSG_API_ERROR', retcode=100, status='failed', wording='请参考 go-cqhttp 端输出'>
gocq端错误信息:
[WARNING]: 合并转发(群)消息发送失败: 账号可能被风控.
请问大佬当机器人是管理员时,使用ba来一井功能机器人会禁言使用了该功能的成员,时间似乎是在10-30分钟内随机,不知道是因为什么原因?
还有就是cardimage和普通image有什么区别吗,实际切换的时候好像看不出来图片有什么区别?
谢谢大佬!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.