I've knocked out one of the requests to server
You really didn't have to, I was just curious.
I've knocked out one of the requests to server
I have no idea why Apache would intermittently send zero length in the headers and my google-fu is failing me.TD refuses to download a file when it gets "None" for content-length.
D:\Games\Game Tools\Elite\Trade Dangerous>trade.py run --hops 7 --from hip15266/linnehan --to cubeo -vvv --pla=YN? --credits=95000000 --capacity=150 --ly-per=27.98 --empty-ly=32.03 --insurance=15500000 --unique --progress --pad-size=L --age=2
* Hop 1: .........1 origins
* Hop 2: ........87 origins .. 1,350-255,600cr gain, 9-1,704cr/ton
NOTE: Pruned 166 origins too far from any end stations
* Hop 3: .......376 origins .. 28,350-747,300cr gain, 94-2,491cr/ton
NOTE: Pruned 808 origins too far from any end stations
* Hop 4: .......575 origins .. 143,802-1,128,750cr gain, 323-2,508cr/ton
NOTE: Pruned 1845 origins too far from any end stations
* Hop 5: .......465 origins .. 368,550-1,276,200cr gain, 614-2,285cr/ton
NOTE: Pruned 1676 origins too far from any end stations
* Hop 6: .......350 origins .. 430,088-1,572,600cr gain, 573-2,096cr/ton
NOTE: Pruned 1066 origins too far from any end stations
* Hop 7: .......120 origins .. 983,100-1,821,201cr gain, 1,092-2,267cr/ton
HIP 15266/Linnehan Orbital -> Cubeo/Medupe City (score: 2072017.088780)
Start CR: 79,500,000
Hops : 7
Jumps : 14
Gain CR : 2,073,450
Gain/Hop: 296,207
Final CR: 81,573,450
Load from HIP 15266/Linnehan Orbital (2.00Kls, BMk:Y, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y):
150 x Medicines/Basic Medicines 322cr vs 1,786cr, <1 hr vs 8 hrs, total: 48,300cr
Unload at Kehperagwe/Carson Terminal (18ls, BMk:Y, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 219,600cr (1,464cr/ton) => 95,219,600cr
Load from Kehperagwe/Carson Terminal (18ls, BMk:Y, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y):
150 x Textiles/Military Grade Fabrics 1,031cr vs 3,414cr, 8 hrs vs 1 hr, total: 154,650cr
Unload at Witchhaul/Boodt Keep (169Kls, BMk:N, Pad:L, Plt:Y, Shp:Y, Out:Y, Ref:Y) => Gain 357,450cr (2,383cr/ton) => 95,577,050cr
Load from Witchhaul/Boodt Keep (169Kls, BMk:N, Pad:L, Plt:Y, Shp:Y, Out:Y, Ref:Y):
150 x Weapons/Non-lethal Weapons 1,438cr vs 1,766cr, 1 hr vs 12 hrs, total: 215,700cr
Unload at Kappa Fornacis/Harvestport (918ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 49,200cr (328cr/ton) => 95,626,250cr
Load from Kappa Fornacis/Harvestport (918ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y):
150 x Slavery/Imperial Slaves 14,231cr vs 17,324cr, 12 hrs vs 17 hrs, total: 2,134,650cr
Unload at Putamasin/Weil Orbital (1.65Kls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 463,950cr (3,093cr/ton) => 96,090,200cr
Load from Putamasin/Weil Orbital (1.65Kls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y):
150 x Textiles/Military Grade Fabrics 934cr vs 3,557cr, 17 hrs vs 20 hrs, total: 140,100cr
Unload at Facece/Fortress York (913ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 393,450cr (2,623cr/ton) => 96,483,650cr
Load from Facece/Fortress York (913ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y):
150 x Metals/Gold 9,304cr vs 10,820cr, 20 hrs vs 34 hrs, total: 1,395,600cr
Unload at LTT 537/Gurshtein Hub (395Kls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 227,400cr (1,516cr/ton) => 96,711,050cr
Load from LTT 537/Gurshtein Hub (395Kls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y):
150 x Consumer Items/Consumer Technology 5,862cr vs 8,278cr, 34 hrs vs <1 hr, total: 879,300cr
Unload at Cubeo/Medupe City (332ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 362,400cr (2,416cr/ton) => 97,073,450cr
----------------------------------------------------------------------------
Finish at Cubeo/Medupe City (332ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) gaining 2,073,450cr (1,974cr/ton) => est 97,073,450cr total
Eyeonus - Are you sure your default LSP took? And is it effective at that level?
Two eyewateringly long deliveries here for very moderate profit levels (hop 2 & hop 6):
Code:D:\Games\Game Tools\Elite\Trade Dangerous>trade.py run --hops 7 --from hip15266/linnehan --to cubeo -vvv --pla=YN? --credits=95000000 --capacity=150 --ly-per=27.98 --empty-ly=32.03 --insurance=15500000 --unique --progress --pad-size=L --age=2 * Hop 1: .........1 origins * Hop 2: ........87 origins .. 1,350-255,600cr gain, 9-1,704cr/ton NOTE: Pruned 166 origins too far from any end stations * Hop 3: .......376 origins .. 28,350-747,300cr gain, 94-2,491cr/ton NOTE: Pruned 808 origins too far from any end stations * Hop 4: .......575 origins .. 143,802-1,128,750cr gain, 323-2,508cr/ton NOTE: Pruned 1845 origins too far from any end stations * Hop 5: .......465 origins .. 368,550-1,276,200cr gain, 614-2,285cr/ton NOTE: Pruned 1676 origins too far from any end stations * Hop 6: .......350 origins .. 430,088-1,572,600cr gain, 573-2,096cr/ton NOTE: Pruned 1066 origins too far from any end stations * Hop 7: .......120 origins .. 983,100-1,821,201cr gain, 1,092-2,267cr/ton HIP 15266/Linnehan Orbital -> Cubeo/Medupe City (score: 2072017.088780) Start CR: 79,500,000 Hops : 7 Jumps : 14 Gain CR : 2,073,450 Gain/Hop: 296,207 Final CR: 81,573,450 Load from HIP 15266/Linnehan Orbital (2.00Kls, BMk:Y, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y): 150 x Medicines/Basic Medicines 322cr vs 1,786cr, <1 hr vs 8 hrs, total: 48,300cr Unload at Kehperagwe/Carson Terminal (18ls, BMk:Y, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 219,600cr (1,464cr/ton) => 95,219,600cr Load from Kehperagwe/Carson Terminal (18ls, BMk:Y, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y): 150 x Textiles/Military Grade Fabrics 1,031cr vs 3,414cr, 8 hrs vs 1 hr, total: 154,650cr Unload at Witchhaul/Boodt Keep (169Kls, BMk:N, Pad:L, Plt:Y, Shp:Y, Out:Y, Ref:Y) => Gain 357,450cr (2,383cr/ton) => 95,577,050cr Load from Witchhaul/Boodt Keep (169Kls, BMk:N, Pad:L, Plt:Y, Shp:Y, Out:Y, Ref:Y): 150 x Weapons/Non-lethal Weapons 1,438cr vs 1,766cr, 1 hr vs 12 hrs, total: 215,700cr Unload at Kappa Fornacis/Harvestport (918ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 49,200cr (328cr/ton) => 95,626,250cr Load from Kappa Fornacis/Harvestport (918ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y): 150 x Slavery/Imperial Slaves 14,231cr vs 17,324cr, 12 hrs vs 17 hrs, total: 2,134,650cr Unload at Putamasin/Weil Orbital (1.65Kls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 463,950cr (3,093cr/ton) => 96,090,200cr Load from Putamasin/Weil Orbital (1.65Kls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y): 150 x Textiles/Military Grade Fabrics 934cr vs 3,557cr, 17 hrs vs 20 hrs, total: 140,100cr Unload at Facece/Fortress York (913ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 393,450cr (2,623cr/ton) => 96,483,650cr Load from Facece/Fortress York (913ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y): 150 x Metals/Gold 9,304cr vs 10,820cr, 20 hrs vs 34 hrs, total: 1,395,600cr Unload at LTT 537/Gurshtein Hub (395Kls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 227,400cr (1,516cr/ton) => 96,711,050cr Load from LTT 537/Gurshtein Hub (395Kls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y): 150 x Consumer Items/Consumer Technology 5,862cr vs 8,278cr, 34 hrs vs <1 hr, total: 879,300cr Unload at Cubeo/Medupe City (332ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) => Gain 362,400cr (2,416cr/ton) => 97,073,450cr ---------------------------------------------------------------------------- Finish at Cubeo/Medupe City (332ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y) gaining 2,073,450cr (1,974cr/ton) => est 97,073,450cr total
This is why I have said repeatedly that we need testing to determine the proper default, and the "recommended min and max" values you asked for to put in the documentation.
I will feel suitably chastised and do a bit of testing
So per my route above, the minimum to remove the 395k hop was LSP=12.
The 169k hop disappeared at LSP=16.
For the hop later in the list early destinations were unaffected. It seemed like other destinations only changed to accommodate the changes to the distant stations.
Probably because in order to run the old version and have it finish, we had to cut out so many options by passing max age or distance or supply etc. Now, the approximation is fast enough to explore a much larger universe of options, which is what you're seeing [cool].I don't know if you guys have experienced this - but the new simpleFit seems to be sending me to a greater variety of places. I generally use --unique anyway, but even so I am ending up at new places and especially more planetary landings than the old algorithm.
Which speaks nothing to the level of profit I might be making in comparison to the old method, but it is definitely more interesting - and that's worth a chunk of credits on its own.
Probably because in order to run the old version and have it finish, we had to cut out so many options by passing max age or distance or supply etc. Now, the approximation is fast enough to explore a much larger universe of options, which is what you're seeing [cool].
Okay, everyone, I've got the data collection issue up for eye-TD.
Put your data here:
https://github.com/eyeonus/Trade-Dangerous/issues/11
Make sure to read the OP first.
I realise it's early days, but we basically have:
4, 8.5, 12 & 16
As relevant values. I hope the rest of the data starts to home in a bit better than that. We'll see I guess![]()
Could be that the actual age is > 2 but < 2.5 so display rounds, but passing 2 (which is 2.0) won't find it whereas 3 does. Need to check code to be sure, though.
-u "trade.py" run --fr="TURIR/Brooks Terminal" --cap=720 --ins=3172226 --cr=430000000 --ly=24.73 --empty=37.61 --pad=L --margin=0.1 --hops=2 --jum=3 --age=3 --avoid="slaves,narcotics" --loop --summary --progress -vv
Load from Turir/Brooks Terminal (42ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y):
720 x Textiles/Military Grade Fabrics 625cr vs 3,557cr, 2 days vs 2 days
Expect to gain 2,111,040cr (2,932cr/ton)
Load from Facece/Fortress York (913ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y):
720 x Metals/Gold 9,304cr vs 10,968cr, 2 days vs 2 days
Expect to gain 1,198,080cr (1,664cr/ton)
trade.py market "TURIR/Brooks Terminal" -vv
Item Buying Avg Demand Selling Avg Supply Age/Days
---------------------------------------------------------------------------------------------
+METALS
Gold 10,968 9,845 163,205H 2.49
+TEXTILES
Military Grade Fabrics
trade.py market "Facece/Fortress York" -vv
Item Buying Avg Demand Selling Avg Supply Age/Days
-----------------------------------------------------------------------------------------------
+METALS
Gold
+TEXTILES
Military Grade Fabrics 3,557 1,115 123,986M 2.18
Load from Turir/Brooks Terminal (42ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y):
720 x Metals/Gold 9,304cr vs 10,968cr, 2 days vs 2 days
Expect to gain 1,198,080cr (1,664cr/ton)
Load from Facece/Fortress York (913ls, BMk:N, Pad:L, Plt:N, Shp:Y, Out:Y, Ref:Y):
720 x Textiles/Military Grade Fabrics 625cr vs 3,557cr, 2 days vs 2 days
Expect to gain 2,111,040cr (2,932cr/ton)
The beta testing version of TD Helper that works with EDDBlink is now available if anyone is interested in testing it. Setup instructions may be found at https://github.com/MarkAusten/TDHelper/wiki/Set-up-for-Beta-Testing.
Could be that the actual age is > 2 but < 2.5 so display rounds, but passing 2 (which is 2.0) won't find it whereas 3 does. Need to check code to be sure, though.
if tdenv.maxAge:
maxDays = datetime.timedelta(days=tdenv.maxAge)
cutoff = datetime.datetime.now() - maxDays
wheres.append("(modified >= ?)")
binds.append(str(cutoff.replace(microsecond=0)))
def describeAge(ageInSeconds):
"""
Turns an age (in seconds) into a text representation.
"""
hours = int(ageInSeconds / 3600)
if hours < 1:
return "<1 hr"
if hours == 1:
return "1 hr"
if hours < 48:
return str(hours) + " hrs"
days = int(hours / 24)
if days < 90:
return str(days) + " days"
months = int(days / 31)
return str(months) + " mths"