MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    Overflow —— 将 mirai 实现换成 Onebot,机器人的又一个解决方案

    项目发布
    kotlin jvm onebot
    24
    63
    13866
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sansin last edited by

      教程太棒了

      1 Reply Last reply Reply Quote 0
      • B
        bowen99 last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Z
          zhenjing666 last edited by

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

          MrXiaoM 1 Reply Last reply Reply Quote 0
          • MrXiaoM
            MrXiaoM 童心未泯 @zhenjing666 last edited by

            @zhenjing666 什么奇闻插件不支持 2.16

            Z 1 Reply Last reply Reply Quote 0
            • Z
              zhenjing666 @MrXiaoM last edited by

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

              MrXiaoM 2 Replies Last reply Reply Quote 0
              • MrXiaoM
                MrXiaoM 童心未泯 @zhenjing666 last edited by

                @zhenjing666 发日志

                1 Reply Last reply Reply Quote 0
                • MrXiaoM
                  MrXiaoM 童心未泯 @zhenjing666 last edited by

                  @zhenjing666 不用发日志了,我的建议是换插件。这个插件太老了。

                  Z 1 Reply Last reply Reply Quote 0
                  • Z
                    zhenjing666 @MrXiaoM last edited by

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

                    MrXiaoM 1 Reply Last reply Reply Quote 0
                    • MrXiaoM
                      MrXiaoM 童心未泯 @zhenjing666 last edited by

                      @zhenjing666 我记得论坛有同名的插件,是参考这个插件写的

                      Z 1 Reply Last reply Reply Quote 0
                      • Z
                        zhenjing666 @MrXiaoM last edited by

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

                        MrXiaoM 1 Reply Last reply Reply Quote 0
                        • MrXiaoM
                          MrXiaoM 童心未泯 @zhenjing666 last edited by

                          @zhenjing666 记错了,应该是这个
                          https://mirai.mamoe.net/topic/715
                          同时,在论坛搜“服务器”(高级搜索选择插件发布板块)可以找到其它替代品

                          Z 1 Reply Last reply Reply Quote 0
                          • Z
                            zhenjing666 @MrXiaoM last edited by

                            @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)
                            
                            MrXiaoM 1 Reply Last reply Reply Quote 0
                            • MrXiaoM
                              MrXiaoM 童心未泯 @zhenjing666 last edited by

                              @zhenjing666 加载顺序问题,现已在最新版本的 Overflow 修复

                              Z 1 Reply Last reply Reply Quote 0
                              • Z
                                zhenjing666 @MrXiaoM last edited by

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

                                1 Reply Last reply Reply Quote 0
                                • A
                                  AKAPotato last edited by

                                  如果是用腾讯云这类不支持虚拟化服务器以及没有备用手机进行内网穿透的话,还有什么解决的方法嘛?

                                  1 Reply Last reply Reply Quote 0
                                  • 2003crimson
                                    2003crimson last edited by

                                    通过shamrock+安卓机(未root直接修复Lpostd)成功啦!!! 真的太感激了,大佬在可行解决方案上的尝试和热情让人倾佩!以及shamrock的开发者太强了

                                    image.png
                                    目前我采用的实现方案,时不时还是存在机器的问题,后台已经设置了shamrock和qq的不限制后台电量,shamrock也开了强制重启qq进程, 感觉还是会进程假死,请教一下这方面有什么排查思路么

                                    2003crimson 1 Reply Last reply Reply Quote 0
                                    • 2003crimson
                                      2003crimson @2003crimson last edited by

                                      @2003crimson 在 Overflow —— 将 mirai 实现换成 Onebot,机器人的又一个解决方案 中说:

                                      通过shamrock+安卓机(未root直接修复Lpostd)成功啦!!! 真的太感激了,大佬在可行解决方案上的尝试和热情让人倾佩!以及shamrock的开发者太强了

                                      image.png
                                      目前我采用的实现方案,时不时还是存在机器的问题,后台已经设置了shamrock和qq的不限制后台电量,shamrock也开了强制重启qq进程, 感觉还是会进程假死,请教一下这方面有什么排查思路么

                                      现象是,偶尔会有响应不及时的情况,要等1分钟的样子,更有时候是几小时。 这种情况我去打开安卓机,打开qq(会有启动qq动画),就会立刻把所有囤积的回复都发出来

                                      1 Reply Last reply Reply Quote 0
                                      • Moyuyanli
                                        Moyuyanli 摸鱼 last edited by

                                        超级猫猫!

                                        1 Reply Last reply Reply Quote 0
                                        • MrXiaoM
                                          MrXiaoM 童心未泯 last edited by

                                          uwu

                                          1 Reply Last reply Reply Quote 0
                                          • Referenced by  MrXiaoM MrXiaoM 
                                          • M
                                            menoka last edited by

                                            请问目前能一个overflow同时连接多个bot嘛

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact