Really? The image is stored on the wiki - can you get to this wiki link OK: http://wiki.alioth.net/index.php/Display_Current_Course?Zireael wrote:he image in first post doesn't show up
Display Current Course OXP
Moderators: winston, another_commander
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Display Current Course OXP
- ffutures
- ---- E L I T E ----
- Posts: 2172
- Joined: Wed Dec 04, 2013 12:34 pm
- Location: London, UK
- Contact:
Re: Display Current Course OXP
I hate to say it, but the problem with the displayed route changing has appeared a couple more times. But only on the parcel contract screen, not cargo or passengers. Could there be something different about this page that might cause it?
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Display Current Course OXP
Hmm, there shouldn't be any difference with parcel contracts. Can you produce the issue consistently? Is there a definite sequence of events that will produce the issue? Do you have any other OXP's installed that may be involved (for instance, I know that Escort Contracts doesn't reset the player's original course after displaying contract details)?
-
- ---- E L I T E ----
- Posts: 591
- Joined: Sun Jul 12, 2015 2:30 pm
- Location: Bavaria, Germany
- Contact:
Re: Display Current Course OXP
The target system is changed if you use the map during contract selection, like it is changed when selecting any other system on the map. The bad thing is that the change is also made permanent when the contract isn't selected. I'll try to fix it.phkb wrote:for instance, I know that Escort Contracts doesn't reset the player's original course after displaying contract details
"You wouldn't kill me just for a few credits, would you?" – "No, I'll do it just for the fun!"
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Display Current Course OXP
The fix is pretty simple - store the players current "targetSystem" when opening the page, and restore it when leaving. The built in contracts screens have a good sample for when the save and restore should take place.Fritz wrote:I'll try to fix it
- ffutures
- ---- E L I T E ----
- Posts: 2172
- Joined: Wed Dec 04, 2013 12:34 pm
- Location: London, UK
- Contact:
Re: Display Current Course OXP
Sorry - I should make this clearer, this is only showing on the contract map, it isn't changing the course that's actually set for the ship.
-
- ---- E L I T E ----
- Posts: 591
- Joined: Sun Jul 12, 2015 2:30 pm
- Location: Bavaria, Germany
- Contact:
Re: Display Current Course OXP
Yes, it's working already.phkb wrote:The fix is pretty simple
"You wouldn't kill me just for a few credits, would you?" – "No, I'll do it just for the fun!"
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Display Current Course OXP
ffutures, I'm really struggling to reproduce the issue. I'm obviously too close to the code, and I'm doing things the program expects, so I'm not seeing the same results as you. I've tried every menu option combination and screen sequence I can think of, but I can only get the current route plotted. If you're able to document a sequence of events I can really nail this bug. To the wall. With a nail gun.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Display Current Course OXP
Just installed this for a poke around - first use gets this: set route and contract route.
With no set route, it still displays both routes as in the contract image above.
With no set route, it still displays both routes as in the contract image above.
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!
- ffutures
- ---- E L I T E ----
- Posts: 2172
- Joined: Wed Dec 04, 2013 12:34 pm
- Location: London, UK
- Contact:
Re: Display Current Course OXP
I've occasionally got that result even when a different route has been set. I can't think of any other special circumstances, if it happens again I'll try to see what else seems to be happening.Cody wrote:Just installed this for a poke around - first use gets this: set route and contract route.
With no set route, it still displays both routes as in the contract image above.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Display Current Course OXP
Cody, when you say "No route set", do you mean you set your destination to your current system, thus completely removing any route information. Or do you use Shift-6 on the galactic chart and switch to "Route Mode - None"? Because if it's the latter I think I can see the problem - I'm assuming that switching to "route mode - none" you still have a route, which I'm plotting with fewest jumps. However, I now can see that assumption is incorrect. "Route mode - none" means just that - no route is selected.Cody wrote:With no set route, it still displays both routes as in the contract image above.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Display Current Course OXP
<nods> Yeah... exactly that!phkb wrote:Or do you use Shift-6 on the galactic chart and switch to "Route Mode - None"?
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!
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Display Current Course OXP
Right! Fix on the way! <starts rummaging through code>
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Display Current Course OXP
OK, version 1.4 is now available, which corrects my assumptions about the "Route Mode - None" selection on the Galactic chart.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Display Current Course OXP
I think that gets it... with parcels, anyway.
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!