Bombcrypto-bot - A python bot that automatically logs in, clicks the new button, and sends heroes to work in the bombcrypto game

Overview

Faz a boa pra nois

Do the good

Smart Chain Wallet(BUSD/BNB/BCOIN):

0x1305EE0e2a22070EfB7aF35e567f7Fa370D5F302

PIX:

QRCode Doação

Sobre:

Este é um fork de bombcrypto-bot que tem o seu código aberto, de forma que qualquer pessoa pode vê-lo, fazer uma fork, ou updates.

Aviso:

Os desenvolvedores do jogo se pronunciaram e agora o uso de auto clickers e o uso de bots é oficialmente PROIBIDO. Não me responsabilizo por eventuais penalidades sofridas por quem usar o bot, use por sua própria conta e risco.

Instalação:

Baixe e instale o Python pelo site ou pela windows store.

Se você baixar pelo site é importante marcar a opção para adicionar o python ao PATH: Check Add python to PATH

Realize o download do codigo no formato zip, e extraia o arquivo.

Copie o caminho até a pasta do bot:

caminho

Abra o terminal.

Aperte a tecla do windows + r e digite "cmd":

launch terminal

Navegue até a pasta do bot:

Digite o comando "cd" + caminho que você copiou:

cd

Instale as dependências:

pip install -r requirements.txt

pip

Pronto! Agora é só iniciar o bot com o comando

python3 index.py

run

Como usar?

Abra o terminal, se ainda não tiver navegado para a pasta do bot dê novamente o comando

"cd" + caminho que você copiou

Para iniciar use o comando

python3 index.py

Assim que ele iniciar ele vai começar mandando os bonecos trabalhar. Para que ele funcione é preciso que a janela do game esteja aparecendo na sua tela. Ele vai constantemente checar se você foi desconectado para realizar o login novamente, e se o botão “new map” tá na tela para clicar nele. A cada 15 minutos ele manda todos os heróis taralharem.

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.

Como funciona?

O bot não interage diretamente com o jogo, ele somente tira print da tela do game para encontrar os botões e simula movimentos do mouse, isso faz com que diferenciar o bot de um humano seja muito difícil.

Ajustando o bot

Por que uns ajustes podem ser necessários?

O bot usa reconhecimento de imagem para tomar decisões e movimentar o mouse e clicar nos lugares certos. Ele realiza isso comparando uma imagem de exemplo com um screenshot da tela do computador. Este método está sujeito a inconsistências devido a diferenças na resolução da sua tela e de como o jogo é renderizado no seu computador comparado com o meu(o que usei para pegar as imagens exemplo). É provável que o bot não funcione 100% logo de cara, e que você precise fazer alguns ajustes aqui ou ali.

Quais sao os problemas?

Falso negativo - O bot deveria reconhecer uma imagem, por exemplo, o botão de mandar para trabalhar, mas não reconheceu a imagem na screenshot.

Falso positivo - O bot pensa que reconheceu a imagem que está procurando em um lugar em que esta imagem não aparece.

Aqui tem uma lista de alguns problemas que podem ser ocasionados por falsos positivos e negativos.

Para resolver estes problemas existem duas possibilidades, a regulagem do parâmetro “threshold” no arquivo config.yaml ou a substituição da imagem de exemplo na pasta “targets” para uma tirada no seu próprio computador:

Threshold na config

O parâmetro “threshold” regula o quanto o bot precisa estar confiante para considerar que encontrou a imagem que está procurando. Este valor de 0 a 1 (0% a 100%). Ex:

Um threshold de 0.1 é muito baixo, ele vai considerar que encontrou a imagem que esta procurando em lugares que ela não está aparecendo ( falso positivo ). O comportamento mais comum pra esse problema é o bot clicando em lugares aleatórios pela tela.

Um threshold de 0.99 ou 1 é muito alto, ele não vai encontrar a imagem que está procurando, mesmo quando ela estiver aparecendo na tela. O comportamento mais comum é ele simplesmente não mover o cursor para lugar nenhum, ou travar no meio de um processo, como o de login.

Substituição da imagem na pasta targets

As imagens exemplo são armazenadas na pasta “targets”. Estas imagens foram tiradas no meu computador e podem estar um pouco diferente da que aparece no seu. Para substituir alguma imagem que não esta sendo reconhecida propriamente, simplesmente encontre a imagem correspondente na pasta targets, tire um screenshot da mesma área e substitua a imagem anterior. É importante que a substituta tenha o mesmo nome, incluindo o .png.

Alguns comportamentos que podem indicar um falso positivo ou negativo

Falso positivo:

  • Repetidamente enviando um herói que já esta trabalhando para trabalhar em um loop infinito.

    • Falso positivo na imagem “go-work.png”, o bot acha que esta vendo o botão escuro em um herói com o botão claro.
  • Clicando em lugares aleatórios(geralmente brancos) na tela

    • Falso positivo na imagem sign-button.png

Falso negativo:

  • Não fazendo nada

    • Talvez o bot esteja tendo problemas com a sua resolução e não esta reconhecendo nenhuma das imagens, tente mudar a configuração do navegador para 100%.
  • Não enviando os heróis para trabalhar

    • Pode ser um falso negativo na imagem green-bar.png caso a opção “select_heroes_mode” estiver como “green”.

Algumas configuraçoes podem ser mudadas no arquivo config.yaml, nao se esqueça de reiniciar o bot caso mude as configuraçoes.

Curtiu? Dê aquela fortalecida também ao criador do projeto original :)

[email protected]

Wallet:

0xbd06182D8360FB7AC1B05e871e56c76372510dDf

Paypal:

Donate

Owner
Cleiton Leonel
"Dev freelancer": Precisando é só chamar ... ¯ \ _ (ツ) _ / ¯
Cleiton Leonel
DISCORD script to automate sending messages to a particular server

discord discord script This script sends random quotes to an discord server and tags random users on the server in the process MADE WITH LOVE BY SACS

Solomon ogu 1 Nov 06, 2021
KiKi bare dogs can share your joys and sorrows with you.

Kiki-FangLee-DiscordBot KiKi bare dogs can share your joys and sorrows with you. $help: Kiki will show you my talent, aw-aw. $list: Show Kiki's knowle

Fang Lee 0 Feb 12, 2022
TwitterDataStreaming - Twitter data streaming using APIs

Twitter_Data_Streaming Twitter data streaming using APIs Use Case 1: Streaming r

Rita Kushwaha 1 Jan 21, 2022
:lock: Python 2.7/3.X client for HashiCorp Vault

hvac HashiCorp Vault API client for Python 3.x Tested against the latest release, HEAD ref, and 3 previous minor versions (counting back from the late

hvac 1k Dec 29, 2022
Schedule Twitter updates with easy

coo: schedule Twitter updates with easy Coo is an easy to use Python library for scheduling Twitter updates. To use it, you need to first apply for a

wilfredinni 46 Nov 03, 2022
🤖 Automated follow/unfollow bot for GitHub. Uses GitHub API. Written in python.

GitHub Follow Bot Table of Contents Disclaimer How to Use Install requirements Authenticate Get a GitHub Personal Access Token Add your GitHub usernam

João Correia 37 Dec 27, 2022
Anti Spam/NSFW Telegram Bot Written In Python With Pyrogram.

✨ SpamProtectionRobot ✨ Anti Spam/NSFW Telegram Bot Written In Python With Pyrogram. Requirements Python = 3.7 Install Locally Or On A VPS $ git clon

Akshay Rajput 46 Dec 13, 2022
An Undertale RPG Discord bot to fight monsters, bosses, level up and duel with other players

UNDERTALE-RPG An Undertale RPG Discord bot to fight monsters, bosses, level up and duel with other players!. Explanation you can collect gold which is

2 Oct 21, 2021
A Telegram robot can clone medias from any chat to your own chat.

Clonebot A Telegram robot can clone medias from any chat to your own chat. Read the documentation to know how to use the bot Deploy Developer Document

Renjith Mangal 224 Dec 30, 2022
AWS Blog post code for running feature-extraction on images using AWS Batch and Cloud Development Kit (CDK).

Batch processing with AWS Batch and CDK Welcome This repository demostrates provisioning the necessary infrastructure for running a job on AWS Batch u

AWS Samples 7 Oct 18, 2022
Sends messages to a Discord webhook whenever you make a new commit to your local git repository.

Git-Notif Sends messages to a Discord webhook whenever you make a new commit to your local git repository. Usage Just drop notifier.py into your git h

1 May 29, 2022
Want to play What Would Rather on your Server? Invite the bot now! 😏

What is this Bot? 👀 What You Would Rather? is a Guessing game where you guess one thing. Long Description short Take this example: You typed r!rather

FSP Gang s' YT 3 Oct 18, 2021
Barbot is a discord bot made from discord.py and python, barbot is most to fun and roleplay for servers!

BarBot Main source of barbot Overview Barbot is a discord bot made from discord.py and python, barbot is most to fun and roleplay for servers! Links i

AlexyDaCoder 3 Nov 28, 2021
Add Me To Your Group Enjoy With Me. Pyrogram bot. https://t.me/TamilSupport

SongPlayRoBot 3X Fast Telethon Based Bot ⚜ Open Source Bot 👨🏻‍💻 Demo : SongPlayRoBot 💃🏻 Easy To Deploy 🤗 Click Below Image to Deploy DEPLOY Grou

IMVETRI 850 Dec 30, 2022
An API wrapper library for opensea api.

Opensea API An API wrapper library for opensea api. Installation pip3 install opensea Usage Retrieving assets: from opensea import get_assets # This

Ankush Singh 38 Jul 17, 2022
Aria/qBittorrent Telegram mirror/leech bot

This is a Telegram Bot written in Python for mirroring files on the Internet to your Google Drive or Telegram. Based on python-aria-mirror-bot Feature

28 Dec 25, 2022
This is a bot which you can use in telegram to spam without flooding and enjoy being in the leaderboard

Telegram-Count-spamming-Bot This is a bot which you can use in telegram to spam without flooding and enjoy being in the leaderboard You can avoid the

Lalan Kumar 1 Oct 23, 2021
CryptoApp - Python code to pull wallet balances from a variety of different chains through nothing other than your public key.

CryptoApp - Python code to pull wallet balances from a variety of different chains through nothing other than your public key.

Zach Frank 4 Dec 13, 2022
An example of matrix addition, demonstrating the basic method of Python calling C library functions

Example for Python call C functions An example of matrix addition, demonstrating the basic method of Python calling C library functions. How to run Bu

Quantum LIu 2 Dec 21, 2021
A file-based quote bot written in Python

Let's Write a Python Quote Bot! This repository will get you started with building a quote bot in Python. It's meant to be used along with the Learnin

1 Feb 03, 2022