Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
/ keydrop-battle-farm Public archive

Simple script to farm free battles on keydrop.

License

Notifications You must be signed in to change notification settings

kWAYTV/keydrop-battle-farm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CaseBattle Bot

This bot is designed to monitor and join available battles on the Key-Drop platform.

Features

  • Continuously monitor active battles
  • Automatically join available free battles
  • Adjustable sleep intervals and ticket cost threshold
  • Error handling for network requests
  • Logging system to track activity and errors

Getting Started

  1. Clone this repository: git clone https://github.com/kWAYTV/keydrop-battle-farm.git

  2. Navigate into the project directory: cd casebattle-bot

  3. Install the required Python packages: pip install -r requirements.txt

  4. Obtain your Key-Drop Bearer token:

    • Go to Key-Drop.com
    • Inspect the website in the network tab (right-click on the page, select "Inspect" or "Inspect Element", then go to the "Network" tab)
    • Search for "token" in the network tab
    • If you can't find it, refresh the page once
    • You should see a request like token?t=12345. Your token is in here.
  5. Replace "your_token_here" in the main script with your actual token.

  6. Adjust the ticket cost threshold.

  7. Run the script: python main.py

To-Do

  • Proxy support

Configuration

The CaseBattle class can be initialized with the following optional parameters from the config file:

  • token (str): Your Key-Drop token for API requests. (Required)
  • sleep_interval (int): The number of seconds the bot should sleep between checking battles. Default is 1.
  • ticket_cost_threshold (int): The maximum ticket cost that the bot should consider for free battles. Default is 1000.
  • ratelimit_sleep (int): The time it will sleep after being ratelimited. Default is 30

Example:

```python
cb = CaseBattle(token="your_token_here", sleep_interval=2, ticket_cost_threshold=500)
```

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Disclaimer

This project is intended for educational purposes only and is not recommended for use. I am not responsible for any misuse or any issues arising from this project. This includes, but is not limited to, account suspensions/bans or legal issues.

The user assumes all risks. Using this script on platforms without explicit permission may violate terms of service. It is the user's responsibility to use this script responsibly.

Please respect all applicable laws and terms of service when using this project.

License

MIT

About

Simple script to farm free battles on keydrop.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages