Bombcrypto Robot Save Abandoned

FIXED 09.03 - Python bot to automate BombCrypto game. Updated 22.02.2022. Logs in to the game, reconnects when needed, closes error warnings, sends heroes to work or home automatically, has Telegram integration and lets you know by message or call if the farm stop. It is fully open source and free, compatible with Windows and Ubuntu.

Project README

About:

This is an open-source bot, the code is open for anyone to see, fork and update. As the developer, I created this bot just for my personal use, I decided to publish to help other people and maybe get a few bucks in donation. As the time went by, more and more people started opening issues, asking for help and suggesting changes. I try to answer everyone, but lately it has been hard to keep up. As the only donation I received so far amounts to only 1 BCOIN and the bot currently works perfectly for me. I am not feeling to motivated to spend the time it needs to maintain the bot. I would like to keep this bot free and open source, so as an incentive for me to spend the time and energy maintaining the bot, I have created some donation milestones so people can collectively fund the bot.

Disclaimer:

The bombcrypto developers have not manifested themselves yet regarding the use of bots. Do your own research and use the bot at your own risk. I am not responsible for any future penalties.

Installation:

Download and install Python from the site.

If you download from the site it is important to tick the option "add python to path".

Download the code as a zip file and extract it.

Copy the path of the bot directory

Open the terminal.

Press the windows key + R and type "cmd":

cd into the bot directory:

Type the command:

cd <path you copied>

Install the dependencies:

pip install -r requirements.txt

It is finished! Now to run the bot you just need to type:

python index.py

How to use?

Open the terminal, cd into the folder if you haven't yet:

"cd" + path

To run it use the command

python index.py

As soon as you start the bot it will send the heroes to work. For it to work the game window needs to be visible. It will constantly check if it needs to login or press the "new map" button. From 15 to 15 min it will send all heroes to work again

Send home feature:

How to use it:

Save a screenshot of the heroes you want to be sent home in the directory: /targets/heroes-to-send-home

How it should behave:

It will automatically load the screenshots of the heroes when starting up. After it clicks in the heroes with the green bar to send them to work, it will look if there is any of the heroes that are saved in the directory in the screen. If tit finds one of the heroes, the bot checks if the home button is dark and the work button is not dark. If both these conditions are true, it clicks the home button.

Troubleshooting:

I have not been able to fine adjust it, so here is some problems that may occur, and how to solve them:

  • The bot should distinguish between the dark, the clear and the gray home buttons.

    • If the bot says that a hero is working or home, but he is not, that is because the bot is not detecting the dark home button, make the option "home: home_button_trashhold" smaller. You can also replace the image send-home.png in the targets folder.

    • If the bot is trapped in an loop clicking in an clear home button, he thinks that the clear button is the dark button, make the option home: home_button_trashhold bigger.

  • The bot should detect the heroes you saved to the directory.

    • If the bot clicks the wrong heroes, it thinks that another hero is the one you saved the screenshot. Make the option home: hero_trashhold bigger
    • If it does not detect your heroes, make it smaller. You can also try replacing the screenshot with another part of the hero.

Open Source Agenda is not affiliated with "Bombcrypto Robot" Project. README Source: LarkoPa/bombcrypto-robot
Stars
120
Open Issues
2
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating