Page 2 of 4
Posted: Fri Sep 03, 2010 8:26 pm
by Thargoid
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.
Posted: Fri Sep 03, 2010 8:41 pm
by Thargoid
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.
Posted: Sat Sep 04, 2010 2:33 am
by Switeck
I am using Windows XP Pro (32 bit version) with Service Pack 3.
Sadly, Flight Log 1.01.oxp didn't work or look any different.
Posted: Sat Sep 04, 2010 8:08 am
by Thargoid
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.
Re: [New Features] Flight Log OXP v1.02
Posted: Mon Jan 24, 2011 7:05 pm
by Thargoid
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.
Re: [New Features] Flight Log OXP v1.02
Posted: Mon Jan 24, 2011 7:53 pm
by Poro
Downloading now... I look forward to testing this.
Re: [New Features] Flight Log OXP v1.02
Posted: Mon Jan 24, 2011 8:32 pm
by OneoftheLost
Will have to give this a try, the new features really sold it for me.
Re: [New Features] Flight Log OXP v1.02
Posted: Mon Jan 24, 2011 9:32 pm
by Gimi
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.
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.
Re: [New Features] Flight Log OXP v1.02
Posted: Mon Jan 24, 2011 9:43 pm
by Thargoid
You'll just have to make do with periodically dumping it into latest.log and manually pruning
Re: [New Features] Flight Log OXP v1.02
Posted: Mon Jan 24, 2011 9:47 pm
by JensAyton
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.
More or less forever. Letting scripts write to files of their choice is a horrible can of worms I’m not going anywhere near.
Re: [New Features] Flight Log OXP v1.02
Posted: Mon Jan 24, 2011 10:19 pm
by Gimi
Ahruman wrote: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.
More or less forever. Letting scripts write to files of their choice is a horrible can of worms I’m not going anywhere near.
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.
Re: [New Features] Flight Log OXP v1.02
Posted: Fri Feb 11, 2011 8:06 pm
by Zireael
Why is Flight Log 1.02 incompatible with the latest nightly?
Re: [New Features] Flight Log OXP v1.02
Posted: Fri Feb 11, 2011 8:12 pm
by DaddyHoggy
Zireael wrote:Why is Flight Log 1.02 incompatible with the latest nightly?
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.
HTH
Re: [New Features] Flight Log OXP v1.02
Posted: Fri Feb 11, 2011 8:13 pm
by Thargoid
I've answered in the Welcome Mat thread, but D_H's explanation is correct...
Re: [New Features] Flight Log OXP v1.02
Posted: Fri Feb 11, 2011 8:15 pm
by DaddyHoggy
Thargoid wrote:I've answered in the Welcome Mat thread, but D_H's explanation is correct...
Oops - so you did - just got to that thread...