Download
(21 Kb)
Download
Updated: 01-15-14 06: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 06:50 AM
Created:11-17-10 12:15 AM
Downloads:4,339
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 04:47 PM
Addon
0.1
937B
12-03-10 08:00 AM
Addon


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


Post A Reply Comment Options
Unread 11-17-10, 01:34 AM  
Crapa
A Kobold Labourer
 
Crapa's Avatar

Forum posts: 1
File comments: 46
Uploads: 0
Nice !
I will have a look at it. Seems promising.
Thanks for your addons
Crapa is offline Report comment to moderator  
Reply With Quote
Unread 11-17-10, 08:19 AM  
Papoye
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Does he show dispellable debuff?
Papoye is offline Report comment to moderator  
Reply With Quote
Unread 11-17-10, 10:16 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
It can display any aura, but you'll have to edit the lua to indicate the name and color.

Originally posted by Papoye
Does he show dispellable debuff?
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 11-17-10, 11:07 AM  
DemonFist
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Any chance of Clique support in the near future?
DemonFist is offline Report comment to moderator  
Reply With Quote
Unread 11-17-10, 11:30 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Sorry, but it's probably not in the cards; I use mouseover macros. Feel fee to mod the code, though.

Originally posted by DemonFist
Any chance of Clique support in the near future?
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 11-17-10, 08:42 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
About my earlier response; I don't mean to be negative. It's just that I've got a lot on my plate, and to invest time implementing something that I'll never use seems like bad time management.

That said, I did a quick search for adding Clique support, but the current Wowinterface and Curse pages make no mention about how authors can interface their frames. So here's the deal: If you can find something about adding support, send it to me via PM or post it up here on the comments. If the changes will only take a few minutes, I'll add it. ;-)

Originally posted by DemonFist
Any chance of Clique support in the near future?
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
Last edited by danltiger : 11-17-10 at 08:43 PM.
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 11-20-10, 01:57 PM  
shegeek
A Defias Bandit
 
shegeek's Avatar

Forum posts: 2
File comments: 32
Uploads: 0
these frames are gorgeous <3 ......sucks that i swear by Clique *le tear* maybe in the future
shegeek is offline Report comment to moderator  
Reply With Quote
Unread 11-20-10, 02:53 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Hey, if you happen to see something about how to make the frames visible to Clique, I'd be happy to take a quick look.

Originally posted by shegeek
these frames are gorgeous <3 ......sucks that i swear by Clique *le tear* maybe in the future
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 11-20-10, 03:43 PM  
shmeek
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
possible bug, and feature request

I loaded these up today for the first time, and in a 5 man group i couldn't click on the middle three unit squares. They were also not updating health or buffs on these three.

has this been reported before? is there anything i am missing (like turning off interface elements etc) before using these raid frames?

I also noticed that my regular party frames (which i setup to look like the new blizz raid frames) are not hiding when I use these raid frames. Again, am I missing something, or can a feature be added to hide blizzard party/raid frames completely so as to only be able to use these raid frames?

thanks, and nice work !
shmeek is offline Report comment to moderator  
Reply With Quote
Unread 11-21-10, 12:23 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Re: possible bug, and feature request

Did you grab 0.3? I'd started having trouble after last Tuesday where my frames would become inactive after switching specs. (Couldn't click, and not updating) Seems related. I made some changes which I expected would correct the issue.

I didn't include code to hide the standard party frames because I'd been using a little addon to do that for quite a while (when I'd been using Grid). But, you're right, I should include that in this addon.

Originally posted by shmeek
I loaded these up today for the first time, and in a 5 man group i couldn't click on the middle three unit squares. They were also not updating health or buffs on these three.

has this been reported before? is there anything i am missing (like turning off interface elements etc) before using these raid frames?

I also noticed that my regular party frames (which i setup to look like the new blizz raid frames) are not hiding when I use these raid frames. Again, am I missing something, or can a feature be added to hide blizzard party/raid frames completely so as to only be able to use these raid frames?

thanks, and nice work !
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 11-21-10, 01:00 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
One fine user pointed me to a thread with instructions for connecting frames to Clique. There were two methods. I chose the dirt easy one (two stinkin lines of code). I'm not sure if it will work perfectly, but I'll let you test it out.

Originally posted by shegeek
these frames are gorgeous <3 ......sucks that i swear by Clique *le tear* maybe in the future
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 11-21-10, 01:01 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Send you a PM, too; I made those simple changes. Let me know if it works. ;-)

Originally posted by DemonFist
Any chance of Clique support in the near future?
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 11-21-10, 02:09 AM  
Duugu
Premium Member
 
Duugu's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 609
File comments: 112
Uploads: 34
~600 lines of code. oO
Nice work
Last edited by Duugu : 11-21-10 at 02:09 AM.
Duugu is offline Report comment to moderator  
Reply With Quote
Unread 11-21-10, 03:18 AM  
ffxiedyn
A Chromatic Dragonspawn
 
ffxiedyn's Avatar

Forum posts: 165
File comments: 92
Uploads: 1
Beautiful eye candy and work.

Could you please tell me if I am able to scale it larger in the lua, and if so, which line I change to do so?

I know nothing about lua, thanks.
ffxiedyn is offline Report comment to moderator  
Reply With Quote
Unread 11-21-10, 08:36 AM  
Finnegan
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
Awesome

I felt in love with this the first time I saw it. Nice work.

Sadly I can't see any of my droodhots... what am I doing wrong?
Finnegan is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: