MiraiForum

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

    Posts made by 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
    • RE: 【每日沙雕图】沙雕小别墅

      )~)3RORN2PF9$HYLV7V2KE_tmb.jpg
      うさ 的罗马音是 u sa(

      Screenshot_2023-09-29-22-29-13-821_tv.danmaku.bil.jpg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 怎样部署、使用任意版本的mirai

      @comtru 不必束手束脚,这种形式的软件是要多试试积攒使用经验的,没有人会把所有情况告诉你

      posted in 技术交流板块
      MrXiaoM
      MrXiaoM
    • RE: 怎样部署、使用任意版本的mirai

      @comtru 废话,你都没启动过,肯定没配置文件。你甚至不愿意先启动一遍看看

      posted in 技术交流板块
      MrXiaoM
      MrXiaoM
    • RE: 风控237是什么情况

      @会跑的仓鼠 别的不说,你 mirai 版本要用就全部用同一个版本,不要一个 2.15.0 一个 2.16.0-RC,到时候出问题了来提问准被骂。

      237 网络不稳定一般是设备可信度低,建议

      • 使用 mirai-login-solver-sakura 过滑块验证,必须用真实安卓手机。
      • 删除文件 bots/号码/device.json 以及文件夹 bots/号码/cache
      posted in 使用交流
      MrXiaoM
      MrXiaoM
    • RE: 怎样部署、使用任意版本的mirai

      稳定版本/预发行版本

      MCL (mirai-console-loader) 只是 mirai 的启动器,它只负责包管理,也就是安装、更新各个包。

      你要换版本,只需要改配置文件 (config.json) 里的版本号再启动即可,它会自动给你下载版本。
      改配置文件是最简单的方法,比较标准方法的是用命令行更新。对于还不太熟悉环境的新手,我不太建议用命令行来更改版本。
      版本号后面带 M、RC 字样的是测试版、预发行版本,可能不稳定但有更多功能,不带任何后缀的是正式版/稳定版。

      更换版本操作教程(gif):https://mirai.mamoe.net/topic/2061

      开发版本

      开发版本比测试版和预发行版本更不稳定,但是新功能更多,如果想体验已合并到仓库的新功能,可以用我的 Lapis 打包开发版整合包。
      Lapis:https://mirai.mamoe.net/topic/2333
      不推荐将开发版本用于生产环境。

      关于Release版本号/下载问题

      如果我想用最新的mirai,或者某个指定版本的mirai,不应该是从https://github.com/mamoe/mirai/releases下载,安装部署再使用吗?

      mirai 的发布有几十兆那么大,目前是分发到 maven central 的,丢到 Github 太大了。

      推荐下我写的入门教程

      https://wiki.mrxiaom.top/mirai

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

      原封不动

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      1695562002478.jpeg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 希望能够改进mirai console新版本中的用户须知的确认方式

      @起舞弄清影 不现实,大部分不看用户手册的人都是直接从 mirai-console-loader 仓库下载release或者是用整合包的。有些优秀用户,就算把用户手册放到整合包同目录他们也不会看。

      posted in 开发交流
      MrXiaoM
      MrXiaoM
    • 1
    • 2
    • 11
    • 12
    • 13
    • 14
    • 15
    • 43
    • 44
    • 13 / 44