Command-Line and Graphical Interfaces built around CasperJS and PhantomJS; Bots included.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bots
libs
source
.gitignore
HexBot.py
LICENSE.md
README.md

README.md

HexBot ##v2.0.0

###Installation:

Dependencies
  • Install both PhantomJS and CasperJS
    • Refer to the individual instructions in the libs directory.
    • These can also be installed independently on the system, but the binaries would need to be included in the PATH environment variable
Compile
cd source/
make update

###File Structure # Bots (moving these will remove them from the launchers) bots/Bing.coffee # Bing Rewards bots/Astral.coffee # Astral WoW bots/Imgur.coffee # Imgur Albums

# Modules (moving these will cause any bots using them to fail)
bots/libs/HexBot.coffee # Parse Arguments/Common Functions
bots/libs/Words/ # Word Generator

# Libraries (CasperJS/PhantomJS - required to run the bots)
$PATH/%PATH% # these take precedence over the libs folder
libs/**

# Launchers
HexBot.jar # GUI (Java)
HexBot.py  # CLI (Python)
HexBot.exe # CLI (Mono / .NET)

###Usage

CLI
python HexBot.py <botName> [<botArgs>...]
mono HexBot.exe <botName> [<botArgs>...]

# Read in a password that will be passed on to the bot
python HexBot.py --pw <botName> [<botArgs>...]
mono HexBot.exe --pw <botName> [<botArgs>...]

# Run bot in test mode
python HexBot.py --test <botName>
mono HexBot.exe --test <botName>
GUI
# In addition to double-clicking the jar file
java -jar HexBot.jar [<botName>...]

In both cases, leaving out botName will print out a list of currently available bots


###Requirements

  • PhantomJS >= 1.9.0 (>= 1.9.1 for Windows)
  • CasperJS >= 1.1.0-DEV (from GitHub/n1k0/casperjs)
  • Maven (for compiling GUI from source)
  • Java (>= 7u6 required for GUI)
  • Python (required for CLI or for GUI on Linux/Mac)
  • Mono / .NET (required for CLI or for GUI on Windows)