Flight Log for time in ships, galaxies and other data.

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Flight Log for time in ships, galaxies and other data.

Post by Thargoid »

OK, just uploaded a new version (although I've still called it v1.00) with the misjump and servicing items now logged, plus also achievement of a new rank.

Same URL as before, again please give it a run and let me know if it works OK and if there's any final thoughts. If not I'll give it a fanfare release tomorrow.

Anyway, share and enjoy.
Diogenese Senna
Dangerous
Dangerous
Posts: 106
Joined: Fri Jan 31, 2014 1:08 am

Re: Flight Log for time in ships, galaxies and other data.

Post by Diogenese Senna »

Me happy :D
Location - Galaxy 5 : Python Explorer : Elite
'Death by Wife is fast becoming a real world OXP mission'
Diogenese Senna
Dangerous
Dangerous
Posts: 106
Joined: Fri Jan 31, 2014 1:08 am

Re: Flight Log for time in ships, galaxies and other data.

Post by Diogenese Senna »

Thargoid wrote:
One thing that I am considering is having the log kept for 100 events, but only displaying the most recent 10 (with the full 100 log being dumped to latest.log when you trigger that). If that works out then I may upgrade FL to do the same.
Me would be VERY happy indeedy I would
Location - Galaxy 5 : Python Explorer : Elite
'Death by Wife is fast becoming a real world OXP mission'
Diogenese Senna
Dangerous
Dangerous
Posts: 106
Joined: Fri Jan 31, 2014 1:08 am

Re: Flight Log for time in ships, galaxies and other data.

Post by Diogenese Senna »

Just had a 13000cr maintenance overhaul. Commanders Log only reports it as 100cr. Flight Log reports a loss of -8893cr (had to buy missiles and other repairs).

Curious.

Edit - Seven Hours Later

12000cr maintenance overhaul.
Commanders Log registered it as 100cr again.
Flight Log reported the cost correctly.
Location - Galaxy 5 : Python Explorer : Elite
'Death by Wife is fast becoming a real world OXP mission'
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Flight Log for time in ships, galaxies and other data.

Post by Thargoid »

That may be how the maintenance is reported to js given its a variable cost. Flightlog does the credits monitoring in a different way which I don't want to do in Commander's log, so I may need to remove the credit record from the item.

Will test a bit more as that was the one item I couldn't easily check last night. But I have a way to do so now.

By the way, the in game log now shows the last 15 items, but the dump log goes back up to 100. That seems to work OK.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Flight Log for time in ships, galaxies and other data.

Post by Thargoid »

OK, new version uploaded (same URL) with a fix for the price glitch. Cim confirmed that the price isn't correctly reported to JS, and provided me with the formula (in this version).

However I had a thunk and did it another way, which seems to work too so I went with that.

Again, please give it a run and see if it does the job. If there's any other ideas, this is the last call or else I'll release the OXP properly.
Diogenese Senna
Dangerous
Dangerous
Posts: 106
Joined: Fri Jan 31, 2014 1:08 am

Re: Flight Log for time in ships, galaxies and other data.

Post by Diogenese Senna »

Downloaded - will report as soon as
Location - Galaxy 5 : Python Explorer : Elite
'Death by Wife is fast becoming a real world OXP mission'
Diogenese Senna
Dangerous
Dangerous
Posts: 106
Joined: Fri Jan 31, 2014 1:08 am

Re: Flight Log for time in ships, galaxies and other data.

Post by Diogenese Senna »

It's usually about 20 jumps between Maintainence Overhauls on my ship.

It's now been 49 and still no show - when you want it, it never happens.

One thing I have noticed, and it's very minor - the three options listed are in a different order to Flight Log.

Still waiting for the Overhaul - I bet it arrives now that I've written this :D
Location - Galaxy 5 : Python Explorer : Elite
'Death by Wife is fast becoming a real world OXP mission'
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Flight Log for time in ships, galaxies and other data.

Post by Thargoid »

I'm just preparing v1.07 of Flight Log OXP, which will have them in the new order (it makes more sense to have the exit option as the last one I think, rather than the default first one). It will also have the expansion to 100 items, in the same way that Commander's Log now has it (with the most recent 10 displayed in the case of FL). That release should be either later today or tomorrow, depending on when I get some time.
Diogenese Senna
Dangerous
Dangerous
Posts: 106
Joined: Fri Jan 31, 2014 1:08 am

Re: Flight Log for time in ships, galaxies and other data.

Post by Diogenese Senna »

After 61 Days without an Overhaul - and putting my poor Python Explorer through hell - finally got a Maintenance Overhaul.

And Commanders Log registered it correctly at 13000cr. YAY. :D
Location - Galaxy 5 : Python Explorer : Elite
'Death by Wife is fast becoming a real world OXP mission'
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Flight Log for time in ships, galaxies and other data.

Post by Thargoid »

Righty-ho, consider this OXP officially launched... :twisted:
Diogenese Senna
Dangerous
Dangerous
Posts: 106
Joined: Fri Jan 31, 2014 1:08 am

Re: Flight Log for time in ships, galaxies and other data.

Post by Diogenese Senna »

Thargoid wrote:
Righty-ho, consider this OXP officially launched... :twisted:
Thou art a person of most excellent and high breeding...
Location - Galaxy 5 : Python Explorer : Elite
'Death by Wife is fast becoming a real world OXP mission'
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Flight Log for time in ships, galaxies and other data.

Post by Smivs »

Diogenese Senna wrote:
Thargoid wrote:
Righty-ho, consider this OXP officially launched... :twisted:
Thou art a person of most excellent and high breeding...
Well his mum is a 'Queen'!
Commander Smivs, the friendliest Gourd this side of Riedquat.
Neelix
---- E L I T E ----
---- E L I T E ----
Posts: 288
Joined: Sat May 31, 2014 9:02 pm
Location: Melbourne, Australia

Re: Flight Log for time in ships, galaxies and other data.

Post by Neelix »

Both Flight Log and Commanders Log have a bug under Oolite 1.79 and later that if you load a game saved at a Rock Hermit (or any other station than the main station) the Log interfaces don't show up until next time you dock.

This is because while this.startUp is being executed the ship is still technically at the main station, so the interface is added to the wrong station.
This can be fixed by moving the call to the function that sets up the interface from this.startUp to this.startUpComplete which executes after the ship has been moved to the station where the player saved from.

- Neelix
Talaxian Enterprises: [wiki]Vacuum Pump[/wiki] [wiki]Waypoint Here[/wiki]
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Flight Log for time in ships, galaxies and other data.

Post by Thargoid »

Thanks - will sort them both out later if I get time.
Post Reply