I'm under the impression that as of the next "big" patch verboselogging will be on by default anyway, so that shouldn't be necessary.I think it's also changed every time a new game patch is released. It sucks to ask this, but could the toolbox check the netlog file for the verbose logging string when it starts up?
Indeed you can import netLogs directly to EDSM and you should do it that way anyway since EDSM requires the time to be UTC, whereas ED ToolBox uses your systems time. Nice script though![]()
There's the problem isn't it...
Just need a non-ingame tool that can pull that
...
So Walter... gonna add that?
What you and I both want is a way to grab the distances to Trilateration in a 'automated' manner that grabs the 4x systems automatically on arrival to a unknown system and applies them to EDSM.... Just need a non-ingame tool that can pull that
(I know, shut up Fox)
I had actually tried about a year ago to extract coordinates directly from the in-game galmap, since it obviously knows where to put the stars in 3D. I was looking at a "legal" way of doing (e.g. OCR/image processing, rather than hooking into the client). However, it was far more difficult and unreliable than anticipated, since the galmap uses a perspective view, which requires calibration depending on resolution and screen size, and finding reference points was very arduous.
There might still be a way, e.g. putting sidewinders in different reference systems so that they show up clearly on the map, taking screenies and calculating angles. Calibration could be done using well known systems. But I ran out of energy or interest, since it is a very fragile method.
As far as hooking into the game, is that totally frowned apon or just in regards to market data ?
You mean how I did it? Well, there might be an easier way, but this is what I did:
1) I opened this file: ED ToolBox\data\server_config.inc.php which has the database user and password.
2) Then in ED Toolbox, I clicked on top right gear icon > Database Management and logged in with it. elite_log is the database name, and there's a table called user_visited_systems.
3) I did a CSV export of that (left side "Export", and select the table + CSV option with semicolon). The format is id;system;date
4) Formed a set of EDSM queries with search+replace (you need an EDSM account). I used wget (cygwin on Windows or a linux box will do, curl would also work), so the format became:
Code:wget "http://www.edsm.net/api-logs-v1/set-log?apiKey=YOURAPIKEYHERE&commanderName=YOURCOMMANDERNAME&systemName=SYSTEM&dateVisited=DATE"
The system and date from the export are of the proper format.
5) Ran the queries
6) Verified the results with grep -v "100" set-log* (a "100" result is OK, so I checked the files wget created for any other result code, usually the errors are duplicate entries, 401 and 402)
7) done!
EDIT: Note that EDSM also accepts netlogs for direct import! But I saw that too late
Just noticed your EDIT, after getting to step 4, installing Cygwin took around 3 hours as I didn't know which tools I would need so I lazily selected all. Then when if finished I noticed your EDIT. I've already done that, so I guess I don't need to bother doing the advanced stuff? Correct?
If you've uploaded all your netlogs to EDSM, then no you don't need to do the rest, it would be redundant. I would have done so myself if I'd seen it sooner.
EDIT: And I move the EDIT in my other post to the top so that it's clearer.![]()
Thanks!AWESOME!
I gave it a try already, and the FD API hook works perfectly.
Now would be nice to have some infos about the new Marvin capabilities: I mean what are the links to access them
Thanks Walter!
O
B
A
F
G
K
M
L
T
Y
Black Hole
Neutron Star
White Dwarf
Wolf-Rayet Star
Carbon Star
Protostar
Maybe not something that specific, but adding a textbox to where you can write a comment about the system and submit to EDSM is a good idea and should be easy enough to implement.Another feature request, if it's not too much trouble. EDSM does not seem to have a way of specifying star type when you submit a log, so I use comments, but that takes too long. Would it be possible to have a quick 1 click selection on the system information screen that would update the EDSM log entry with a comment containing the star type.
E.g. a radio list or buttons or images allowing to select from:
Code:O B A F G K M L T Y Black Hole Neutron Star White Dwarf Wolf-Rayet Star Carbon Star Protostar
And then submit "Star Type: Neutron Star" as the comment for that EDSM log?
Maybe not something that specific, but adding a textbox to where you can write a comment about the system and submit to EDSM is a good idea and should be easy enough to implement.
I was thinking of making a select box to go with the text box where the user can define a set of standard comments in the settings and send them to EDSM by just selecting them. That way you could use it to chart star types, someone else might use it to chart planet types, etc.I was hoping for a single click, since I would be doing this while scanning stars. Typing is way too slow, and it's dangerous to stay out of the game for too long with neutrons and black holes.
First donation! Much appreciatedDear Walter, you deserved a donation from me
Check your balance!
Cheers