Page 1 of 2

Route Planner OXP

Posted: Sat Jun 11, 2022 10:46 am
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

Re: Route Planner OXP

Posted: Sat Jun 11, 2022 10:52 am
by Cody
Welcome aboard, Commander! Had to alter the 0 in that link to 1 to enable download.

Re: Route Planner OXP

Posted: Sat Jun 11, 2022 11:09 am
by another_commander
Image



Welcome aboard!

Re: Route Planner OXP

Posted: Sat Jun 11, 2022 2:43 pm
by Old Murgh
Bienvenido a bordo, comandante!

Re: Route Planner OXP

Posted: Sat Jun 11, 2022 6:11 pm
by Nite Owl
Well done. A very nice piece of work. Cookies and milk are by the door.

Re: Route Planner OXP

Posted: Sat Jun 11, 2022 6:49 pm
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...

Re: Route Planner OXP

Posted: Sat Jun 11, 2022 7:50 pm
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.

Re: Route Planner OXP

Posted: Sat Jun 11, 2022 10:39 pm
by Cholmondely
Wilkommen, Bienvenu!

Route Planner OXP is now added to the Guide to Unlisted OXPs, Geography & Advanced Navigational Array wiki pages

Re: Route Planner OXP

Posted: Wed Jun 15, 2022 10:11 am
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.

Re: Route Planner OXP

Posted: Wed Jun 15, 2022 10:54 am
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.

Re: Route Planner OXP

Posted: Thu Jun 16, 2022 4:07 pm
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?

Re: Route Planner OXP

Posted: Thu Jun 16, 2022 4:31 pm
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.

Re: Route Planner OXP

Posted: Thu Jun 16, 2022 5:17 pm
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).

Re: Route Planner OXP

Posted: Thu Jun 16, 2022 5:31 pm
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?

Re: Route Planner OXP

Posted: Thu Jun 16, 2022 5:32 pm
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.