Download
(4Kb)
Download
Updated: 11-26-09 10:20 AM
Pictures
File Info
Updated:11-26-09 10:20 AM
Created:09-09-09 06:47 PM
Downloads:9,386
Favorites:30
MD5:

autotrack  Popular! (More than 5000 hits)

Version: 0.1.4
by: hungtar [More]

please accept my apology for abandoning this addon and not answering your support requests.

I don't play wow anymore and thus any request will remain unaswered.


When upgrading from 0.1.2 or earlier do /at switch and /at enable and make sure the options are set correct!

autotrack is an addon for hunters with the talent Improved Tracking. It will try to set your tracking skill to fit your current target.

It should work with any Locale, as long as the creature type to track is a substring of the name of the tracking skill (i.e. "Beast" in "Track Beasts"). As that doesn't work for all locales, there is support for localization since version 0.1.1. However, currently it's only localized for English language.

It can be configured with slash commands. With /autotrack or /at you get an overview of the available commands. If you don't want autotrack to change your tracking every time you target something, do /autotrack switch to disable (or enable) that behaviour.

You can select tracking skills to be automatically set upon entering and leaving of an instance. To do that, first do a /autotrack list, to get a list of available tracking skills and their IDs. Then, set the tracking skills with e.g. /autotrack wt 9 and /autotrack dt 1. To set a tracking skill when leaving combat, you can use /autotrack lct X (with X being the ID of the desired tracking skill).

version 0.1.4:
- added french localization (thanks Coren!).

version 0.1.3:
- option to disable everything.

version 0.1.2:
- fixed two bugs that sneaked in with the localization changes.

version 0.1.1:
- support for localization.

version 0.1.0:
- code cleanup
- fixed bug cause by uninitialized saved variables.
- fixed bug caused by invalid tracking ids.
- added version slash command.

version 0.0.8:
- don't try to set tracking when dead.

version 0.0.7:
- proper use of OnUpdate.

version 0.0.6:
- (hopefully) fixed a bug where tracking was not switched when entering/leaving an instance.

version 0.0.5:
- (re-)added an option so switch tracking when leaving combat. (Set the tracking type you want with /at lct x).

version 0.0.4:
- scraped the option for switching of tracking skill upon entering/leaving combat.
- added option to change tracking skill when entering/leaving a dungeon.

version 0.0.3:
- use real tracking CD instead of guesswork.

version 0.0.2:
- save settings.
- switch tracking back after combat (experimental).
- schedule tracking skill switching if needed.

version 0.0.1:
- first release.
Optional Files (0)


Post A Reply Comment Options
Unread 07-06-10, 03:57 PM  
menace97
Premium Member
 
menace97's Avatar
Premium Member

Forum posts: 4
File comments: 101
Uploads: 0
Lightbulb tracking switch

i love this addon, but one thing i would like to do is have a switch (keybinding) to temporarily disable this - so i could have humanoid tracking on, in case of enemies approaching, yet i am killing monsters of a particular tracking type in the area.
Report comment to moderator  
Reply With Quote
Unread 01-25-10, 10:40 AM  
antisocialink
A Kobold Labourer

Forum posts: 0
File comments: 39
Uploads: 0
I'm very forgetful so this helps alot. Is there a way to make it run silently tho. I can see when it updates my mini map or LDB tracking icon, I really don't need it to spill all changes into the chat frame. Later.
Report comment to moderator  
Reply With Quote
Unread 11-21-09, 12:58 AM  
trace
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Small request.

Right clicking the track button on the MM should track none.
Just a thought.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 11-14-09, 03:55 AM  
Durin
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
LeaveCombatTracking

Heya!

Bug with losing tracking when switching to another mob of the same type seems fixed indeed! Very nice :P

Regarding my other request: I know that I can stop switching when leaving combat by typing "/at lct 0", but that's not really convenient if I just want to temporarily stop out-of-combat tracking, for instance when PvP'ing in BG's or something.

You already have an option to disable autotracking, except that it does not stop the addon completely. It merely stops tracking on switching targets. It will always still keep switching the tracking type on leaving combat. That's what I would like to see changed: if I use "/at switch" to stop the functionality of the addon, I would like it to stop changing out-of-combat tracking too...

Disabling the addon completely, including out-of-combat tracking, is currently still not an option :P

Thanks for the speedy updates though...

Cheers

*Update*

I just tried the newest version, and it works like a charm! Precisely what I was looking for, thank you very much
Last edited by Durin : 11-16-09 at 03:59 PM.
Report comment to moderator  
Reply With Quote
Unread 11-13-09, 06:18 PM  
hungtar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 151
Uploads: 9
If you don't want tracking to change, when you leave combat, just set that option to 0 with /at lct 0. There is no need to edit anything.

I'll look into the tracking being unset with /at switch enabled.

Edit: yeah, that was a bug. Should again work correct in 0.1.2
Last edited by hungtar : 11-13-09 at 06:36 PM.
Report comment to moderator  
Reply With Quote
Unread 11-13-09, 05:20 PM  
Durin
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Follow-up

Well, it was extremely simple to add my requested out-of-combat tracking request.

I just added the following lines:

autotrackDB.leaveCombatTracking = 0

after the line

autotrackDB.enabled = false

and autotrackDB.leaveCombatTracking = 2 ("Find Minerals")

after the line

autotrackDB.enabled = true

This fixed it just for my personal preferred out-of-combat tracking type, but I still would like to see a general functionality added :P

Cheers
Report comment to moderator  
Reply With Quote
Unread 11-13-09, 05:03 PM  
Durin
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Feature request (or just a bugreport)

Hi, I really like this addon, but there are 2 things that are not working quite as I expected.

Firstly, I have set LeaveCombatTracking (lct) to Find Minerals (being a miner and all), but if I enter a BG or just want to PvP a bit, there's currently (to my knowlegde) no way to disable the lct tracking switch. I just want to keep tracking humanoids, or whatever I set manually...

When I disable autotracking using "/at switch", it will indeed stop autotracking on targeting, but once I leave combat, it will always still revert to Find Minerals, even if I don't want it to. Especially in BG's this is a bit annoying...

Could you make it so that when autotracking is disabled it will also stop switching to the out-of-combat tracking?

Secondly, and this is obviously a bug, when I target a type of mob (say, a beast), if I then target another unit of the *same* type, it will cancel the tracking, and track nothing. When I then switch again to another beast, it will track beasts again.

Upon inspecting the lua code, I could not determine if there's currently a check in place to see whether the currently targeted unit is already being tracked. I see it just "casting" the tracking, thereby effectively cancelling the tracking if the unit type is already being tracked...

Otherwise, keep up the good work
Last edited by Durin : 11-13-09 at 05:07 PM.
Report comment to moderator  
Reply With Quote
Unread 11-08-09, 01:28 AM  
Wasgij
A Cliff Giant
 
Wasgij's Avatar
AddOn Author - Click to view AddOns

Forum posts: 64
File comments: 35
Uploads: 3
OK what did I do wrong I did /at lct 1 which sets it to track Herbs out of combat .. But it does not switch ??


NVM I fixed It did not know I had to reload my UI to get it to work lol
__________________
Last edited by Wasgij : 11-08-09 at 01:44 AM.
Report comment to moderator  
Reply With Quote
Unread 11-07-09, 06:38 PM  
hungtar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 151
Uploads: 9
Originally posted by Coren
Hi,

in the French locale ("frFR"), undead can't be matched properly (even when lower-casing the search, which is missing anyways IMHO...):

Creature type: Mort-vivant
Tracking type: Pistage des morts-vivants (note the extra s after "mort"...)
(Some others also fail in an accented fashion...)

Do you have any more extensive locale support planned?

Cheers,

Coren
Thanks for the bug report! The next version will have support for localization. please be patient

Edit: just uploaded 0.1.1 that has support for localization. just copy the locales/enUS.lua file to frFR.lua and edit away. would appreciate it if you share your localization so i can include it
Last edited by hungtar : 11-07-09 at 07:10 PM.
Report comment to moderator  
Reply With Quote
Unread 11-06-09, 02:30 PM  
Coren
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 55
Uploads: 6
Hi,

in the French locale ("frFR"), undead can't be matched properly (even when lower-casing the search, which is missing anyways IMHO...):

Creature type: Mort-vivant
Tracking type: Pistage des morts-vivants (note the extra s after "mort"...)
(Some others also fail in an accented fashion...)

Do you have any more extensive locale support planned?

Cheers,

Coren
Last edited by Coren : 11-06-09 at 02:33 PM.
Report comment to moderator  
Reply With Quote
Unread 10-11-09, 04:48 PM  
hungtar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 151
Uploads: 9
Originally posted by tordenflesk
Would it be possible to have this addon revert to the previous tracking so that i can track nodes in between.
Well, there is the /at lct option, to set tracking to what ever you want, when you leave combat. Does that help or did you have something else in mind?
Report comment to moderator  
Reply With Quote
Unread 10-10-09, 07:00 AM  
tordenflesk
A Deviate Faerie Dragon

Forum posts: 18
File comments: 213
Uploads: 0
Would it be possible to have this addon revert to the previous tracking so that i can track nodes in between.
Report comment to moderator  
Reply With Quote
Unread 10-03-09, 06:52 AM  
hungtar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 151
Uploads: 9
Can you please try again after executing the command "/at wt 1"? It appears like the variable is not set and that should fix that.
Report comment to moderator  
Reply With Quote
Unread 10-02-09, 04:21 PM  
havasucountry11
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: error

Originally posted by hungtar
Yes, please post the error message, or even better, the whole error output (i mean all that stuff in the error window that pops up, when the "show lua errors" option is checked).

Does this happen on every load screen? or just when logging in or taking portals?
it happens on every load screen when I get back on a little later I will get the info and post it for you to look at.
Here you go

Message: Interface\AddOns\autotrack\autotrack.lua:271: attempt to concatenate a nil value
Time: 10/02/09 21:25:37
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\AddOns\autotrack\autotrack.lua:271: in function `?'
Interface\AddOns\autotrack\autotrack.lua:26: in function <Interface\AddOns\autotrack\autotrack.lua:25>

Locals: _ = "Eastern Kingdoms"
t = "none"
_ = 1
_ = ""
(*temporary) = <function> defined @Interface\AddOns\autotrack\autotrack.lua:34
(*temporary) = <table> {
DoSetTracking = <function> defined @Interface\AddOns\autotrack\autotrack.lua:96
debug = false
lctSet = <function> defined @Interface\AddOns\autotrack\autotrack.lua:200
wtSet = <function> defined @Interface\AddOns\autotrack\autotrack.lua:190
dtSet = <function> defined @Interface\AddOns\autotrack\autotrack.lua:180
Print = <function> defined @Interface\AddOns\autotrack\autotrack.lua:34
DebugOn = <function> defined @Interface\AddOns\autotrack\autotrack.lua:149
PrintHelp = <function> defined @Interface\AddOns\autotrack\autotrack.lua:137
last_update = 0
events = <table> {
}
ListTrack = <function> defined @Interface\AddOns\autotrack\autotrack.lua:171
Switch = <function> defined @Interface\AddOns\autotrack\autotrack.lua:160
CastTrack = <function> defined @Interface\AddOns\autotrack\autotrack.lua:114
Debug = <function> defined @Interface\AddOns\autotrack\autotrack.lua:39
eframe = <unnamed> {
}
}
(*temporary) = "Setting tracking to: "
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate a nil value"
TrackIDToName = <function> defined @Interface\AddOns\autotrack\autotrack.lua:108
nextTracking = 0
Last edited by havasucountry11 : 10-02-09 at 10:35 PM.
Report comment to moderator  
Reply With Quote
Unread 10-02-09, 02:08 PM  
hungtar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 151
Uploads: 9
Re: error

Originally posted by havasucountry11
just want ot say that I love this add on, but I have been getting an error whenever i come out of a load screen. I will try to post it here later so that you will have a chance to look at it and fix the problem thanks
Yes, please post the error message, or even better, the whole error output (i mean all that stuff in the error window that pops up, when the "show lua errors" option is checked).

Does this happen on every load screen? or just when logging in or taking portals?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: