MiraiForum

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

    [Mirai-Native] 基于小黑盒公开接口的Steam游戏信息查询

    插件发布
    15
    42
    7637
    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.
    • Kallen
      Kallen 摸鱼 @kott last edited by

      @kott 其实换成32位的java就行

      1 Reply Last reply Reply Quote 1
      • Referenced by  EvolvedGhost EvolvedGhost 
      • 立于羽下
        立于羽下 last edited by

        输入“#steam查询 潜渊症”没反应
        输入“#steam查询 潜渊”报以下错误

        [Steam价格查询 异常抛出] Out of memory.   at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
           at System.Drawing.Image.FromFile(String filename)
           at me.cqp.luohuaming.SteamHeyboxQuery.PublicInfos.Model.GameInfo.Result.DrawSteamImg() in E:\酷Q机器人插件开发\Steam 价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.PublicInfos\Model\GameInfo.cs:line 457
           at me.cqp.luohuaming.SteamHeyboxQuery.Code.OrderFunctions.NameQuery.CallGameInfo(Int32 appId, SendText sendText) in E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.Code\OrderFunctions\NameQuery.cs:line 98
           at me.cqp.luohuaming.SteamHeyboxQuery.Code.OrderFunctions.NameQuery.Progress(CQGroupMessageEventArgs e) in E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.Code\OrderFunctions\NameQuery.cs:line 36
           at me.cqp.luohuaming.SteamHeyboxQuery.Code.Event_GroupMessage.GroupMessage(CQGroupMessageEventArgs e) in E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.Code\Event_GroupMessage.cs:line 23
        
        Mr.喜 1 Reply Last reply Reply Quote 0
        • Mr.喜
          Mr.喜 ⭐2021⭐ @立于羽下 last edited by

          @立于羽下 26da28a2-98bf-4dc1-8d03-599f72877c7f-image.png
          可能是网络错误

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

            最新版本的native有问题,下上一个版本就可以了

            1 Reply Last reply Reply Quote 0
            • Mr.喜
              Mr.喜 ⭐2021⭐ last edited by

              修复解析错误,请从Release下载最新版本

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

                #steam查询 我的世界
                会报错

                Mr.喜 1 Reply Last reply Reply Quote 0
                • Mr.喜
                  Mr.喜 ⭐2021⭐ @FtyLollipop last edited by

                  @FtyLollipop 如果可以的话,请搜索steam上的游戏

                  FtyLollipop 1 Reply Last reply Reply Quote 0
                  • FtyLollipop
                    FtyLollipop @Mr.喜 last edited by

                    @Mr-喜 那无法解析的时候是否可以自动跳到第二条,毕竟用列表查询我的世界关键词可不止这第一条

                    Mr.喜 1 Reply Last reply Reply Quote 0
                    • M
                      mfygod last edited by

                      查询就报错
                      E/MiraiNative: Exception in coroutine Plugin org.itxtech.mirainative of MiraiNative
                      java.util.NoSuchElementException: List is empty.
                      at kotlin.collections.CollectionsKt___CollectionsKt.first(_Collections.kt:214)
                      at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.MiraiNative$bot$2.invoke(MiraiNative.kt:73)
                      at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.MiraiNative$bot$2.invoke(MiraiNative.kt:73)
                      at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
                      at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.MiraiNative.getBot(MiraiNative.kt:73)
                      at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.bridge.MiraiBridge$sendGroupMessage$1$1.invokeSuspend(MiraiBridge.kt:143)
                      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: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)

                      Mr.喜 1 Reply Last reply Reply Quote 0
                      • Mr.喜
                        Mr.喜 ⭐2021⭐ @FtyLollipop last edited by

                        @FtyLollipop 如果有steam上的游戏发生解析错误的话 我会更正的;对于列表查询结果 请使用steamid进行特定查询

                        1 Reply Last reply Reply Quote 0
                        • Mr.喜
                          Mr.喜 ⭐2021⭐ @mfygod last edited by

                          @mfygod 看log问题并非发生在本插件,如果可以的话,请尝试更新Mirai-Native

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mfygod @Mr.喜 last edited by

                            @Mr-喜 很奇怪,单独用您的插件啥问题没有,一配置mirai-api-http的配置文件就会爆出这个错误。

                            Mr.喜 1 Reply Last reply Reply Quote 0
                            • Mr.喜
                              Mr.喜 ⭐2021⭐ @mfygod last edited by

                              @mfygod 如果你在用mirai-api-http的话,可以看看这个项目https://github.com/debumori-osc/Another-Mirai-Native

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                mfygod @Mr.喜 last edited by

                                @Mr-喜 非常感谢您。

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

                                  Snipaste_2023-04-16_16-04-10.png

                                  Mr.喜 1 Reply Last reply Reply Quote 0
                                  • Mr.喜
                                    Mr.喜 ⭐2021⭐ @FtyLollipop last edited by

                                    @FtyLollipop 已修复,请更新

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      kiri last edited by

                                      你好,我碰到像是图形绘制的问题,更新前好像正常的

                                      mirai2.14.0
                                      系统winserver 2012r2 x64
                                      jre 17
                                      已安装.net 4.7.2

                                      插件更新至“列表查询错误捕获”的1.0.7版本后出现此问题:

                                      2023-05-19 17:38:51 I/MiraiNative: [Steam价格查询 游戏查询] 缓存成功,三国杀 -> steamID: 1180320
                                      2023-05-19 17:38:52 I/MiraiNative: [Steam价格查询 异常抛出] GDI+ 中发生一般性错误。 在 System.Drawing.Graphics.CheckErrorStatus(Int32 status)
                                      在 System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
                                      在 System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, PointF point)
                                      在 me.cqp.luohuaming.SteamHeyboxQuery.PublicInfos.Model.GameInfo.Result.DrawSteamImg() 位置 E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.PublicInfos\Model\GameInfo.cs:行号 453
                                      在 me.cqp.luohuaming.SteamHeyboxQuery.Code.OrderFunctions.NameQuery.CallGameInfo(Int32 appId, SendText sendText) 位置 E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.Code\OrderFunctions\NameQuery.cs:行号 98
                                      在 me.cqp.luohuaming.SteamHeyboxQuery.Code.OrderFunctions.NameQuery.CallSearch(String targetName, SendText sendText) 位置 E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.Code\OrderFunctions\NameQuery.cs:行号 79
                                      在 me.cqp.luohuaming.SteamHeyboxQuery.Code.OrderFunctions.NameQuery.Progress(CQGroupMessageEventArgs e) 位置 E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.Code\OrderFunctions\NameQuery.cs:行号 40
                                      在 me.cqp.luohuaming.SteamHeyboxQuery.Code.Event_GroupMessage.GroupMessage(CQGroupMessageEventArgs e) 位置 E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.Code\Event_GroupMessage.cs:行号 23

                                      Mr.喜 1 Reply Last reply Reply Quote 0
                                      • Mr.喜
                                        Mr.喜 ⭐2021⭐ @kiri last edited by

                                        @kiri 好奇怪的位置,我这复现不了,服务器上有微软雅黑字体吗png

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kiri last edited by

                                          @Mr-喜 有的
                                          替代文字

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

                                            使用steamid查询正常
                                            使用游戏名查询时候无论如何都会报查不到游戏
                                            试了一下访问代码中的
                                            https://api.xiaoheihe.cn/bbs/app/api/general/search/v1?search_type=game&q=空洞骑士
                                            这个url,有返回内容,但是item列表为空
                                            已经持续了几天了,完全不清楚是什么原因
                                            很抱歉现在没有在用常用设备,没法发图(

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