MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接
    1. 主页
    2. Shuangcheng-Ni
    S
    • 资料
    • 关注 0
    • 粉丝 0
    • 主题 1
    • 帖子 6
    • 最佳 0
    • 有争议的 0
    • 群组 0

    Shuangcheng-Ni

    @Shuangcheng-Ni

    0
    声望
    1
    资料浏览
    6
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    Shuangcheng-Ni 取消关注 关注

    Shuangcheng-Ni 发布的最新帖子

    • MemberHonorChangeEvent会导致NoSuchMethodError

      版本:

      "net.mamoe:mirai-console" v2.13.2
      "net.mamoe:mirai-console-terminal" v2.13.2
      "net.mamoe:mirai-core-all" v2.13.2
      "org.itxtech:mcl-addon" v2.1.1
      "net.mamoe:mirai-api-http" v2.6.2
      

      协议:IPAD
      报错日志:

      2022-12-29 12:28:56 V/Bot.**********: Event: MemberHonorChangeEvent.Achieve(member=NormalMember(**********), honorType=GroupHonorType(id=2))
      2022-12-29 12:28:56 W/stderr: Exception in thread "DefaultDispatcher-worker-2" java.lang.NoSuchMethodError: 'net.mamoe.mirai.data.GroupHonorType net.mamoe.mirai.event.events.MemberHonorChangeEvent$Achieve.getHonorType()'
      2022-12-29 12:28:56 W/stderr: 	at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.EventKt.convertBotEvent(event.kt:119)
      2022-12-29 12:28:56 W/stderr: 	at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.ConvertorKt.toDTO(convertor.kt:44)
      2022-12-29 12:28:56 W/stderr: 	at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.offerChannel(WebsocketAdapter.kt:60)
      2022-12-29 12:28:56 W/stderr: 	at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.onReceiveBotEvent(WebsocketAdapter.kt:54)
      2022-12-29 12:28:56 W/stderr: 	at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.context.MahContext$handleBotEvent$1$1.invokeSuspend(MahContext.kt:116)
      2022-12-29 12:28:56 W/stderr: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
      2022-12-29 12:28:56 W/stderr: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
      2022-12-29 12:28:56 W/stderr: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
      2022-12-29 12:28:56 W/stderr: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
      2022-12-29 12:28:56 W/stderr: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
      2022-12-29 12:28:56 W/stderr: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
      2022-12-29 12:28:56 W/stderr: 	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@5e671ec0, Dispatchers.Default]
      2022-12-29 12:28:56 W/stderr: Exception in thread "DefaultDispatcher-worker-4" java.lang.NoSuchMethodError: 'net.mamoe.mirai.data.GroupHonorType net.mamoe.mirai.event.events.MemberHonorChangeEvent$Achieve.getHonorType()'
      2022-12-29 12:28:56 W/stderr: 	at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.EventKt.convertBotEvent(event.kt:119)
      2022-12-29 12:28:56 W/stderr: 	at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.ConvertorKt.toDTO(convertor.kt:44)
      2022-12-29 12:28:56 W/stderr: 	at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.offerChannel(WebsocketAdapter.kt:60)
      2022-12-29 12:28:56 W/stderr: 	at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.onReceiveBotEvent(WebsocketAdapter.kt:54)
      2022-12-29 12:28:56 W/stderr: 	at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.context.MahContext$handleBotEvent$1$1.invokeSuspend(MahContext.kt:116)
      2022-12-29 12:28:56 W/stderr: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
      2022-12-29 12:28:56 W/stderr: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
      2022-12-29 12:28:56 W/stderr: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
      2022-12-29 12:28:56 W/stderr: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
      2022-12-29 12:28:56 W/stderr: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
      2022-12-29 12:28:56 W/stderr: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
      2022-12-29 12:28:56 W/stderr: 	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@1085c1eb, Dispatchers.Default]
      
      发布在 使用交流
      S
      Shuangcheng-Ni
    • RE: Arknights Helper / 明日方舟 助手,更新订阅的微博号配置项

      @cssxsh 我把mah升级到2.x后问题已解决。下次会注意提问方式的!

      发布在 插件发布
      S
      Shuangcheng-Ni
    • RE: Meme Helper 表情包生成器,游戏王,幻影坦克,支持Termux

      @cssxsh 问题解决了,非常感谢!

      发布在 插件发布
      S
      Shuangcheng-Ni
    • RE: Meme Helper 表情包生成器,游戏王,幻影坦克,支持Termux

      @cssxsh 我是控制台看到bot有回应,但无法发送消息。这是风控吗?风控有什么解决方法吗?
      控制台输出如下(qq号啥的删了):
      2022-08-10 17:06:23 V/Bot.: [bot()] 我() -> 还活着
      2022-08-10 17:06:23 V/Bot.: Event: GroupMessagePreSendEvent(target=Group(), message=死了)
      2022-08-10 17:06:23 V/Bot.: Group() <- 死了
      2022-08-10 17:06:23 V/Bot.: Event: GroupMessagePostSendEvent(target=Group(), message=死了, exception=java.lang.IllegalStateException: Send message failed: MessageSvcPbSendMsg.Response.Failed(resultType=46, errorCode=0, errorMessage=), receipt=null)

      发布在 插件发布
      S
      Shuangcheng-Ni