🇷🇺 README на русском доступен здесь
The project was created to help people pass promotional games in the Hamster Kombat.
🔔 For those wishing to support the project, payment methods are available: 🔔
-
💎 USDT TON (TON):
UQCjwbMX96YhA4POYlbE3v0M7Xx9TlvjX7bqnJIj0KFVfYlR
-
💎 USDT TRC20 (Tron):
TK7v5F2HFEErUCFVmy4z53bwdwvZWNNzkz
-
💎 Toncoin (TON):
UQCjwbMX96YhA4POYlbE3v0M7Xx9TlvjX7bqnJIj0KFVfYlR
-
💎 Bitcoin (BTC):
188BPS54Pkjaa8uZ8CDdZegBwWP1iwxdrG
-
💎 Notcoin (NOT):
UQCjwbMX96YhA4POYlbE3v0M7Xx9TlvjX7bqnJIj0KFVfYlR
-
💎 Boosty
-
💎 Paypal
-
(03.09) Added interface translation into English. To change the language you need to select item 4 in the settings and restart
-
(01.09) В главном меню теперь есть настройки (s)
-
To make sure you won't be so bored waiting for promo codes to be generated, the ability to change the loading indicator has been added 😉
The
spinner_<num>
command selects an indicator (examplespinner_1
)The
list
command, shows all available name options and the number to be specified inspinner_<num>
.The
default
command, will set the default indicator -
We made a telegram bot to generate keys:
🌐 https://t.me/Hamster_Mayhem_bot
In the future, the plan is to make activating promo codes and using all available activities in hamster from the bot. Now only generation of promo codes and information about combos and cipher is available.
- Switching between multiple accounts
- All games added
- Can be launched from your Android smartphone
- Generate promo codes for all available games
- Generate for all games at once (1-2 at a time recommended)
- Send generated promo codes to your group or any chat via bot
- Ability to automatically apply promo codes in your account after generation
- The list of the most profitable cards to buy, which is updated as the cards improve (only those you can buy will be on the list).
- Passing the minigame with candles
- Performing combos and buying individual cards
- Completing the daily cipher
- Completing tasks (watching videos and daily tasks)
- Performing clicks and using boosts
- Displaying the remaining time for all activities
To use multiple accounts you need to specify multiple tokens in the .env
file.
The format is HAMSTER_TOKEN_x
. For example HAMSTER_TOKEN_1
, HAMSTER_TOKEN_2
, etc.
The default is HAMSTER_TOKEN_1
if no others are specified.
To switch to another account, select a
in the menu and the account number.
⚙ Settings
Настройка | Описание |
---|---|
HAMSTER_TOKEN | Your Bearer token from the browser version of the game |
TELEGRAM_BOT_TOKEN | Token of your Telegram bot (optional). You need it to send promo codes to your group or any other chat room |
CHAT_ID | ID of your group, channel or user (optional). You can find out by adding a bot (t.me/GetMy1D_bot) or analog in chat. To allow the bot to send messages you need to add it to a group or channel, if in private messages you need to send the command /start . |
GROUP_URL | Url of your group (optional). It can be found in Group management -> Invitation links . If specified, the console will be notified to which group he sent the message to |
Make sure you have Python version 3.10 or 3.11 installed (be sure to check the add python to PATH
box when installing):
- Download the zip archive and unzip to a convenient location
- If you have
git
installed, open a convenient folder, pressCTRL + L
, typecmd
and pressenter
. a console will open, type the command and press enter. The project will be downloaded to this folder.
git clone https://github.com/OxFF00FF/Hamster_Mayhem.git
- To install dependencies, run the
INSTALL.bat
file. - Use the
1. START.bat
file to start. If Windows Terminal is installed, then2. START_WT.bat
. - Customize the
.env
file. Specify yourHAMSTER_TOKEN
and other values if necessary. - Use the
UPDATE.bat
file to upgrade (if git is installed)
In a regular windows cmd terminal you most likely won't have colors in the console and emoji working.
For a beautiful display, install
windows terminal или из папки Windows Terminal setup
- Access your account through your browser by number or code.
- Go to hamster kombat bot. Click start and the
play in 1 click
orplay
button. You will be asked for permission to open the site, agree by clicking onconfirm
- You'll be prompted to open the game on your phone. but we don't need that. Let's open the developer tools. For Chrome, press
F12
orCTRL + SHIFT + I
. or click onthree dots -> advanced tools -> developer tools
.
- In the developer tools, open the
Elements
tab. and click on the button on the right with the arrow, point to the qr code and press the left mouse button.
- You will have the elements open and on the right side you need to find the
iframe
element
- Click 2 times on the lcm and the link will become editable. About in the middle you need to find
tgWebAppPlatform=weba
.
- You need to change
tgWebAppPlatform=weba
totgWebAppPlatform=android
and hit emter. This will open the game in your browser
- Click on the
Network
tab and in itAll
and click on the icon with a crossed-out circle.
- You'll have everything cleared out. and you need to do 1 tap in the hamster.
- After a couple seconds, you will be prompted. Click on it. Additional information about the request will appear. Click on
Headers
and at the bottom findRequest headers
(make sure that the Request Method of the request is POST).
- Scroll down and there is
Authorization
on the left and the value we need on the right. This is the token. We need to copy it all the way from Bearer to the last digit
- This token will need to be put in the
.env
file inHAMSTER_TOKEN
between the quotes, in one line without line break.
Example:
HAMSTER_TOKEN_1="Bearer 2367343478565fuiGOLjkhegyWEkjeruGFjEkjueowhefiwehggergerUTquvnmpoifehkFwugnjle6732593756"
- Download Termux and enter the commands
pkg update && pkg install git
Accept the installation (y)pkg install python
Accept the installation (y)git clone https://github.com/OxFF00FF/Hamster_Mayhem.git
cd Hamster_mayhem
cp .env.example .env
nano .env
. Specify your token in HAMSTER_TOKEN and other values if necessary- Press the
CTRL
button and on the keyboard the EnglishX
thenY
andenter
to save the file - Check that the data has been written
cat .env
(outputs the contents of the .env file) - Dependency installation
pip install -r requirements.txt
- If there are any errors during installation
pip install python-dotenv requests beautifulsoup4 fuzzywuzzy fake-useragent spinners
- Or individually:
pip install python-dotenv
pip install requests
pip install beautifulsoup4
pip install fuzzywuzzy
pip install fake-useragent
pip install spinners
- Run
python main.py
- To update the code use the commands
git pull
andpython main.py
- If you have the root folder open when you open Termux
~ $
. You will need to go to thecd Hamsters_mayhem
project folder and runpython main.py