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

[Bug/漏洞] 1.7.10版本无法使用 #170

Open
3 tasks done
CC-3301 opened this issue Dec 26, 2024 · 1 comment
Open
3 tasks done

[Bug/漏洞] 1.7.10版本无法使用 #170

CC-3301 opened this issue Dec 26, 2024 · 1 comment

Comments

@CC-3301
Copy link

CC-3301 commented Dec 26, 2024

Checks / 检查

  • I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
  • I confirm that I followed the Docs and read the Changelog, but this problem still exists./我确认我按照文档配置并阅读了Changelog,但这个问题仍然存在。
  • I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。

Java Version / Java版本

8

Minecraft Version / Minecraft版本

1.7.10

McBot Version / McBot版本

2.1.4

Description / 描述

开发者你好,我在github的1.7.10-forge分支中build了2.1.4版本的mcbot,使用mcbot命令报错,是否有空维护一下1.7.10版本?

To Reproduce / 重现

使用/mcbot命令

Log / 日志

[19:34:40] [Server thread/INFO]: An unknown error occurred while attempting to perform this command
[19:34:40] [Server thread/ERROR]: Couldn't process command: 'mcbot addGroup 群号脱敏'
java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because "id" is null
at Launch//cn.evolvefield.mods.botapi.common.cmds.AddGroupIDCommand.execute(AddGroupIDCommand.java:17) ~[AddGroupIDCommand.class:?]
at Launch//cn.evolvefield.mods.botapi.init.handler.CmdEventHandler.func_71515_b(CmdEventHandler.java:86) ~[CmdEventHandler.class:?]
at Launch//net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:94) [z.class:?]
at Launch//net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:370) [lt.class:?]
at Launch//net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:335) [lt.class:?]
at Launch//net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) [MinecraftServer.class:?]
at Launch//net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?]
at Launch//net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]

@CC-3301 CC-3301 changed the title [Bug/漏洞] 1.7.10版本提示botapi.commands.notFound [Bug/漏洞] 1.7.10版本无法使用 Dec 26, 2024
@CC-3301
Copy link
Author

CC-3301 commented Dec 28, 2024

虽然无法使用命令配置,但是直接编辑配置文件,再重启就可以正常连接到OneBot协议端
不过只能向QQ群组发送 玩家进入或退出服务器 的信息,QQ群组的信息无法发送到MC服务器,MC服务器的除进入退出外的信息也无法发送到QQ群组

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant