Bot developed in Python that automates races in pegaxy.

Overview

Logo

español | português

About it:

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.

How to install it:

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.

To do 🎯 :

- Organize code.
- Solve start buttom bug.
- Solve expected bug if user has less than three horses (IndexError).
- Make code smarter, work only if energy != 0/0.
- Take horses name.
- Save race data by horse.

Found a bug or questions?

Feel free to open an issue.

Do you like it ? Buy me a coffee or a horse! Wallet (Polygon / BSC):

0xEEf8F8023C3d24276Bd807705C213d6994c064b6
You might also like...
Developed an optimized algorithm which finds the most optimal path between 2 points in a 3D Maze using various AI search techniques like BFS, DFS, UCS, Greedy BFS and A*

Developed an optimized algorithm which finds the most optimal path between 2 points in a 3D Maze using various AI search techniques like BFS, DFS, UCS, Greedy BFS and A*. The algorithm was extremely optimal running in ~15s to ~30s for search spaces as big as 10000000 nodes where a set of 18 actions could be performed at each node in the 3D Maze.

Repository for the electrical and ICT benchmark model developed in the ERIGrid 2.0 project.

Benchmark Model Electrical and ICT System This repository contains the documentation, code, and models for the electrical and ICT benchmark model deve

Computer Vision Script to recognize first person motion, developed as final project for the course
Computer Vision Script to recognize first person motion, developed as final project for the course "Machine Learning and Deep Learning"

Overview of The Code BaseColab/MLDL_FPAR.pdf: it contains the full explanation of our work Base Colab: it contains the base colab used to perform all

Validated, scalable, community developed variant calling, RNA-seq and small RNA analysis
Validated, scalable, community developed variant calling, RNA-seq and small RNA analysis

Validated, scalable, community developed variant calling, RNA-seq and small RNA analysis. You write a high level configuration file specifying your in

A big endian Gentoo port developed on a Pine64.org RockPro64

Gentoo-aarch64_be A big endian Gentoo port developed on a Pine64.org RockPro64 The endian wars are over... little endian won. As a result, it is incre

TUPÃ was developed to analyze electric field properties in molecular simulations
TUPÃ was developed to analyze electric field properties in molecular simulations

TUPÃ: Electric field analyses for molecular simulations What is TUPÃ? TUPÃ (pronounced as tu-pan) is a python algorithm that employs MDAnalysis engine

A platform for intelligent agent learning based on a 3D open-world FPS game developed by Inspir.AI.

Wilderness Scavenger: 3D Open-World FPS Game AI Challenge This is a platform for intelligent agent learning based on a 3D open-world FPS game develope

RITA is a family of autoregressive protein models, developed by LightOn in collaboration with the OATML group at Oxford and the Debora Marks Lab at Harvard.
RITA is a family of autoregressive protein models, developed by LightOn in collaboration with the OATML group at Oxford and the Debora Marks Lab at Harvard.

RITA: a Study on Scaling Up Generative Protein Sequence Models RITA is a family of autoregressive protein models, developed by a collaboration of Ligh

Discord bot-CTFD-Thread-Parser - Discord bot CTFD-Thread-Parser
Discord bot-CTFD-Thread-Parser - Discord bot CTFD-Thread-Parser

Discord bot CTFD-Thread-Parser Description: This tools is used to create automat

Comments
  • Counting horses error

    Counting horses error

    The bot show this error, i dont know how to resolve it ?

    Error :

    Counting horses, please wait... Horse 1 found. Horse 2 found. Horse 3 found. Traceback (most recent call last): File "C:\pega\main.py", line 262, in horse2x = horses[0][1][0] IndexError: index 1 is out of bounds for axis 0 with size 1

    opened by acersdc 0
Owner
null
Patient-Survival - Using Python, I developed a Machine Learning model using classification techniques such as Random Forest and SVM classifiers to predict a patient's survival status that have undergone breast cancer surgery.

Patient-Survival - Using Python, I developed a Machine Learning model using classification techniques such as Random Forest and SVM classifiers to predict a patient's survival status that have undergone breast cancer surgery.

Nafis Ahmed 1 Dec 28, 2021
PassAPI is a password generator in hash format and fully developed in Python, with the aim of teaching how to handle and build

simple, elegant and safe Introduction PassAPI is a password generator in hash format and fully developed in Python, with the aim of teaching how to ha

Johnsz 2 Mar 2, 2022
An efficient and effective learning to rank algorithm by mining information across ranking candidates. This repository contains the tensorflow implementation of SERank model. The code is developed based on TF-Ranking.

SERank An efficient and effective learning to rank algorithm by mining information across ranking candidates. This repository contains the tensorflow

Zhihu 44 Oct 20, 2022
This repo is developed for Strong Baseline For Vehicle Re-Identification in Track 2 Ai-City-2021 Challenges

A STRONG BASELINE FOR VEHICLE RE-IDENTIFICATION This paper is accepted to the IEEE Conference on Computer Vision and Pattern Recognition Workshop(CVPR

Cybercore Co. Ltd 78 Dec 29, 2022
Repository for publicly available deep learning models developed in Rosetta community

trRosetta2 This package contains deep learning models and related scripts used by Baker group in CASP14. Installation Linux/Mac clone the package git

null 81 Dec 29, 2022
A trusty face recognition research platform developed by Tencent Youtu Lab

Introduction TFace: A trusty face recognition research platform developed by Tencent Youtu Lab. It provides a high-performance distributed training fr

Tencent 956 Jan 1, 2023
PERIN is Permutation-Invariant Semantic Parser developed for MRP 2020

PERIN: Permutation-invariant Semantic Parsing David Samuel & Milan Straka Charles University Faculty of Mathematics and Physics Institute of Formal an

ÚFAL 40 Jan 4, 2023
Implementation of QuickDraw - an online game developed by Google, combined with AirGesture - a simple gesture recognition application

QuickDraw - AirGesture Introduction Here is my python source code for QuickDraw - an online game developed by google, combined with AirGesture - a sim

Viet Nguyen 89 Dec 18, 2022
This is a Machine Learning Based Hand Detector Project, It Uses Machine Learning Models and Modules Like Mediapipe, Developed By Google!

Machine Learning Hand Detector This is a Machine Learning Based Hand Detector Project, It Uses Machine Learning Models and Modules Like Mediapipe, Dev

Popstar Idhant 3 Feb 25, 2022