Page 5 of 9

Re: [Release] Navigation MFD 1.3.2

Posted: Thu Feb 05, 2015 7:26 pm
by spara
spara wrote:
* Snitched a better padding method from oolite-contracts-helpers.js.
Careless adaptation caused ugly squeezing :( . Fixed in 1.3.3.

Re: [Release] Navigation MFD 1.3.3

Posted: Fri May 22, 2015 12:09 am
by Anonymissimus
The hyperdrive status displays "out of range" in case that the target system is several jumps away, so, while it is correct, this would be much more useful if it used the "next system in the sequence of jumps to the final destination" - logic.

Re: [Release] Navigation MFD 1.3.3

Posted: Fri May 22, 2015 12:22 am
by Cody
Anonymissimus wrote:
The hyperdrive status displays "out of range" in case that the target system is several jumps away...
Using the route planner? That kinda changed a couple of things when it was implemented.

Re: [Release] Navigation MFD 1.3.3

Posted: Fri May 22, 2015 7:17 am
by spara
Anonymissimus wrote:
The hyperdrive status displays "out of range" in case that the target system is several jumps away, so, while it is correct, this would be much more useful if it used the "next system in the sequence of jumps to the final destination" - logic.
Thanks for the heads up :) . I'll put it to my todo list.

Re: [Release] Navigation MFD

Posted: Mon May 25, 2015 5:49 pm
by spara
And done. Version 1.3.4 fixes the target system to show the next real jump destination in Oolite 1.82, when ANA is set to route.

Re: [Release] Navigation MFD

Posted: Mon May 25, 2015 7:16 pm
by spara
While I was at it, I decided to simplify things a bit. Hence another update (1.3.5) in such a short time. Originally (all the way from the original Aad-HUD and it's distance calculation functionality) I tried to fulfill all requests for different kinds of ways to calculate distances. As a result the oxp was infested with some deprecated and very likely non-functional settings. These have now been cleaned out. Left in are two variables to set the unit and unit basis.

* this.$distUnit. This sets the unit shown in MFD. By default set to "OU" (ostronomical unit). Set to "km" or "klicks" or whatever desired.
* this.$ostronomicalUnit. This sets the basis for one unit in meters. By default set to "906044" which is the distance between Sun and Planet in Lave in an unmodified game. For kiloometers, set to 1000.

Re: [Release] Navigation MFD

Posted: Mon May 25, 2015 7:28 pm
by Cody
spara wrote:
And done. Version 1.3.4 fixes the target system to show the next real jump destination in Oolite 1.82, when ANA is set to route.
Muchas gracias, amigo!

Re: [Release] Navigation MFD

Posted: Tue May 26, 2015 1:02 am
by Cody
I think this belongs here:

Code: Select all

01:40:48.936 [script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (navi_mfd 1.3.5): Error: System.infoForSystem: Invalid arguments (6, undefined) -- expected galaxy ID and system ID.
01:40:48.936 [script.javaScript.exception.ooliteDefined]:       E:\Oolite-Trunk/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.navigation_mfd.oxz/Config/script.js, line 120.
01:58:40.967 [script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (navi_mfd 1.3.5): Error: System.infoForSystem: Invalid arguments (6, undefined) -- expected galaxy ID and system ID.
01:58:40.967 [script.javaScript.exception.ooliteDefined]:       E:\Oolite-Trunk/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.navigation_mfd.oxz/Config/script.js, line 120.

Re: [Release] Navigation MFD

Posted: Tue May 26, 2015 6:50 am
by spara
Thanks Cody. Fix one thing, break another :oops: . Next try (1.3.6). On the other hand, while I was out there, I found something else to fix/break too.

* fix the bug Cody reported.
* upper block was not working correctly in interstellar space. now it does.

Re: [Release] Navigation MFD

Posted: Fri May 29, 2015 12:16 pm
by Cody
Another one, amigo:

Code: Select all

13:15:33.876 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (navi_mfd 1.3.6): TypeError: system.info.routeToSystem(hyperSystemObj, mode) is null

Re: [Release] Navigation MFD

Posted: Fri May 29, 2015 5:56 pm
by spara
Cody wrote:
Another one, amigo...
Thanks Cody. Version 1.3.7 should fix this problem. It's the route planner that's giving the headache here. The main problem is that when you're in interstellar space, the planner calculates the route from your previous location. Even the fuel calculation in f6 screen is misleading when the planner is on (calculated from the previous system).

Re: [Release] Navigation MFD

Posted: Fri May 29, 2015 6:06 pm
by Cody
spara wrote:
It's the route planner that's giving the headache here.
<nods> Yeah, the RP has screwed-up the hyperspace destination in my hud too - but the RP is very, very useful.

Re: [Release] Navigation MFD

Posted: Thu Sep 24, 2015 12:53 pm
by Cody
This MFD sometimes tells fibs! <grins> It's probably only out by a second or two - and it is very occasional.

Re: [Release] Navigation MFD

Posted: Fri Dec 11, 2015 11:35 pm
by Cody
Running the latest trunk nightly...

Code: Select all

23:26:14.908 [script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (navi_mfd 1.3.7): Error: System.infoForSystem: Invalid arguments (2, undefined) -- expected galaxy ID and system ID.
23:26:14.908 [script.javaScript.exception.ooliteDefined]:       E:\Oolite-Trunk/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.navigation_mfd.oxz/Config/script.js, line 127.
... probably related to me having just been in interstellar space.

Re: [Release] Navigation MFD

Posted: Sun Dec 13, 2015 3:11 pm
by spara
Cody wrote:
Running the latest trunk nightly...

Code: Select all

23:26:14.908 [script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (navi_mfd 1.3.7): Error: System.infoForSystem: Invalid arguments (2, undefined) -- expected galaxy ID and system ID.
23:26:14.908 [script.javaScript.exception.ooliteDefined]:       E:\Oolite-Trunk/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.navigation_mfd.oxz/Config/script.js, line 127.
... probably related to me having just been in interstellar space.
Thanks, bug found and fixed in 1.3.8. The culprit was plotting the route to/from an isolated system. Haven't got around checking your previous report. If I'm lucky, this might do something about that too. Most likely not, but one can always hope :) .