In-Development Information Display for Logitech Flight Instrument Panel

Hi mhwlng,

I just wanted to write and say a big thank you for your work on this awesome tool. I have it running four FIPs.

I just have a single small issue. Sometimes, the data doesnt update as quick as i'd hope. For instance, when smashing away at a bad guy, the "Target" function will display the ship info just fine, but it doesnt update the shields / hull of who-ever it is i'm rail-gunning to death. Also I notice the same with the "CMDR" function screen, it doesnt always update the bank balance, or ranks. Sometimes, it doesnt update until I shutdown Elite, and the FIP app, and restart. Is this normal? Happy to help troubleshoot if needs be.

Untitled.jpg
 
Sometimes, the data doesnt update as quick as i'd hope

The game state is written by the game in various log files in this directory :
C:\Users\%userprofile%\Saved Games\Frontier Developments\Elite Dangerous

It is not really 'real time'. there is always some delay due to this file-based mechanism.
The FIP software waits for the files to change, then reads the new data from the files and then immediately displays the data.

So, unfortunately, I can't make it any faster. It's as fast as the game updates these files.

it doesn't always update the bank balance, or ranks.

In that case, you need to check the most recent elite log files, when you know that the balance/rank has been changed, but the fip panel still shows the old values.
If the new balance/rank data is not in the most recent elite log file, then there is nothing that I can do.

If you do see the correct balance/rank in the most recent elite log file, but not on the fip panel, post the event message from the elite log file here.
There are quite a lot of event messages that influence the bank balance (sell ship, finish mission etc.)
Perhaps I forgot to look at some...
With the new odyssey version, there will be a lot more event messages that influence balance (book taxi, buy spacesuit, etc.) and two more ranks

It always shows the correct balance/rank, when you stop/start elite, because the game always adds event messages with your latest balance/rank data to the most recent elite log file, every time that elite is started.
 
Last edited:
I'm assuming that the logs that should hold or show my credit balance would be in:

C:\Users\<username>\Saved Games\Frontier Developments\Elite Dangerous\Journal.*.log

right?

I had the mismatched credit balance occur last night, and i'm looking in what I assume is the correct log file based on the file location above, but i'm struggling to find any reference to a balance except at the start of the play session. I'm assuming it's the number value after "Credits": <value>

I get these 2 entries at the start of the journal log:
Code:
{ "timestamp":"2021-05-12T22:12:28Z", "event":"LoadGame", "FID":"F8629", "Commander":"Spooner", "Horizons":true, "Ship":"Krait_MkII", "Ship_Localised":"Krait Mk II", "ShipID":9, "ShipName":"STARBUG 3", "ShipIdent":"1B-DI", "FuelLevel":32.000000, "FuelCapacity":32.000000, "GameMode":"Group", "Group":"xxxxx", "Credits":598952747, "Loan":0 }

Code:
{ "timestamp":"2021-05-12T22:12:33Z", "event":"Statistics", "Bank_Account":{ "Current_Wealth":1334920095, "Spent_On_Ships":187263015, "Spent_On_Outfitting":619534567, "Spent_On_Repairs":1131306, "Spent_On_Fuel":123124, "Spent_On_Ammo_Consumables":417358, "Insurance_Claims":2, "Spent_On_Insurance":829100, "Owned_Ship_Count":9 }, "Combat":{ "Bounties_Claimed":547, "Bounty_Hunting_Profit":90202011, "Combat_Bonds":31, "Combat_Bond_Profits":2300768, "Assassinations":2, "Assassination_Profits":187570, "Highest_Single_Reward":283125, "Skimmers_Killed":0 }, "Crime":{ "Notoriety":0, "Fines":9, "Total_Fines":71580, "Bounties_Received":3, "Total_Bounties":1400, "Highest_Bounty":600 }, "Smuggling":{ "Black_Markets_Traded_With":1, "Black_Markets_Profits":78302, "Resources_Smuggled":7, "Average_Profit":78302, "Highest_Single_Transaction":78302 }, "Trading":{ "Markets_Traded_With":45, "Market_Profits":915554270, "Resources_Traded":32126, "Average_Profit":5261806.1494253, "Highest_Single_Transaction":196196944 }, "Mining":{ "Mining_Profits":622622276, "Quantity_Mined":1234, "Materials_Collected":3529 }, "Exploration":{ "Systems_Visited":1915, "Exploration_Profits":24816277, "Planets_Scanned_To_Level_2":4919, "Planets_Scanned_To_Level_3":13041, "Efficient_Scans":0, "Highest_Payout":548537, "Total_Hyperspace_Distance":44387, "Total_Hyperspace_Jumps":2686, "Greatest_Distance_From_Start":2747.7439407033, "Time_Played":1172820 }, "Passengers":{ "Passengers_Missions_Bulk":0, "Passengers_Missions_VIP":0, "Passengers_Missions_Delivered":0, "Passengers_Missions_Ejected":0 }, "Search_And_Rescue":{ "SearchRescue_Traded":0, "SearchRescue_Profit":0, "SearchRescue_Count":0 }, "Crafting":{ "Count_Of_Used_Engineers":2, "Recipes_Generated":96, "Recipes_Generated_Rank_1":52, "Recipes_Generated_Rank_2":18, "Recipes_Generated_Rank_3":13, "Recipes_Generated_Rank_4":11, "Recipes_Generated_Rank_5":2 }, "Crew":{  }, "Multicrew":{ "Multicrew_Time_Total":840, "Multicrew_Gunner_Time_Total":254, "Multicrew_Fighter_Time_Total":406, "Multicrew_Credits_Total":0, "Multicrew_Fines_Total":0 }, "Material_Trader_Stats":{ "Trades_Completed":29, "Materials_Traded":359, "Encoded_Materials_Traded":256, "Raw_Materials_Traded":18, "Grade_1_Materials_Traded":21, "Grade_2_Materials_Traded":95, "Grade_3_Materials_Traded":125, "Grade_4_Materials_Traded":116, "Grade_5_Materials_Traded":2 }, "CQC":{ "CQC_Time_Played":0, "CQC_KD":0, "CQC_Kills":0, "CQC_WL":0 } }

Can I assume that the FIP tool, takes this number value as a variable, and then adds / subtracts from this variable based on events read from the journal log?

ED Discovery Tool updates the balance correctly.

I see plenty of things that affect my balance such as:

Code:
{ "timestamp":"2021-05-13T00:29:29Z", "event":"BuyAmmo", "Cost":11179 }
Code:
{ "timestamp":"2021-05-13T00:29:28Z", "event":"RefuelAll", "Cost":20, "Amount":0.373028 }

The FIP tool updates fine when these sorts of things are paid.

But last night I was handing in a couple of pirate massacre missions, that show the rewards. This is where I first spotted the mismatch:

Code:
{ "timestamp":"2021-05-13T00:29:56Z", "event":"MissionCompleted", "Faction":"Leviathan Scout Regiment", "Name":"Mission_MassacreWing_name", "MissionID":763891095, "TargetType":"$MissionUtil_FactionTag_Pirate;", "TargetType_Localised":"Pirates", "TargetFaction":"Dragons of Baudu", "KillCount":35, "NewDestinationSystem":"Diabak", "DestinationSystem":"Baudu", "NewDestinationStation":"Daimler Ring", "DestinationStation":"Jenkinson Vision", "Reward":11435018, "MaterialsReward":[ { "Name":"ExquisiteFocusCrystals", "Name_Localised":"Exquisite Focus Crystals", "Category":"$MICRORESOURCE_CATEGORY_Manufactured;", "Category_Localised":"Manufactured", "Count":3 } ], "FactionEffects":[ { "Faction":"Leviathan Scout Regiment", "Effects":[ { "Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;", "Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.", "Trend":"UpGood" } ], "Influence":[ { "SystemAddress":4717778307435, "Trend":"UpGood", "Influence":"+" } ], "ReputationTrend":"UpGood", "Reputation":"++" }, { "Faction":"", "Effects":[ { "Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;", "Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.", "Trend":"UpGood" } ], "Influence":[ { "SystemAddress":18263677347233, "Trend":"DownBad", "Influence":"+" } ], "ReputationTrend":"DownBad", "Reputation":"+" } ] }



I'm not a coder, except for a bit of Windows System Admin stuff such as Powershell and CMD. :)
 
Can I assume that the FIP tool, takes this number value as a variable, and then adds / subtracts from this variable based on events read from the journal log?

Yes

I see plenty of things that affect my balance such as:

I checked the code and BuyAmmo, RefuelAll and MissionCompleted events all adjust the Credits value..

MissionCompleted is the only event that increases the credits, the rest reduce the credits.
(with odyssey there will be others)

I don't know if the FIP panel always shows a value that is too high or too low, in case there is a mismatch ?

This is hard to debug without knowing the exact message, that causes the mismatch.

You can for example check for the difference in value between what the amount should be and what the fip panel is showing,
then find the message with that amount.

I assume that you don't have multiple accounts for elite ?
Because the fip panel software can't handle that.
 
Last edited:
I created a log file with all the events that you posted and I got the correct value on the fip panel:
598952747-11179-20+11435018=610376566
 
version 1.7.1
fix problem with prices not updating, due to data format change on inara
add PRELIMINARY odyssey functionality
 
Thanks for taking a look anyway.

I think half the trouble is that some things don't get written to the journal when they should. After raking the log file, I noticed that a second massacre mission that I handed in didn't get written into the log file, although my credit balance did get updated.

I took a photo on my phone last night showing the discrepancy:

1620915932235.png



Other than the reward for handing in the mission, I don't see any reference to the new balance, the value displayed in the FIP, or the difference between the two.
 
@Spooner I found that the fip software does not yet take into account rewards gained from these events :
  • SearchAndRescue
  • FactionKillBond
  • DatalinkVoucher
  • CommunityGoalReward
  • CapShipBond
  • Bounty
  • MultiSellExplorationData
  • SellExplorationData

Can you confirm that some of these are in your log files, causing the difference in credits ?
 
Last edited:
version 1.7.2

update credits for :
-SearchAndRescue
-FactionKillBond
-DatalinkVoucher
-CommunityGoalReward
-CapShipBond
-Bounty
-MultiSellExplorationData
-SellExplorationData
 
It's going to be a couple of days before I can get logged back in and check for you. I need to strip my PC this weekend and apply some new GPU cooling. But I will check.. If it helps, we could do a Discord / Webex / TeamViewer desktop share, and you can see my logs first hand.
 
Hi Mhwing, just a small detail I noticed, in the raw material panel, Ruthenium seems to be listed as a grade 5 mat instead of 4.

Thanks for the update, I was wondering which panels would be nice to have with Odyssey : )
 
Ruthenium seems to be listed as a grade 5 mat instead of 4.

I assume that you are using a recent version of fip-panel, because the MaximumCapacity in entryData.json was changed for Ruthenium.

That data comes directly from edengineer:

https://github.com/msarilar/EDEngineer/blob/master/EDEngineer/Resources/Data/entryData.json

JSON:
  {
    "Name": "Ruthenium",
    "Rarity": "Rare",
    "FormattedName": "ruthenium",
    "Kind": "Material",
    "Subkind": "Raw",
    "OriginDetails": [
      "Surface prospecting"
    ],
    "Group": "Category3",
    "MaximumCapacity": 100
  },

and it's listed as 'rare' (grade 4) but with maximum capacity 100


See this discussion where the max capacity was changed from 150 to 100 :

check out the screenshot ?

https://github.com/msarilar/EDEngineer/issues/581
 
Last edited:
Back
Top Bottom