Careless adaptation caused ugly squeezing . Fixed in 1.3.3.spara wrote:* Snitched a better padding method from oolite-contracts-helpers.js.
[Release] Navigation MFD
Moderators: winston, another_commander
Re: [Release] Navigation MFD 1.3.2
-
- ---- E L I T E ----
- Posts: 299
- Joined: Mon Apr 27, 2015 9:03 pm
Re: [Release] Navigation MFD 1.3.3
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.
warning sound if a missile is inbound: Missile warning
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: [Release] Navigation MFD 1.3.3
Using the route planner? That kinda changed a couple of things when it was implemented.Anonymissimus wrote:The hyperdrive status displays "out of range" in case that the target system is several jumps away...
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
Re: [Release] Navigation MFD 1.3.3
Thanks for the heads up . I'll put it to my todo list.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.
Re: [Release] Navigation MFD
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
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.
* 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.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: [Release] Navigation MFD
Muchas gracias, amigo!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.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: [Release] Navigation MFD
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.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
Re: [Release] Navigation MFD
Thanks Cody. Fix one thing, break another . 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.
* fix the bug Cody reported.
* upper block was not working correctly in interstellar space. now it does.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: [Release] Navigation MFD
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
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
Re: [Release] Navigation MFD
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).Cody wrote:Another one, amigo...
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: [Release] Navigation MFD
<nods> Yeah, the RP has screwed-up the hyperspace destination in my hud too - but the RP is very, very useful.spara wrote:It's the route planner that's giving the headache here.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: [Release] Navigation MFD
This MFD sometimes tells fibs! <grins> It's probably only out by a second or two - and it is very occasional.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: [Release] Navigation MFD
Running the latest trunk nightly...... probably related to me having just been in interstellar space.
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.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
Re: [Release] Navigation MFD
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 .Cody wrote:Running the latest trunk nightly...... probably related to me having just been in interstellar space.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.