Go Back   WowAce Forums > Addon Chat > Addon Ideas
Addon Ideas Present your ideas for new addons.

Reply
 
Thread Tools
Old 2 Weeks Ago   #21
Adirelle
Amazing Member
 
Adirelle's Avatar
 
Join Date: Dec 2006
Location: Lyon, France
Posts: 1,639
Default Re: Map display addons and map data sources

Wait, I overlooked the "navigation system" part.

Now I think you should take a look a how TomTom works and simply provides smart data to it. TomTom takes care of displaying the points on the maps and optionally display the arrow to help reaching them.
__________________
Author of Squire, Inline Aura and several other addons.

If you have a problem and you think the solution involves using a regular expression, then you have two problems.
Adirelle is offline   Reply With Quote
Old 2 Weeks Ago   #22
Tekkub
Wiki Master
 
Tekkub's Avatar
 
Join Date: Feb 2005
Posts: 4,854
Default Re: Map display addons and map data sources

Yea, you're looking to do EXACTLY what TourGuide does, give the user a route. I still say you just need a tiny chunk of code to send waypoints to TomTom or Carto, that's all.
Tekkub is offline   Reply With Quote
Old 2 Weeks Ago   #23
OrionShock
Legendary Member
 
OrionShock's Avatar
 
Join Date: May 2006
Location: Arizona
Posts: 3,379
Default Re: Map display addons and map data sources

Hell make it simpler, make a predefined setup in routes and then make it exportable / importable.

wonder if Xin would be interested in adding that "feature" to Routes properly so that it dosn't have to be hacked togeather.
__________________
Author of GuildCraft, SickOfClickingDailies, and CursorCooldown

"I was there in the beginning... and things were very different back then" --An Echo from a time before.
OrionShock is online now   Reply With Quote
Old 2 Weeks Ago   #24
Graveeater
Junior Member
 
Join Date: Aug 2005
Posts: 63
Default Re: Map display addons and map data sources

Actually, I'm not sure if either TourGuide or Routes do something I'm Interested in.
Routes (which I use) solves the TSP, which is fine if you want to farm, but has absolutely nothing to do with solving the shortest path problem (which I'am interested in): Usually the shortest path does not contain all nodes.

I'm not sure what TourGuide actually does, but I suppose I could use it. However, I am pretty sure that this would not be the intended use.

Having to hard depend on an addon which actually has a different purpose does not feel right...
Graveeater is offline   Reply With Quote
Old 2 Weeks Ago   #25
Adirelle
Amazing Member
 
Adirelle's Avatar
 
Join Date: Dec 2006
Location: Lyon, France
Posts: 1,639
Default Re: Map display addons and map data sources

TourGuide provides smart questing paths (e.g. in which order to do quest to minimize travelling time). Actually it does not display anything on the map unless you have TomTom or Cartographer installed. In other words, TourGuide just provides map points, and TomTom or Cartographer are used as renderers.
__________________
Author of Squire, Inline Aura and several other addons.

If you have a problem and you think the solution involves using a regular expression, then you have two problems.
Adirelle is offline   Reply With Quote
Old 2 Weeks Ago   #26
Graveeater
Junior Member
 
Join Date: Aug 2005
Posts: 63
Default Re: Map display addons and map data sources

Yes, I figured that out. I can't use TourGuide for solving the SPP. Ofc, I could create a Tour with the calculated route, and hand it to TourGuide which displays it using Cartographer/TomTom... Well... no.

On the other hand, I could use (assuming Tekkub's permission ofc) TourGuide's code for that. Still not convinced.

However, thanks for all your input, I think I will need to experiment a bit with the stuff.
Graveeater is offline   Reply With Quote
Old 2 Weeks Ago   #27
Adirelle
Amazing Member
 
Adirelle's Avatar
 
Join Date: Dec 2006
Location: Lyon, France
Posts: 1,639
Default Re: Map display addons and map data sources

IIRC, TourGuide does not have any algorithm on its own. The guide database is "hand-optimized".

In short, you should concentrate on making your path and them provides them to TomTom and/or Cartographer. As this is exactly what TourGuide does, you could look at the piece of code doing it.
__________________
Author of Squire, Inline Aura and several other addons.

If you have a problem and you think the solution involves using a regular expression, then you have two problems.

Last edited by Adirelle; 2 Weeks Ago at 04:58 PM.
Adirelle is offline   Reply With Quote
Old 2 Weeks Ago   #28
Xinhuan
Asian Sheep Lover
 
Xinhuan's Avatar
 
Join Date: Aug 2007
Location: Singapore
Posts: 3,420
Default Re: Map display addons and map data sources

Quote:
Originally Posted by Graveeater View Post
Actually, I'm not sure if either TourGuide or Routes do something I'm Interested in.
Routes (which I use) solves the TSP, which is fine if you want to farm, but has absolutely nothing to do with solving the shortest path problem (which I'am interested in): Usually the shortest path does not contain all nodes.

I'm not sure what TourGuide actually does, but I suppose I could use it. However, I am pretty sure that this would not be the intended use.

Having to hard depend on an addon which actually has a different purpose does not feel right...
I'm not sure what you actually want.

You say you want something to calculate the "shortest possible path". What exactly do you mean by that?

A) Shortest possible path from point A to point B, passing through other points (given as a graph)? Dij's algorithm solves this easily.

B) Shortest possible path from point A to point B along with visiting every other given point in a graph? A slight modification of the Ant-Colony-Optimization algorithm in Routes solves this easily by making the ant travel to point B at the last step instead of returning to the starting point A, and by making the ant start at point A instead of a random point, and by making the ants not consider point B in any part of the route until the last step.

You'll notice that (B) is almost TSP, except you don't have to return to your starting point.

-----------
Anyway, the algorithm to find the shortest path isn't exactly the topic of this thread, it seems to be that you want to design an interface that all map data addons should subscribe to to provide data, and all map display addons should subscribe to to display said data.

Almost LDB, but only specific to map-data. So an addon like Routes would be able to subscribe to it and make routes from such data for display (since it is a display addon). Right now, Routes does hardcode support for each map data source (in the Plugins folder), something you said you want to avoid.

I could possibly give you permission to add to Routes addon directly depending on what you are doing and where this thread is headed.
__________________
Author/Maintainer of Postal, Omen3, GemHelper, BankItems, WoWEquip, GatherMate, Routes, HandyNotes and some others.
Xinhuan is offline   Reply With Quote
Old 2 Weeks Ago   #29
Xinhuan
Asian Sheep Lover
 
Xinhuan's Avatar
 
Join Date: Aug 2007
Location: Singapore
Posts: 3,420
Default Re: Map display addons and map data sources

Quote:
Originally Posted by OrionShock View Post
Hell make it simpler, make a predefined setup in routes and then make it exportable / importable.

wonder if Xin would be interested in adding that "feature" to Routes properly so that it dosn't have to be hacked togeather.
Possibly. But I'm interested in hearing what Graveeater is trying to do first (as the post above).

I've also noticed you're almost overtaking me in post-count. :P
__________________
Author/Maintainer of Postal, Omen3, GemHelper, BankItems, WoWEquip, GatherMate, Routes, HandyNotes and some others.
Xinhuan is offline   Reply With Quote
Old 2 Weeks Ago   #30
Tekkub
Wiki Master
 
Tekkub's Avatar
 
Join Date: Feb 2005
Posts: 4,854
Default Re: Map display addons and map data sources

Quote:
Originally Posted by Xinhuan View Post
I'm not sure what you actually want.

You say you want something to calculate the "shortest possible path". What exactly do you mean by that?
My guess, using 3.3's quest mapping data and making the whole "shortest route" crap QuestHelper tries to do.
Tekkub is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:09 AM.