Helper scripts to assist trading in NeoFly.
- 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
orpip3 install -r requirements.txt
- 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'
Before running these scripts, please backup your NeoFly database!
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.
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.