MiraiForum

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

    haohengok 发布的帖子

    • RE: ApexLookUp - Apex英雄查询插件

      用了好几天大佬的新功能,点赞!
      现在有些问题反馈一下
      1.关注多个用户后,机器人会在同一时间同时查询多个账户,导致此时发出的新的查询指令会显示api过热(建议:可否在查询间隔中分时段查询)
      2.机器人remove关注之后还会播报,必须手动重启。(这个如果改不了其实也没影响)
      3.查询失败时只有有些情况有失败原因(建议:可否加入网络超时等失败报错)
      4.分数更新发送方式有点繁琐(修改建议:可否针对此功能单独选择文本、图片、表格多种形式,多个关注账户是否合并发送)
      5.总是有人会问机器人使用方法,所以可能需要一个/apexhelp指令来让机器人自己回复?
      6.机器人的权限修改方式有点繁琐,希望可以放在config里,可以修改指令的使用模式(管理员使用等,群使用等)(无关紧要)
      总之感谢大佬的机器人!

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      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$Instance.call(CallerImpl.kt:113)
      at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
      at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:159)
      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.ClassCastException: class net.mamoe.mirai.console.internal.data.CompositeListValueImpl$special$$inlined$observable$1 cannot be cast to class
      java.util.ArrayList (net.mamoe.mirai.console.internal.data.CompositeListValueImpl$special$$inlined$observable$1 is in unnamed module of loader 'app'; java.util.
      ArrayList is in module java.base of loader 'bootstrap')
      at pers.shennoter.Config.getExtendApiKey(Config.kt:11)
      at PlayerStatKt.playerStat(PlayerStat.kt:19)
      at Player.apexPlayerInfo(Commands.kt:21)
      ... 26 more

      查询特定id错误 这个没用新英雄

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      @Shennoter 在 ApexLookUp - Apex英雄查询插件 中说:

      @haohengok 可以先在data/pers.shennoter.RankLookUp/data.json里查看。下次加上这功能吧。关于移除了还会播报的问题,你是刚启动mcl就移除的吗
      p.s.多次移除和添加之间都不能太快,否则线程来不及重启就会有这种问题,出现这种问题之后重启mcl就能解决了
      我这个逻辑确实写得有点问题,以后有机会重写了

      不是 是昨天添加 今天移除
      没用

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      还有就是希望出一个指令用来查询本群关注列表

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      /apexremove id 之后 还会播报

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      ok 还有就是那个管理员 就是设定固定几个qq号是管理员 只有这几个人才能操作特定功能

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      我这边api记录是显示给了正确信息的

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      还有就是有个id查询报错 SuperDarkSide123
      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$Instance.call(CallerImpl.kt:113)
      at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
      at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:159)
      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: javax.imageio.IIOException: Can't get input stream from URL!
      at java.desktop/javax.imageio.ImageIO.read(Unknown Source)
      at pers.shennoter.ApexImageKt.ImageCache(ApexImage.kt:28)
      at PlayerStatKt.playerPicturMode(PlayerStat.kt:47)
      at PlayerStatKt.playerStat(PlayerStat.kt:35)
      at Player.apexPlayerInfo(Commands.kt:21)
      ... 26 more
      Caused by: java.io.FileNotFoundException: https://api.mozambiquehe.re/assets/banners/newcastle.jpg
      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
      at java.base/java.net.URL.openStream(Unknown Source)
      ... 31 more

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      @haohengok 有人就特别喜欢调戏机器人

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      大佬 提个建议 这个订阅功能能不能指定管理员才能用啊

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      哦哦哦nice 这就冲啦

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      ok 解决了 麻烦大佬 能不能提个需求 让机器人自动查某些id的战绩 有分数变化就发出来 这个可以实现吗

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      @Shennoter 今天好了 感谢 就是那个字体问题我没办法解决 我用的群晖里面的docker跑得 能修改字体吗

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      好的 麻烦大佬了

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      还是不行 我晕了

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      第一个是学校 填的是 for my classmate

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      15104ecac1a2c46e3d19032d2a31597e
      image.png
      这个是非商业 填的for our friend

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      我注册了很多个
      都是不存在

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      我不知道为啥啊

      发布在 插件发布
      H
      haohengok
    • RE: ApexLookUp - Apex英雄查询插件

      我申请了好几个都是这样的啊

      发布在 插件发布
      H
      haohengok
    • 1
    • 2
    • 3
    • 2 / 3