MiraiForum

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

    Drift Bottle 漂流瓶插件

    插件发布
    40
    135
    24649
    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.
    • imi-123
      imi-123 @imi-123 last edited by

      @imi-123 输跳海之后显示62个物品,但是上一个扔的漂流瓶序号是63,对不上

      1 Reply Last reply Reply Quote 0
      • tsudzuki
        tsudzuki 摸鱼 @imi-123 last edited by

        @imi-123 因为漂流瓶使用list存储,所以会删除漂流瓶(或捡起尸体删除)会重新排序,而评论功能为了兼容旧漂流瓶也使用list存储,其实可以设计成删除后留下null,当时没想到()

        Samarium150 1 Reply Last reply Reply Quote 0
        • Samarium150
          Samarium150 童心未泯 @tsudzuki last edited by

          @tsudzuki 快修复.jpg

          tsudzuki 1 Reply Last reply Reply Quote 0
          • tsudzuki
            tsudzuki 摸鱼 @Samarium150 last edited by

            @Samarium150 ()我准备给Type加一个None(主要是yamlkt不支持null

            1 Reply Last reply Reply Quote 0
            • wzkwzk
              wzkwzk last edited by

              求助,删除漂流瓶的指令怎么用 后台输入/rm 1和/del 1都没用

              Samarium150 1 Reply Last reply Reply Quote 0
              • Samarium150
                Samarium150 童心未泯 @wzkwzk last edited by

                @wzkwzk
                /sea rm

                wzkwzk O 2 Replies Last reply Reply Quote 0
                • wzkwzk
                  wzkwzk @Samarium150 last edited by

                  @Samarium150 OK,谢谢大佬

                  1 Reply Last reply Reply Quote 0
                  • hejinding
                    hejinding last edited by

                    把腾讯官方的表情包和小程序(b站分享小程序等)会导致bug

                    tsudzuki 1 Reply Last reply Reply Quote 0
                    • tsudzuki
                      tsudzuki 摸鱼 @hejinding last edited by

                      @hejinding 或许本来就不行,可以去配置文件过滤

                      hejinding 1 Reply Last reply Reply Quote 0
                      • hejinding
                        hejinding @tsudzuki last edited by

                        @tsudzuki 怎么过滤,大佬教教

                        Samarium150 1 Reply Last reply Reply Quote 0
                        • Samarium150
                          Samarium150 童心未泯 @hejinding last edited by

                          @hejinding Advanced.yml里,把不想放进漂流瓶的消息类型都设置为false

                          1 Reply Last reply Reply Quote 0
                          • 白
                            白白很菜 last edited by

                            大大,找不到jar文件QAQ

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              firefairy @白白很菜 last edited by

                              @白白很菜 帖子顶端点downloads

                              白 1 Reply Last reply Reply Quote 0
                              • 白
                                白白很菜 @firefairy last edited by

                                @firefairy 大大,为什么弄好了他不回复指令呢?权限我也给了啊,

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  firefairy @白白很菜 last edited by

                                  @白白很菜 推荐你加群780594692具体问

                                  1 Reply Last reply Reply Quote 0
                                  • 白
                                    白白很菜 last edited by

                                    无法生成配置文件,作者大大什么情况啊,

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      damemod last edited by

                                      捡到了尸体,怪

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        sswwjj last edited by

                                        以转发形式显示的漂流瓶怎么才能不显示群号

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

                                          2022-09-26 11:48:49 W/Drift Bottle: Exception in executing command [mirai:source:[7283],[-238274065]]捡漂流瓶
                                          java.lang.reflect.InvocationTargetException
                                          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 kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
                                          at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Static.call(CallerImpl.kt:106)
                                          at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:173)
                                          at kotlin.reflect.full.KCallables.callSuspendBy(KCallables.kt:74)
                                          at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invokeSuspend(CommandReflector.kt:305)
                                          at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt)
                                          at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt)
                                          at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call$suspendImpl(CommandSignature.kt:88)
                                          at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call(CommandSignature.kt)
                                          at net.mamoe.mirai.console.internal.command.CommandManagerImplKt.executeCommandImpl(CommandManagerImpl.kt:167)
                                          at net.mamoe.mirai.console.command.CommandManager.executeCommand(CommandManager.kt:131)
                                          at net.mamoe.mirai.console.command.CommandManager$INSTANCE.executeCommand(CommandManager.kt)
                                          at net.mamoe.mirai.console.command.CommandManager.executeCommand$default(CommandManager.kt:126)
                                          at net.mamoe.mirai.console.plugins.chat.command.PluginMain.handleCommand(PluginMain.kt:86)
                                          at net.mamoe.mirai.console.plugins.chat.command.PluginMain$onEnable$2$1.invokeSuspend(PluginMain.kt:69)
                                          at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                          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)
                                          Caused by: java.lang.IllegalArgumentException: bound must be positive
                                          at java.base/java.util.Random.nextInt(Unknown Source)
                                          at io.github.samarium150.mirai.plugin.driftbottle.command.Pickup.handle$default(Pickup.kt:45)
                                          ... 25 more
                                          今天开始不知道为什么 一发捡漂流瓶就爆红了···

                                          Samarium150 1 Reply Last reply Reply Quote 0
                                          • Samarium150
                                            Samarium150 童心未泯 @menoka last edited by

                                            @menoka console版本?

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