MiraiForum

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

    zhenjing666 发布的帖子

    • RE: Minecraft检测插件

      很抱歉,本次发送的字数超过上限,已取消发送!
      字数:15772
      什么鬼 输入mcping出现的

      发布在 插件发布
      Z
      zhenjing666
    • RE: Overflow —— 将 mirai 实现换成 Onebot,机器人的又一个解决方案

      @MrXiaoM 莫名其妙发了个issue(
      刚刚测试了下可以用了 麻烦你了!

      发布在 项目发布
      Z
      zhenjing666
    • RE: Overflow —— 将 mirai 实现换成 Onebot,机器人的又一个解决方案

      @MrXiaoM 我刚刚测试了下 出现这个报错

      2024-03-10 12:45:56 V/Bot.3073680600: XXXXX(XXXXX) -> mcping mc.hypixel.net
      2024-03-10 12:45:56 W/Bot.3073680600: An exception occurred when processing event. Subscriber scope: '<unnamed>'. Broadcaster scope: 'Bot.3073680600.EventDispatcher'. Onebot implementation: 'Shamrock v1.0.9.r360.92ebe0c'
      java.lang.NullPointerException: Cannot invoke "net.mamoe.mirai.Bot.getFriends()" because the return value of "com.ycitus.mcping.MinecraftPing.getCurrentBot()" is null
              at MinecraftPing-1.4.mirai.jar//com.ycitus.mcping.framework.MessageManager.sendMessageBySituation(MessageManager.java:68)
              at MinecraftPing-1.4.mirai.jar//com.ycitus.mcping.command.RobotCommand.runCheckUp(RobotCommand.java:71)
              at MinecraftPing-1.4.mirai.jar//com.ycitus.mcping.command.RobotCommandManager.receiveMessage(RobotCommandManager.java:69)
              at MinecraftPing-1.4.mirai.jar//com.ycitus.mcping.MinecraftPing.lambda$onEnable$1(MinecraftPing.java:83)
              at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:605)
              at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:605)
              at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51)
              at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)
              at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43)
              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:750)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
      
      发布在 项目发布
      Z
      zhenjing666
    • RE: Overflow —— 将 mirai 实现换成 Onebot,机器人的又一个解决方案

      @MrXiaoM 同名?但是我还是只找到了https://mirai.mamoe.net/post/2559

      发布在 项目发布
      Z
      zhenjing666
    • RE: Overflow —— 将 mirai 实现换成 Onebot,机器人的又一个解决方案

      @MrXiaoM MCPING确实太老了,作者Github项目是只读状态。不过我貌似找不到可以顶替的插件了,只想着说降低版本来适应它

      发布在 项目发布
      Z
      zhenjing666
    • RE: Overflow —— 将 mirai 实现换成 Onebot,机器人的又一个解决方案

      @MrXiaoM MCPING V2.1 报错内容好像说读不了一个文档类来着

      发布在 项目发布
      Z
      zhenjing666
    • RE: Overflow —— 将 mirai 实现换成 Onebot,机器人的又一个解决方案

      话说可以用于 mirai 的2.14.0的版本吗?
      我部分插件不支持 2.16.0 版本的

      发布在 项目发布
      Z
      zhenjing666
    • 1 / 1