Skip to content

A script for generating promo codes using the GamePromo API. This tool supports multiple games and proxies, and it displays progress in a visually appealing manner.

Notifications You must be signed in to change notification settings

opiran-club/hamster-generator-code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hamster Kombat Promo Code Generator

image

A script for generating promo codes using the GamePromo API. This tool supports multiple games and proxies, and it displays progress in a visually appealing manner.

TELEGRAM CHANNEL | TWITTER

Send me a thankyou 💪

0x705C71fc031B378586695c8f888231e9d24381b4 - EVM
TDTtTc4hSnK9ii1VDudZij8FVK2ZtwChja - TRON
UQBy7ICXV6qFGeFTRWSpnMtoH6agYF3PRa5nufcTr3GVOPri - TON

Features

  • Generate promo codes for various games.
  • Support for proxy usage.
  • Display progress percentage during the process.
  • Configurable settings via configs.json.
  • Output results to promo.txt.

Table of Contents

Installation

To get started, clone this repository and install the required dependencies:

  1. Clone the repository:

    git clone https://github.com/jawikas/hamster-generator-code.git
    cd hamster-generator-code

Create a virtual environment (optional but recommended):

python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`

Install the dependencies:

pip install -r requirements.txt

Configuration

Create configs.json:

This file should be located in the root directory of the project. Here is a sample configuration:

{
    "key_count": 10,
    "use_proxies": true,
    "games": {
        "1": {
            "name": "Riding Extreme 3D",
            "appToken": "d28721be-fd2d-4b45-869e-9f253b554e50",
            "promoId": "43e35910-c168-4634-ad4f-52fd764a843f"
        },
        "2": {
            "name": "Chain Cube 2048",
            "appToken": "d1690a07-3780-4068-810f-9b5bbf2931b2",
            "promoId": "b4170868-cef0-424f-8eb9-be0622e8e8e3"
        },
        "3": {
            "name": "My Clone Army",
            "appToken": "74ee0b5b-775e-4bee-974f-63e7f4d5bacb",
            "promoId": "fe693b26-b342-4159-8808-15e3ff7f8767"
        },
        "4": {
            "name": "Train Miner",
            "appToken": "82647f43-3f87-402d-88dd-09a90025313f",
            "promoId": "c4480ac7-e178-4973-8061-9ed5b2e17954"
        }
    }
}

Create proxies.txt (if using proxies):

List your proxies in the following format:

username:password@host:port

Usage

To run the promo code generator:

python main.py

The script will generate promo codes based on the configuration in configs.json and save them to promo.txt.

Progress Display The script displays a progress bar to show the percentage completion of the promo code generation process.

How It Works

  1. Configuration Loading:

    • The script loads configurations from configs.json.
  2. Proxy Handling:

    • If proxies are enabled, the script will use proxies from proxies.txt.
  3. Promo Code Generation:

    • The script logs in using the GamePromo API.
    • Emulates progress and generates promo codes based on the configured game and count.
  4. Progress Tracking:

    • The progress is displayed in the console with a progress bar.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact For any questions or issues, please open an issue on GitHub or contact me at [ https://t.me/itsjaw_real ]..

About

A script for generating promo codes using the GamePromo API. This tool supports multiple games and proxies, and it displays progress in a visually appealing manner.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%