Skip to content

Latest commit

 

History

History
194 lines (148 loc) · 7.7 KB

README.md

File metadata and controls

194 lines (148 loc) · 7.7 KB

EVE Online Bot

⭐ Consider leaving a Star on GitHub — Great motivation to continue development!

TensorFlow

⚠️ WARNING
This is for educational Purposes only. Authors of this Repo or associated repos take no responsibility for its usage.

Table Of Contents

🎁Features

The following are features of this bot and for the most part, work out of the box after the user has configured their environment.

💡Objectives

Objectives are high level functions where all the rules to accomplish the particular objective have been aggregated and normalized into a sequence of events.
Some objectives can be short lived such as navigating waypoints. Other objectives can consume an entire session such as mining.

🚧Auto Miner

This objective consumes the entire session, and in fact, will create its own session and manage both the launcher and login process. This bot was built to be a One Click start and will manage itself.
Key Features:

  • Auto Unload at 'Home'
  • Auto Field depleted detection and avoidance
  • Auto server reboot and reconnect

ML Component:

  • Game State (In Hanger, In Flight, Server Disconnected, Character Selection)
  • Miner 1 and miner 2 states

Pixel Density Component:

  • Survey Scan Results Window
  • Inventory Window Cargo Fullness

Tesseract Component:

  • Locations Window

🚗Waypoint Navigation

This objective only runs for as long as you need it to or until it has arrived at its destination, set a chain of waypoints and let the bot blitz through them. How is this different from Auto Pilot in Eve Online? Auto Pilot will land you w/in 5-10km of the target. This wings you as close as your ship will allow.
Whats the magic here? Leveraging ML to understand the content menus and select the right options.
Key Features:

  • High Speed Way Point Navigation
  • Auto Stop on Destination

ML Component:

  • Game State (In Hanger, In Flight, Server Disconnected, Character Selection)
  • Context menu understanding

Pixel Density Component:

  • None

Tesseract Component:

  • None

🔧Sub Functions

🏢Architecture

alt text

💾Installation

This bot consumes your mouse and keyboard, good for running on standalone PC.

📋Requirements

  1. 1920x1080 Monitor
  2. UI set to 125% scaling (tesseract needs this)
  3. UI Windows locked and transparency disabled
  4. Eve Online running full screen or windowed
  5. Create your virtual environment (python 3.9)
  6. Install requirements (pip install -r requirements.txt)
  7. Install your tensorflow of choice:
    • pip install tensorflow (recommended, for CPU only)
    • pip install tensorflow-gpu (will require additional GPU setup, not recommended)

📃Settings

Working on a YT video for this. You will need to configure this for your personal setup. Some of this config is done by hand, the rest is done by an overlay tool.

General Config

In this config file, under "default.general", set "log_dir", "monitor_number", and "eve_launcher" to your appropriate settings:

"general": {
    "log_dir": "\\\\databrick\\N\\eve_logs",
    "monitor_number": 2,
    "eve_launcher": "D:\\EVE\\Launcher\\evelauncher.exe"
},

Note 'monitor_number' is just a random number the toolkit assigns to your monitors. if you only have 1 monitor, set the value to 0. Experiment what number is yours in the next step.

"mongo_logging": {
    "mining_bot": {
        "mongo_host": "mongodb+srv://cluster0.ufnlr1u.mongodb.net/?retryWrites=true&w=majority",
        "mongo_authMechanism": "SCRAM-SHA-256",
        "db_name": "Eve",
        "collection_name": "History"
  }
}

Note To disable Mongo Logging, just delete 'mining_bot' dictionary from the config.

ml_botting_core

Note You wont need to alter anything under, 'ml_botting_core' if you are using the repo as intended. 'ml_botting_core' feeds directly into, ml-botting-core

Static Screen Locations

Out of the box, the following command would work, we are starting the Overlay tooling to set your static clicking and reading space.

Start_AI_Pilot.py --config_file "AI_Pilot\ai_pilot_config_v2.json" --setup_mode 1

Your objective, click and drag the dots to align with how it appears below.

Note

  • Set your UI Scaling to 125%
  • Set your UI Transparency to 0%
  • Lock your windows and be sure they are not obstructed (sett he chat window to be in a non invasive location)

Running Miner

Very simple, will auto start the game client.

Start_AI_Pilot.py --config_file "AI_Pilot\ai_pilot_config_v2.json" --headless_miner 1
Setting up Locations:

Set up about 9 locations and have the names added to the list in the config file under node "mining_sites", Be sure to add a "Home" location for unloading.

Running Project Discovery

Have the game open, have project discovery open and have already configured the two PD Ranges and Click Target.

Start_AI_Pilot.py --config_file "AI_Pilot\ai_pilot_config_v2.json" --headless_project_discovery 1
"click_target_pd_submit_target": [
    1173,
    696
],
"range_pd_top": [
    101,
    458,
    567,
    682
],
"range_pd_bottom": [
    101,
    214,
    571,
    424
],