Jump to content
Sign in to follow this  
Alphaest

[Addon] TomTom

Recommended Posts

This is the TomTom addon I made for vanilla.

In addition did changes to Questie and VanillaGuide someone could port into the originals.

The package here contains those 3 mods -

The questie addon here has some changes, you don't have to use it -
* clicking on the tracker will open the quest log, Extended questlog addon supported
* Using a key modifier (shift, alt, ctrl) and clicking on tracker will enable tomtom arrow to it
The difference with the original arrow is that it will allow you to use the tomtom waypoint queue
so you can put some other arrows there as well

The vanilla guide addon here adds TomTom support. Look into the Settings menu to enable it. Not needed for TomTom either.

The TomTom addon is a mix of the Legion TomTom and QuestieArrow. So credits go to those who made them.
My work was backporting code and fixing all the issues that were present in questie arrow.

To start using, Ctrl right click the main map, use questie or use one of the tomtom console commands:
/tomtom - general options
/way - waypoints handling
/cway - closest waypoint to arrow
/wayb - way back here
 

Change log

    1.5 Fixed inter continental vanishing and erroring minimap nodes

    1.4 Fixed corpse waypoint, minimap icons in some zones like darnassus, correct zone names on tooltips and /way list

    1.3 Fixed a nullpointer in VG TomTom integration, added bunch of zone name mappings into TomTom 'cose astrolabes "Ogrimar"-s aren't found.

    1.2 Implemented corpse waypoint, always a useful thing in vanilla. Implemented waypoint setting on continent and world map (ends up with error on older versions). Added TomTom presence checking into VanillaGuide so the checkbox is disabled if theres no TomTom available.

    1.1 Fixed Questie notes so it won't remove all astrolabe minimap notes, including TomTom ones

    1 Initial upload - tomtom with questie and vanillaguide changes

Download

https://mega.nz/#!vIcnRCTQ!ELn_2IRM5E_UEmIv_iC43SBgY5zrse9W1M5sEGtnCDk

 

J5GKchO[1].jpgTomTom2.jpgTomTom3.jpg

Edited by Alphaest

Share this post


Link to post
Share on other sites
1 hour ago, Sixmist said:

I get this error on start.

That's one of TomTom's methods that gets called when you have TomTom enabled in VanillaGuide settings. Do you have TomTom enabled in addons?

Share this post


Link to post
Share on other sites

Made a new version available - 1.2  

Implemented corpse waypoint, always a useful thing in vanilla. On by default. Use "/tomtom general corpsewaypoint" to toggle it off.

Implemented waypoint setting on continent and world map (ends up with error on older versions). It doesn't work perfectly but that's the best i got so far. When adding a note on a big map like Stranglethorn and into the westfall corner, it thinks you added it to westfall and lists it under that. This comes ffrom the issue that maps overlap each other and i calculate the map to put it on based on distance to middle of the map. So in that example the middle of westfall is closer than stranglethorns.

Added TomTom presence checking into VanillaGuide so the checkbox is disabled if there's no TomTom available. To counter those of you who decide to use this VanillaGuide without TomTom.

--

Also i noticed that the default profile is Default and therefor waypoints are shared across all of your characters unless you switch profiles - which you should do if you don't want that to happen. In original TomTom they are using another database for waypoints but this doesn't seem to be possible with ace2. Guess i should just switch waypoints to normal per char saves but then again you can't share waypoints if you do want it. Currently it's possible with profile switchings.

Share this post


Link to post
Share on other sites

And another version - 1.3

When VanillaGuide tried to add waypoints to zones that weren't found from Astrolabes zone maps it threw an error. Fixed that with a chat message.

Also added a 'alias' table into TomTom that adds some mappings from other names to astrolabe zone names. 

Found this issue when i leveled into hinterlands and vanillaguide tries to add waypoints to zones like "Tarren Mill" or "The Hinterlands" but astrolabe names were "Hilsbrad" and "Hinterlands". And you can notice that typo there.

The current mappings table looks like this:

Spoiler

-- List of zones Astrolabe doesn't know about.
-- the left part is your name without any extra chars (like space, ' or -) in lower case
-- the right part is the Astrolabe zone name. Look it up from Interface/Addons/TomTom/Astrolabe/Astrolabe.lua
-- at the bottom of the file where "WorldMapSize = {" is around the line 621
TomTom.extraZones = {
    thehinterlands = 'Hinterlands',
    tarrenmill = 'Hilsbrad',
    hillsbrad = 'Hilsbrad',
    hillsbradfoothills = 'Hilsbrad',
    alteracmountains = 'Alterac',
    silverpineforest = 'Silverpine',
    trisfalglades = 'Tirisfal',
    theundercity = 'Undercity',
    stranglethornvale = 'Stranglethorn',
    redridgemountains = 'Redridge',
    elwynnforest = 'Elwynn',
    arathihighlands = 'Arathi',
    thebarrens = 'Barrens',
    darnassis = 'Darnassus',
    dustwallowmarsh = 'Dustwallow',
    ogrimmar = 'Orgrimmar',
    stonetalon = 'StonetalonMountains',
}

 

Share this post


Link to post
Share on other sites

If i would've found one somewhere i wouldn't have ported it. So where was yours?

And no i don't host it any source control since i don't plan on updating it. Just bug fixes as i find them or someone reports them.

Share this post


Link to post
Share on other sites

Only using the 3 AddOns you provided and I get an error on boot:

Interface\AddOns\TomTom\TomTom.lua:8:AceADdon: AceOO-2.0: Library "AceDebug-2.0" does not exist.

I thought it may be getting screwed up with some old SavedVariables, but I deleted them all and starting fresh with just the 3 AddOns.

Share this post


Link to post
Share on other sites

Version 1.4

Bugfixes -

* Displays all the zone names now correctly on tooltip and /way list

* Fixed minimap icons and distance display when in Darnassus or Orgrimmar

* Corpse waypoint doesn't flicker anymore and correctly rotates

 

Looks like the forum has removed the edit button. Can't update the top post. So here's the download link:

https://mega.nz/#!qFcyza4D!W142o77_9f6WlRd47v7e3b6GjCSZqnTFXaanLQnJfqg

Share this post


Link to post
Share on other sites

Getting mass errors when changing zones on ship

[2017/01/08 18:34:10-136]: Astrolabe\Astrolabe.lua:162: attempt to index local `zoneData' (a nil value)
Astrolabe\Astrolabe.lua:162: in function `TranslateWorldMapPosition'
Astrolabe\Astrolabe.lua:234: in function `GetCurrentPlayerPosition'
Astrolabe\Astrolabe.lua:436: in function `CalculateMinimapIconPositions'
Astrolabe\Astrolabe.lua:536: in function `OnShow'
Astrolabe\Astrolabe.lua:570: in function <Interface\AddOns\TomTom\Astrolabe\Astrolabe.lua:569>
<in C code>: in function `Show'
Astrolabe\Astrolabe.lua:521: in function `OnEvent'
Astrolabe\Astrolabe.lua:559: in function <Interface\AddOns\TomTom\Astrolabe\Astrolabe.lua:558>

 

Also would be nice if you can contact author of Questie to merge your changes to main addon so it use TomTom when it available and built-in arrow if not.

Share this post


Link to post
Share on other sites

That's an interesting stacktrace. Which addon are you using to see that?

 

I catched that error myself a few days back but still haven't fixed it completely.

As for questie then it should already work like that without the need to merge anything. I have done other changes to it for myself to make my game more comfortable like clicking brings out the quest log rather than arrow, as i'm used to from retail.

Share this post


Link to post
Share on other sites

Verison 1.5 is now up

Has the fix for the ship traveling error and missing minimap nodes.

Also, found out the addon for proper errors is buggrabber+bugsack, actually the same i was using in retail but didn't find them in some vanilla collections at that time.

Share this post


Link to post
Share on other sites

Since Questie author seems not interested in supporting TomTom could you update your version to lastest Questie 3.61?

Share this post


Link to post
Share on other sites

Why you port TomTom if already we have addon for it? its includes in Metamap pack =) look there... its working very well

Share this post


Link to post
Share on other sites

It is working very poorly.

1. It doesn't consider the player rotation without moving.

2. It has big lag to update for the new player direction.

3. It doesn't support cross zone points. 

4. I don't think it has minimap nodes.

5. It has no internal list of waypoints.

6. Does it even work without metamap and metanotes?

7. TomTom arrow looks better imo.

Share this post


Link to post
Share on other sites
On 1/14/2017 at 5:26 PM, Gregory said:

Since Questie author seems not interested in supporting TomTom could you update your version to lastest Questie 3.61?

Let me quote myself:
As for questie then it should already work like that without the need to merge anything. I have done other changes to it for myself to make my game more comfortable like clicking brings out the quest log rather than arrow, as i'm used to from retail.

 

Share this post


Link to post
Share on other sites

The error on startup when you enable only TomTom can be easily fixed.

Open TomTom.toc in Notepad++ and swap lines 12 and 13. Hit save and it should work.

The problem is TomTom was loading AceDebug before AceOO, and AceDebug throws an error if AceOO is not loaded.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×