MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    滑块验证通过后遇到的问题

    使用交流
    1
    2
    435
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Johnzpq last edited by

      在解决滑块验证问题后,bot仍无法登录,控制台报以下错误

      2021-11-12 15:37:08 I/null: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 mirai.no-desktop 以关 闭.
      2021-11-12 15:37:08 I/null: Mirai is using desktop. Captcha will be thrown by window popup. You can add mirai.no-desktop to JVM properties (-Dmirai.no-desktop) to disable it.
      2021-11-12 15:37:08 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
      同时仍会弹出滑块验证对话框

      1 Reply Last reply Reply Quote 0
      • J
        Johnzpq last edited by

        问题已解决

        2021-11-12 17:03:40 I/null: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 mirai.no-desktop 以关 闭.
        2021-11-12 17:03:40 I/null: Mirai is using desktop. Captcha will be thrown by window popup. You can add mirai.no-desktop to JVM properties (-Dmirai.no-desktop) to disable it.
        2021-11-12 17:03:40 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
        2021-11-12 17:03:42 I/Bot.1417397886: Login successful
        2021-11-12 17:03:42 I/Bot.1417397886: Saved account secrets to local cache for fast login.
        2021-11-12 17:03:42 I/Bot.1417397886: Login successful.
        2021-11-12 17:03:42 V/Bot.1417397886: Event: BotOnlineEvent(bot=Bot(1417397886))
        2021-11-12 17:03:42 I/Bot.1417397886: Bot login successful.
        botTest (1417397886) Login successful

        log4j的error不影响正常启动
        引起未登录成功的原因是在滑块验证成功后 未进行二维码扫码验证 导致bot的json文件不完整
        解决办法:
        1.在miraiAndroid进行滑块验证
        2.再进行扫码验证
        3.导出json文件
        4.电脑上覆盖bot的json文件

        1 Reply Last reply Reply Quote 2
        • 1 / 1
        • First post
          Last post
        Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact