home.social

#elitedangerousodyssey — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #elitedangerousodyssey, aggregated by home.social.

  1. For those not on Twitter

    "A new hangar door is opening…

    Watch the exclusive new ship announcement in our Developer Log on Monday 16 February!"

    forums.frontier.co.uk/threads/

    #EliteDangerous #EliteDangerousOdyssey

  2. Heading off to the Distant Worlds 3 launch system then maybe check out some of the time trials

    #EliteDangerous #EliteDangerousOdyssey

    twitch.tv/epaphusuk

  3. Interesting mistakes were made 😅 Did settlement run, waiting for new combat changes to get public release and see what we all think about them #EliteDangerousOdyssey

  4. As Elite Dangerous uber fan, I have complicated relationship with ships. I can fly them really well. However, there are moments, I just want to taxi everywhere, which is not possible all the time. For me Apex Interstellar is interesting because I can these very long journeys on foot which gives a bit different angle on things, giving it a bit more journey feel. #EliteDangerousOdyssey #EliteDangerous

  5. It's been quite a journey. But sometimes, the views are worth it.

    Stay tuned for the next episode of #InMemoriamTour !

    #EliteDangeous #EliteDangerousOdyssey

  6. 10 200 ly in 3 months. That surely is *some* kind of record.

    Also, I'm at my final shooting location.

    Want to wager a guess which awesome planetary nebula this is?

    #EliteDangeous #EliteDangerousOdyssey #InMemoriamTour

  7. Parsing the Elite Dangerous Journal

    I gave in and changed my event forwarding method in node-red for the Elite Dangerous Journal. This file is updated on various in-game events but in a way that makes it difficult to get new events only since last update. Another problem is that it’s not really a valid JSON file because it has one JSON per line but it’s not a valid JSON array. This is why it has to be parsed line by line and mashed together by event type (name) again to get the latest data for each event type per dump. Each event has it’s own timestamp by set by the game. The latest timestamp is now saved on the special flow const so node-red keeps the value in the “global” memory of the current flow:

    msg.payload.event = "Journal";let newJournalTimestamp = flow.lastJournalTimestamp;Object.keys(msg.payload).forEach((key) => {  if (msg.payload[key].timestamp) {    const keyTimestamp = new Date(msg.payload[key].timestamp).getTime();    if (!flow.lastJournalTimestamp || flow.lastJournalTimestamp < keyTimestamp) {      // this entry is new - keep it. MULTIPLE events may have the      //  same timestamp so wait with reassigning so we don't skip      //  em or get the latest a 2nd time if nothing else changes.      // update the next latest timestamp if this is newer      if(!newJournalTimestamp || newJournalTimestamp < keyTimestamp) {        newJournalTimestamp = keyTimestamp;      }    } else {      // lastJournalTimestamp is newer, skip this      msg.payload[key] = null;    }  }});// make sure this is a valid date for the next timeflow.lastJournalTimestamp = newJournalTimestamp || new Date().getTime();// remove all nulled events from the payloadmsg.payload = Object.fromEntries(  Object.entries(msg.payload).filter(([_, p]) => p !== null));msg.payload.timestamp = new Date(flow.lastJournalTimestamp);return { payload: msg.payload };

    So I do now keep track of the last read timestamp and reject every event that is older than the last read keeping the Journal dump smaller. This way I don’t have to try to keep track of the “latest” event to drag data from. Refuelling e.g. can happen from whopping 4 (or more) different events and it’s painful to compare all and check which one is the latest to keep track of the real current fuel levels for each tank.

    Downside is I won’t get a full set of data for the current session any more if I have to reload my HUD app. This could be mitigated by using MQTT though where I could simply persist each event topic. That is already implemented and I can choose between SocketIO or MQTT in my app anyway.

    https://beko.famkos.net/2025/03/29/parsing-the-elite-dangerous-journal/

    #EliteDangerous #EliteDangerousOdyssey #homeCockpit #MQTT #NodeRed #simpit #SocketIO