MiraiForum

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

    MrXiaoM 发布的帖子

    • RE: 请问这是为什么啊

      @dawarich 没有

      发布在 开发交流
      MrXiaoM
      MrXiaoM
    • RE: 请问这是为什么啊

      @dawarich 如果装了还是45就不行了

      发布在 开发交流
      MrXiaoM
      MrXiaoM
    • RE: SignManager —— 图形化签名服务管理器,更方便地配置签名服务

      @Continued 开发者没有意愿更新。

      发布在 项目发布
      MrXiaoM
      MrXiaoM
    • RE: SignManager —— 图形化签名服务管理器,更方便地配置签名服务

      @Continued 没有

      发布在 项目发布
      MrXiaoM
      MrXiaoM
    • RE: 请问这是为什么啊

      安装签名服务,还不行就没辙

      发布在 开发交流
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      %H}R_JPT0G{I1JZ~}7LIP6J.jpg
      司机:我安全带呢

      发布在 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: Cannot access net.mamoe.mirai.internal.spi.EncryptService.Factory

      升级 mirai,你的 mirai 版本过低

      发布在 开发交流
      MrXiaoM
      MrXiaoM
    • RE: core中如何启用mirai-login-solver-sakura

      @hu1240050829 org.jline.reader.LineReader 的实例怎么创建就看你自己了,我并不知道 jline 如何使用

      发布在 技术交流板块
      MrXiaoM
      MrXiaoM
    • RE: core中如何启用mirai-login-solver-sakura

      @hu1240050829 在Java可以直接访问Kotlin的内部类,kotlin的internal编译后中java访问就跟public一样。
      只防自己人

      发布在 技术交流板块
      MrXiaoM
      MrXiaoM
    • RE: core中如何启用mirai-login-solver-sakura

      @hu1240050829 那知道了,是内部类,需要手动import并在文件开头写@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")

      发布在 技术交流板块
      MrXiaoM
      MrXiaoM
    • RE: core中如何启用mirai-login-solver-sakura

      @hu1240050829 这个类就在插件里面啊

      发布在 技术交流板块
      MrXiaoM
      MrXiaoM
    • RE: core中如何启用mirai-login-solver-sakura

      @hu1240050829 哦,刚刚看了下,应该是 com.kasukusakura.mlss.DaemonNettyNioEventLoopGroup

      发布在 技术交流板块
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      Image_1697092759489.jpg

      发布在 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: core中如何启用mirai-login-solver-sakura

      @hu1240050829

      implementation("io.netty:netty-codec-http:4.1.85.Final")
      implementation("io.netty:netty-codec-socks:4.1.85.Final")
      implementation("io.netty:netty-transport:4.1.85.Final")
      
      发布在 技术交流板块
      MrXiaoM
      MrXiaoM
    • RE: core中如何启用mirai-login-solver-sakura

      将插件引入本地依赖,直接引用jar包就行,然后在登录之前

      // kotlin
      val server = SakuraTransmitDaemon(
          DaemonNettyNioEventLoopGroup(),
          NioServerSocketChannel::class.java,
          NioSocketChannel::class.java,
          SecureRandom().asKotlinRandom(),
          logger, // MiraiLogger
      )
      server.bootServer()
      bot.configuration.loginSolver = SakuraLoginSolver(server) // 窗口式解决器
      

      可能需要补一些依赖,比如miglayout-swing、gson、zxing、jline、netty,这个包没上仓库是比较麻烦点的

      发布在 技术交流板块
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      Image_1696917604967.jpg

      发布在 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: [求助]如何定时关闭Mirai Console

      论坛好像没有相关的插件,可以写插件,到时间自动执行 stop 命令

      CommandManager.INSTANCE.executeCommand(ConsoleCommandSender, PlainText("stop"))
      
      发布在 使用交流
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      Image_1696692486323.jpg

      发布在 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 如何更新fix-protocol中的协议版本

      https://github.com/MrXiaoM/qsign/tree/mirai/txlib
      选择版本下载其中的 android_phone.json 或 android_pad.json 放到mirai所在目录,用 protocol load 命令或者重启mirai来加载。

      要注意的是,版本越高检查越严。以及升级 mirai 这边的协议版本后,不要忘记升级签名服务的协议版本,还有改 KFCFactory.json

      发布在 使用交流
      MrXiaoM
      MrXiaoM
    • RE: qsign —— 签名 不要指望用来解决code=45

      @子君9297 正常的,不想它输出的话,仓库末尾有教程

      发布在 插件发布
      MrXiaoM
      MrXiaoM
    • 1
    • 2
    • 11
    • 12
    • 13
    • 14
    • 15
    • 43
    • 44
    • 13 / 44