MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接
    1. Home
    2. Rean
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    Rean

    @Rean

    0
    Reputation
    5
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Rean Unfollow Follow

    Latest posts made by Rean

    • RE: 请问怎么 覆盖重写 serializeToMiraiCode ,我想实现自己 消息码

      @Him188 OK

      posted in 开发交流
      R
      Rean
    • RE: 请问怎么 覆盖重写 serializeToMiraiCode ,我想实现自己 消息码

      @Him188 那样不行, 以后要是 源代码升级,我岂不每次都要弄,这不行

      posted in 开发交流
      R
      Rean
    • RE: 请问怎么 覆盖重写 serializeToMiraiCode ,我想实现自己 消息码

      @MrXiaoM 功能在 kotlin 里面实现了,但是我将 event 反射到其他语言 调用 event.message.serializeToMyCode() 会不存在, 相当于 serializeToMyCode 没有被继承到 message 里面, 则调用不到

      posted in 开发交流
      R
      Rean
    • RE: 请问怎么 覆盖重写 serializeToMiraiCode ,我想实现自己 消息码

      功能完全实现了,但是有没有办法添加到 massage 继承里面??

      posted in 开发交流
      R
      Rean
    • RE: 请问怎么 覆盖重写 serializeToMiraiCode ,我想实现自己 消息码

      确实可以调用,实现就是需要自己去处理,完全可以,谢谢

      posted in 开发交流
      R
      Rean
    • RE: 请问怎么 覆盖重写 serializeToMiraiCode ,我想实现自己 消息码

      那就蛋疼了,这样岂不搞死人

      posted in 开发交流
      R
      Rean
    • RE: 请问怎么 覆盖重写 serializeToMiraiCode ,我想实现自己 消息码

      @MrXiaoM 可不可以添加自己 序列化 方法到 event.message 里面, 事件发生调用 event.message.serializeToMyCode() 也可以

      posted in 开发交流
      R
      Rean
    • RE: 用 fix-protocol-version, unidbg-fetch-qsign 后出现Uin is not registered.

      QQ机器人 重新登录就可以了。出现这个问题我也经常遇到,还有一个 bug 不知道是登录多了还是运行久了签名服务器会死机,这些bug我都懒的去提交

      posted in 开发交流
      R
      Rean
    • 请问怎么 覆盖重写 serializeToMiraiCode ,我想实现自己 消息码

      1、如标题描述,mirai 使用 serializeToMiraiCode 序列号为 [mirai:xxx] 格式 ,我想修改为自定义的 [my:xxx] 消息码。

      2、请不要告诉我单独转换处理 MessageChain 这个我知道处理。

      3、因为自己代码特殊原因, 我想 覆盖 重写 serializeToMiraiCode 更方便自己使用,就是事件发生时候使用 event.message.serializeToMiraiCode() 获取到的就是 自己定义的 [my:xxx] 消息码。

      posted in 开发交流
      R
      Rean
    • RE: 无法登陆QQ

      一样,手机QQ登录完全没问题

      posted in 使用交流
      R
      Rean