TomTom

TomTom is your personal navigation assistant in World of Warcraft. This addon is very simple, but provides a nice set of functionality. Thanks to Esamynn for Astrolabe, which does the bulk of the work in this addon.

TomTom offers the following major features:

Set waypoints via command, or by clicking on the world map

A draggable coordinate display with customizable accuracy. This frame can be hidden or locked.

Player and cursor coordinates on the World Map (these can be hidden)

A floating "crazy-taxi" style arrow that points you to your destination

In addition you can use the /way command to add and reset waypoints. In order to overcome conflicts with the Cartographer /way command, you can also use /tway to access TomTom's waypoint command. The following slash commands are available:

Add a new waypoint at 14.78, 23.90:

Code:

/way 14.78 23.90

Add a new waypoint in Nagrand at 45, 50:

Code:

/way Nagrand 45 50

Add a new waypoint with a description:

Code:

/way 14.78 23.90 This is a waypoint!

Remove ALL current waypoints:

Code:

/way reset all

Remove all waypoints in Nagrand:

Code:

/way reset Nagrand

Set a waypoint at the current location:

Code:

/wayb

or

Code:

/wayback

Set the waypoint arrow to the closest arrow in the current zone:

Code:

/cway

or

Code:

/closestway

When you set a waypoint, a dot will appear (green) on your minimap. When it goes out of range of the minimap display, it will turn into an arrow, just like the default UI. You can mouse over these waypoints to get detailed information about that waypoint.

TomTom has been designed to publish the Crazy-Arrow and Coordinate Block as LDB feeds, allowing them to be displayed in compatible display addons. I've written a very simple, easy-to-configure panel that is capable of displaying these called NinjaPanel.

Donations:
Some people have asked, so here is a way to send me donations:

If you're looking to bulk import waypoints (to track achievements, etc), a community member has provided a great addon that lets you do this easily. Take a look at Paste.

If you change the minimap display or world display options, they will
not take affect for any waypoints that are already set. This button
under 'General Options' will re-set these options on all of the
currently set waypoints.

If the player is within the distance callback circle when the waypoint
is first set, the last parameter of the callback should be nil. This
enables the callbacks to ignore the initial trigger of the callback.

This makes it possible for an add-on to create a waypoint with custom callbacks without losing the tooltip/onclick functionality that currently exists in TomTom. Usage is something like this:

local opts = {} -- any options for your waypoint, such as title, etc.
opts.callbacks = TomTom:DefaultCallbacks()
opts.callbacks.distance[15] = function(event, uid, range, distance, lastdistance)
-- this function will be called when the player moves from
-- outside 15 yards to within, or vide-versa and passed
-- several parameters
--
-- event: "distance"
-- uid: the UID of the waypoint
-- range: the callback range being triggered (15 in this case)
-- distance: the current distance to the waypoint
-- this MAY be less than 15, if you move really fast
-- lastdistance: the previous distance to the waypoint. This
-- can be used to determine whether or not you are
-- leaving the circle or entering it.

if not lastdistance or lastdistance and lastdistance > dist then
-- entering circle
else
-- exiting circle
end
end

For the coordinate feed and coordinate block. this function can be used
instead of the heavier player position function to get the current
player's coordinates. This means that depending on the current map zoom,
the 'coordinates' will display the position on that map, which is what
we'd expect.

The arrow and rest of the addon continues to function correctly.

This fixes an issue in the deeprun tram and other zones with no
coordinates.

The comparison of user input to zone name is made more relaxed by this
commit which forces both strings to be forced to lowercase, and have all
non-alphanumeric characters removed. In short, it should work much
better now.

Currently, most of the old features should work properly, only there is
now a limitation that it will only work with objective waypoints that
are in your current zone, in particular with the ones on the watch
frame. I will likely change it so that the ones on the world map work
properly, but this will be in a separate commit.

Are you expecting TomTom to set waypoints for you automatically? If so, make sure that option is still selected.

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

Have you set a waypoint? The arrow doesn't appear when there isn't a waypoint set.

/way 50 50

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

For some bizzare reason my arrow will not show no more i cleaned my Cache then it stopped so i put the old Cache back and it still refused to show so thats not my problem. How can i go about getting my green arrow to show again?

This is not a general issue, it would relate specifically to the zone and waypoint you've set. Please provide that information so I can look into it.

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

Ah, I understand now. TomTom is not actual routing navigation software, that is just beyond the scope of what TomTom does. If you run that command and then go into the Molton Front, you should see the waypoint (I do). TomTom has no way to know that you need to go to some completely different location and go through a portal to get there first.

Such an effort would be beyond the amount of time and effort I have available to put into TomTom (which is still quite a lot).

Let me know if that doesn't make sense.

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

Originally posted by Cladhaire Why are you adding waypoints like that? If you're adding it manually via AddMFWaypoint you MUST set any and all options that you want to be set.. you lose all of the default TomTom behaviour when you do that.

/way Firelands 43.04 80.58 Skylord Omnuron

Should get you what you want..

I am adding them like that because I am doing them from within an addon. I just wanted to demonstrate that the problem is reproducible from outside my addon. Using the code I showed works for all other cases I have tried so far. For example, in Westfall I have successfully added waypoints in Elwynn and SW and they all show up and the arrow points into Elwynn as expected. Is there something else I should be adding?

The /way command above does not work. I tried it from Hyjal and there was no waypoint added at all.

Why are you adding waypoints like that? If you're adding it manually via AddMFWaypoint you MUST set any and all options that you want to be set.. you lose all of the default TomTom behaviour when you do that.

/way Firelands 43.04 80.58 Skylord Omnuron

Should get you what you want..

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

The return value gives me a table with the first four values (the fifth that I thought would be there is not for some reason). I do not get an arrow pointing me anywhere. What would be great is an arrow pointing to the portal that takes one to Firelands.

When I get to Firelands I see that the waypoint actually does exist on the map. However, once again there is no default arrow when entering the zone, which I thought should happen. I may be misremembering something here.

If I right-click on the waypoint to get the context menu I can set the arrow to it without a problem (including the title). However, when I use /cway sometimes I get the waypoint properly, and sometimes it gives me the unknown waypoint instead of the Skylord Omnuron title.

Please stop commenting on TomTom for issues with TomTomLite, please bring up your issues over there or open an issue ticket on curseforge and I'll be happy to take a look at it.

__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."

Sorry, tab and enter are my personal fiends, lol. I had REPLACED the libmap data, instead of letting the new overwrite the old. Once I let it overwrite, no more spam, and arrow is pointing the correct way. Sorry for the confusion, and thanks for responding. Keep up the great work, hero~

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.