Skip to content

marcluer/neofly-market-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neofly-market-helper

Helper scripts to assist trading in NeoFly.

Installation

  • NeoFly and Python (3.9) need to be installed
  • Download neofly-market-helper either by:
    • Clicking on "Code" - "Download ZIP" above or
    • git clone https://github.com/marcluer/neofly-market-helper.git
  • Install Python requirements:
    • pip3 install --requirement requirements.txt or
    • pip3 install -r requirements.txt

Configuration

  • Create a config.py in the neofly-market-helper directory with the following contents:
    bingkey = 'AddYourBingKeyHere'
    db_file = 'C:/ProgramData/NeoFly/common.db'
    neofly_window_name = 'NeoFly 3.13'                  # needed for interfacing with the NeoFly gui
    
    # variables for scanning markets
    airport_icao = 'EDDW'       # scan around this airport...
    scan_radius = 20            # ...with this radius
    
    # variables for generating map
    # airport_icao from above is also used for generating map
    good = 'Caviar'
    zoom_level = '7'
    

Running

Before running these scripts, please backup your NeoFly database!

scan_markets.py

Execution: python3 scan_markets.py
Before running the script, NeoFly needs to be running and e.g. on the "Mission" tab.
This script will move your mouse cursor and access the specified markets in the NeoFly gui.
Inside NeoFly this will effectively generate the list of goods an airport wants to buy/sell.

show_goods_on_map.py

Execution: python3 show_goods_on_map.py
NeoFly itself does not need to be running for this script.
This script will access the NeoFly database and fetch a list of airports that buy/sell the specified goods.
A map will be generated with these airports and be saved as index.html
Now simply open the index.html in the browser of your choice.

Example

This is an image

About

Helper scripts to assist trading in NeoFly.

Resources

Stars

Watchers

Forks

Releases

No releases published