Go to Page... |
Compatibility: | Seeds of Renewal (10.2.5) Classic (1.15.0) WOTLK Patch (3.4.3) |
Updated: | 03-21-24 12:46 PM |
Created: | unknown |
Downloads: | 3,495,782 |
Favorites: | 6,079 |
MD5: |
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:
/way 14.78 23.90
/way Nagrand 45 50
/way 14.78 23.90 This is a waypoint!
/way reset all
/way reset Nagrand
/wayb Here
/wayback
/cway
/closestway
Comment Options |
Cladhaire |
View Public Profile |
Send a private message to Cladhaire |
Find More Posts by Cladhaire |
Add Cladhaire to Your Buddy List |
AnrDaemon |
View Public Profile |
Send a private message to AnrDaemon |
Find More Posts by AnrDaemon |
Add AnrDaemon to Your Buddy List |
12-06-11, 01:07 PM | |
|
Hrm, I can't reproduce this. What you're seeing in the SV are actually two different waypoints, one at (46.3, 41.7) and another at (46.29, 41.7) and those are distinct. They may have gotten added at some point before, but I don't see an issue with the code right now that would cause that to happen.
If you can find a way to reproduce it from a base state, let me know and I'll do what I can!
__________________
"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..." |
|
Cladhaire |
View Public Profile |
Send a private message to Cladhaire |
Find More Posts by Cladhaire |
Add Cladhaire to Your Buddy List |
12-06-11, 01:16 PM | |
|
Hah! This one was easy...
Dunno why you were unable to reproduce it. /way Feralas 46.3 41.7 Reload SV. Dump profile. You will see two waypoints. And it's not 46.29, it's 46.299999999999999 which is entirely different beast. |
|
AnrDaemon |
View Public Profile |
Send a private message to AnrDaemon |
Find More Posts by AnrDaemon |
Add AnrDaemon to Your Buddy List |
12-06-11, 02:37 PM | |
|
So this is a really subtle issue, and I don't know that I can have a fix for it without forcing an API change. It deals with IEE-754 floating point representation. I've just got to figure out where its creeping in and figure out how to stop 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..." |
|
Cladhaire |
View Public Profile |
Send a private message to Cladhaire |
Find More Posts by Cladhaire |
Add Cladhaire to Your Buddy List |
12-06-11, 03:07 PM | |
|
I think if you open the TomTom.lua file and replace TomTom:GetKey() with this:
Code:
function TomTom:GetKeyArgs(m, f, x, y, title) if not f then local floors = astrolabe:GetNumFloors(m) f = floors == 0 and 0 or 1 end -- Fudge the x/y values so they avoid precision/printf issues local x = x * 10000 local y = y * 10000 local key = string.format("%d:%d:%d:%d:%s", m, f, x*10e4, y*10e4, tostring(title)) print(key) return key end
__________________
"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..."
Last edited by Cladhaire : 12-06-11 at 03:07 PM.
|
|
Cladhaire |
View Public Profile |
Send a private message to Cladhaire |
Find More Posts by Cladhaire |
Add Cladhaire to Your Buddy List |
12-07-11, 12:32 PM | ||
|
I think the problem is that, at some point, TomTom, or another addon, reinsert the waypoint back into SV, and doing it differently from original waypoint creaton code. That is usually how you stumble upon such issues. I'll try your code once I'm back in front of my PC. (Posting from work right now, and no ETA on when I finish this mess...) |
|
|
AnrDaemon |
View Public Profile |
Send a private message to AnrDaemon |
Find More Posts by AnrDaemon |
Add AnrDaemon to Your Buddy List |
12-07-11, 07:16 PM | |
|
Seems like your voodoo magic worked.
Or at least, it didn't duplicated the new waypoint now. |
|
AnrDaemon |
View Public Profile |
Send a private message to AnrDaemon |
Find More Posts by AnrDaemon |
Add AnrDaemon to Your Buddy List |
12-08-11, 03:49 AM | |
|
Feel free to keep playing with it, but the next version will contain that fix.
__________________
"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..." |
|
Cladhaire |
View Public Profile |
Send a private message to Cladhaire |
Find More Posts by Cladhaire |
Add Cladhaire to Your Buddy List |
12-31-11, 01:04 PM | |
|
An Amazing feature for this would be to audio-notify ("bing!") if it has changed angle abruptly (as an option). That way one could 'auto-pilot' onto a point but even if he's not 100% on spot it will "bing" because the arrow changed angle abruptly (i.e. player was next to it).
|
|
tobindax |
View Public Profile |
Send a private message to tobindax |
Find More Posts by tobindax |
Add tobindax to Your Buddy List |
01-07-12, 01:41 PM | |
|
Just got struck by an idea - make waypoint dots and arrows assign themselves to arrow on left-click.
|
|
AnrDaemon |
View Public Profile |
Send a private message to AnrDaemon |
Find More Posts by AnrDaemon |
Add AnrDaemon to Your Buddy List |
01-27-12, 12:12 AM | |
|
Remove Waypoint by Description
Hey,
Just wondering if their is a way to remove a waypoint by the description provided. I can see you can remove by zone already. Upy |
|
upyursh |
View Public Profile |
Send a private message to upyursh |
Find More Posts by upyursh |
Add upyursh to Your Buddy List |
01-27-12, 02:50 AM | ||
|
Re: Remove Waypoint by Description
__________________
"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..." |
|
|
Cladhaire |
View Public Profile |
Send a private message to Cladhaire |
Find More Posts by Cladhaire |
Add Cladhaire to Your Buddy List |
01-27-12, 04:25 AM | |
|
Thanks for your reply. What I'm trying to do is build an addon that support setting waypoints by a raid leader.
This is for Heroic Hagara so the plan is to get everyone to line up before the pull in the spots we want them. The Raid Leader will then type a command in /raid like !raidspot set Hagara Don't Fail!! I'm using this to add the WayPoint; Code:
local backm,backf,backx,backy = TomTom:GetCurrentPlayerPosition() TomTom:AddMFWaypoint(backm, backf, backx, backy, { title = wpTitle, persistent = true, }) Any advice would be great Upy |
|
upyursh |
View Public Profile |
Send a private message to upyursh |
Find More Posts by upyursh |
Add upyursh to Your Buddy List |
01-27-12, 04:29 AM | |
|
Persistent means that the waypoint will be saved between sessions. The user may still have an option set that auto-clears waypoints when they get within X yards of them. This can be changed under the General Options, or you could specify your own callbacks table that prevents this from happening.
The return value from any of the Add functions is a uid (actually a table normally) that you can use to remove the waypoint at a future time.
__________________
"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..." |
|
Cladhaire |
View Public Profile |
Send a private message to Cladhaire |
Find More Posts by Cladhaire |
Add Cladhaire to Your Buddy List |