These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Do any API's exist to determine a jump route?

Author
Hostile Nyx Ongrid
The Mongo Tree
Didn't want that Sov anyway.
#1 - 2015-04-19 23:11:26 UTC
I could generate a dotlan url and scrape it, but that's horrendous.
Is there any available API's that I'm to oblivious to that I can pass two systems and have it determine a jump path?
Tia,
Hostile Nyx
Hel O'Ween
Men On A Mission
#2 - 2015-04-20 16:12:36 UTC
Hostile Nyx Ongrid
The Mongo Tree
Didn't want that Sov anyway.
#3 - 2015-04-20 17:47:22 UTC
Much appreciated.
Tseehn Marhn
Rat Duck
#4 - 2015-04-22 18:03:25 UTC
I made a jump router a few years ago.

What you'll need to do is make an A* (pronounced A-star) path finding algorithm. The algorithm itself is very easy to implement; the hard part will be tuning it and caching results so processing doesn't take forever.

This is a very popular path-finding algorithm, so there's lots of tutorials and such. One of the best, and the one I used, is here: http://theory.stanford.edu/~amitp/GameProgramming/AStarComparison.html
Ortho Loess
Escalated.
OnlyFleets.
#5 - 2015-04-24 15:21:58 UTC
If you really want to make it fancy, you could include the positions of the gates in each system and warp speeds (including time to get in and out of warp) into your calculations. Then for a given ship class (subject to fitting and skills) have it work out if it's quicker to take an otherwise same or longer route in terms of jump numbers.

For some reason, I don't think anyone's done that yet...