Download
(21 Kb)
Download
Updated: 01-15-14 05:50 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:01-15-14 05:50 AM
Created:11-16-10 11:15 PM
Downloads:4,240
Favorites:79
MD5:
5.4
Shot Glass Raid Frames
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 (3)
File Name
Version
Size
Author
Date
Type
0.3
893B
04-27-11 12:38 PM
Addon
0.3
1kB
02-13-11 03:47 PM
Addon
0.1
937B
12-03-10 07:00 AM
Addon


Archived Files (20)
File Name
Version
Size
Author
Date
3.1
21kB
danltiger
01-22-13 04:06 AM
3.0
21kB
danltiger
09-02-12 09:22 PM
2.3
14kB
danltiger
01-07-12 06:19 AM
2.2
80kB
danltiger
12-20-11 04:51 AM
2.1
80kB
danltiger
12-16-11 03:13 AM
2.0
80kB
danltiger
12-10-11 06:21 AM
1.15
87kB
danltiger
07-09-11 03:43 AM
1.14
87kB
danltiger
04-27-11 04:43 AM
1.13
87kB
danltiger
04-27-11 01:52 AM
1.12
85kB
danltiger
03-04-11 07:06 AM
1.11
83kB
danltiger
02-18-11 05:30 AM
0.10
76kB
danltiger
12-04-10 05:23 AM
0.9
76kB
danltiger
12-03-10 01:04 AM
0.8
75kB
danltiger
11-29-10 08:32 PM
0.7
83kB
danltiger
11-27-10 04:50 AM
0.6
82kB
danltiger
11-26-10 05:41 AM
0.5
75kB
danltiger
11-22-10 05:14 AM
0.4
113kB
danltiger
11-20-10 11:58 PM
0.3
113kB
danltiger
11-20-10 10:04 AM
0.2
77kB
danltiger
11-16-10 11:15 PM


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

Forum posts: 0
File comments: 10
Uploads: 0
Thank you for this! Exactly what I was looking for!
Pocahuntess is offline Report comment to moderator  
Reply With Quote
Old 01-16-14, 01:07 PM  
Munglunch
A Deviate Faerie Dragon
 
Munglunch's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 694
Uploads: 7
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 01:08 PM.
Munglunch is offline Report comment to moderator  
Reply With Quote
Old 01-15-14, 06: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 06:09 AM.
Pinghansen is offline Report comment to moderator  
Reply With Quote
Old 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?
neuleaf is offline Report comment to moderator  
Reply With Quote
Old 09-14-12, 03:34 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
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
danltiger is offline Report comment to moderator  
Reply With Quote
Old 09-13-12, 09:31 PM  
Ellementz
A Kobold Labourer
 
Ellementz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 59
Uploads: 7
Any chance on adding the ability to save profiles?
__________________
Ellementz is offline Report comment to moderator  
Reply With Quote
Old 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?
mrauls is offline Report comment to moderator  
Reply With Quote
Old 01-28-12, 05:59 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
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
danltiger is offline Report comment to moderator  
Reply With Quote
Old 01-27-12, 04:59 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 244
Uploads: 28
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 05:13 AM.
mikma is offline Report comment to moderator  
Reply With Quote
Old 01-14-12, 11:44 AM  
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 11:46 AM.
Pinghansen is offline Report comment to moderator  
Reply With Quote
Old 01-14-12, 09:21 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
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
danltiger is offline Report comment to moderator  
Reply With Quote
Old 01-14-12, 09:18 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
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
danltiger is offline Report comment to moderator  
Reply With Quote
Old 01-14-12, 09:13 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
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
danltiger is offline Report comment to moderator  
Reply With Quote
Old 01-12-12, 05:42 PM  
Rezman
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 19
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 07:19 PM.
Rezman is offline Report comment to moderator  
Reply With Quote
Old 01-11-12, 12: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
bytchplz is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: