McBot icon indicating copy to clipboard operation
McBot copied to clipboard

[Bug/漏洞] 带着服务器崩了

Open xiao-k233 opened this issue 1 year ago • 4 comments

Checks / 检查

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

Java Version / Java版本

graalvm-jdk-22.0.2+9.1

Minecraft Version / Minecraft版本

1.20.1

McBot Version / McBot版本

fabric-2.2.1.1

Description / 描述

[14:26:50 INFO] [Server thread]: [DedicatedServer] Done (15.599s)! For help, type "help"
[14:26:50 WARN] [Server thread]: [ModernFix] Dedicated server took 102.859 seconds to load
[14:26:50 INFO] [Server thread]: [Cupboard] Loaded config for: clickadv.json
[14:26:50 INFO] [Server thread]: [Cupboard] Loaded config for: smoothchunk.json
[14:26:50 INFO] [Server thread]: [Cupboard] Loaded config for: biomemusic.json
[14:26:50 INFO] [Server thread]: [FTB Quests] Loading quests from /opt/mcsmanager/daemon/data/InstanceData/633bdd33d26944a8a1aaf32e4b68a6e2/config/ftbquests/quests
[14:26:51 INFO] [Server thread]: [FTB Quests] Loaded 1 chapter groups, 28 chapters, 2270 quests, 3 reward tables
[14:26:51 INFO] [Server thread]: [WeaponRegistry] Encoded Weapon Attribute registry size (with package overhead): 419465 bytes (in 42 string chunks with the size of 10000)
[14:26:51 INFO] [Server thread]: [McBot] 加载 3 个自定义命令,耗时 14 毫秒
[14:26:51 INFO] [Server thread]: [moremobs] [More Mobs] Sending global config to server...
[14:26:51 INFO] [Server thread]: [spawnanimations] [Spawn Animations] Sending global config to server...
[14:26:51 INFO] [WebSocketConnectReadThread-181]: [OneBot Client] ▌ 已连接到服务器 ┈━═☆
[14:26:51 INFO] [Server thread]: [LoggedPrintStream] [STDOUT]: Encoded SpellRegistry size (with package overhead): 99800 bytes (in 10 string chunks with the size of 10000)
[14:26:51 ERROR] [Server thread]: [MinecraftServer] Encountered an unexpected exception
java.lang.NoClassDefFoundError: cn/evole/mods/mcbot/api/McBotEvents
        at top.infsky.timerecorder.TimeRecorder.onServerStarted(TimeRecorder.java:50) ~[timerecorder-1.1.3.jar:?]
        at net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.lambda$static$2(ServerLifecycleEvents.java:49) ~[fabric-lifecycle-events-v1-2.2.2+1802ada577-d012b44cfa5b8a32.jar:?]
        at net.minecraft.server.MinecraftServer.handler$dfn000$fabric-lifecycle-events-v1$afterSetupServer(MinecraftServer.java:9342) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:650) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:265) ~[server-intermediary.jar:?]
        at java.lang.Thread.run(Thread.java:1570) ~[?:?]
Caused by: java.lang.ClassNotFoundException: cn.evole.mods.mcbot.api.McBotEvents
        at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.15.7.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.15.7.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
        ... 6 more
[14:26:51 INFO] [Thread-5]: [LoggedPrintStream] [STDOUT]: [Config] ./config/timerecorder/config.toml Reload!
[14:26:51 WARN] [Server thread]: [HereBeNoDragonsMixin] Suppressing EXPERIMENTAL level lifecycle
[14:26:51 ERROR] [Server thread]: [MinecraftServer] This crash report has been saved to: /opt/mcsmanager/daemon/data/InstanceData/633bdd33d26944a8a1aaf32e4b68a6e2/./crash-reports/crash-2024-08-09_14.26.51-server.txt
[14:26:51 INFO] [Server thread]: [Async Locator] Async Locator -> Shutting down locating executor service
[14:26:51 INFO] [Server thread]: [LoggedPrintStream] [STDOUT]: Saving server results
[14:26:51 INFO] [Server thread]: [LoggedPrintStream] [STDOUT]: Saving config results
[14:26:51 INFO] [Server thread]: [McBot] ▌ 正在关闭群服互联

这么点log也没必要用上mclo.gs了

To Reproduce / 重现

Just开服

Log / 日志

crash-2024-08-09_14.26.51-server.txt

Config / 配置

默认配置,啥也没改,就是最基础的

xiao-k233 avatar Aug 09 '24 06:08 xiao-k233