That's because you didn't use the supplied Station.csv file which now includes stations from "LHS 3447". It's a "user error" not a bug![]()
Thanks, at least I know that my remediation was correct (for the way I am trying to use TD)
That's because you didn't use the supplied Station.csv file which now includes stations from "LHS 3447". It's a "user error" not a bug![]()
I second the "price date" in the -vv or -vvv output (IF it's available in the current database... I still didn't check anything program-wise)
DRY411S:
Thanks for your persistence, standalone support is a little rough at the moment but it's not intentional.
You may want to get hold of "Atlassian SourceTree" for updating the git repository, especially if you're making changes to system.csv.
The utf-8 errors you saw were from the big merge, I think, someone had entered names with non-standard character in them, "Mantcac" had been entered with some non-ascii version of 'c', etc.
Another advantage of getting SourceTree is you can also "fork" the repos and make changes to your copy and "commit" them. If you make a significant change to say System.csv you can send a "pull request" and I can merge it into the main branch.
The main thing about ST is that - I find - it lets you use git without having to get your hands really dirty, and you have the visual diff tool to see "oh, this is what is about to change".
I have some other feature work in-flight, once I've done that, I'll take a look at supporting "*.local.csv" files which allow you to have your own local data that doesn't fight so-much with the repos stuff so it's easier to run a standalone without so much conflict.
A bit of a feature request:
An option in run to exclude price data older than a given threshold. With he economy changing so rapidly, I'll often find that the stale price data gives poor results.
It might also be nice to show the price data age in the output. That way I may think to visit a system on purpose to refresh that data, or make a judgment call on my own as to the risk involved in a route.
- - - - - Additional Content Posted / Auto Merge - - - - -
Also,
Is there a convenient way to merge .prices files and use the most recent data in each? I'll often find myself concentrating on entering my own data and want to merge with Maddavo's or something.
I have some Git Tools installed at the moment for a different project. Got a lot of reading to do before I understand all things Git I think.![]()
I think I introduced the utf-8 errors. The .csv files with your download are fine. Mine were bad for some reason. Fixed now.![]()
Thanks for your continued commitment to this. If I got to choose your priorities, I think the things I flagged with the graphical editor getting things 'out of order' would be #1.
I posted about it in this topic a few posts back. But if you insist ... here![]()
Quick question, does this system determine the most profitable trade routes by taking account of fact the most profitable route may require you don't load up all your cargo capacity I order to make the jump range?
i ask given a specific scenario I encountered. I was exploring for a rich gold trade route, typically something paying 1500cr+ per ton margin. I found a route paying circa 2000cr per ton margin but unfortunately was only able to make one crucial jump at zero cargo. With a full hold the jump was too far and the round route was ridiculously wide so it ruined the route at least until I find a ship that can make the jump loaded![]()
Preamble:
.....
Feel free to join the Facebook Group if you'd like a more in-depth discussion of this.
$ ./trade.py run -vvv --cred 10000 --cap 40 --ly 16 --from 'Meredith City' --hops 3
LFT 926/Meredith City -> BUNDA/Faraday Ring:
Start CR: 10,000
Hops : 3
Jumps : 3
Gain CR : 44,000
Gain/Hop: 14,666.7
Final CR: 54,000
$ ./trade.py run -vvv --cred 10000 --cap 40 --ly 16 --from 'Meredith City' --jumps 3
LFT 926/Meredith City -> SHINRARTA DEZHRA/Jameson Memorial:
Start CR: 10,000
Hops : 2
Jumps : 2
Gain CR : 25,880
Gain/Hop: 12,940
Final CR: 35,880
Wonderful tool. I'm really enjoying using it. One thing I haven't been able to figure out though: I'm using Maddavo's CSV file, but I've run into stars that aren't there. I can add in new stars via http://www.edstarcoordinator.com/ but for stars that are already in the DB but aren't in the CSV, I can't find an easy way to get the coordinates. http://www.edstarcoordinator.com/ just tells me that the star's already in there, but won't give me anything useful about it, such as coords or anything. Any ideas/resources for this? (Forgive me if this has been asked and answered, but it's a long thread and I couldn't find anything via search)
Also, I noticed a few things in the default prices sheet (when opened in notepad) that I'll submit as bugs to SourceTree, but Microbial Furnaces and Mineral Extractors seem to be in the reverse order and it would be nice if the sheet would submit with a single value if I forget to put in the second value for the commodity, or continue to parse and commit the rest of the sheet, even if one commodity is not correctly formatted.
I think this sends the data to maddavo.
Thanks, very helpful! I had a question on the behavior of the import subcommand. Do the prices overwrite what's there? Do it overwrite only if the price data is more recent? Or does it just import over unreported price info? Only importing if it's more recent would seem to be the logical choice. Can this be added to the documentation?
--hops sets both --jumps and --hops. --jumps does nothing:
Code:$ ./trade.py run -vvv --cred 10000 --cap 40 --ly 16 --from 'Meredith City' --hops 3 LFT 926/Meredith City -> BUNDA/Faraday Ring: Start CR: 10,000 Hops : 3 Jumps : 3 Gain CR : 44,000 Gain/Hop: 14,666.7 Final CR: 54,000 [/QUOTE] It's telling you how many times your ship will have to jump between systems on the route it found. Consider the following: [code] $ trade.py run --cap 4 --cr 10000 --ly 1 --from aiabiko/haber --hops 1 -vvv AIABIKO/Haber Dock -> AIABIKO/Savitskaya Station: Start CR: 10,000 Hops : 1 Jumps : 0 Gain CR : 448 Gain/Hop: 448 Final CR: 10,448 Load from AIABIKO/Haber Dock: 4 x Power Generators 385cr each, 1,540cr total Jump => Gain 448cr (112cr/ton) => 10,448cr ---------------------------------------------------------------------------- Finish at AIABIKO/Savitskaya Station gaining 448cr => est 10,448cr total
Jumps sets an upper limit, it doesn't set a requirement. It says, don't jump more than this many times per hop.
HOWEVER while checking the above, I did find a bug that could result in it saying "-1" jumps if some routes were same-system, and I also realized that since Gamma 1 "--jumps 0" had become useful:
Code:// get version 6.1.4 and try this: $ trade.py run --cap 4 --cr 10000 --ly 20 --jumps 0 --hops 1 -v --routes 5