Discussion Commanders log manual and data sample

wolverine2710

Tutorial & Guide Writer
To be sure its best to contact Ed and/or Zac. I thought it was mentioned one time in the newsletter that selling apps is allowed. There are a few paid (Android/IPhone/Ipad) apps out there. EVA comes to mind.
 
Last edited:
Just to repost a relevant bug report:

https://forums.frontier.co.uk/showt...ss-620-and-CM-Draconis)?p=5277262#post5277262

{ "timestamp":"2017-03-14T09:55:56Z", "event":"FSDJump", "StarSystem":"CM Draconis", "StarPos":[-35.688,30.938,2.156], "SystemAllegiance":"PlayerPilots", "SystemEconomy":"$economy_None;", "SystemEconomy_Localised":"None", "SystemGovernment":"$government_None;", "SystemGovernment_Localised":"None", "SystemSecurity":"$SYSTEM_SECURITY_low;", "SystemSecurity_Localised":"Low Security", "JumpDist":19.914, "FuelUsed":3.724794, "FuelLevel":59.904915, "SystemFaction":"CM Draconis Clan", "FactionState":"Retreat" }

The issue here is that CM Draconis has 0 population and 0 stations and thus shouldn't have factions.

{ "timestamp":"2017-03-14T10:00:59Z", "event":"FSDJump", "StarSystem":"Ross 620", "StarPos":[28.469,25.750,-47.969], "SystemAllegiance":"UNDEFINED", "SystemEconomy":"$economy_None;", "SystemEconomy_Localised":"None", "SystemGovernment":"$government_None;", "SystemGovernment_Localised":"None", "SystemSecurity":"$SYSTEM_SECURITY_medium;", "SystemSecurity_Localised":"Medium Security", "JumpDist":26.127, "FuelUsed":7.653526, "FuelLevel":39.506577 }

The issue here is that the game claims UNDEFINED as System Allegiance - it even does it in the galaxy map.
 
Sorry, no: I think that information is only held on the server database - it's not present in the data structures I have available to me at the time you enter the system

The pending and recovering states are in the right panel, click through on the faction list - they might be loaded after the enter system event; could you find out when they are loaded and create a journal event at that point?
 
Last edited:
Just been checking the beta out and I notice that a script I use which reads the player journal no longer works as it does when used with the live version of the game. Essentially lines do not get read as they usually do. Has something changed in the way the beta writes to the log? Seems that my reader script is being blocked from accessing the file if the beta writes a couple of entries in a succession... I double checked some scenarios in the live version of the game and again in the current beta and the behaviour seems different.

I even added some debugging to my script and can manually add entries to the log myself and they get read as they should, the minute I try the same in the beta, lines which would normally be read get missed.
 
Last edited:
Just been checking the beta out and I notice that a script I use which reads the player journal no longer works as it does when used with the live version of the game. Essentially lines do not get read as they usually do. Has something changed in the way the beta writes to the log? Seems that my reader script is being blocked from accessing the file if the beta writes a couple of entries in a succession... I double checked some scenarios in the live version of the game and again in the current beta and the behaviour seems different.

I even added some debugging to my script and can manually add entries to the log myself and they get read as they should, the minute I try the same in the beta, lines which would normally be read get missed.
It looks to be working without issues here, same as on live. All the startup/login events were there instantly, as was: 1) notification of repairing integrity, 2) a screenshot, 3) storing a module.

FWIW I'm using 'tail' in CygWin64 on Windows 10 Home Premium 64-bit to test. Specifically:

Code:
tail --lines=1000 -f "$(/bin/ls -1t /cygdrive/c/Users/<user>/Saved\ Games/Frontier\ Developments/Elite\ Dangerous/Journal.* | head -1)"
 
Last edited:
Yeah its odd, I notice lines not being read when they are written with timestamps within ten seconds of each other. I spent a few hours writting around the issue last night, which seems to work. I still don't understand the difference I see between using my code on the live version and the beta version.
 
Last edited:
On live I'm having to open & close the journal file for reading before I can read the file size to see if it's changed.

If I read the file size without opening the file first it doesn't report that the file size has increased.

This isn't 100% trustworthy though and it doesn't always work; but 9/10 times it does.
 
Last edited:
What language are you using?

In VB.NET I use this:

Dim file = New FileInfo(KnownFolders.GetPath(KnownFolder.SavedGames) & "\Frontier Developments\Elite Dangerous" & currentJournal.Name)
filesize = file.Length

Works a treat
 
I just had a thought. Would it be possible to log the current music file or indicate the mood somehow?

It would make it possible to write a contextual jukebox using the user's preferred music files.

I just had the same idea, reading a thread suggesting more varied music but if there was an event like

Code:
{ "timestamp":"2016-06-10T14:35:00Z", "event":"MusicPlayed", "Mood":"CombatIntense", "OSTTrackName":"JumpDist":"Combat - High Intensity - Engagement - Section 3" }

Clients would then be able to remote a music player to select a track from an appropriate playlist. I'm sure there must be some kind of API under Windows like MPRIS on Linux for telling music players what to do.

No, Esvandiary, this isn't satire.
 
Is it possible to add minor faction influences to the journal on FSD jump, or "system status screen opened" event? It would be very usefull for our BGS managers
 
Back
Top Bottom