MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接
    1. Home
    2. MrXiaoM
    3. Posts
    • Profile
    • Following 9
    • Followers 40
    • Topics 37
    • Posts 893
    • Best 216
    • Controversial 0
    • Groups 5

    Posts made by MrXiaoM

    • RE: SignManager —— 图形化签名服务管理器,更方便地配置签名服务

      @Continued 没有

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

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

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

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

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: Cannot access net.mamoe.mirai.internal.spi.EncryptService.Factory

      升级 mirai,你的 mirai 版本过低

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

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

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

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

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

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

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

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

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

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

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

      Image_1697092759489.jpg

      posted in 摸鱼区
      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")
      
      posted in 技术交流板块
      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,这个包没上仓库是比较麻烦点的

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

      Image_1696917604967.jpg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: [求助]如何定时关闭Mirai Console

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

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

      Image_1696692486323.jpg

      posted in 摸鱼区
      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

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

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

      posted in 插件发布
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      Image_1696225647540.jpg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: fix-protocol-version无法下载协议

      RomiChan 仓库里最高只有 8.9.63,更高的版本在 PR 里。
      你也可以在 MrXiaoM/qsign 里下载存好的。
      高版本稳定性堪忧,谨慎升级

      posted in 使用交流
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      8}8)EZ1V@79)NKK`D~MTTR.jpg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • 1
    • 2
    • 12
    • 13
    • 14
    • 15
    • 16
    • 44
    • 45
    • 14 / 45