Nova-Committee / McBot

A mod allowed you to connect minecraft and QQ
Other
137 stars 18 forks source link

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

Open xiao-k233 opened 3 months ago

xiao-k233 commented 3 months ago

Checks / 检查

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 commented 3 months ago

貌似是与TR相关,那边寄了屮

cnlimiter commented 3 months ago

请使用群内的2.2.2版本

xiao-k233 commented 3 months ago

请使用群内的2.2.2版本

大哥找一圈没找到群号啊

Konghe-cn commented 1 month ago

请问你进群了吗,我也遇到同样问题未能解决