This is a fork from pega-racing-bot. This bot, developed in Python, is to automate races in pegaxy. The game developers do not allow the use of bots. It was developed for study purposes only, not responsible for any penalties that may be incurred for using it. Use it at your own risk.
The software is free and open source and should not be used for commercial purposes. Pull requests are welcome.
1 - Download Python from official website here.
2 - Install Python on your OS. (Remeber to add PYTHON to path)
3 - Open your terminal (Command prompt).
4 - Go to bot folder using following command:
cd c:/pegaxy-runner-bot
Here i recommend you installing virtualenv as a good practice, so you don't fill your computer with packages that you won't use later, or cause bug with other python applications. The processes below are not required. Remember if you do that will always have to activate it before using the bot.
To install virtualenv use pip:
pip install virtualenv
To create a new virtualenv named venv:
pip install virtualenv
To activate virtualenv:
.\venv\Scripts\activate
You can see now a (venv) that is the name of virtualenv you created.
5 - Install all requeriments using following command:
pip install -r requirements.txt
or you can install it manually using following commands:
pip install pillow
pip install opencv-python
pip install pyautogui
pip install mss
pip install colorama
6 - Recommend you take all screenshots from folder screenshots using LightShot
7 - Run bot using following command:
Remember that you must be on the pegaxy's website with your metamask connected.
python main.py
8 - Use CTRL + C to STOP script.
- Organize code.
- Make code smarter, work only if energy != 0/0.
- Add config yml file to setup desired images (localizations)
- Improve async logic with rxpy
Feel free to open an issue.
0x57D202ab4813D948Fa425A954C4341Be090E8634