Download
(8Kb)
Download
Updated: 08-07-09 04:59 PM
Pictures
File Info
Updated:08-07-09 04:59 PM
Created:10-24-08 09:42 AM
Downloads:24,017
Favorites:160
MD5:

AutoAspect  Popular! (More than 5000 hits)

Version: 1.10
by: Gorebag [More]

I put together AutoAspect after the 3.0 change to Aspect of the Viper. I can't tell you how many times we would be fighting a boss in ZA or something and I would realize part way through the fight that I still had Viper on and was doing half damage.

So that's where AutoAspect comes in. This is a very simple addon (my first addon, in fact) but it keeps my aspects straight

Firstly, the addon does nothing if you aren't a Hunter!

When your mana drops below a specified threshold (30% default) and don't have Aspect of the Viper on, the addon will begin throwing up messages in the "errors" frame that you should switch to Aspect of the Viper (it also plays the Raid Warning sound to get your attention). In addition, it will provide a big, semi transparent button in the center of the screen with Aspect of the Viper attached to it's click event.

Similarly, when you have Aspect of the Viper on and your mana goes above a specified threshold (85% default) the same thing happens, except that the button is for Aspect of the Hawk, and the message indicates that you have lots of mana and should switch.

New in V1.08
If you are level 75 or higher, the "big button" will be set to cast "Aspect of the Dragonhawk" instead of "Aspect of the Hawk"

New in V1.07
Some additional in-combat checks to suppress in-game interface restriction errors.

New in V1.06
All on/off commands now support toggling by simply specifying the command, so /aa tracking will set tracking off if it is on, and vice versa.
I also restructured the code to show the "Big Button" so that the addon will not attempt to show or hide the button while in combat.

New in V1.05
AutoAspect now supports using Scrolling Text mods (MSBT, SCT, and Parrot) for it's alerts. I also throttled the alerts to 1 per 2 seconds. Use "/aa sct on" to turn on Scrolling Alerts. You can also use "/aa text off" to disable the UI Error Frame alerts. You can set separate alert texts for scrolling messages (/aa lowscroll and /aa highscroll)

New in v1.04

You can now move the "big button" via slash commands. There are 3 new commands:

/aa resetpos (resets the button to the center of the screen (0,0))
/aa xpos # (set the X offset)
/aa ypos # (sets the Y offset)

The offsets are relative to the center of the screen (ie, the center is 0,0). Positive Y values move up, negative down. Positive X values move right, negative left.

Also in 1.04, the setting for playing sound is now persistent, and I added a check on the creature type detection for the targeting feature to make sure the command actually gets a creature type back.

New v1.03 Feature

AutoAspect now has a feature (disabled by default) that will automatically switch your Tracking type to the type of whatever non-friendly unit you target. The "/aa tracking on" command can be used to activate this feature, which is useful for hunters with the Improved Tacking talent.

Optional:

The "Big Button" is disablable, in which case you can click your normal aspect buttons in response to the warnings, or make a macro that says:

/click AutoAspectVisible

to have the same effect as clicking the big button.

A Note About Being In Combat

Because of restrictions placed on addons by Blizzard, an addon can't make an action button show up while in combat (nor can it change the effect that clicking on a button will have during combat), so the Big Button will only show outside of combat.

Additionally, the /click AutoAspectVisible won't be cast the expected spell while in combat (because AutoAspect can't change the frame to the spell it needs until combat ends).

For these reasons I still use normal buttons for switching aspects... the real benefit (for me) of AutoAspect is the warning about being in the wrong one

Slash Commands:

AutoAspect supports the /autoaspect (and /aa for short) slash command with the following options:

/autoaspect help <-- Displays help
/autoaspect status <-- Displays the current status of all variables
/autoaspect enable <-- Turns the addon on
/autoaspect disable <-- Turns the addon off
/autoaspect button on <-- Turns the "Big Button" on
/autoaspect button off <-- Turns the "Big Button" off
/autoaspect low # <-- Sets the "low mana threshold" to ## percent
/autoaspect high # <-- Sets the "high mana threshold" to ## percent
/autoaspect sound on <-- Turn on the RaidWarning sound
/autoaspect sound off <-- Turn off the Raidwarning sound
/autoaspect buttonsize # <-- Sets the "Big Button" to size 1, 2, or 3
/autoaspect lowtext <message> <-- Sets to message to show at low mana
/autoaspect hightext <message> <-- Sets the message to show at high mana
/autoaspect tracking on <-- Turns on "Auto Tracking Switching"
/autoaspect tracking off <-- Turns off "Auto Tracking Switching"
/autoaspect resetpos <-- Reset the position of the big button to 0,0
/autoaspect xpos # <-- Set the X offset of the big button
/autoaspect ypos # <-- Set the Y offset of the big button

-- /aa sct on - Enable Scrolling Text message output
-- /aa sct off - Disable Scrolling Text message output
-- /aa text on - Enabled UI Error Frame messages
-- /aa text off - Disable UI Error Frame messages
-- /aa lowscroll <message> - Set the Low Mana message used by Scrolling Text Addons
-- /aa highscroll <message> - Set the High Mana message used by Scrolling Text Addons


The "buttonsize" command takes a number from 1 to 3 as a parameter. Size 1 is a 64x64 pixel button, size 2 is a 128x128 pixel button (the size the button is in 1.01) and size 3 is a giant 256x256 pixel button.

As I said above, this is the first addon I've ever tried to write, so if you find bugs or unexpected behavior, please let me know and I'll try to address them.

V1.10
TOC Update for patch 3.2
Minor cleanups

V1.09
Unreleased version

V1.08
Casts Aspect of the Dragonhawk if you are over level 75, and Aspect of the Hawk at 74 and below.

V1.07
Some additional in-combat checks to suppress in-game interface restriction errors.

V1.06
Updated to only attempt to show/hide the button when not in combat to eliminate potential error messages
All commands that support on/off now supprt toggling if just the command is specified

V1.05
Added support for scrolling text addons (MSBT, SCT, Parrot)
Lots of code cleanup (Removing functions and inlining them, etc)
Throttle alert messages to 1 per 2 seconds max.

V1.04
Added checking to make sure a creature returns a creature type and not a "nil"
Added missing "aaPlaySound" to AutoAspect.toc saved variables.
Added the ability to move the Big Button via slash commands.

V1.03
Add check to shut off spam if player is mounted.
Replaced all instances of ChatFrame1 with DEFAULT_CHAT_FRAME
Updated the "results" messages to always be prefixed with "AutoAspect:"
Added auto tracking switching (Switch tracking to the type of your current target)

V1.02

Adds a number of new slash commands (see below) allowing you to toggle sound on and off, as well as set the size of the "big button" and the message displayed by the addon. Also corrects the "Ghost Spam" problem by using UnitIsDeadOrGhost instead of UnitIsDead to detect your current state of existence.

New in Version 1.03:
/autoaspect tracking on <-- Turns on "Auto Tracking Switching"
/autoaspect tracking off <-- Turns off "Auto Tracking Switching"

New in Version 1.02:
/autoaspect sound on <-- Turn on the RaidWarning sound
/autoaspect sound off <-- Turn off the Raidwarning sound
/autoaspect buttonsize # <-- Sets the "Big Button" to size 1, 2, or 3
/autoaspect lowtext <message> <-- Sets to message to show at low mana
/autoaspect hightext <message> <-- Sets the message to show at high mana

The "buttonsize" command takes a number from 1 to 3 as a parameter. Size 1 is a 64x64 pixel button, size 2 is a 128x128 pixel button (the size the button is in 1.01) and size 3 is a giant 256x256 pixel button.
Optional Files (0)


Post A Reply Comment Options
Unread 10-31-10, 06:25 AM  
Shadowjade
A Kobold Labourer
 
Shadowjade's Avatar

Forum posts: 0
File comments: 60
Uploads: 0
I do find that even at level 80 without Aspect of the Fox in play yet, I find this addon would be very useful. There appears to be a new game mechanic where whenever you mount up it takes your aspect off, so when I enter a dungeon lately I can't tell you the number of times I discovered halfway through that I hadn't noticed my Aspect of the Hawk wasn't on. I'd love to have the reminder like I used to have when no aspect was active.
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Tales and adventures are the shadow truths that will endure
when mere facts are dust and ashes and forgotten." ~ Neil Gaiman
** Shadowjade of Kirin Tor **
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Report comment to moderator  
Reply With Quote
Unread 10-12-10, 03:52 PM  
Gorebag
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 139
Uploads: 3
Originally posted by Paprika
Will this be updated for Cataclysm?
I'm not sure yet. I need to find some time to play my hunter in the Cata beta to determine if anything like this is still useful.
Report comment to moderator  
Reply With Quote
Unread 09-27-10, 04:02 AM  
Paprika
A Black Drake

Forum posts: 86
File comments: 29
Uploads: 0
Will this be updated for Cataclysm?
Report comment to moderator  
Reply With Quote
Unread 07-10-10, 06:58 AM  
datgrl
A Deviate Faerie Dragon

Forum posts: 12
File comments: 39
Uploads: 0
Re: not showing

Originally posted by Dobec
The Toc has not been updated to show the new patch, you can edit the TOC with any txt editor, or just click the load out of date addons box. if that does not work I would delete it and reinstall, it is working fine for me right now.

Thanks for responding. I do have 'load out of date' turned on. I did a reinstall but I didn't delete it first. I'll try that and see if it works.
Report comment to moderator  
Reply With Quote
Unread 07-05-10, 01:57 PM  
Dobec
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Smile not showing

Originally posted by datgrl
Hi there,

I only recently downloaded this addon and I love it. However, since the latest patch (2 weeks ago), it's not working. The /aa or /autoaspect commands don't bring up anything either. It could be something I'm doing wrong. Anyone else having this issue?

Thanks,

Datgrl
The Toc has not been updated to show the new patch, you can edit the TOC with any txt editor, or just click the load out of date addons box. if that does not work I would delete it and reinstall, it is working fine for me right now.
Report comment to moderator  
Reply With Quote
Unread 07-05-10, 05:20 AM  
datgrl
A Deviate Faerie Dragon

Forum posts: 12
File comments: 39
Uploads: 0
Hi there,

I only recently downloaded this addon and I love it. However, since the latest patch (2 weeks ago), it's not working. The /aa or /autoaspect commands don't bring up anything either. It could be something I'm doing wrong. Anyone else having this issue?

Thanks,

Datgrl
Report comment to moderator  
Reply With Quote
Unread 05-24-10, 02:52 AM  
Borrie
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 16
File comments: 43
Uploads: 5
Is there a way to have autotrack active only in instances?
Maybe with an easy adaption in lua?

Thanks!

Btw love this addon!
Report comment to moderator  
Reply With Quote
Unread 05-18-10, 11:19 AM  
jaelli
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Gorebag, love this addon! In your next version, would it be possible to allow for a change to the sound file used?

Thanks for helping out my hunters!
Report comment to moderator  
Reply With Quote
Unread 01-24-10, 11:53 PM  
KamicolloSSJ
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
If anyone is having problems with this addon currently after "updating" it with the curse client I suggest deleting the AutoAspect folder in your addons folder, reinstall it from this website and do not try and update it through the curse client as it will cause this addon to "break".
Report comment to moderator  
Reply With Quote
Unread 11-26-09, 06:20 PM  
Gylindor
A Defias Bandit

Forum posts: 3
File comments: 23
Uploads: 0
Originally posted by ladyofdragons
Sadly, I haven't been able to use it since the 3.1 patch. When I check it in my addons list it shows it as "incompatible"? (or something like that). I've never seen that in 5 years of playing WoW... Out of date and dependency disabled yes, but never this. Does anyone know what it means?
quite easy to fix, open the .TOC file with a text editer delete whats in there and then paste in the following:

## Interface: 30200
## Title: AutoAspect
## Version: 1.10
## Author: Gorebag of Muradin
## Notes: Provides a warning system and large button to automatically switch between Aspect of the Hawk and Aspect of the Viper based on available mana.
## SavedVariables: aaEnabled, aaButtonEnabled, aaLowPercent, aaHighPercent, aaButtonSize, aaLowText, aaHighText, aaTrackingEnabled, aaPlaySound, aaButtonXOffset, aaButtonYOffset, aaLowScroll, aaHighScroll, aaSCT, aaRangeCheck, aaErrorFrameWarnings, aaRangeX, aaRangeY, aaRangeRelative
autoaspect.lua
autoaspect.xml
Report comment to moderator  
Reply With Quote
Unread 08-12-09, 04:52 PM  
Noobcakes
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Tyvm
Report comment to moderator  
Reply With Quote
Unread 08-11-09, 04:45 AM  
Gorebag
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 139
Uploads: 3
Well... it' an older version of my interface. The artwork is added to the screen with kgPanels. The orbs are Dynamic Diablo 3 Orbs.

The button menus (collapsable) on the left and right are LunarSphere

I use DockingStation for the bar at the top with various LDB plugins.

I use Bartender4 for my action bars and Elkanos BuffBars for buff display.
Last edited by Gorebag : 08-11-09 at 04:45 AM.
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 06:01 PM  
Noobcakes
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
I'm wondering...what addons are you using inside the screenshot? It looks pretty cool, it would be great if you told me
Report comment to moderator  
Reply With Quote
Unread 08-07-09, 05:41 PM  
Aldair
A Kobold Labourer
 
Aldair's Avatar

Forum posts: 0
File comments: 20
Uploads: 0
Originally posted by Gorebag
You do know that WoWInterface and Curse blocked WoWMatrix and that individual addon authors had nothing to do with it, right?
One more reason to love WoWInterface and Curse.com… Frankly, I believe that people who use WoWMatrix may have other nasty habits that I am much happier not knowing about…

Seriously, WoWMatrix may be completely blameless but that type of software can provide a gateway for keyloggers and other malware that might be avoided if you download the addons and install them manually.

I currently use 157 addons and it only takes a few minutes to check for updates and to download and install them. Auto-Downloader and Auto-Installers are simply not necessary, and I believe they pose more risk than they are worth for the small amount of time they save.
Report comment to moderator  
Reply With Quote
Unread 08-07-09, 05:11 PM  
Gorebag
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 139
Uploads: 3
Updated for patch 3.2. Mostly a TOC update, but there are a few code cleanup items as well.

Palladia : The "big button" displays the Hawk symbol even after level 74, but the spell that gets cast while clicking on it should be Dragonhawk. I don't actually use the big button at all since it won't show up in combat and I have two separate buttons dedicated to Viper/Dragonhawk in my UI.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: