MiraiForum

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

    ApexLookUp - Apex英雄查询插件

    插件发布
    kotlin jvm apex
    59
    502
    133525
    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.
    • Shennoter
      Shennoter 摸鱼 last edited by Shennoter

      v1.5.1已更新
      数据格式改变,为防止旧数据不兼容,需要手动在Users.json的各个ID外用英文方括号[]括起来(第一个0也要),直接把这文件删了重新绑定也行

      示例
      旧的:{"data":{"0":"0","114514":"elpsykongroo"}}
      新的:{"data":{"0":["0"],"114514":["elpsykongroo"]}}

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

        1.5.1用/apexbd绑定之后,输入/apex报错apex有问题.png

        SVIPNB Shennoter 2 Replies Last reply Reply Quote 0
        • SVIPNB
          SVIPNB @SVIPNB last edited by SVIPNB

          @SVIPNB 好像看不清,我复制粘贴下来
          2022-06-07 23:29:41 E/main: Exception in coroutine <unnamed>

                      java.lang.NullPointerException: Cannot invoke "Global.getRank()" because the return value of "ApexResponsePlayer.getGlobal()" is null
                      
                              at ranklookup-1.5.1.mirai.jar//PlayerStatKt.playerPicturMode(PlayerStat.kt:44)
                      
                              at ranklookup-1.5.1.mirai.jar//PlayerStatKt.playerStat(PlayerStat.kt:34)
                      
                              at ranklookup-1.5.1.mirai.jar//utils.PlayerRegisterKt$playerRegister$1.invokeSuspend(PlayerRegister.kt:33)
                      
                              at ranklookup-1.5.1.mirai.jar//utils.PlayerRegisterKt$playerRegister$1.invoke(PlayerRegister.kt)
                      
                              at ranklookup-1.5.1.mirai.jar//utils.PlayerRegisterKt$playerRegister$1.invoke(PlayerRegister.kt)
                      
                              at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:455)
                      
                              at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
                      
                              at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
                      
                              at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
                      
                              at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
                      
                              at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
                      
                              at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
                      
                              at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
                      
                              at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
                      
                              at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
                      
                              at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
                      
                              at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115)
                      
                              at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
                      
                              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                      
                              at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:147)
                      
                              at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
                      
                              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                      
                              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)
          
          1 Reply Last reply Reply Quote 0
          • Shennoter
            Shennoter 摸鱼 @SVIPNB last edited by

            @SVIPNB 这个问题稳定出现吗

            SVIPNB 1 Reply Last reply Reply Quote 0
            • SVIPNB
              SVIPNB @Shennoter last edited by

              @Shennoter 出现挺多的

              Shennoter 1 Reply Last reply Reply Quote 0
              • Shennoter
                Shennoter 摸鱼 @SVIPNB last edited by

                @SVIPNB 只有这个人有这个问题还是很多人都有,这个人id是什么

                SVIPNB 1 Reply Last reply Reply Quote 0
                • SVIPNB
                  SVIPNB @Shennoter last edited by

                  @Shennoter 目前有好些人发送/apex无效了,当然不排除他们乱绑定的号。ID的话,要翻log日志了,晚上碰到的话我再看看ID

                  Shennoter 1 Reply Last reply Reply Quote 0
                  • Shennoter
                    Shennoter 摸鱼 @SVIPNB last edited by Shennoter

                    @SVIPNB 这个是读取他们数据出错了,就像从api获得json之后读不到对应的数据,先拿到id再判断到底出了什么问题
                    p.s.我还没出过这问题

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

                      他提醒API key无权限或不存在是怎么回事呢,我也补充key了啊

                      Shennoter 1 Reply Last reply Reply Quote 0
                      • Shennoter
                        Shennoter 摸鱼 @LightToDawn last edited by

                        @LightToDawn 在浏览器输入https://api.mozambiquehe.re/maprotation?version=2&auth={apikey}验证你的apikey是否有效(去掉大括号),如果有返回数据就说明有效,报错说明API key无权限或不存在

                        LightToDawn 2 Replies Last reply Reply Quote 0
                        • LightToDawn
                          LightToDawn @Shennoter last edited by

                          @Shennoter 已解决,感谢

                          1 Reply Last reply Reply Quote 0
                          • LightToDawn
                            LightToDawn @Shennoter last edited by

                            @Shennoter 但是现在用/apexid 会报错是什么问题呢?
                            9f92781f-52b2-40a8-b316-cfba726f1ed7-image.png

                            Shennoter 1 Reply Last reply Reply Quote 0
                            • Shennoter
                              Shennoter 摸鱼 @LightToDawn last edited by

                              @LightToDawn id是什么

                              LightToDawn 1 Reply Last reply Reply Quote 0
                              • LightToDawn
                                LightToDawn @Shennoter last edited by

                                @Shennoter 是中文,是这个的问题吗?

                                Shennoter 1 Reply Last reply Reply Quote 0
                                • Shennoter
                                  Shennoter 摸鱼 @LightToDawn last edited by

                                  @LightToDawn id指的是橘子id,而橘子id不可能是中文,id指的不是玩家在游戏里的名字

                                  LightToDawn 1 Reply Last reply Reply Quote 0
                                  • LightToDawn
                                    LightToDawn @Shennoter last edited by

                                    @Shennoter 好的喵

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

                                      请问绑定多个api,是这样的格式吗?多个api.png

                                      Shennoter 1 Reply Last reply Reply Quote 0
                                      • Shennoter
                                        Shennoter 摸鱼 @SVIPNB last edited by

                                        @SVIPNB 是

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

                                          今天看到一个很奇怪的事情,/apexid图片上居然显示中文了Screenshot_2022-06-09-10-35-42-549-edit_com.tencent.mobileqq.jpg

                                          Shennoter 1 Reply Last reply Reply Quote 0
                                          • Shennoter
                                            Shennoter 摸鱼 @SVIPNB last edited by

                                            @SVIPNB 对,api最近更新的

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 25
                                            • 26
                                            • 16 / 26
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact