Skip to content

A Python automation tool for the game Crossout that automatically buys, crafts, and sells items at optimal prices using OCR and template matching.

License

Notifications You must be signed in to change notification settings

adibarra/XO-MarketBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XO-MarketBot

This project is a bot which is meant to allow users automatically purchase, craft, and sell items at an optimal price in a game called Crossout.

Last updated [2021-09-01].


Screenshot

Features:

  • Automatically open market tab
  • Automatically read in orderbook via OCR and template matching
  • Automatically place orders via OCR and template matching

Version 1.0 Roadmap:

  • Add template matching support
  • Add OCR support
  • Add OCR image preprocessing
  • Upgrade template matching search
  • Display a status message
  • Display the image being searched for
  • Automatic item purchasing
  • Periodically reset orders to avoid stuck low orders
  • Improve item price calculator by calculating trade volume
  • Automatic item crafting
  • Automatic item selling
  • Better reliability

Notes:

  • Built with Python 3.9.
  • Automatically creates a png file called 'xocv.png' which is updated to display what the bot is currently doing

Installation and Setup Instructions

  1. Install Python Dependencies:
    ### install python dependencies
    $ sudo apt-get install python3
    $ python3 -m pip install --upgrade pip
    $ python3 -m pip install -r path/to/project/requirements.txt
  1. Install tesseract-ocr Binaries:
    ### download tesseract-ocr folder to the project direcory
    $ cd path/to/project
  1. Start the bot:
    ### run the bot script
    $ cd path/to/project
    $ python3 /path/to/project/__main__.py

And you're done!

About

A Python automation tool for the game Crossout that automatically buys, crafts, and sells items at optimal prices using OCR and template matching.

Topics

Resources

License

Stars

Watchers

Forks

Languages