Discussion Getting current CR balance from Status.json

I want to get my cr balance and use it in a program. The elite journal docs said that I could find it in the "Status.json" file however it doesn't have that value when I open it. Is it moved somewhere else or is there something I need to do to make it show up in the "Status.json" file?
 

Attachments

  • Status.png
    Status.png
    107.1 KB · Views: 68
I find my credits in the Journal.log in the event "Load game".
Does this help you ?
{ "timestamp":"2022-01-11T20:37:05Z", "event":"LoadGame", "FID":"xxxxxxxx", "Commander":"Name", "Horizons":true, "Ship":"Python", "ShipID":11, "ShipName":"SPACE RUNNER", "ShipIdent":"SR-07G", "FuelLevel":32.000000, "FuelCapacity":32.000000, "GameMode":"Group", "Group":"Elitedangerous.de", "Credits":489742302, "Loan":0 }
 
I find my credits in the Journal.log in the event "Load game".
Does this help you ?
{ "timestamp":"2022-01-11T20:37:05Z", "event":"LoadGame", "FID":"xxxxxxxx", "Commander":"Name", "Horizons":true, "Ship":"Python", "ShipID":11, "ShipName":"SPACE RUNNER", "ShipIdent":"SR-07G", "FuelLevel":32.000000, "FuelCapacity":32.000000, "GameMode":"Group", "Group":"Elitedangerous.de", "Credits":489742302, "Loan":0 }
Thanks, seems like that would work, i'm trying to make something that keeps track of money made while trading and I get both starting balance, price when buying and selling and per ton price so I think It'll work! o7 CMDR!
 
Balance was added to Status.json in Odyssey - it's not in the Horizons version. Hopefully it will be added to Horizons at some point.
Do you know if new journal docs are planned soon ? I have already asked here
, but have not received an answer. :(
 

Robert Maynard

Volunteer Moderator
Do you know if new journal docs are planned soon ? I have already asked here
, but have not received an answer. :(
They only usually get re-issued when there are changes.
 
Back
Top Bottom