Download
(21Kb)
Download
Updated: 01-15-14 06:50 AM
Pictures
File Info
Updated:01-15-14 06:50 AM
Created:11-17-10 12:15 AM
Downloads:7,495
Favorites:74
MD5:

Shot Glass Raid Frames  Popular! (More than 5000 hits)

Version: 3.2
by: danltiger, Pinghansen

Shot Glass is a lightweight raid frame, which can be configured to show specific Aura Indicators, in addition to Health, Incoming Healing, Mana, Aggro, Range, and Target.

No Libraries are used, and the code is very simple, which makes it a nice learning tool for people who are learning to program their own raid frames.

Feature Highlights

  • Incoming Heals: You'll see incoming heals as a subtle, semi-transparent bar, indicating the future health of the unit.
  • Aura Indicators: Along the top edge of each unit frame, there are three circular indicators. On the bottom edge, there are three triangular indicators. Stacks are displayed below the indicator.
  • Aggro Indicator: A red border will light up around any unit that acquires aggro.
  • Range: Units out of your range will shrink in size.
  • Mana: Only mana is indicated; Rage, Runic Power, Energy, etc are not shown.

Aura Configuration
I've included two configuration files with the current package. (For Druid and Priest) Feel free to use those files as a template for your own customization.

The configuration file is simply an addon with "## Dependencies: ShotGlass" in the TOC file. You can access the 'TrackedAuras' table from your LUA file. Alternatively, you can edit the included file. An example:

Code:
local TrackedAuras = ShotGlassRaidFrames.TrackedAuras

TrackedAuras[GetSpellInfo(774)] = {position = 1, color = {r = .8,g = 0, b = .8, a = 1},}		-- Rejuvenation
TrackedAuras["Rejuvenation"] = {position = 1, color = {r = .8,g = 0, b = .8, a = 1},}
Note: You can find the spell ID# from Wowhead.

Character Profiles
The "Addon" button on your Character Selection Screen will allow you to Enable or Disable the Aura List for each character.




I'm not going to bug you by popping up an ad whenever you hit "Download". If you enjoy this addon and want to send a monetary "Thank You", please visit our Pledgie page by clicking on the button, above.

3.1:
- TOC Bump

3.0:
- Updated for MoP

2.3:
- Tracked auras can now be assigned a custom function for color and stack text. (See ShotGlass_Druid for an example)
- Delegate functions are passed a table, 'aura', containing information about the evaluated aura: aura.color, aura.stacks, aura.expiration, aura.position, aura.name
- Changed font to Blizzard's Arial Narrow. This will make life easier for international clients, and reduces the whole ZIP package to 15kb.
- Command line has returned: /shotglass [show|hide|lock|unlock]

2.1 & 2.2:
- Trying to fix the overlap bug. I've disabled the option for the frames to grow to the right, until it's fixed.

2.0:
+ TOC Bump for 4.3
+ Auras will display a countdown from 5 seconds (it will replace stack-count text, temporarily)
+ Added GUI Interface panel
+ Added quick link to interface panel, via right-click on the drag handle
- Removed slash commands, except for /shotglass (which will bring up the new interface panel)

1.15:
Merely a TOC bump for 4.2

1.14:
DUH! When you bump the TOC, then you should do it correctly. /facepalm

1.13:
Merely a TOC bump for 4.1

1.12:
Bug Fix: Priority bug.
Integrated ShotGlass_Priest.

1.11:
Implemented slash-commands. See readme.txt for a list of commands.

0.10:
Bug Fix: Priority Bug.

0.9:
Added Vehicle Support, Spell Priority, External Configuration for Auras.

0.4-0.8:
Clique Support, Bug fixes, Incoming Heals.

0.3:
Bug Fix: Certain events reset the attributes of the unit frame, breaking the link. This update will restore those links when attributes are changed.
Optional Files (2)
File Name
Version
Size
Author
Date
Type
0.3
893B
04-27-11 12:38 PM
Addon
0.3
1kB
02-13-11 04:47 PM
Addon


Post A Reply Comment Options
Unread 04-09-14, 04:03 PM  
Pocahuntess
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Thank you for this! Exactly what I was looking for!
Report comment to moderator  
Reply With Quote
Unread 01-16-14, 02:07 PM  
Munglunch
Premium Member
 
Munglunch's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 1968
Uploads: 4
Impressive

I just finished reading your code for this addon and I must say well done sir!
Top notch attention to detail and I am always impressed by dev's who truly take the time and effort to fully comment their code. (A trait that I have seriously slacked off into nothingness )

You have my respect!
Last edited by Munglunch : 01-16-14 at 02:08 PM.
Report comment to moderator  
Reply With Quote
Unread 01-15-14, 07:06 AM  
Pinghansen
Certified Insane
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 75
Uploads: 2
New version 3.2 available

Version 3.2

Updated toc to 5.4
Fixed saving of setup

-oOo-

Work in progress/under consideration:
  • Generally more options in the configuration panel. At least those that were configurable with the /shotglass command.
  • We are considering bringing back some of the /shotglass commands.
  • We are considering an option to show not only mana, but also energy (rogues) and focus (hunters). This will enable a tank to better see when to start pulling.

We'd still like to keep it simple, so don't expect an option to feed your goat or tell you when to wipe your nose
Last edited by Pinghansen : 01-15-14 at 07:09 AM.
Report comment to moderator  
Reply With Quote
Unread 10-21-12, 11:08 PM  
neuleaf
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Resize

Anyway to resize the unit frames to make it bigger?
Report comment to moderator  
Reply With Quote
Unread 09-14-12, 03:34 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1522
Uploads: 13
I've never considered adding profiles, primarily because I'd intended this to be a 'tinkerer's project', encouraging folks to modify it themselves.

Originally Posted by Ellementz
Any chance on adding the ability to save profiles?
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
Report comment to moderator  
Reply With Quote
Unread 09-13-12, 09:31 PM  
Ellementz
A Kobold Labourer
 
Ellementz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 60
Uploads: 7
Any chance on adding the ability to save profiles?
Report comment to moderator  
Reply With Quote
Unread 04-29-12, 01:51 PM  
mrauls
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 2
Uploads: 2
This doesn't affect party frames right?
Report comment to moderator  
Reply With Quote
Unread 01-28-12, 06:59 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1522
Uploads: 13
Thanks for the report, Mik!

Originally Posted by mikma
Message: Interface\AddOns\ShotGlass\ShotGlass.lua:193: attempt to compare nil with number

-----

if not aura.priority or aura.priority > priority[aura.position] then

-----

Happens to me in LFR while playing with my Priest.

http://pastebin.com/c3m43iGw - full report.
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
Report comment to moderator  
Reply With Quote
Unread 01-27-12, 05:59 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
Message: Interface\AddOns\ShotGlass\ShotGlass.lua:193: attempt to compare nil with number

-----

if not aura.priority or aura.priority > priority[aura.position] then

-----

Happens to me in LFR while playing with my Priest.

http://pastebin.com/c3m43iGw - full report.
Last edited by mikma : 01-27-12 at 06:13 AM.
Report comment to moderator  
Reply With Quote
Unread 01-14-12, 12:44 PM  
Pinghansen
Certified Insane
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 75
Uploads: 2
Re: Is this addon still being actively worked on?

Originally Posted by Rezman
Originally Posted by bytchplz
only thing id ask to see is some indicators on the left side
I second this.. 2-3 indicators on the left side would be nice.
ShotGlass is made to be very open, as most objects are exposed. It should be possible to make an external module (like the class-specific definitions) that adds side indicators. why don't you try your hand at that

Originally Posted by PopeJamal
-Tooltips
This has been on the table for quite a while. Tooltips SHOULD be enabled, but neither Daniel nor I can see why they won't show . If you can come up with a fix, then I'm quite sure that it will be implemented post haste.

p.s. Nope, I'm NOT back in WoW. I'm very much enjoying not being hooked any more
Last edited by Pinghansen : 01-14-12 at 12:46 PM.
Report comment to moderator  
Reply With Quote
Unread 01-14-12, 10:21 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1522
Uploads: 13
Re: Is this addon still being actively worked on?

Pope,

This is the short-term roadmap:

v2.4: Target Icons and Tooltips
v2.5: Ready Check Icons

Originally Posted by PopeJamal
Is this addon still being actively worked on?

I ask because I really like it, but it's missing a ton of features that I feel are pretty mandatory. I actually added a few more indicators and the LFD role functionality to my local copy, but I wanted to find out if the author(s) were still working on it before I wasted time trying to add:

-Tooltips
-Incoming Rez indicator
-Target Symbols

Either way, excellent addon. Thank you for your effort.
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
Report comment to moderator  
Reply With Quote
Unread 01-14-12, 10:18 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1522
Uploads: 13
Hi Rez,

A) I'll look into the Int buff oddity.

B) Side indicators... I tested this, but it looks too cluttered for my taste.

C) Groups: Raid members SHOULD end up in the same group. That's how it used to work, anyway. It's been a little while since I've raided, though. I'll look into this, too.

Originally Posted by Rezman
Originally Posted by bytchplz
i made an account here just to tell you how badass your addon is..i was looking for frames for rbgs that were easy to tell between range and health...perfect...only thing id ask to see is some indicators on the left side (id like to put the priest buff indicators on that side for rbgs.arenas, just like fort and shadow protection is what i mean by buffs....again sweet addon
I second this.. 2-3 indicators on the left side would be nice.

Also, I tried to make the following for my mage just to track +int buffs.
Code:
	TrackedAuras["Arcane Brilliance"] = {position = 3, priority = 1, color = {r =  0,g = 9, b = 9, a = 1},}   -- "Arcane Brilliance", Cyan
	TrackedAuras["Dalaran Brilliance"] = {position = 3, priority = 2, color = {r =  0,g = 9, b = 9, a = 1},}   -- "Dalaran Brilliance", Cyan
I get the indicator there when I buff. If i right click the buff off then it goes away only to come right back. Also when in a raid I see the indicator blinking on and off for everyone non-stop. I could also use spell IDs 1459 & 61316 but I went with the text. Not sure if it really matters.

Also would it be possible to group people in the same groups as the raid?
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
Report comment to moderator  
Reply With Quote
Unread 01-14-12, 10:13 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1522
Uploads: 13
Hi BP,

Thanks for the good word!

Originally Posted by bytchplz
i made an account here just to tell you how badass your addon is..i was looking for frames for rbgs that were easy to tell between range and health...perfect...only thing id ask to see is some indicators on the left side (id like to put the priest buff indicators on that side for rbgs.arenas, just like fort and shadow protection is what i mean by buffs....again sweet addon
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
Report comment to moderator  
Reply With Quote
Unread 01-12-12, 06:42 PM  
Rezman
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 24
Uploads: 1
Originally Posted by bytchplz
i made an account here just to tell you how badass your addon is..i was looking for frames for rbgs that were easy to tell between range and health...perfect...only thing id ask to see is some indicators on the left side (id like to put the priest buff indicators on that side for rbgs.arenas, just like fort and shadow protection is what i mean by buffs....again sweet addon
I second this.. 2-3 indicators on the left side would be nice.

Also, I tried to make the following for my mage just to track +int buffs.
Code:
	TrackedAuras["Arcane Brilliance"] = {position = 3, priority = 1, color = {r =  0,g = 9, b = 9, a = 1},}   -- "Arcane Brilliance", Cyan
	TrackedAuras["Dalaran Brilliance"] = {position = 3, priority = 2, color = {r =  0,g = 9, b = 9, a = 1},}   -- "Dalaran Brilliance", Cyan
I get the indicator there when I buff. If i right click the buff off then it goes away only to come right back. Also when in a raid I see the indicator blinking on and off for everyone non-stop. I could also use spell IDs 1459 & 61316 but I went with the text. Not sure if it really matters.

Also would it be possible to group people in the same groups as the raid?
Last edited by Rezman : 01-12-12 at 08:19 PM.
Report comment to moderator  
Reply With Quote
Unread 01-11-12, 01:07 AM  
bytchplz
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
i made an account here just to tell you how badass your addon is..i was looking for frames for rbgs that were easy to tell between range and health...perfect...only thing id ask to see is some indicators on the left side (id like to put the priest buff indicators on that side for rbgs.arenas, just like fort and shadow protection is what i mean by buffs....again sweet addon
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: