🇷🇺 README на русском доступен здесь
Functional | Supported |
---|---|
Multithreading | ✅ |
Binding a proxy to a session | ✅ |
Auto-purchase of items if you have coins (tap, energy, charge) | ✅ |
Random sleep time between clicks | ✅ |
Random number of clicks per request | ✅ |
Support tdata / pyrogram .session / telethon .session | ✅ |
Настройка | Описание |
---|---|
API_ID / API_HASH | Platform data from which to launch a Telegram session (stock - Android) |
MIN_AVAILABLE_ENERGY | Minimum amount of available energy, upon reaching which there will be a delay (eg 100) |
SLEEP_BY_MIN_ENERGY | Delay when reaching minimum energy in seconds (eg [1800,2400]) |
AUTO_UPGRADE | Whether to upgrade the passive earn (True / False) |
MAX_LEVEL | Maximum upgrade level (eg 20) |
BALANCE_TO_SAVE | Balance limit that the bot “won't touch” (eg 1000000) |
UPGRADES_COUNT | The count of cards that the bot will upgrade in 1 lap (eg 10) |
APPLY_DAILY_ENERGY | Whether to use the daily free energy boost (True / False) |
APPLY_DAILY_TURBO | Whether to use the daily free turbo boost (True / False) |
RANDOM_CLICKS_COUNT | Random number of taps (eg [50,200]) |
SLEEP_BETWEEN_TAP | Random delay between taps in seconds (eg [10,25]) |
USE_PROXY_FROM_FILE | Whether to use proxy from the bot/config/proxies.txt file (True / False) |
- To install libraries on Windows click on
INSTALL.bat
. - To start the bot use
START.bat
(or in console:python main.py
).
Before you begin, ensure you have the following installed:
- Python version 3.10 or 3.11
- Go to my.telegram.org and log in using your phone number.
- Select "API development tools" and fill out the form to register a new application.
- Note down the
API_ID
andAPI_HASH
in.env
file provided after registering your application.
You can download Repository by cloning it to your system and installing the necessary dependencies:
~ >>> git clone https://github.com/shamhi/HamsterKombatBot.git
~ >>> cd HamsterKombatBot
#Linux
~/HamsterKombatBot >>> python3 -m venv venv
~/HamsterKombatBot >>> source venv/bin/activate
~/HamsterKombatBot >>> pip3 install -r requirements.txt
~/HamsterKombatBot >>> cp .env-example .env
~/HamsterKombatBot >>> nano .env # Here you must specify your API_ID and API_HASH , the rest is taken by default
~/HamsterKombatBot >>> python3 main.py
#Windows
~/HamsterKombatBot >>> python -m venv venv
~/HamsterKombatBot >>> venv\Scripts\activate
~/HamsterKombatBot >>> pip install -r requirements.txt
~/HamsterKombatBot >>> copy .env-example .env
~/HamsterKombatBot >>> # Specify your API_ID and API_HASH, the rest is taken by default
~/HamsterKombatBot >>> python main.py
Installing as a Linux service for running the bot in the background here.
Also for quick launch you can use arguments, for example:
~/HamsterKombatBot >>> python3 main.py --action (1/2)
# Or
~/HamsterKombatBot >>> python3 main.py -a (1/2)
#1 - Create session
#2 - Run clicker