我家网开mirai检查更新的时候基本上连不上,就得等他超时:( 有啥办法么
fffzzl 发布的帖子
-
RE: LuckPerms - Mirai - 高级权限服务插件
很好用,就是我家网开网页经常
[LP] 无法与网页编辑器通信. 检查控制台是否有错误.
:(
经测试
可以使用ipv6 ping通 延迟稳定200ms
但默认好像使用ipv4 基本上都是丢包 导致时常无法开启网页编辑 -
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
跟字体有关的都会报类似 无法包装 nullptr,摸一摸可以用
\data\org.laolittle.plugin.SkikoMirai\Fonts字体全部放入
lib\放入gifski.dll
libgifski.so
skiko-windows-x64.dll.sha256
skiko-windows-x64.dll2022-06-11 11:59:21 E/DrawMeme: Exception in coroutine Plugin org.laolittle.plugin.draw.DrawMeme of DrawMeme java.lang.RuntimeException: Can't wrap nullptr at org.jetbrains.skia.impl.Native.<init>(Native.jvm.kt:40) at org.jetbrains.skia.impl.Managed.<init>(Managed.jvm.kt:11) at org.jetbrains.skia.impl.Managed.<init>(Managed.jvm.kt:9) at org.jetbrains.skia.shaper.Shaper.<init>(Shaper.kt:13) at org.jetbrains.skia.shaper.Shaper$Companion.makeShapeDontWrapOrReorder(Shaper.kt:53) at org.jetbrains.skia.shaper.Shaper$Companion.makeShapeDontWrapOrReorder(Shaper.kt:47) at org.jetbrains.skia.TextLine$Companion.make(TextLine.kt:13) at org.jetbrains.skia.TextLine$Companion.make(TextLine.kt:9) at DrawMeme-1.2.2.mirai.jar//org.laolittle.plugin.draw.meme.Zero.zero(0.kt:16) at DrawMeme-1.2.2.mirai.jar//org.laolittle.plugin.draw.DrawMeme$onEnable$2$4.invokeSuspend(DrawMeme.kt:117) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) 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:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
-
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
@tsudzuki :)
2022-05-20 22:52:49 E/DrawMeme: Exception in coroutine Plugin org.laolittle.plugin.draw.DrawMeme of DrawMeme java.lang.RuntimeException: Can't wrap nullptr at SkikoMirai-1.0.8.legacy.mirai.jar//org.jetbrains.skia.impl.Native.<init>(Native.jvm.kt:40) at SkikoMirai-1.0.8.legacy.mirai.jar//org.jetbrains.skia.impl.Managed.<init>(Managed.jvm.kt:11) at SkikoMirai-1.0.8.legacy.mirai.jar//org.jetbrains.skia.impl.Managed.<init>(Managed.jvm.kt:9) at SkikoMirai-1.0.8.legacy.mirai.jar//org.jetbrains.skia.shaper.Shaper.<init>(Shaper.kt:13) at SkikoMirai-1.0.8.legacy.mirai.jar//org.jetbrains.skia.shaper.Shaper$Companion.makeShapeDontWrapOrReorder(Shaper.kt:53) at SkikoMirai-1.0.8.legacy.mirai.jar//org.jetbrains.skia.shaper.Shaper$Companion.makeShapeDontWrapOrReorder(Shaper.kt:47) at SkikoMirai-1.0.8.legacy.mirai.jar//org.jetbrains.skia.TextLine$Companion.make(TextLine.kt:13) at SkikoMirai-1.0.8.legacy.mirai.jar//org.jetbrains.skia.TextLine$Companion.make(TextLine.kt:9) at DrawMeme-1.0.8.mirai.jar//org.laolittle.plugin.draw.meme.PornHubKt.pornHub(PornHub.kt:15) at DrawMeme-1.0.8.mirai.jar//org.laolittle.plugin.draw.DrawMeme$onEnable$2$1.invokeSuspend(DrawMeme.kt:58) at DrawMeme-1.0.8.mirai.jar//org.laolittle.plugin.draw.DrawMeme$onEnable$2$1.invoke(DrawMeme.kt) at DrawMeme-1.0.8.mirai.jar//org.laolittle.plugin.draw.DrawMeme$onEnable$2$1.invoke(DrawMeme.kt) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$startsWithImpl$2.invokeSuspend(messageSubscribersInternal.kt:58) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$startsWithImpl$2.invoke(messageSubscribersInternal.kt) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$startsWithImpl$2.invoke(messageSubscribersInternal.kt) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invokeSuspend(messageSubscribersInternal.kt:27) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt) at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invokeSuspend(subscribeMessages.kt:253) at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt) at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:455) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt) at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50) at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt) at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50) at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166) at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115) at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:147) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) 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:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
-
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
@tsudzuki 谢谢 更新的时候没有发现需要添加dll库,releases里翻了一圈发出来了(也许修改一下skiko的releases加个提醒?
-
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
@tsudzuki 一山未平一山起
设置config.json把mirai版本升级到2.11.0-M1 后报错如下,我试了把data config plugin 都删除无法解决2022-05-19 18:47:37 E/SkikoMirai: java.lang.UnsatisfiedLinkError: Can't load library: C:\BOT\mcl-1.2.2\data\org.laolittle.plugin.SkikoMirai\lib\skiko-windows-x64.dll java.lang.UnsatisfiedLinkError: Can't load library: C:\BOT\mcl-1.2.2\data\org.laolittle.plugin.SkikoMirai\lib\skiko-windows-x64.dll at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source) at java.base/java.lang.Runtime.load0(Unknown Source) at java.base/java.lang.System.load(Unknown Source) at org.jetbrains.skiko.Library.loadLibraryOrCopy(Library.kt:20) at org.jetbrains.skiko.Library.findAndLoad(Library.kt:85) at org.jetbrains.skiko.Library.load(Library.kt:59) at org.jetbrains.skia.impl.Library$Companion.staticLoad(Library.jvm.kt:12) at SkikoMirai-1.0.8.mirai.jar//org.laolittle.plugin.SkikoMirai.loadSkikoLibrary(SkikoMirai.kt:94) at SkikoMirai-1.0.8.mirai.jar//org.laolittle.plugin.SkikoMirai.onEnable(SkikoMirai.kt:87) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:117) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:258) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:181) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:224) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:444) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:159) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:158) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:46) 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) 2022-05-19 18:47:37 I/DrawMeme: Plugin loaded 2022-05-19 18:47:37 E/DrawMeme: java.lang.UnsatisfiedLinkError: 'long org.jetbrains.skia.FontMgrKt._nDefault()' java.lang.UnsatisfiedLinkError: 'long org.jetbrains.skia.FontMgrKt._nDefault()' at org.jetbrains.skia.FontMgrKt._nDefault(Native Method) at org.jetbrains.skia.FontMgrKt.access$_nDefault(FontMgr.kt:1) at org.jetbrains.skia.FontMgr.<clinit>(FontMgr.kt:19) at SkikoMirai-1.0.8.mirai.jar//org.laolittle.plugin.FontsKt.getFontMgr(Fonts.kt:8) at SkikoMirai-1.0.8.mirai.jar//org.laolittle.plugin.FontsKt.access$getFontMgr(Fonts.kt:1) at SkikoMirai-1.0.8.mirai.jar//org.laolittle.plugin.Fonts.get(Fonts.kt:23) at SkikoMirai-1.0.8.mirai.jar//org.laolittle.plugin.Fonts.get$default(Fonts.kt:11) at DrawMeme-1.0.7.mirai.jar//org.laolittle.plugin.draw.DrawMeme.onEnable(DrawMeme.kt:43) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:117) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:258) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:181) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:224) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:444) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:159) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:158) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:46) 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: DrawMeme - 基于Skiko的奇怪的图片生成器
你好,我原本使用DrawMeme-1.0.3 SkikoMirai-1.0.2 可以正常运行,但把两个插件替换为最新版本,就会在启动时报错,我看论坛中有相同错误
2022-05-19 12:12:17 E/main: Failed to init MiraiConsole.
net.mamoe.mirai.console.plugin.loader.PluginLoadException: Plugin 'org.laolittle.plugin.draw.DrawMeme' ('org.laolittle.plugin.draw.DrawMeme') requires 'org.laolittle.plugin.SkikoMirai' with version >=1.0.3 while the resolved is 1.0.8
at net.mamoe.mirai.console.internal.plugin.PluginManagerImplKt.checkSatisfies(PluginManagerImpl.kt:261)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$canBeLoad(PluginManagerImpl.kt:204)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$consumeLoadable(PluginManagerImpl.kt:210)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$doSort(PluginManagerImpl.kt:222)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$doSort(PluginManagerImpl.kt:230)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies(PluginManagerImpl.kt:233)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.listAndSortAllPlugins(PluginManagerImpl.kt:192)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.findAndSortAllPluginsUsingBuiltInLoaders(PluginManagerImpl.kt:135)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:145)
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: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) -
RE: McMotd - 以图片的形式获取Minecraft服务器信息(支持彩色文字、HTTP API)
@梦泽 查询失败,以下地址均未能成功获取:
mc.hypixel.net:25565 => JSONException:syntax error, pos 17, line 1, column 18 §aHypixel Network §c[1.8-1.18]
§e✰ §6§lSKYBLOCK - BEDWARS - AND MORE! §e✰
hypixel.net:25565 => ConnectException:Connection timed out: connect
好像跟网络有些关系,但是在JSONException:syntax error, pos 17, line 1, column 18 中 也返回了部分信息,mcp国内的都没问题,我应该怎么处理