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.

Well I am sure Cladhaire is working on it. TomTom is an awesome addon and I sure do miss it atm. However, if you use mapnotes... it at least lets you set a marker, not tomtom but till tom can get fixed, it at least works for marking quests.

It looks like the author of QuestHelper was able to make the appropriate changes to his embedded version of Astrolabe, but even seeing exactly what he changed and trying to mimic it I was unable to get Tomtom to function properly.

Can confirm I'm receiving the same errors as daggerz. Also, daggerz, the toc has not been updated because it hasn't been updated since the patch was released and if he had updated the toc ahead of time it wouldn't have loaded under any circumstances, whereas now it can at least load by enabling "Load out-of-date addons."

[2009/04/14 20:57:41-404-x1]: TomTom-197\TomTom.lua:7: Cannot find a library with name 'Astrolabe-0.4'
TomTom-197\libs\Astrolabe\DongleStub.lua:17: in function `DongleStub'
TomTom-197\TomTom.lua:7: in main chunk

---

[2009/04/14 20:57:41-404-x1]: TomTom-197\TomTom_Waypoints.lua:12: Cannot find a library with name 'Astrolabe-0.4'
TomTom-197\libs\Astrolabe\DongleStub.lua:17: in function `DongleStub'
TomTom-197\TomTom_Waypoints.lua:12: in main chunk

---

[2009/04/14 20:57:41-404-x1]: TomTom-197\TomTom_CrazyArrow.lua:9: Cannot find a library with name 'Astrolabe-0.4'
TomTom-197\libs\Astrolabe\DongleStub.lua:17: in function `DongleStub'
TomTom-197\TomTom_CrazyArrow.lua:9: in main chunk

---

On a side note, I noticed that this was in TomTom.toc -- ## Interface: 30000

Originally posted by Perfected I played with it this morning and found that by opening the interface, sliding the scale pointer from zero up and back (clearing the error that occurs at that time) and then /reloadui the arrow returns. Did it with two toons and it cleared up the problem for them. I have since relogegd them and again the arrow was present. (One is using the tour and one quest helper so the error did not originate with either)

Oddly, the only thing I have done addon wise in teh last week is to setup my addons to suit the toon, I have always gone with global settings prior, but with 4 80's and their varying needs the addon wad was becoming too thick by far

Will let you know if it jumps back at me.

Thanks much for reporting back!

__________________
"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..."

I played with it this morning and found that by opening the interface, sliding the scale pointer from zero up and back (clearing the error that occurs at that time) and then /reloadui the arrow returns. Did it with two toons and it cleared up the problem for them. I have since relogegd them and again the arrow was present. (One is using the tour and one quest helper so the error did not originate with either)

Oddly, the only thing I have done addon wise in teh last week is to setup my addons to suit the toon, I have always gone with global settings prior, but with 4 80's and their varying needs the addon wad was becoming too thick by far

Originally posted by Perfected
[b]Love teh addon and found it to be a great help, however yesterday I started getting this error on all toons, and the arrow / distance on teh main screen is missing, directional arrows on the mini map are still fine, can anyone please let me know what I need to do to fix it.. (The scale is set to zero).

I really have no idea why this is happening. Can you try resetting your savedvariables for TomTom?

__________________
"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..."

Love teh addon and found it to be a great help, however yesterday I started getting this error on all toons, and the arrow / distance on teh main screen is missing, directional arrows on the mini map are still fine, can anyone please let me know what I need to do to fix it.. (The scale is set to zero).

Originally posted by Folji I sometimes get this .lua error from TomTom. Sometimes it happens when another mod (like TourGuide) puts a marker on the map, sometimes it happens after dying (when TomTom puts an automatic marker for the corpse location).

I'm running TomTom together with TourGuide and Carbonite. Suppose that might have something to do with the issue?

It really has to do with someone changing the minimap. It should not be an issue after 3.1.

__________________
"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 xtoq How hard would it be to play a noise when you're x time or x distance from your currently tracked waypoint? I often find myself alt+tabbing while flying to an instance on my windrider, and would love to be informed when I'm x away from it.

Not terribly difficult, you just add a distance callback to the callbacks table, and then run your code when you're within that range. I'll look at adding something like this in the future.

__________________
"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..."

How hard would it be to play a noise when you're x time or x distance from your currently tracked waypoint? I often find myself alt+tabbing while flying to an instance on my windrider, and would love to be informed when I'm x away from it.

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.