Skip to content

Commit

Permalink
After successful merge with v6.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
RavenDT committed Feb 9, 2015
2 parents 94d96e4 + 4eadc4c commit 4ab4981
Show file tree
Hide file tree
Showing 28 changed files with 1,421 additions and 526 deletions.
37 changes: 37 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,48 @@ TradeDangerous, Copyright (C) Oliver "kfsone" Smith, July 2014
==============================================================================

[wip]
. (kfsone) Fixed 'set changed size' error in run command

v6.9.2 Feb 08 2015
. (kfsone) Feature #158 Find rares based on distance from multiple systems
"--away <ly>" and "--from <system1> --from <system2> ..."
. (kfsone) "run" -vv output now shows buy and sell price, use -vvv for totals
. (kfsone) Issue #165 "--to" for system without stations gave wrong result,
. (kfsone) Feature #161 Allow nav to require fuel stops
"--refuel-jumps" (--ref for short) lets you specify the maximum
number of consecutive non-station systems to allow on the route
. (dl4ner) Added maddavo options to README
. (kfsone) Feature #153 min/max values for sell/buy (--gt and --lt)

v6.9.1. Feb 08 2015
. (kfsone) Issue #163: Added "--opt=use3h", "--opt=use2d" and
"--opt=usefull" options to the maddavo pluggin.
. (kfsone) Fixed a division by zero bug in the --towards option,
. (kfsone) Fixed --towards showing a different destination when it
was able to reach the goal system with a low-scoring trade,
+ Systems, Stations: (kfsone) Curated EDSC and Maddavo

v6.9.0 Feb 06 2015
. (kfsone) Added "--towards" option to "run" command:
--towards GOALSYSTEM will restrict the route to destinations which
move the player towards GOALSYSTEM.
. (kfsone) Added "distanceTo" function to "System" which returns the
distance in ly to a second system,
. (kfsone) Minor performance gain in distance calculations,

v6.8.5 Feb 04 2015
. (kfsone) Added "trade" command to list station-to-station trades,
. (kfsone) "station" command now lists 5 sell and 5 buy items,
. (kfsone) "station" does a better job of parsing existing station names,
. (kfsone) Removed "--system" from "station" command, use
trade.py station -a "SYSTEM/Station"
syntax instead.
. (OpenSS) Added "Run To" option to trade.bat,
. (kfsone) Speed improvements to .csv and .prices loading,
. (kfsone) maddavo plugin tries to explain encoding errors,
. (chmarr) Fixed trade.py using the wrong argument list (#herp),
. (kfsone) titleFixup will handle 'von', 'de' and 'du' correctly,
+ Station/Rare Data (RavenDT)

v6.8.4 Feb 01 2015
. (kfsone) Fixed tradecalculator not selecting most profitable trade sometimes
Expand Down
92 changes: 87 additions & 5 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,14 @@ RUN sub-command:
--to Beagle2
--to lhs64

--towards <goal system>
Builds a route that tries to shorten the distance from your origin
and goal. Destinations that would increase the distance are ignored.
Tries to avoid routes that go backwards or detour. If you want to
avoid multiple visits in the same system, use --unique.
e.g.
--from iBootis --to LiuBese

--start-jumps N
-s N
Considers stations from systems upto this many jumps from your
Expand Down Expand Up @@ -385,6 +393,41 @@ RUN sub-command:
OMFG Output the current step of the checklist on your X52 Pro MFD.
Is that some sweetness or what?

TRADE sub-command:

Lists trades between two stations. Specify "-v" or "-vv" for more data.

trade.py trade [-v | -vv] <from station> <to station>

e.g.

trade.py trade "sol/daedalus" "groom/frank"
Item Profit Cost
---------------------------------------
Superconductors 1,331 6,162
Indium 1,202 5,394
Beryllium 1,021 8,051
Gold 1,004 9,276
Silver 838 4,631
...

trade.py trade "sol/daedalus" "groom/frank" -v
Item Profit Cost Stock Demand SrcAge DstAge
-------------------------------------------------------------------------------
Superconductors 1,331 6,162 1,229,497 621,964 1.17 2.37
Indium 1,202 5,394 1,397,354 683,398 1.17 2.37
Beryllium 1,021 8,051 68,181 529,673 1.17 2.37
...

trade.py trade "sol/daedalus" "groom/frank" -v -vv
Item Profit Cost AvgCost Buying AvgBuy Stock Demand SrcAge DstAge
----------------------------------------------------------------------------------------------------------------
Superconductors 1,331 6,162 6461 7493 6813 1,229,497 621,964 1.17 2.37
Indium 1,202 5,394 5640 6596 5961 1,397,354 683,398 1.17 2.37
Beryllium 1,021 8,051 7998 9072 8404 68,181 529,673 1.17 2.37
Gold 1,004 9,276 9212 10280 9600 82,951 938,765 1.17 2.37


UPDATE sub-command:

For maintenance on your local prices database. The default is to walk
Expand Down Expand Up @@ -497,6 +540,19 @@ IMPORT sub-command:
--maddavo
Like 'url' but specifies the URL for maddavo's .prices file

This has also additional options:
--option=<option> where option is one of the following:
buildcache: Forces a rebuild of the cache before processing
of the .prices file.
syscsv: Also download System.csv from the site.
stncsv: Also download Station.csv from the site.
skipdl: Skip doing any downloads.
force: Process prices even if timestamps suggest
there is no new data.
use3h: Force download of the 3-hours .prices file
use2d: Force download of the 2-days .prices file
usefull: Force download of the full .prices file

--ignore-unknown
-i
Any systems, stations, categories or items that aren't recognized
Expand Down Expand Up @@ -534,6 +590,22 @@ RARES sub-command:
e.g.
--limit 10

--reverse
-r
Reverse the order, can be used with "--ly" and "--limit" to find
the furthest-away rares

--away N.NN
--from SYSTEM1 --from SYSTEM2 ... --from SYSTEMN
Limits results to systems that are at least a given distance away
from additional systems.
e.g.
trade.py rare --ly 160 sol -r --away 140 --from lave
Shows systems starting at 160ly or less from sol,
but that are also 140ly or more from lave.
trade.py rare --ly 160 sol -r --away 140 --from lave --from xihe
As above but also compares for <= 140ly from xihe

--pad-size SML?
--pad SML?
-p
Expand All @@ -548,11 +620,6 @@ RARES sub-command:
-P
Sort by price rather than proximity

--reverse
-r
Reverse the order, can be used with "--ly" and "--limit" to find
the furthest-away rares

--quiet
-q
Don't include the header lines
Expand Down Expand Up @@ -603,6 +670,13 @@ NAV sub-command:
--stations
Lists stations at each stop

--refuel-jumps N
--ref N
Specify the maximum consecutive systems which do not have stations
you can pass through. For example "--ref 1" would require every
jump on the route have a station. "--ref 2" would require that
you not make more than one stationless jump after another.

from
Name of the starting system or a station in the system,

Expand Down Expand Up @@ -724,6 +798,10 @@ BUY sub-command:
Sets the range of --near (requires --near)
--near chango --ly 10

--lt NNN
--gt NNN
Specify min (gt) and max (lt) prices for items

--pad-size SML?
--pad SML?
-p
Expand Down Expand Up @@ -767,6 +845,10 @@ SELL sub-command:
Sets the range of --near (requires --near)
--near chango --ly 10

--lt NNN
--gt NNN
Specify min (gt) and max (lt) prices for items

--pad-size SML?
--pad SML?
-p
Expand Down
Loading

0 comments on commit 4ab4981

Please sign in to comment.