This project is a bot for automating interactions with the Lumoz Quidditch game. It manages user accounts, collects rewards, and handles various game-related tasks.
- Automatic user authentication
- New user gift collection
- USDT and Snitch reward collection
- Multi-account support
- Configurable logging
Before you begin, ensure you have met the following requirements:
- Node.js (v12.0.0 or higher)
- npm (usually comes with Node.js)
-
Clone the repository:
git clone https://github.com/Galkurta/Lumoz-BOT.git
-
Navigate to the project directory:
cd Lumoz-BOT
-
Install the dependencies:
npm install
-
If you're a new user, register for Lumoz Quidditch
-
Edit
data.txt
file in the project root directory. -
Add your account authorization tokens to
data.txt
, one per line. You can obtain these tokens after registering and logging into your account.
To run the bot, use the following command:
node main.js
The bot will process each account in data.txt
sequentially, collecting rewards and updating account information.
The bot uses the loglevel
library for logging. The default log level is set to "info". You can adjust the log level in the setupLogging
method of the Lumoz
class if needed.
The bot is designed to handle various errors gracefully. Here are some common errors you might encounter and how to address them:
If you encounter a 500 Internal Server Error, it usually indicates a problem on the server side. Here's what you can do:
-
Wait and retry: The server might be temporarily overloaded. Wait for a few minutes and try running the bot again.
-
Check your network connection: Ensure you have a stable internet connection.
-
Verify account credentials: Double-check that the authorization tokens in
data.txt
are correct and up to date. -
Reduce request frequency: If the error persists, try increasing the wait time between requests by modifying the
countdown
durations in themain
method. -
Check for announcements: Visit the official Lumoz website or community forums to see if there are any announced server issues or maintenance periods.
- 401 Unauthorized: This usually means your authorization token is invalid or expired. Update the token in
data.txt
. - 429 Too Many Requests: The bot is making requests too frequently. Increase the wait times between requests.
- 404 Not Found: The API endpoint might have changed. Check for any updates to the Lumoz API and update the URLs in the bot accordingly.
If you encounter persistent errors that you can't resolve, please open an issue on the GitHub repository with details about the error and the steps to reproduce it.
Contributions to this project are welcome. Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/amazing-feature
) - Make your changes
- Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License. See the LICENSE
file for details.
This bot is for educational purposes only. Use it at your own risk. The developers are not responsible for any consequences resulting from the use of this bot.
If you have any questions or feedback, please open an issue on the GitHub repository.