Go to Page... |
Compatibility: | Plunderstorm (10.2.6) Classic (1.15.0) WOTLK Patch (3.4.3) |
Updated: | 04-22-24 10:57 AM |
Created: | unknown |
Downloads: | 3,496,296 |
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 |
lloska |
View Public Profile |
Send a private message to lloska |
Find More Posts by lloska |
Add lloska to Your Buddy List |
10-10-22, 01:24 PM | ||
|
__________________
"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 |
10-10-22, 03:24 AM | |
|
Hello.
TomTom atm is working partially as it is on DF Beta. Can you take a look and fix it?, and update its libraries !? Thank you! Cheers.
__________________
Salu2 y a portarse bien. JOSÉ CARLOS PÉREZ CARREÑO. |
|
lloska |
View Public Profile |
Send a private message to lloska |
Find More Posts by lloska |
Add lloska to Your Buddy List |
09-25-22, 02:56 AM | |
|
So if you're trying to manipulate the crazy arrow you'll want to use the stuff defined in CrazyArrow. The only reason closest waypoint is defined in TomTom.lua is because it's used for the slash command defined just below that. I see how that's confusing
The error's not that crazy, as it's TomTom:SetCrazyArrow(uid, dist, title) and all three are required. It's not part of the public API so its not super clear and guarded against input failure. So generally the intent with TomTom is if you want to manage the waypoints or arrows you'd be expected to do most of the lifting yourself and just update the crazy arrow as needed. It's a bit tough to guess what you're trying to do, so I'm not sure what to add to help you without knowing a bit more about the logic and the way you're integrating. I could add a function that just takes the uid and sets the crazy arrow to that, but I'm not sure that's going to solve your problem? Feel free to message me on Discord, you can find me on the UI server as Cladhaire.
__________________
"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 |
09-24-22, 06:21 PM | |
|
Follow up to last post: If it helps, I encountered the error in the portal room in Dazar'alor-The Great Seal (uiMapId 1163)
|
|
artifexsev |
View Public Profile |
Send a private message to artifexsev |
Find More Posts by artifexsev |
Add artifexsev to Your Buddy List |
09-24-22, 06:13 PM | ||
|
EDIT: wrote the wrong function names in my post originally; it's corrected now
The contents of the uid I passed into it is the same as active_point in the log below: Code:
Message: Interface\AddOns\TomTom\TomTom_CrazyArrow.lua:161: attempt to compare number with nil Time: Sat Sep 24 17:06:24 2022 Count: 10737 Stack: Interface\AddOns\TomTom\TomTom_CrazyArrow.lua:161: attempt to compare number with nil [string "@Interface\AddOns\TomTom\TomTom_CrazyArrow.lua"]:161: in function <Interface\AddOns\TomTom\TomTom_CrazyArrow.lua:132> Locals: self = TomTomCrazyArrow { 0 = <userdata> title = <unnamed> { } tta = <unnamed> { } status = <unnamed> { } arrow = <unnamed> { } } elapsed = 0.015000 dist = 21.126570 x = nil y = nil cell = nil (*temporary) = nil (*temporary) = "21 yards" (*temporary) = <userdata> (*temporary) = 21.126570 (*temporary) = "21 yards" (*temporary) = 760.223577 (*temporary) = -1142.649739 (*temporary) = 21.126570 (*temporary) = -5.676447 (*temporary) = -20.349691 (*temporary) = 3.413623 (*temporary) = 3.413623 (*temporary) = 21.126570 (*temporary) = 2.869562 (*temporary) = -5.676447 (*temporary) = -20.349691 (*temporary) = 21.126570 (*temporary) = -5.676447 (*temporary) = -20.349691 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to compare number with nil" active_point = <table> { 1 = 1165 2 = 0.515243 3 = 0.468893 source = "JackJack (directions)" arrivaldistance = 15 crazy = true persistent = true minimap = true cleardistance = 10 title = "2. Take the portal from Hall of Ancient Paths to Silithus" from = "?" callbacks = <table> { } world = true } status = <unnamed> { 0 = <userdata> } sformat = <function> defined =[C]:-1 L = <table> { Player: --- = "Player: ---" Saved pages: %s = "Saved pages: %s" Allow control-right clicking on map to create new waypoint = "Allow control-right clicking on map to create new waypoint" Play a sound when arriving at a waypoint = "Play a sound when arriving at a waypoint" Minimap = "Minimap" Place the arrow in the HIGH strata = "Place the arrow in the HIGH strata" list = "list" Arrow locked = "Arrow locked" When you 'arrive' at a waypoint (this distance is controlled by the 'Arrival Distance' setting in this group) a sound can be played to indicate this. You can enable or disable this sound using this setting. = "When you 'arrive' at a waypoint (this distance is controlled by the 'Arrival Distance' setting in this group) a sound can be played to indicate this. You can enable or disable this sound using this setting." TomTom can be configured to set waypoints for the quest objectives that are shown in the watch frame and on the world map. These options can be used to configure these options. = "TomTom can be configured to set waypoints for the quest objectives that are shown in the watch frame and on the world map. These options can be used to configure these options." Border color = "Border color" Disable all mouse input = "Disable all mouse input" Alpha = "Alpha" Prompt before accepting sent waypoints = "Prompt before accepting sent waypoints" /wayb [desc] - Save the current position with optional description = "/wayb [desc] - Save the current position with optional description" /ttpaste save [title] - Save the current contents of the window with the given name = " /ttpaste save [title] - Save the current contents of the window with the given name" Icon Control = "Icon Control" Coordinate feed throttle = "Coordinate feed throttle" load = "load" /ttpaste toggle - Show/hide the paste window = " /ttpaste toggle - Show/hide the paste window" Player: %s = "Player: %s" This setting allows you to specify the scale of the title text. = "This setting allows you to specify the scale of the title text." Good color = "Good color" TomTom: Selected waypoint (%s%s%s) in %s = "TomTom: Selected waypoint (%s%s%s) in %s" Show estimated time to arrival = "Show estimated time to arrival" Display Settings = "Display Settings" No contents to save = "No contents to save"
Last edited by artifexsev : 09-24-22 at 06:16 PM.
|
|
|
artifexsev |
View Public Profile |
Send a private message to artifexsev |
Find More Posts by artifexsev |
Add artifexsev to Your Buddy List |
09-24-22, 05:29 PM | |
|
Wouldn't you just want to use TomTom:SetCrazyArrow directly, rather than using ClosestWaypoint, since you'd know what's closest?
As for TomTom:GetCZWFromMapID I don't see why you couldn't call that. It looks like the docs have lagged a bit and it's a somewhat 'private' function, but if its generally useful can be fine. Alternatively feel free to just grab that code if you need it and adapt it as sees fit!
__________________
"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 |
09-24-22, 05:11 PM | |
|
Request
Please make it so that you can override the self.profile.arrow.closestusecontinent setting within TomTom:SetClosestWaypoint(verbose) using a function parameter. So calling TomTom:SetClosestWaypoint(verbose=true, closestUseContinent=true) would set the closest waypoint in the same continent regardless of the user setting, but only for this function call. Even better is if I could also pass a waypoint uid array to SetClosestWaypoint and have it set the closest waypoint out of the given array. Use Case I'm writing a pathfinding addon, JackJack, which calculates directions from the player's current location to a destination, and sets TomTom waypoints for each step in the directions. When JackJack detects the player entered a new continent (using PLAYER_ENTERING_WORLD), I want to show the next closest step in the Crazy Arrow regardless of if it's in the same zone, and this is where I'd use the override. Ideally I want to only set the Crazy Arrow to a JackJack direction waypoint. Unrelated question I see TomTom:GetCZWFromMapID is exposed in the public TomTom namespace, but it's not listed in the Supported Addon API of the readme. Are there plans to make this supported? I could definitely use this function.
Last edited by artifexsev : 09-24-22 at 05:14 PM.
|
|
artifexsev |
View Public Profile |
Send a private message to artifexsev |
Find More Posts by artifexsev |
Add artifexsev to Your Buddy List |
09-03-22, 12:05 PM | ||
|
Yeah, it'll quickly get a bit involved if wanted to do it "perfect" meaning routing between continents and such. Half the work is already done though by having known locations of the zone connectors on the borders, flight masters, zeppelins and boats. It would need to do calculations though like If "On Same Continent" then If "Distance between player and target" > "Distance between player and closest flightmaster"+"Distance between target and closest flightmaster & target flightmaster is known" * 2 (or some multiplier to favor walking when the diff is not that big).Else ("Not On Same Continent") Set Waypoints: Closest Zeppelin/Boat -> etc...So yeah, maybe if I get inspiration one day i'll try to implement it and make a PR, but probably won't happen |
|
|
kebabstorm |
View Public Profile |
Send a private message to kebabstorm |
Find More Posts by kebabstorm |
Add kebabstorm to Your Buddy List |
08-08-22, 01:45 PM | |
|
Sure, should be able to change that tomorrow, probably!
As for adding the routing to the flight master, I don't think that's something I'll end up doing since TomTom isn't doing routing or wayfinding at the moment. Maybe in the future if I changed things a bunch, just not right now. Happy to accept a plugin possibly if there's a super easy way to do 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..."
Last edited by Cladhaire : 08-08-22 at 01:46 PM.
|
|
Cladhaire |
View Public Profile |
Send a private message to Cladhaire |
Find More Posts by Cladhaire |
Add Cladhaire to Your Buddy List |
08-08-22, 10:39 AM | |
|
Crazyarrow api func
Please move the "clear waypoint from crazy arrow" and "remove waypoint of crazy arrow" to a API func / slash cmd so i can have a button for it.
Here's the simple change in TomTom_CrazyArrow.lua Code:
{ -- Clear waypoint from crazy arrow text = L["Clear waypoint from crazy arrow"], func = function() TomTom:ClearCrazyArrowPoint(false) end, }, { -- Remove a waypoint text = L["Remove waypoint"], func = function() TomTom:ClearCrazyArrowPoint(true) end, }, Code:
-- Clear waypoint from crazy arrow function TomTom:ClearCrazyArrowPoint(remove) if (active_point) then if (remove) then local uid = active_point TomTom:RemoveWaypoint(uid) else local prior = active_point active_point = nil if TomTom.profile.arrow.setclosest then local uid = TomTom:GetClosestWaypoint() if uid and uid ~= prior then TomTom:SetClosestWaypoint() return end end end end end something like this Thx for all the work. Addon is great. One more suggestion, if the waypoint for crazy arrow is on another zone, it could point to either the closest flightmaster or the border crossing to the next zone (where you have the green arrows on the map) so it would actually route your path
Last edited by kebabstorm : 08-08-22 at 10:47 AM.
|
|
kebabstorm |
View Public Profile |
Send a private message to kebabstorm |
Find More Posts by kebabstorm |
Add kebabstorm to Your Buddy List |
07-25-22, 08:58 AM | |||||
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
Re: Re: Re: Re: 9.2.5 not working anymore
|
||||
|
Abath |
View Public Profile |
Send a private message to Abath |
Find More Posts by Abath |
Add Abath to Your Buddy List |
07-25-22, 03:17 AM | ||||
|
Re: Re: Re: 9.2.5 not working anymore
Tomtom just provides the commands and API to set the arrow, and has the integration for corpse. If you copy TomTom coords from wowhead and paste them, they should work just fine. Sounds like tomTom is installed correctly.
__________________
"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 |
07-25-22, 02:36 AM | |||
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
Re: Re: 9.2.5 not working anymore
BUT a STRANGE behavior: When I'm dead, the Tomtom arrow APPEAR AGAIN ! and when alive again disappear! |
||
|
Abath |
View Public Profile |
Send a private message to Abath |
Find More Posts by Abath |
Add Abath to Your Buddy List |
07-24-22, 12:48 PM | ||
|
Re: 9.2.5 not working anymore
__________________
"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 |