This repo contains a subset of my private bot code. I left out my idle game mining/looting bot, team utilities, marketplace scraping, stats gathering, etc.
From my battle game bot, I left in:
- Mining
- Food conversion
- Auto feed
- TUS conversion
I left out:
- Auto level
- Looting
- Withdraw
- Bridge
- Swap
I half-assed everything for even the bot I put a lot of effort into. This bot is quarter-assed or less. I'm not taking complaints or pull requests. Feel free to fork it and do whatever.
As we all know, terms of service are inviolate, legally binding in all jurisdictions, and as holy as god itself. If you violate these TOS you owe me a kidney and should prepare to be the target of a thousand lawsuits and of course you're going straight to jail.
- No employee of Crabada or person with any formal relation to the Crabada team may view this repository. If you're reading this message, you've already committed a heinous crime.
- I'm providing this bot free of charge. But feel free to send me money. I expect that unscrupulous people will attempt to resell this bot.
- I take no responsibility for your use of this bot. Crabada is supposedly going to punish people who bot, so consider yourself warned.
If you are in violation of these TOS you should destroy your computer immediately.
Get the source onto your machine. You can git clone
it but I don't plan on
updating this repo so it's not critical. You can download by clicking on the
green 'code' button and then the zip button. Unzip it onto your PC.
Code has been tested with Python 3.9. Figure out how to install that;
python3.9 --version
should return something like Python 3.9.10
. You also
need pip3.9 --version
to return something like
pip 21.2.4 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)
.
If you're running windows it will return something a bit different, figure it out. I'm not providing support.
cd
into the bot directory and run pip3.9 install -r requirements.txt
. It
should complete with no errors, although you might get some warnings about pip
being out of date, that's fine.
Run python3.9 battle_key.py
and put in your email/code. This will log you in
and store your credentials into a file called battle_keys.json
. This file is
sensitive; basically anyone can play your game with it, waste shells/materials,
blah blah. Can't steal your crabs though.
This bot DOES NOT collect private keys. It doesn't do any web3 tx.
There's a file in python/common/config_local.py
that has a bunch of settings
you can tweak. Read the docs for each setting and change the values as
appropriate.
Run python3.9 run_battle.py
in the python
directory. Bot will do everything
from there. You can leave it running for as long as you like. Typically it will
start doing stuff at 8PM ET and finish at around 2AM ET (six hours of mining).
It will automatically group your crabs into 'sensible' formations and send them to mine. It deliberately sends them in the lowest possible mining zone with the expectation that dumb noobs are more likely to loot you there and lose.
It's not very smart. I don't plan on improving it.
It only supports the lowest set of materials. I don't care about anything except extracting money from this game. If you're stacking higher level materials with the expectation that this game will ever be worth something you're NGMI anyway.
It will attempt to keep as many food available as you have crabs, and will automatically feed your crabs if they're not at their highest effective level.
If you have leftover materials, it will convert them to TUS.
If you configure a Discord webhook, it will post updates to that channel.
Enjoy.