Flight Log OXP
Moderators: winston, another_commander
The array trimming seems to be failing on your system for some reason. Which is odd as it works fine on mine (WinXP).
I think the reason may be there is a rogue ":" at the beginning of the array which whilst not giving my system a problem could be doing so on yours. I've just amended the code to remove this (and to force-trim the array down to size). I'm just testing it, if it works as I think it should then I'll upload it in a little while.
I think the reason may be there is a rogue ":" at the beginning of the array which whilst not giving my system a problem could be doing so on yours. I've just amended the code to remove this (and to force-trim the array down to size). I'm just testing it, if it works as I think it should then I'll upload it in a little while.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
OK just uploaded v1.01, which force-trims the log array better, which should do away with the problem you are seeing. I didn't see it on WinXP, are you on a Mac or a Linux box? I wonder if this could be another example of OS's handling things differently?
The text in your problem page is actually flowing over the menu options and hiding them (the list is added to the mission screen after it is created, so after the menu is displayed). The trimming to 10 systems will sort that out too.
Try the update and let me know if it sorts things for you.
The text in your problem page is actually flowing over the menu options and hiding them (the list is added to the mission screen after it is created, so after the menu is displayed). The trimming to 10 systems will sort that out too.
Try the update and let me know if it sorts things for you.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Sorry, I should have said to reset the log (select the middle entry of the menu). The list should then begin to grow again as you jump but the new code will kick-in once you make your 11th jump.
The script is set to keep the maximum log size the same as when it starts up (so the 10 can be adjusted if desired), so in your case your maximum log size is still 30. By resetting it you're changing the array back down to an empty one with 10 cells, so the maximum length will go back to 10 (or at least it should).
Quite why your list managed to overflow in the first place I'm not sure.
The script is set to keep the maximum log size the same as when it starts up (so the 10 can be adjusted if desired), so in your case your maximum log size is still 30. By resetting it you're changing the array back down to an empty one with 10 cells, so the maximum length will go back to 10 (or at least it should).
Quite why your list managed to overflow in the first place I'm not sure.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Re: [New Features] Flight Log OXP v1.02
After an interesting request in this thread, I have updated Flight Log to v1.02.
New to this version are features which record not only the last 10 systems you have visited, plus also the number of kills and the overall change in your credit balance (profit/loss, including all cargo sales/purchases, equipment sales/purchases and any other monetary dealings like fines or kill credits) whilst you were in the given system.
Download from the link in the first post of this thread or from the sig links below, and then restart with shift held down as normal (if updating). With thanks to UK_Eliter for the initial idea, and Switeck and others for expanding on it.
New to this version are features which record not only the last 10 systems you have visited, plus also the number of kills and the overall change in your credit balance (profit/loss, including all cargo sales/purchases, equipment sales/purchases and any other monetary dealings like fines or kill credits) whilst you were in the given system.
Download from the link in the first post of this thread or from the sig links below, and then restart with shift held down as normal (if updating). With thanks to UK_Eliter for the initial idea, and Switeck and others for expanding on it.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Poro
- Deadly
- Posts: 249
- Joined: Sun Jan 03, 2010 1:51 am
- Location: Don't look in your aft view...
- Contact:
Re: [New Features] Flight Log OXP v1.02
Downloading now... I look forward to testing this.
- OneoftheLost
- Deadly
- Posts: 216
- Joined: Sat Oct 24, 2009 2:30 pm
Re: [New Features] Flight Log OXP v1.02
Will have to give this a try, the new features really sold it for me.
Profile: Commander Kolt
Ship: Cobra III - Longinus V
Elite Rating:Poor
Location: G1
Ship: Cobra III - Longinus V
Elite Rating:Poor
Location: G1
Re: [New Features] Flight Log OXP v1.02
Now, if only this could be written and then consecutively appended to a separate file. Oh well, I guess we have to wait until after MNSR or even longer.Thargoid wrote:New to this version are features which record not only the last 10 systems you have visited, plus also the number of kills and the overall change in your credit balance (profit/loss, including all cargo sales/purchases, equipment sales/purchases and any other monetary dealings like fines or kill credits) whilst you were in the given system.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).
Re: [New Features] Flight Log OXP v1.02
You'll just have to make do with periodically dumping it into latest.log and manually pruning
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: [New Features] Flight Log OXP v1.02
More or less forever. Letting scripts write to files of their choice is a horrible can of worms I’m not going anywhere near.Gimi wrote:Now, if only this could be written and then consecutively appended to a separate file. Oh well, I guess we have to wait until after MNSR or even longer.
E-mail: [email protected]
Re: [New Features] Flight Log OXP v1.02
Can't have everything. I'm actually very happy with the OXP as it stands. I tend to save to a new file quite frequently, so with flight log installed I will have all the information I need. When I played Elite + many years ago I even used to have a small batch file that would rename and copy my save-game to a different folder when I left the game. Might have to make something similar for Oolite.Ahruman wrote:More or less forever. Letting scripts write to files of their choice is a horrible can of worms I’m not going anywhere near.Gimi wrote:Now, if only this could be written and then consecutively appended to a separate file. Oh well, I guess we have to wait until after MNSR or even longer.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).
Re: [New Features] Flight Log OXP v1.02
Why is Flight Log 1.02 incompatible with the latest nightly?
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: [New Features] Flight Log OXP v1.02
You're asking this question a lot, and nobody has answered, so let me try - a lot of OXP writers don't want issues with the Trunk to reported to them as errors in their OXP, so when the Devs say version X.YY.Z is the latest stable test version then the oxp writers set the max_version to be X.YY.ZZ (for example - current stable test is 1.73.4, so max_version is often set to 1.73.99, thus allowing for incremental tweaks - but as the trunk is currently has the working title 1.74.xx then it's classed as non-compatible, thus the oxp-writer is making you aware that their oxp has not been tested against the every changing trunk version (until trunk becomes the next stable test) on the road to (M)NSR.Zireael wrote:Why is Flight Log 1.02 incompatible with the latest nightly?
HTH
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
Re: [New Features] Flight Log OXP v1.02
I've answered in the Welcome Mat thread, but D_H's explanation is correct...
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: [New Features] Flight Log OXP v1.02
Oops - so you did - just got to that thread...Thargoid wrote:I've answered in the Welcome Mat thread, but D_H's explanation is correct...
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.