MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接
    1. 主页
    2. 蔚蓝621
    3. 帖子
    蔚
    • 资料
    • 关注 2
    • 粉丝 0
    • 主题 1
    • 帖子 70
    • 最佳 4
    • 有争议的 0
    • 群组 0

    蔚蓝621 发布的帖子

    • RE: [壶言2]HuYanSession2——壶言会话2

      @Moyuyanli

      2022-10-17 11:09:06 E/main: java.lang.IllegalStateException: Received packet returnCode = -10118, which may mean session expired.
      java.lang.IllegalStateException: Received packet returnCode = -10118, which may mean session expired.
              at net.mamoe.mirai.internal.network.components.PacketCodecException.<init>(PacketCodec.kt:73)
              at net.mamoe.mirai.internal.network.components.PacketCodecImpl.parseSsoFrame(PacketCodec.kt:178)
              at net.mamoe.mirai.internal.network.components.PacketCodecImpl.decodeRaw(PacketCodec.kt:127)
              at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$ByteBufToIncomingPacketDecoder.channelRead0(NettyNetworkHandler.kt:95)
              at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$ByteBufToIncomingPacketDecoder.channelRead0(NettyNetworkHandler.kt:88)
              at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
              at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
              at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
              at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
              at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
              at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
              at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
              at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
              at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
              at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
              at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
              at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
              at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
              at java.base/java.lang.Thread.run(Unknown Source)
              Suppressed: net.mamoe.mirai.internal.network.components.PacketCodecException: java.lang.IllegalStateException: Received packet returnCode = -10118, which may mean session expired.
                      ... 26 more
                      Suppressed: StateSwitchingException(old=StateConnecting, new=StateClosed, cause=net.mamoe.mirai.internal.network.components.PacketCodecException: java.lang.IllegalStateException: Received packet returnCode = -10118, which may mean session expired.)
                              at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.setStateImpl$mirai_core(NetworkHandlerSupport.kt:302)
                              at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler.handleExceptionInDecoding(NettyNetworkHandler.kt:418)
                              at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$ByteBufToIncomingPacketDecoder.channelRead0(NettyNetworkHandler.kt:98)
                              ... 23 more
                      Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.internal.network.components.PacketCodecException: java.lang.IllegalStateException: Received packet returnCode = -10118, which may mean session expired.]
              Caused by: [CIRCULAR REFERENCE: java.lang.IllegalStateException: Received packet returnCode = -10118, which may mean session expired.]
              Suppressed: java.util.concurrent.CancellationException: Bot closed
                      at kotlinx.coroutines.ExceptionsKt.CancellationException(Exceptions.kt:22)
                      at net.mamoe.mirai.internal.AbstractBot.close(AbstractBot.kt:112)
                      at net.mamoe.mirai.internal.QQAndroidBot.close(QQAndroidBot.kt:84)
                      at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:136)
                      at net.mamoe.mirai.internal.AbstractBot$login$1.invokeSuspend(AbstractBot.kt)
                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                      at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
                      at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279)
                      at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
                      at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
                      at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
                      at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
                      at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
                      at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:245)
                      at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:464)                at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:168)
                      at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:167)
                      at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:52)
                      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)
              Caused by: [CIRCULAR REFERENCE: java.lang.IllegalStateException: Received packet returnCode = -10118, which may mean session expired.]
      
      发布在 插件发布
      蔚
      蔚蓝621
    • RE: [壶言2]HuYanSession2——壶言会话2

      @Moyuyanli
      这个是出错的代码,不知道啥情况,好像没影响

      2022-10-17 09:19:37 E/HuYanSession: 出错啦~
      net.mamoe.mirai.event.ExceptionInEventHandlerException: Exception in EventHandler
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:147)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:1)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$callMethod$2.invokeSuspend(JvmMethodListenersInternal.kt:154)
              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
              at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
              at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
              at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
              at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
      Caused by: java.lang.reflect.InvocationTargetException
              at jdk.internal.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.base/java.lang.reflect.Method.invoke(Unknown Source)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:140)
              ... 10 more
      Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
              at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184)
              at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154)
              at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:502)
              at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279)
              at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108)
              at java.base/java.lang.Thread.run(Unknown Source)
      
      2022-10-17 09:19:37 E/HuYanSession: 出错啦~
      net.mamoe.mirai.event.ExceptionInEventHandlerException: Exception in EventHandler
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:147)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:1)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$callMethod$2.invokeSuspend(JvmMethodListenersInternal.kt:154)
              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
              at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
              at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
              at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
              at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
      Caused by: java.lang.reflect.InvocationTargetException
              at jdk.internal.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.base/java.lang.reflect.Method.invoke(Unknown Source)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:140)
              ... 10 more
      Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
              at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184)
              at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154)
              at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:502)
              at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279)
              at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108)
              at java.base/java.lang.Thread.run(Unknown Source)
      
      2022-10-17 09:19:37 E/HuYanSession: 出错啦~
      net.mamoe.mirai.event.ExceptionInEventHandlerException: Exception in EventHandler
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:147)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:1)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$callMethod$2.invokeSuspend(JvmMethodListenersInternal.kt:154)
              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
              at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
              at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
              at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
              at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
      Caused by: java.lang.reflect.InvocationTargetException
              at jdk.internal.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.base/java.lang.reflect.Method.invoke(Unknown Source)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:140)
              ... 10 more
      Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
              at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184)
              at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154)
              at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:502)
              at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279)
              at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108)
              at java.base/java.lang.Thread.run(Unknown Source)
      
      2022-10-17 09:19:37 E/HuYanSession: 出错啦~
      net.mamoe.mirai.event.ExceptionInEventHandlerException: Exception in EventHandler
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:147)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:1)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$callMethod$2.invokeSuspend(JvmMethodListenersInternal.kt:154)
              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
              at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
              at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
              at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
              at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
      Caused by: java.lang.reflect.InvocationTargetException
              at jdk.internal.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.base/java.lang.reflect.Method.invoke(Unknown Source)
              at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:140)
              ... 10 more
      Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
              at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184)
              at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154)
              at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:502)
              at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279)
              at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108)
              at java.base/java.lang.Thread.run(Unknown Source)
      
      发布在 插件发布
      蔚
      蔚蓝621
    • RE: [壶言2]HuYanSession2——壶言会话2

      @Moyuyanli
      看了一下控制台是正常输出的,如果内容是又空格会不会有影响的,我把空行全删了还是不行。还是字段太长的问题,唯一变化就是权限?但权限是全局的..

      2022-10-17 09:24:16 V/Bot.189695274: [测试①群(q群)] 奏(q) -> 互动游戏
      2022-10-17 09:24:19 V/Bot.189695274: Group(q群) <- ——列表——\n1、摸摸头生成\n可以发送图片或者@某人或者QQ号确定 卡片图片\n如:#pet@群主,#pet123456\n2、狂亲生成\n可以发送图片或者@某人或者QQ号确定卡片图片\n如:#dear@群主,#dear123456\n3 、随机抽老婆\n随机抽取一位群友作老婆\n如:输出“抽老婆”“换老婆”\n4、随机表情包\n随机抽取一张表情包\n如:#群友表情
      
      2022-10-17 09:29:18 V/Bot.189695274: 奏(q)-> 互动游戏
      2022-10-17 09:29:18 V/Bot.189695274: Friend(q) <- ——列表——\n1、摸摸头生成\n可以发送图片或者@某人或者QQ号确定卡片图片\n如:#pet@群主,#pet123456\n2、狂亲生成\n可以发送图片或者@某人或者QQ号确定卡片图片\n如:#dear@群主,#dear123456\n3 、随机抽老婆\n随机抽取一位群友作老婆\n如:输出“抽老婆”“换老婆”\n4、随机表情包\n随机抽取一张表情包\n如:#群友表情
      
      发布在 插件发布
      蔚
      蔚蓝621
    • RE: [壶言2]HuYanSession2——壶言会话2

      部分词语在学习配置好,给了精准+全局,结果群聊是无反应的,只有私聊才正常回复,但是可以正常删除,并且进行查询可以看到是没错的,可惜机器人挂公司了,没看到代码

      发布在 插件发布
      蔚
      蔚蓝621
    • RE: Meme Helper 表情包生成器,游戏王,幻影坦克,支持Termux

      @cssxsh

      /perm add 群号 xyz.cssxsh.mirai.plugin.meme-helper:* 
      

      并没有生效,但是全给就可以,不是很懂,给自己Q号也可以。

      /perm add Q号 xyz.cssxsh.mirai.plugin.meme-helper:* 
      
      发布在 插件发布
      蔚
      蔚蓝621
    • RE: Meme Helper 表情包生成器,游戏王,幻影坦克,支持Termux

      这个无法授权给群吗,我只能授权单独个IP

      发布在 插件发布
      蔚
      蔚蓝621
    • RE: Weibo Helper 一个简单的将微博转发到QQ的插件

      这个挺好用的,就是显示的有点小问题,公开操作,又转发一遍,重复了,点赞回复这些其实都没必要,在实际中常挂的话,转的快,其实也没多说数据,如果微博发了纯文字内容,希望有个过滤选项,谢谢大佬了。

      2022-10-12 14:42:19 V/Bot.189695274: Group(689562101) <- [mirai:quote:[mirai:source:ids=[910], internalIds=[1013714866], from group 189695274 to 689562101 at 1665556198], content=@里神楽#1842706721\n时间: 2022-10-12T14:28:02+08:00\n链接: https://weibo.com/1842706721/M9XXddAXs\n💬: 13 🔁: 3 👍🏻: 40\n奇思妙想 ​​​\n[mirai:image:{89A63B8F-8686-4FE8-5604-727F9FDD2B27}.jpg, width=1080, height=1024, size=103587, type=JPG, isEmoji=false]]公开\n@里神楽#1842706721\n时间: 2022-10-12T14:28:02+08:00\n链接: https://weibo.com/1842706721/M9XXddAXs\n💬: 41 🔁: 16 👍🏻: 532\n奇思妙想 ​​​\n[mirai:image:{89A63B8F-8686-4FE8-5604-727F9FDD2B27}.jpg, width=1080, height=1024, size=103587, type=JPG, isEmoji=false]
      
      发布在 插件发布
      蔚
      蔚蓝621
    • 1
    • 2
    • 3
    • 4
    • 4 / 4