Route Planner OXP

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Alnivel
Dangerous
Dangerous
Posts: 100
Joined: Fri Jun 10, 2022 7:05 pm

Route Planner OXP

Post by Alnivel »

Hello everyone.

I made oxp which helps to build a route through multiple systems.

It requires an installed ANA and has two modes:
  • Automatic mode - build close to optimal (hopefully) route through contract destinations and manually specified systems. Now it works with all types of contracts at once, but I'm going to add a selection feature;
  • Manual mode - build route through only manually specified systems exactly in the given order;
The builded route will be displayed on galactic chart and recalculated every time target system of the current jump sequence changes. Target system will be automatically set when ship launches from a station and it has a route built but no target system. When the waypoint is reached, notification will be shown.

Changing the mode, waypoints and appearance can be done via the "Route planning" interface ("Ship Systems" category) on the F4 screen when the ship is docked.

Download link: https://www.dropbox.com/s/m5xupv5tq5gze ... 1.oxz?dl=1
Last edited by Alnivel on Sat Jun 11, 2022 7:24 pm, edited 1 time in total.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Route Planner OXP

Post by Cody »

Welcome aboard, Commander! Had to alter the 0 in that link to 1 to enable download.
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!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Route Planner OXP

Post by another_commander »

Image



Welcome aboard!
User avatar
Old Murgh
Wiki Wizard
Wiki Wizard
Posts: 640
Joined: Sat Dec 04, 2021 11:01 pm

Re: Route Planner OXP

Post by Old Murgh »

Bienvenido a bordo, comandante!
I was young, I was naïve. [EliteWiki] Jonny Cuba made me do it!
User avatar
Nite Owl
---- E L I T E ----
---- E L I T E ----
Posts: 556
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Route Planner OXP

Post by Nite Owl »

Well done. A very nice piece of work. Cookies and milk are by the door.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon
User avatar
hiran
Theorethicist
Posts: 2403
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: Route Planner OXP

Post by hiran »

Alnivel wrote: Sat Jun 11, 2022 10:46 am
I made oxp which helps to build a route through multiple systems.

It requires an installed ANA and has two modes:
  • Automatic mode - build close to optimal (hopefully) route through contract destinations and manually specified systems. Now it works with all types of contracts at once, but I'm going to add a selection feature;
  • Manual mode - build route through only manually specified systems exactly in the given order;
Sounds like you added a solution to the Travelling Salesman Problem. Your addon should be of great help for actually any pilot! :-)

Edit: Woohoo! I just read on about the Travelling Purchaser Problem. That one solved could even suggest what trades to do...
Sunshine - Moonlight - Good Times - Oolite
Alnivel
Dangerous
Dangerous
Posts: 100
Joined: Fri Jun 10, 2022 7:05 pm

Re: Route Planner OXP

Post by Alnivel »

Thank you all for welcome and kind words.
Cody wrote: Sat Jun 11, 2022 10:52 am
Welcome aboard, Commander! Had to alter the 0 in that link to 1 to enable download.
Thanks, fixed link to direct one.
hiran wrote: Sat Jun 11, 2022 6:49 pm
Sounds like you added a solution to the Travelling Salesman Problem. Your addon should be of great help for actually any pilot! :-)
Well, starting this oxp, I was sure that it would be a "5 minute adventure" and was very surprised when solving the problem of travel and sales, I found it to be a traveling salesman problem.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Route Planner OXP

Post by Cholmondely »

Wilkommen, Bienvenu!

Route Planner OXP is now added to the Guide to Unlisted OXPs, Geography & Advanced Navigational Array wiki pages
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Route Planner OXP

Post by Cody »

Route Planner throws this in the log:

Code: Select all

11:08:59.968 [WARNING]: Warning! Global namespace polluted by:
11:08:59.968 [WARNING]: ["ILib"]
Don't know what that means, I'm only a dumb pilot.
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!
Alnivel
Dangerous
Dangerous
Posts: 100
Joined: Fri Jun 10, 2022 7:05 pm

Re: Route Planner OXP

Post by Alnivel »

Cody wrote: Wed Jun 15, 2022 10:11 am
Route Planner throws this in the log:

Code: Select all

11:08:59.968 [WARNING]: Warning! Global namespace polluted by:
11:08:59.968 [WARNING]: ["ILib"]
Don't know what that means, I'm only a dumb pilot.
As far as I know this shouldn't affect the player, just other OXP developers. Anyway, in the next version it will be fixed. Thanks for letting me know.
Alnivel
Dangerous
Dangerous
Posts: 100
Joined: Fri Jun 10, 2022 7:05 pm

Re: Route Planner OXP

Post by Alnivel »

Version 0.2 is ready. In this version:
  • Contract waypoints can be selectively turned on and off by type now
  • Added new screen with brief information about waypoints, their type, remain and travel time and distantions
  • Notification about reached waypoint now says waypoint type and if docking with the main station is required
  • Fixed and shorten some labels
  • Fixed previously not working selection of color and shape of markers
I did all the functionality that I wanted, then I'm just going to polish it, but I'll be glad to hear your suggestions and feedback!

Download link: https://www.dropbox.com/s/ndrq0xn1av613 ... 2.oxz?dl=1

And the last, a small call for help - I was unable to upload oxz to the wiki due to an invalid file type. Am I doing something wrong? And if a wiki is not an option, for now or at all, any recommendations for file hosting that I can use with Extension Manager?
User avatar
Old Murgh
Wiki Wizard
Wiki Wizard
Posts: 640
Joined: Sat Dec 04, 2021 11:01 pm

Re: Route Planner OXP

Post by Old Murgh »

Alnivel wrote: Thu Jun 16, 2022 4:07 pm
And the last, a small call for help - I was unable to upload oxz to the wiki due to an invalid file type. Am I doing something wrong? And if a wiki is not an option, for now or at all, any recommendations for file hosting that I can use with Extension Manager?
Certainly not anything you're doing wrong. The wiki is temporarily unable to accept zip and oxz upload formats, but I have faith it will again, eh someday soon. Our benefactor is on it, I've been assured by mail.

Meanwhile, many of us use box.com.
I was young, I was naïve. [EliteWiki] Jonny Cuba made me do it!
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Route Planner OXP

Post by Cody »

Alnivel wrote: Thu Jun 16, 2022 4:07 pm
Version 0.2 is ready.
Sweet - thanks! And as Murgh says, many of us use Box (which I think still offers free packages).
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!
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Route Planner OXP

Post by Cholmondely »

Sir Alnivel - what sort of game do you play?

How many OXP's do you fly with - and which are your favourites?

And what changes would you dearly like to see made available?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Alnivel
Dangerous
Dangerous
Posts: 100
Joined: Fri Jun 10, 2022 7:05 pm

Re: Route Planner OXP

Post by Alnivel »

Old Murgh wrote: Thu Jun 16, 2022 4:31 pm
Meanwhile, many of us use box.com.
Cody wrote: Thu Jun 16, 2022 5:17 pm
And as Murgh says, many of us use Box (which I think still offers free packages).
Sadly, but it looks like they offer storage for free, but direct links is for premium users only. Anyway, I figured out how to make direct links from Dropbox that work with EM, at least for now. The extension should now be available for download through Manager.
Post Reply