Minion Beta! - Help us test our new AddOn updater. Get it now!
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,386
Favorites:79
MD5:
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 (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


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 01-10-12, 05:10 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

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

Considering that it was updated last Saturday, I'd say 'Yes'. ;-)

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
Unread 01-09-12, 01:13 PM  
PopeJamal
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 1
Uploads: 1
Is this addon still being actively worked on?

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.
PopeJamal is offline Report comment to moderator  
Reply With Quote
Unread 12-13-11, 04:11 AM  
wulfishmojo
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Since 4.3 I've been having a problem where the raid frames sometimes get locked in an odd position like the side of the screen, or all the boxes pile on top of each other in a weird jumble. This mostly seems to happen when one of the boxes in the Shot Glass options is checked or unchecked.

The only way I've found to fix the problem is to delete the addon and saved variables for the addon and reinstall. Any ideas on how to fix this?
wulfishmojo is offline Report comment to moderator  
Reply With Quote
Unread 06-28-11, 01:44 AM  
Pinghansen
Certified Insane
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 75
Uploads: 2
ShotGlass for 4.2

I have bumped the toc to 4.2 and sent the archive to Danltiger for testing, as 4.2 will not be released until Wednesday here in Europe.

Also, I haven't been seeing the priest debuff Weakened Soul shown on the frames lately. Has anyone else noticed this problem?
Pinghansen is offline Report comment to moderator  
Reply With Quote
Unread 05-01-11, 05:33 PM  
BooFer
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 26
Uploads: 2
Repeating error

1x ShotGlass-1.14\ShotGlass.lua:110: attempt to compare nil with number
ShotGlass-1.14\ShotGlass.lua:271: in function <ShotGlass\ShotGlass.lua:253>
ShotGlass-1.14\ShotGlass.lua:320: in function <ShotGlass\ShotGlass.lua:306>
<in C code>: in function `SetAttribute'
Interface\FrameXML\SecureGroupHeaders.lua:195: in function <Interface\FrameXML\SecureGroupHeaders.lua:115>:
Interface\FrameXML\SecureGroupHeaders.lua:457: in function `SecureGroupHeader_Update':
Interface\FrameXML\SecureGroupHeaders.lua:48: in function <Interface\FrameXML\SecureGroupHeaders.lua:46>:

Hope that helps! Love the frames
BooFer is offline Report comment to moderator  
Reply With Quote
Unread 04-27-11, 04:48 AM  
Pinghansen
Certified Insane
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 75
Uploads: 2
Thumbs down Re: 4.1 - most embarrassing

Originally posted by Pinghansen
I have uploaded 1.13, which merely is a TOC bump for 4.1
DUH! And I couldn't even do that correctly. /facepalm

Should be fixed now
Pinghansen is offline Report comment to moderator  
Reply With Quote
Unread 04-27-11, 02:03 AM  
Pinghansen
Certified Insane
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 75
Uploads: 2
4.1

I have uploaded 1.13, which merely is a TOC bump for 4.1

Originally posted by nikki
4.1 seems to have introduced a few issues in this addon with changing sgConfig.Point in game.
I'll take a look at it. It will be a few hours before 4.1 is up and running here in Europe.

Originally posted by nikki
Hopefully the developers don't find me posting my modified version as disrespectful. I look forward to an updated version for 4.1, and potentially extra sorting options in the future.
Thanks for your efforts. They are appreciated. Feel free to contact me directly.
Pinghansen is offline Report comment to moderator  
Reply With Quote
Unread 04-26-11, 05:51 PM  
nikki
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 13
Uploads: 1
4.1 seems to have introduced a few issues in this addon with changing sgConfig.Point in game.

Also I thought I'd throw up my modified version of this addon in case anyone else is interested in it. It orders people by index in the group. I was tearing my hair out as a priest since Shot Glass couldn't do it by default. I was having to use two different raid frames to get past this issue.

http://db.tt/Kue4eNj

If you want the sorting to inverse, you will have to edit ShotGlass.lua on line 469. Change "LEFT" to "RIGHT". I removed changing this variable in game to prevent the issues I've been seeing in 4.1. I also hardcoded it to simplify explaining how to manually change it.

Of course use at your own risk, and there is no guarantee of support from either me or the ShotGlass team. Hopefully the developers don't find me posting my modified version as disrespectful. I look forward to an updated version for 4.1, and potentially extra sorting options in the future.
Last edited by nikki : 04-26-11 at 05:55 PM.
nikki is offline Report comment to moderator  
Reply With Quote
Unread 04-07-11, 05:45 PM  
wulfishmojo
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Love the new update features. Thank you for your work!
wulfishmojo is offline Report comment to moderator  
Reply With Quote
Unread 03-18-11, 01:26 AM  
nikki
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 13
Uploads: 1
Originally posted by danltiger
Does that mean you're using Clique?
I've tried it with both Clique and mouseover macros. It occurs either way. I've been trying to step away from Clique and use mouseover macros instead so I tried them both. The macro I used to test this when I was it occured was

"/cast [target=mouseover] Heal"

The addon seems to "correct itself" when the issue happens if another member joins the raid.
Last edited by nikki : 03-18-11 at 01:35 AM.
nikki is offline Report comment to moderator  
Reply With Quote
Unread 03-17-11, 12:08 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1507
Uploads: 21
Does that mean you're using Clique?

Originally posted by nikki
I have my spells macroed for click casting.
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 03-16-11, 06:50 AM  
Pinghansen
Certified Insane
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 75
Uploads: 2
Originally posted by nikki
I was also curious if there was a way to not make the player's frame default to the last frame. Instead for it to maintain party order.
It's not much, but you can change the direction:

/shotglass order {right|left}
Set the order (direction) units are displayed in. Order is saved.

I may look into adding other sort options along the road. Some of them may be dead simple to implement, while others may take a bit of work.

Originally posted by enkil89
I've noticed that if I move the cursor from right to left into a specific frame (person) I get tooltip, and if I take it from the top to bottom into other person I dont get it
I've tried a few times to get tooltips to show in the way you describe. No matter which direction I enter the frames from, I don't get a tooltip.

Actually, we don't have any specific tooltip code in the addon, whatsoever, so any tooltip (lack-of-) functionality you see, is due to either the default wow setup, or to some other addon(s).

We'd love to implement full tooltip functionality, but we need to discover the holy grail first Code suggestions would be highly appreciated
Pinghansen is offline Report comment to moderator  
Reply With Quote
Unread 03-13-11, 12:26 AM  
nikki
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 13
Uploads: 1
I've noticed that in large groups like when you are doing Tol'Barad, sometimes the player's frame will not work as intended. I have my spells macroed for click casting.

Using such macros ends up telling the player that they "can't do that". Changing frames to the Blizzard player frame however works. This is while no CC effects are on my character. It seems like sometimes in large groups where people go in and out frequently, the player frame sometimes ends up not actually corresponding to the player.

It tends to occur several times through the course of a Tol'Barad. My character winds up standing in place despite trying to cast a heal on myself.

I was also curious if there was a way to not make the player's frame default to the last frame. Instead for it to maintain party order.
Last edited by nikki : 03-15-11 at 09:51 AM.
nikki is offline Report comment to moderator  
Reply With Quote
Unread 03-04-11, 08:11 AM  
Pinghansen
Certified Insane
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 75
Uploads: 2
Post ShotGlass has been upgraded to 1.12

The priority bug found by moggan has been fixed.

ShotGlass_Priest has been integrated into the main archive.
Pinghansen is offline Report comment to moderator  
Reply With Quote
Unread 03-03-11, 04:14 PM  
moggan
A Murloc Raider

Forum posts: 4
File comments: 13
Uploads: 0
I have tested now. I managed to reproduce the issue and verify that the proposed change fixes it

It turned out to be very easy to reproduce: I am tracking the Weakened Soul debuff, but with lower priority than the PW:S buff (in the same position). So my very first debuff - Weakened Soul - would cause the loop to be interrupted so no debuffs would show. Once Weakened Soul expired they appeared.

With the change you suggested everything works fine.
moggan is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: