YiriMirai+revChatGPT(已失效)
-
kotlinx.serialization.json.internal.JsonDecodingException: Expected class kotlinx.serialization.json.JsonArray as the serialized body of kotlin.collections.ArrayList, but had class kotlinx.serialization.json.JsonNull
at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24)
at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure(TreeJsonDecoder.kt:330)
at kotlinx.serialization.json.internal.JsonTreeDecoder.beginStructure(TreeJsonDecoder.kt:259)
at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:29)
at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:61)
at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:52)
at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:207)
at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:280)
at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:297)
at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:280)
at bilibili-helper-1.7.3.mirai2.jar//xyz.cssxsh.bilibili.data.BiliDynamicList$$serializer.deserialize(Dynamic.kt:53)
at bilibili-helper-1.7.3.mirai2.jar//xyz.cssxsh.bilibili.data.BiliDynamicList$$serializer.deserialize(Dynamic.kt:53)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:61)
at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:52)
at kotlinx.serialization.json.internal.TreeJsonDecoderKt.readJson(TreeJsonDecoder.kt:25)
at kotlinx.serialization.json.Json.decodeFromJsonElement(Json.kt:117)
at bilibili-helper-1.7.3.mirai2.jar//xyz.cssxsh.bilibili.api.DynamicKt$getSpaceHistory$$inlined$json$1$1.invokeSuspend(Api.kt:139)
at bilibili-helper-1.7.3.mirai2.jar//xyz.cssxsh.bilibili.api.DynamicKt$getSpaceHistory$$inlined$json$1$1.invoke(Api.kt)
at bilibili-helper-1.7.3.mirai2.jar//xyz.cssxsh.bilibili.api.DynamicKt$getSpaceHistory$$inlined$json$1$1.invoke(Api.kt)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.client.statement.HttpStatement.execute(HttpStatement.kt:50)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.client.statement.HttpStatement$execute$1.invokeSuspend(HttpStatement.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at bilibili-helper-1.7.3.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)报错挺多,唔唔
-
@refFOXjwlz 在 YiriMirai+revChatGPT(已失效) 中说:
bilibili-helper-1.7.3.mirai2.jar
过时的插件,不影响,你不想看到的话,删除miraiBot/plugins/bilibili-helper-1.7.3.mirai2.jar并重启
-
我已经搭好了mirai了2.1.2 mcl2.16
-
@refFOXjwlz 剩下就是Manyana,release有一个HowToUse.mp4,挺早录得,可以参考。
你也可以右键以管理员身份运行Launcher_v1.1.3,在工具页点击【搭建】,跟随指引即可。 -
会不会覆盖我已经搭好的mirai呀
-
@refFOXjwlz Manyana是单独的
-
我想接入现在的mirai,唔
-
@refFOXjwlz 确保安装mirai-api-http 并正确配置就行,只不过不能用launcher启动Mirai和自动重启了
-
@refFOXjwlz 在确保已安装mirai-api-http 并正确配置后,可以把你的mirai文件夹改名为miraiBot,替换(把我的miraiBot删除)我的那个miraiBot就行,通过launcher启动能够在掉线时自动重启。
-
这,里面换了我还能用吗大概
-
@refFOXjwlz 可以,就按照我说的,把我的miraiBot删除,把你的mirai文件夹改名miraiBot替换它的位置,然后安装mirai-api-http 并正确配置,即可
-
ok
-
代理端口127.0.0.1:7890可以吗还是?
-
@refFOXjwlz 你没有代理的话就按1跳过用镜像源,镜像源也是完全同步更新的,而且应该也更快
-
ok
-
那个改名过去mcl启动不了了,呜呜
-
@refFOXjwlz 用Launcher的启动mirai,前提是你按照教程把environments里面的东西都装了
-
2024-03-29 21:18:21 E/main: Failed to init MiraiConsole.
java.lang.IllegalStateException: Plugin 'net.mamoe.mirai.console.chat-command' is already loaded and cannot be reloaded.
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:328)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:40)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt:54)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadPluginNoEnable(PluginManagerImpl.kt:100)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:164)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:303)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:512)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:182)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:181)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:59)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.itxtech.mcl.Utility.bootJars(Utility.java:86)
at org.itxtech.mcl.Utility.bootJars(Utility.java:76)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:98)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:151)
at org.itxtech.mcl.Loader.start(Loader.java:196)
at org.itxtech.mcl.Loader.main(Loader.java:84)<Popen: returncode: 0 args: ['j', 'a', 'v', 'a', ' ', '-', 'j', 'a', 'r', ' ...>
process PID not found (pid=1807888)
killself -
此回复已被删除! -
@refFOXjwlz Plugin 'net.mamoe.mirai.console.chat-command' is already loaded and cannot be reloaded.,你plugins里面有重复的插件,有多个chat-command插件,需要删除,只留一个,检查一下,如果有同一插件的不同版本都会导致启动失败,所以我建议尽量还是用我整合包里面的miraiBot.