Download
(10Kb)
Download
Updated: 06-06-21 04:09 AM
Pictures
File Info
Compatibility:
The Burning Crusade Classic (2.5.1)
Classic Patch (1.13.7)
Updated:06-06-21 04:09 AM
Created:06-07-19 08:52 AM
Downloads:21,063
Favorites:63
MD5:
Categories:Classic - General, The Burning Crusade Classic

Track Resources  Popular! (More than 5000 hits)

Version: v0.16
by: ClassicFun [More]

A simple addon to track resources you gather (herbs/mining).

This is my first addon and mainly just for fun, but I found it useful in Classic since a lot of other similar addons don't work yet.

Notes

  • It doesn't come with pre-loaded database so it will be empty on first use. FireShoob kindly made a complete dataset if you'd like to use it.
  • Initial Minimap icon support implemented, but no directional hints yet.

Commands
/tr zonemap (toggles zonemap icons)
/tr minimap (toggles minimap icons)
/tr zonesize n (sets size of zone icons, default is 12)
/tr minisize n (sets size of minimap icons, default is 12)
/tr prof (toggles showing all profession resources, or the default of current professions)
/tr autocast (toggle auto cast of gathering after death)
/tr alpha n.n (icon alpha/transparency, from 0.0 to 1.0, default is 0.75)
/tr codex (if you have ClassicCodex, experimental use of its database for locations)


ClassicCodex
Added experimental support for using ClassicCodex database for resource locations. If you have the addon and type "/tr codex" it should toggle displaying resources based on info from ClassicCodex.

Note: this is only on the world map for now, it's a hell of a lot of data points and I'm unsure how accurate the data is, so just testing things out.

Todo
The minimap work was much harder than expected so this first version is just basic icons which will show when a resource is in range of the minimap window. If I get more free time I also plan to add support for directional hints (icons further away but placed on the edge of the minimap for reference). May be other issues I haven't thought about as well.

Bugs
Leave a comment if you notice any issues.

v0.16
- Fixed bug with missing player coords
- Added missed Rich Adamantite
- Added new IDs for herbs in Zangamarsh

v0.13 - 2021-05-19

Updated for TBC release

v0.12 - 2021-04-10

TOC bump for 1.13.6 (prep for TBC testing)

v0.11 - 2020-03-11

TOC bump for 1.13.4 (nothing detected as breaking on PTR)

v0.10 - 2019-11-17

Added setting to allow toggling auto cast of tracking after death (default on): /tr autocast

v0.9 - 2019-10-12
Added "/tr alpha n.n" command to set icon alpha/transparency (from 0.0 to 1.0, default is 0.75).

Will now actually cast tracking again if you die instead of just reminding you, but defaults to herbs if you have both herbalism and mining.

Added experimental support for using ClassicCodex database for resource locations. If you have the addon and type "/tr codex" it should toggle displaying resources based on info from ClassicCodex. Note: this is only on the world map for now, it's a hell of a lot of data points and I'm unsure how accurate the data is, so just testing things out.

v0.8 - 2019-09-08
Added support for setting texture filterMode:

/tr filtermode trilinear
/tr filtermode linear
/tr filtermode nearest

Try different options if you're currently seeing issues with icons (e.g. custom icon pack).* The default is "trilinear" which adds a more blended look to icons.


v0.7 - 2019-06-27
  • Rotated minimaps "should" work (the math is way over my head..)
  • "/tr prof" will toggle between showing all resources, or just ones you've learned, which is the default
  • TR will remind you to rebuff resource tracking if you die, in case you forget (I always do).
  • Minimap refresh rate interval made simpler and a little quicker.

v0.6 - 2019-06-21
Bugfix - tracked down the issue of icons doubling up and sometimes showing a mix of two different icons. Didn't know a frame could have multiple child textures.. doh!

v0.5 - 2019-06-18
Improvements on loading resource names to catch edge issues where a client hasn't queried the name yet (and should now collect "Gold Ore" but will still show a "Gold Bar" icon to distinguish from "Copper Ore" icon)

v0.4 - 2019-06-18
Bugfix to try and avoid issues with item names not yet cached

v0.3 - 2019-06-14
Bugfixes (mainly to validate player coords, gathering in a dungeon threw an error)

v0.2 - 2019-06-13
  • Adds initial support for basic minimap icons (no directional hint support yet sorry, and doesn't work with rotated minimaps)
  • Adds basic commands via /tr to toggle zone/minimap icons and also set their icon sizes
Archived Files (2)
File Name
Version
Size
Author
Date
v0.13
10kB
ClassicFun
05-19-21 03:41 AM
v0.12
10kB
ClassicFun
04-09-21 09:56 PM


Post A Reply Comment Options
Unread 09-11-19, 04:25 PM  
FireShoob
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally Posted by drdim
Originally Posted by kijek
Originally Posted by FireShoob
Originally Posted by Misdirections
Is there any way to import data into the addon as of yet, or any thoughts on if there will be?
I've been working on this exact issue! I still need to thoroughly vet the database that I've generated from old Wowhead dumps but I got the barrens nodes to work flawlessly last night.

Currently I have the database I generated and the code used to make it stored in my Github Repo at: https://github.com/FireShoob/TrackResources_data
I have downloaded TrackResources.lua and put it in the folder mentioned by you, track resources shows ( 0 ) nodes.
Same problem for me.
After I replace that TrackResources.lua with file from FireShoob in
\Blizzard\World of Warcraft\_classic_\WTF\Account\XXXXXX#1\SavedVariables
and restart the game, it creates a new database with 0 node entries
Investigating now
Report comment to moderator  
Reply With Quote
Unread 09-11-19, 04:52 PM  
FireShoob
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
My first thought was maybe the additional variable added in the new version of TR broke existing databases, but 0.8 will automatically populate the new variable to a 0.7 database it seems. I have tried the following so far with no ability to reproduce these issues (the pre-populated database loads fine each time)

* Delete Existing Personal Database, Update to 0.8, load in and initialize an empty database, rename the new empty one TrackResources.lua.bak and proceed to restore the old 0.7 database, loaded fine

* Delete Database and Backup, and load a copy of the 0.7 database directly off my github into the SavedVariables folder with no backup file present, loaded fine

I should note that even if you're not using any other addons, Blizzard's default UI also uses this folder to track variables between sessions so to be in the correct location you should see a few files named things like Blizzard_CombatLog and Blizzard_Trainer, this is important because the exact directory needs to be correct otherwise TR will not be able to find it. Double check where WoW Classic is installed on your computer, for example mine is installed in more or less the default location at:

C:\Program Files (x86)\World of Warcraft\_classic_\WTF\Account\ACCOUNTNAME\SavedVariables\

To confirm that where you're trying to put this is the correct location, insert some data into the empty TR database by collecting resources in the game and then close Classic WoW and proceed to open up the TrackResources.lua file in your SavedVariables folder with notepad or a similar text editor, there should be data under ["db"] that is formatted with an array of numbers in square brackets encapsulating coordinates and other important information needed by TR to function, if there are no entries in this file, you are in the wrong location and will need to locate the correct one.
Report comment to moderator  
Reply With Quote
Unread 09-12-19, 01:37 AM  
ClassicFun
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 11
Uploads: 2
Originally Posted by FireShoob
My first thought was maybe the additional variable added in the new version of TR broke existing databases, but 0.8 will automatically populate the new variable to a 0.7 database it seems. I have tried the following so far with no ability to reproduce these issues (the pre-populated database loads fine each time)
Yeah I (hope) I didn't clobber anything - it should add the new variable only if it doesn't exist and wouldn't wipe anything.

Another consideration to those putting the file there - make sure you're not running WoW whilst you do this, as I'm pretty sure an exit/reload will write its current state to file (overwriting what you just did). Exit the game first, put the file there, then start the game.
Report comment to moderator  
Reply With Quote
Unread 09-12-19, 04:07 PM  
FireShoob
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally Posted by ClassicFun
Originally Posted by FireShoob
My first thought was maybe the additional variable added in the new version of TR broke existing databases, but 0.8 will automatically populate the new variable to a 0.7 database it seems. I have tried the following so far with no ability to reproduce these issues (the pre-populated database loads fine each time)
Yeah I (hope) I didn't clobber anything - it should add the new variable only if it doesn't exist and wouldn't wipe anything.

Another consideration to those putting the file there - make sure you're not running WoW whilst you do this, as I'm pretty sure an exit/reload will write its current state to file (overwriting what you just did). Exit the game first, put the file there, then start the game.
I was able to upgrade to 0.8 with no issues so I think it's all good
Report comment to moderator  
Reply With Quote
Unread 09-28-19, 03:57 AM  
drdim
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by ClassicFun
Originally Posted by FireShoob
My first thought was maybe the additional variable added in the new version of TR broke existing databases, but 0.8 will automatically populate the new variable to a 0.7 database it seems. I have tried the following so far with no ability to reproduce these issues (the pre-populated database loads fine each time)
Yeah I (hope) I didn't clobber anything - it should add the new variable only if it doesn't exist and wouldn't wipe anything.

Another consideration to those putting the file there - make sure you're not running WoW whilst you do this, as I'm pretty sure an exit/reload will write its current state to file (overwriting what you just did). Exit the game first, put the file there, then start the game.
That was the culprit. Didn't completely close WoW back then (to avoid the 1-hour queue). Data loads as intended when completely closing WoW (and Bnet aswell, just to be sure).
Report comment to moderator  
Reply With Quote
Unread 04-13-20, 10:13 AM  
Bashman
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Worldmap tooltips

Very nice addon, thank you :-)

When I hover over the worldmap's node icons, I see no text (like other addons do), i.e. what an icon represents. Is it possible to enable those "tooltips"?
Report comment to moderator  
Reply With Quote
Unread 04-27-20, 02:55 AM  
ClassicFun
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 11
Uploads: 2
Re: Worldmap tooltips

Originally Posted by Bashman
Very nice addon, thank you :-)

When I hover over the worldmap's node icons, I see no text (like other addons do), i.e. what an icon represents. Is it possible to enable those "tooltips"?
Sorry missed this (must be missing a notification somewhere). I'll have a look into it though I have less free time at the moment, but I do like the idea
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: