Giter Club home page Giter Club logo

Comments (8)

Cosmos01 avatar Cosmos01 commented on September 17, 2024

安装方法第四步:将bluearchive文件夹移动到\HoshinoBot\res\img目录下

from blue_archive_hoshinobot.

Cathgao avatar Cathgao commented on September 17, 2024

图片资源放到指定目录后报错变了

[2022-09-28 16:57:43,558 blue_gacha] ERROR: name 'gadget_star' is not defined
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 167, in render_icon
    s = gadget_star if self.star > i else gadget_star_dis
NameError: name 'gadget_star' is not defined
2022-09-28 16:57:43 ERROR name 'gadget_star' is not defined
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 167, in render_icon
    s = gadget_star if self.star > i else gadget_star_dis
NameError: name 'gadget_star' is not defined

from blue_archive_hoshinobot.

Cosmos01 avatar Cosmos01 commented on September 17, 2024

整个bluearchive文件夹放进去,你这是缺失bluearchive/gadget里的资源了

from blue_archive_hoshinobot.

Cathgao avatar Cathgao commented on September 17, 2024

重启之后生效了。但是结果里面有个没头像的,这个算正常吗?
E3)`XBKRV1VG@}EE26$PDX

from blue_archive_hoshinobot.

Cosmos01 avatar Cosmos01 commented on September 17, 2024

不正常,你试试重新使用更新卡池命令。
如果还有问题就检查头像文件夹内的图片是否有显示异常的,如果有就删除重新获取。更简单的方法就是把资源文件夹里头像全部删除重新获取

from blue_archive_hoshinobot.

Cathgao avatar Cathgao commented on September 17, 2024

不正常,你试试重新使用更新卡池命令。 如果还有问题就检查头像文件夹内的图片是否有显示异常的,如果有就删除重新获取。更简单的方法就是把资源文件夹里头像全部删除重新获取

重下之后目前unit里除去无头像的一张图,一共是111个,请问全吗

from blue_archive_hoshinobot.

Cosmos01 avatar Cosmos01 commented on September 17, 2024

from blue_archive_hoshinobot.

Cathgao avatar Cathgao commented on September 17, 2024

好的,谢谢解疑

from blue_archive_hoshinobot.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.