至少应该在aarch64上跑,arm32太勉强了吧
rhwong 发布的帖子
-
RE: mcl更新后加载mirai-native出错
@cssxsh
出错插件club.myepk.customReply我发在这里了,有空大佬可以看一下。
需使用mirai-native加载
链接:https://pan.baidu.com/s/1_zetnrwsG2v5IY6mWBBapg?pwd=aoba
提取码:aoba -
RE: mcl更新后加载mirai-native出错
@cssxsh 尝试了一下,删除native下club.myepk.customReply插件之后就能正常登录了,又且只有这一个插件。
-
RE: mcl更新后加载mirai-native出错
mcl:mcl-2.1.2-all
mirai-native:2.0.1
14:26:14 [INFO] Verifying "net.mamoe:mirai-console" v2.13.2
14:26:14 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.13.2
14:26:15 [INFO] Verifying "net.mamoe:mirai-core-all" v2.13.2
14:26:15 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1
14:26:15 [INFO] Verifying "org.itxtech:mirai-native" v2.0.1 -
mcl更新后加载mirai-native出错
# # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x71ed5856, pid=4784, tid=3880 # # JRE version: OpenJDK Runtime Environment Temurin-17.0.5+8 (17.0.5+8) (build 17.0.5+8) # Java VM: OpenJDK Client VM Temurin-17.0.5+8 (17.0.5+8, mixed mode, emulated-client, serial gc, windows-x86) # Problematic frame: # V [jvm.dll+0x5856] # # Core dump will be written. Default location: C:\xq_user\南双\epk南双\hs_err_pid4784.mdmp # # If you would like to submit a bug report, please visit: # https://github.com/adoptium/adoptium-support/issues #
-
RE: MCL - 模块化、轻量级且支持完全自定义的 mirai 加载器
这是没有更换mcl前的报错
06:32:32 [INFO] iTXTech Mirai Console Loader version 1.2.3-93ac7d8
06:32:32 [INFO] https://github.com/iTXTech/mirai-console-loader
06:32:32 [INFO] This program is licensed under GNU AGPL v3
06:32:33 [INFO] Fetching Mirai Console Loader Announcement...
06:32:34 [INFO] Mirai Console Loader Announcement:
Mirai Console Loader 公告栏如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)
- 如 Unsupported image type for ExternalResource *
considering use gif/png/bmp/jpg format.
`- Tracker: https://github.com/mamoe/mirai/issues/new/choose常用资源整合
`- https://mirai.mamoe.net/topic/653如果无法获取Mirai-Repo信息, 例如启动时出现JSON解析错误
请升级到MCL 2.0 Beta并将 config.json 中的 Mirai-Repo 更改为 https://repo.itxtech.org06:32:34 [INFO] Verifying "org.bouncycastle:bcprov-jdk15on" v1.64
06:32:34 [INFO] Verifying "net.mamoe:mirai-console" v2.11.0-RC2
06:32:35 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.11.0-RC2
06:32:35 [INFO] Verifying "net.mamoe:mirai-core-all" v2.11.0-RC2
06:32:35 [INFO] Verifying "org.itxtech:mcl-addon" v1.2.2
06:32:35 [ERROR] java.lang.NoClassDefFoundError: kotlinx/coroutines/CoroutineScope
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.base/java.lang.Class.getMethodsRecursive(Unknown Source)
at java.base/java.lang.Class.getMethod0(Unknown Source)
at java.base/java.lang.Class.getMethod(Unknown Source)
at org.itxtech.mcl.Utility.lambda$bootJars$0(Utility.java:81)
at org.itxtech.mcl.Utility.bootJars(Utility.java:88)
at org.itxtech.mcl.Utility.bootJars(Utility.java:79)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:103)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155)
at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105)
at org.mozilla.javascript.Context.call(Context.java:554)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522)
at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105)
at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126)
at com.sun.proxy.$Proxy4.run(Unknown Source)
at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:106)
at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:178)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:147)
at org.itxtech.mcl.Loader.start(Loader.java:178)
at org.itxtech.mcl.Loader.main(Loader.java:70)
Caused by: java.lang.ClassNotFoundException: kotlinx.coroutines.CoroutineScope
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 52 more -
RE: MCL - 模块化、轻量级且支持完全自定义的 mirai 加载器
我携带-u命令循环自动重启
昨天重启后机器人无法正常使用,看提示要升级mcl2.0,升级后使用-u,mirai核心版本被从2.11.0-RC2降级更新到了2.10.3,并且无法启动,启动错误信息如下15:40:14 [INFO] iTXTech Mirai Console Loader version 2.0.1-b5303b5
15:40:14 [INFO] https://github.com/iTXTech/mirai-console-loader
15:40:14 [INFO] This program is licensed under GNU AGPL v3
15:40:16 [INFO] Mirai Console Loader Announcement:
Mirai Console Loader 公告栏如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)
- 如 Unsupported image type for ExternalResource *
considering use gif/png/bmp/jpg format.
`- Tracker: https://github.com/mamoe/mirai/issues/new/choose常用资源整合
`- https://mirai.mamoe.net/topic/653如果无法获取Mirai-Repo信息, 例如启动时出现JSON解析错误
请升级到MCL 2.0 Beta并将 config.json 中的 Mirai-Repo 更改为 https://repo.itxtech.org15:40:16 [INFO] Verifying "net.mamoe:mirai-console" v2.10.3
15:40:16 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.10.3
15:40:16 [INFO] Verifying "net.mamoe:mirai-core-all" v2.10.3
15:40:16 [INFO] Verifying "org.itxtech:mcl-addon" v2.0.2
2022-05-10 15:40:17 I/main: Starting mirai-console...
2022-05-10 15:40:17 I/main: Backend: version 2.10.3, built on 2022-05-08 17:33:45.
2022-05-10 15:40:17 I/main: Frontend Terminal: version 2.10.3, provided by Mamoe Technologies
2022-05-10 15:40:17 I/main: Welcome to visit https://mirai.mamoe.net/
2022-05-10 15:40:18 I/plugin: Successfully loaded plugin MCL Addon v1.2.2
2022-05-10 15:40:18 I/plugin: Cannot load plugin MCL Addon v1.2.2
2022-05-10 15:40:18 E/main: Failed to init MiraiConsole.
java.lang.IllegalStateException: Plugin 'MCL Addon' is already loaded and cannot be reloaded.
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:144)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:36)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt:47)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadPluginNoEnable(PluginManagerImpl.kt:90)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:146)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:151)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:401)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:156)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:155)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.itxtech.mcl.Utility.bootJars(Utility.java:89)
at org.itxtech.mcl.Utility.bootJars(Utility.java:79)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:101)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:109)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:148)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:189)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:146)
at org.itxtech.mcl.Loader.start(Loader.java:189)
at org.itxtech.mcl.Loader.main(Loader.java:79) -
RE: mirai-api-http 是否考虑增加isOnline判断?
确实,这样也可以用来给uptime里做是否存活的检测。我现在用get_status,但是即使bot已经寄了(各种原因)但是这个接口似乎还是在反回正常