Skip to content

Function "afk"

HungPV edited this page Sep 1, 2021 · 20 revisions

Since version 1.2.4

This function does not support select level/mode, how many badge/ticket/... to consumes and can only everything by default so please chose everything first manually then use this

  • Mini-client or Web:
    • Windows:
      • click and run afk.bat
      • or run from command line: java -jar BitHeroes.jar afk
    • Linux/Mac:
      • run ./afk.sh from terminal
      • or command java -jar BitHeroes.jar afk
  • Not support Steam

Supported flags:

  • --pvp do PVP
  • --boss do world boss, but must select world boss level
  • --gvg do GVG
  • --invasion do Invasion
  • --trials do Trials
  • --gauntlet do Gauntlet
  • --raid do Raid, but must select raid level & mode
  • --all do everything above
  • --exit=X means will exit after X secs if not completed, no matter how many loop remaining. Usage: ./afk.sh --exit=1800 means will stop after 1800 seconds (30m)
  • Global flags

Notes:

  • Automatically exit after detected the Reconnect button
  • Automatically re-active the Auto button if it been red for 60s
  • Automatically press Yes when the game asks: "Are you still there?"
  • Support click the arrow button when having a conversation
  • Push notification to Telegram when detect Reconnect button (critical), not see ReRun within 15m (critical), exit (normal). But only works if you correctly configured Telegram

Test result

OS AFK on Mini-client 800x520 AFK on Steam 800x480
Ubuntu 18.04 (development environment) Work perfectly N/A
Windows 10 x64 Not tested Not supported
Windows 7 x64 (on Virtual Box) Not work Not supported
MacOS 10.14 High Sierra Not work N/A