Minion Beta! - Help us test our new AddOn updater. Get it now!
(498 Kb)
Updated: 10-20-14 09:44 PM
Pictures
File Info
 Compatibility: Warlords of Draenor Pre-Patch (6.0.2) Updated: 10-20-14 09:44 PM Created: unknown Downloads: 127,547 Favorites: 594 MD5:

# Stuf Unit Frames (and Raid)

Version: 6.0.001
by: totalpackage [More]

** WoWI's Pick of a Week
** Users' UI with Stuf

Stuf is a replacement to StellarUF. Stuf has the same initial layout and feel of StellarUF, but Stuf is highly customizable.

Do not expect much since this mod's purpose is to replace the Blizzard's main unit frames, not other unit frame mods. I'll most likely deny requests to copy random features.

• New for 3.3: LFG icons and Boss frames (only for certain encounters)
• Option to only show custom text on mouse-over
• Latency indicator for player casting bar
• Arena Frames
• ButtonFacade support for aura icons
• Option to use Lua instead of text patterns for advanced users
• Option to save per character

Supported Units:
• Player, pet, and pet target
• Target, target of target, and target of target of target
• Focus and target of focus
• Party with their pets and targets
• Arena with their pets and targets (new in v3.1.005)
• StufRaid - main raid, raid pets, and raid roles (tanks/assist) and their target and target of target (does not and will not support oRA2/CTRA MT/PT)

Notable Features:
• Easy transition from Blizzard default frames
• Cast bars for the main units
• Dispellable debuff visual
• Target and focus timer bars for your buffs/debuffs
• Threat bars on target and focus
• Shaman totem timers, Death Knight rune bars, and Druid mana bar
• Low memory and CPU usage compared to popular unit frame mods
• Customization similar to Discord Unit Frames
• LibSharedMedia-3.0 support for textures and fonts
• Ace3 dialog config is used for the options GUI
• Stuf_Range - LibRangeCheck-2.0 support for estimated distance on target and focus
• Clique support for click-casting
• ClassColors custom class color and ConfigMode support for one-button-config
• ButtonFacade support for aura icon skins (may be buggy)

How to Use:
• Basic - make sure Stuf_Options is enabled; it's required for initializing defaults and changing settings
• Options menu - "/stuf" or check the Addons tab in Interface Options
• Hide party in raid - Stuf obeys Blizzard's option to "Hide Party Interface in Raid"
• Show/Hide elements - many are hidden/shown by setting the alpha or color alpha to zero
• Slider nudging - (bug Ace3 people for a better way), I do the following:
1. Move your cursor over the text above the slider, a tooltip should be showing.
2. Move your cursor up until the tooltip disappears.
3. Left-click.
4. Move your cursor back over the slider until the tooltip reappears.
5. Now you can nudge using mouse wheel.
• For sliders, you can also manually input values and press enter.
• Many options, so I suggest checking each option one-by-one
• StufRaid:
• Options menu - "/stufraid" or check the Addons tab in Interface Options
• Basic - StufRaid does not require Stuf, and Stuf does not require StufRaid
• Special text - install UTF8 to support special characters for the name text sub-string feature

Features Lacking (forever):
• No profiles, but you can save per character. Profiles would at least double the memory usage (plus more for each profile you create) of Stuf due to its massive saved variables. Check out Reflux to add profiles options to Stuf and other mods.
• Showing raid instead of party frames when in a party.
• Advanced buff/debuff filtering for main units.
• Switching frames when in vehicle
• Full-featured casting bar (no GCD, breathe, cooldowns, etc)
• Anything that would really kill performance and lack usefulness
• Anything for which already has a great standalone mod
• Anything picky about text that can be done using Lua text
• Color health bars if mob is tapped

Known Issues:
• You cannot right-click Stuf's player buff icon to cancel shape-shift forms (ie. druid forms and shadow form) since they're protected now.
• You cannot select "Set Focus" from the right-click menu. Make a "/focus" macro instead.
• 3D model showing full body instead of face cannot be fixed. (fixed in 5.0!)

6.0.001 10/20/2014 - updated for 6.0

5.4.002a 12/15/2013:
- druid mana while shapeshifted should properly function
- Set Focus from right-click menu maybe works again

5.4.001 09/21/2013 - updated for 5.4
5.3.001 06/05/2013 - update for 5.3
5.2.001 03/10/2013 - update for 5.2

5.0.005 09/30/2012 - added Monk's Chi bar, thanks to suicidalkatt
5.0.004 09/24/2012:
- probably maybe fixed the 3D portrait showing full body for certain races
- options for boss frames will not show up unless the default's is disabled in Stuf's global options

5.0.003 09/18/2012 - added options to default class bars
5.0.002 09/05/2012:
- fixed Warlock Demonic Fury bar
- hopefully fixed party/raid frame visibility issues

5.0.001 09/04/2012:
- updated for 5.0.4
- added option to disable mini group frames

4.3.001 11/29/2011 - update for 4.3
4.2.001 06/29/2011 - update for 4.2

4.1.001 04/26/2011:
- update for 4.1
- added "totem timers" to supported classes
- fix many reported bugs
- removed pet happiness icon support since it was removed from the game
- added tooltip support for raid buff/debuff icons

4.0.009 02/10/2011:
- another attempt to fix out of range error
- updated libraries
- added option to disable default boss frames

4.0.008 12/28/2010 - fix TexCoord error when Incoming Heals is enabled

4.0.007 12/15/2010:
- added spell text to aura timer bars, may look ugly
- fixed several known and potential bugs
- 'mp15' and 'mp99' now works for all power types

4.0.006 11/12/2010:
- fix various rare bugs
- fix 3D portrait opacity issue
- added option to Fill on Loss, which does not work well with the Incoming Heal and Fade Loss options

4.0.005 10/30/2010:
- enabled edge drawing on cooldown pies
- fix SetTexCoord error
- fix compare number with boolean error
- fix options header sub-leveling issue, thanks Shefki
- hopefully fixed raid units frame creation errors

4.0.004 10/24/2010:
- added a way to cancel player buffs by right-clicking red box; it's not perfect, especially for classes with pets
- added infotag "shards" as an alternative to the Warlock's shard bar
- fixed remaining power-related bugs including druid mana bar and StufRaid mana bars
- StufRaid raidpets less buggy but still buggy

4.0.003 10/18/2010:
- disable right clicking buffs since it no longer works
- use Blizzard's incoming heal methods; delete Stuf_VisualHeal
- fix pet happiness icon
- made StufRaid more stable; pets do not work for some reason

4.0.002 10/15/2010:
- fix most of the major errors
- added eclipse bar for druids
- option for hiding party in raid fix, addon variable now
- raid frames should be working
- anything else will be fix later

4.0.001 10/12/2010:
- live release but beta quality
- added holy bar, recycle default for now
- added shard bar, recycle default for now
- various 4.0 compat fixes, not 100%
- libraries updated

3.3.006 06/22/2010:
- add fast health update option (use at own risk)
- add option to change StufRaid's number abbreviation

3.3.005 03/14/2010:
- added frame level option to aura groups
- fix count text not showing up on "Curable Debuff Icon"
- round percentages to nearest whole number instead of ceiling
- fix large values showing up for multi-target heals in VisualHeal
- minor StufRaid tweak

3.3.004 02/03/2010:
- added option to change the abbreviation for thousand and million
- fix errors caused when using certain condition keywords as infotags
- added version checking for debugging purposes
- updated libraries, should fix VisualHeal errors

3.3.003 01/22/2010:
- tooltip should show correctly if auras are filtered
- localization support cleaned up and now only accepts it externally
- "Curable Debuff Icon" setting is now shown for Warlocks
- maximum font size increased
- StufRaid now allows statusbar textures to be set individually
- libraries updated

3.3.002 12/15/2009 - fix for settings not showing properly in config mode
3.3.001a 12/12/2009 - fix boss frames not updating properly, minor update
3.3.001 12/08/2009:
- updated toc for 3.3
- several performance tweaks
- fixed gloss issues with ButtonFacade
- added "(X)" to spell name on cast bars if cannot interrupt
- LFG icon should be fully functional
- added option to make LFG icon square or circular
- added option to change font settings for the PVP timer
- "Dispel Icon" is now labeled as "Curable Debuff Icon"
- updated libraries
- fix issue when self heals are considered as others
- added a way to stop dragging if anchor stays movable in StufRaid

3.2.007 11/06/2009:
- added support for 3.3 LFG role icons to player, target, and party
- load class specific elements only when necessary
- fix enemy units showing up as neutral when player is in vehicle
- fix Target/Combat Opacity issues where units do not show up initially
- hopefully fix all errors with leader/loot icons and group number when target frame is disabled
- update several libraries

3.2.006 10/30/2009:
- added support for 3.3 boss frames (not tested)
- reduced initial load time and memory usage by not building elements for frames that are not in use
- fix error that occurs when target is disabled but showing group numbers
- added options to buff/debuff icons and totem timers to make them non-interactive
- changed the word "Hide" to "Disable" in options
- default font will now depend on the client's localization
- Stuf_VisualHeal - updated to LibHealComm-4.0, don't upgrade if you need LHC3

3.2.005 09/23/2009:
- added option to only show custom text on mouseover
- fixed "Only on Mine" option for aura text timers
- minor options tweak

3.2.004a 09/13/2009 - fixed nil aggro caused when using aggro text tag (only need to update if you get this error)
3.2.004 09/04/2009:
- fixed some rare nil errors

3.2.003 08/13/2009:
- update LibHealComm-3.0 to latest revision, may fix "You aren't in a party." spam
- tweaked aggro detection code

3.2.001 08/04/2009 - toc to 3.2

3.1.017 07/31/2009:
- added option to show latency in player's casting bar
- added vehicle icon to player and party, hidden by default
- added option to hide the text frame if there is no text to display
- added optional text frame argument to the Lua text function
- updated LibHealComm-3.0
- removed old 3.1 checks
- added option "Only Mine in Include Filter" to raid buff filter

...

Stuf 3.0.001:
- brand new replace to StellarUF
Optional Files (0)

Archived Files (15)
 File Name Version Size Author Date 5.4.002a 497kB totalpackage 12-15-13 11:41 PM 5.4.002 498kB totalpackage 12-15-13 05:45 PM 5.4.001 497kB totalpackage 09-20-13 10:30 PM 5.3.001 497kB totalpackage 06-05-13 09:29 PM 5.2.001 497kB totalpackage 03-10-13 05:03 PM 5.1.001 495kB totalpackage 12-08-12 08:27 AM 5.0.005 495kB totalpackage 09-30-12 06:17 PM 5.0.004 495kB totalpackage 09-24-12 08:11 PM 4.3.001 492kB totalpackage 11-29-11 11:54 PM 4.2.001 492kB totalpackage 06-29-11 08:11 PM 4.1.001 491kB totalpackage 04-26-11 06:27 PM 4.0.009 491kB totalpackage 02-10-11 04:57 PM 3.3.006 514kB totalpackage 06-22-10 04:35 PM 3.2.007 460kB totalpackage 11-06-09 03:59 AM 3.1.017 428kB totalpackage 07-31-09 05:50 AM

Comment Options
07-23-10, 03:25 PM
totalpackage
A Fallenroot Satyr

Forum posts: 22
 Originally posted by XoL ...is there any possibility to make different raid setups for some profiles oder in case that there are more than 25ppl in the raid ?
Nope, that would make things messy.

 Originally posted by digmouse ... I've set up a little support addon which provides multilanguage support, if anyone is interested in translating STUF to your language, feel free to do so on it: http://www.wowinterface.com/download...nLanguage.html ...
Thanks for taking on that load. I haven't tested it (and can't), but I believe the localization has to load before the core of Stuf; therefore making Stuf a dependency might break something. I already put "StufLocale" as a optional dependency of Stuf in case someone like you wanted to add support.

 Originally posted by Nemnar00 ...When I lose HP or MP the " backdrop " / background behind the bar is quite transparent. Is there something I'm missing to fix this ? make it colored or at least less transparent...

 Originally posted by erebos ...You say (on the info page of StUF) that showing RaidFrames instead of (or in addition to?) the party frames won't happen. But I think this (optional) behavior would solve the problem of not having buff filtering (for HoTs etc.) and the player missing from the party display (as a healer this is a useful thing). Just a thought...
Performance reasons. No real reason to have more than one player frame, so just put your player frames next to your party. Aura filtering is useful but very expensive, especially if I added it to Stuf main units. I may look into it once they enabled mod testing on beta.

 Originally posted by KineNan ...I was wondering if there is a way to make it so the health bar and power bar can display the right click menu even if they are not above the base frame?...
Make the base frame larger is my only suggestion. The base frame does not have to be visible to receive clicks.

 07-22-10, 04:36 PM KineNan A Kobold Labourer Forum posts: 0 File comments: 3 Uploads: 0 Right Click menu I was wondering if there is a way to make it so the health bar and power bar can display the right click menu even if they are not above the base frame? Thanks for maintaining this addon, it is awesome
 07-22-10, 12:56 PM erebos A Kobold Labourer Forum posts: 0 File comments: 23 Uploads: 0 Just an idea... Hi totalpackage, at first thank you for the effort of creating and maintaining these amazing UF! There are very few things I would like to see implemented or changed. To be more specific: You say (on the info page of StUF) that showing RaidFrames instead of (or in addition to?) the party frames won't happen. But I think this (optional) behavior would solve the problem of not having buff filtering (for HoTs etc.) and the player missing from the party display (as a healer this is a useful thing). Just a thought. I have nearly no knowledge of LUA and can only fiddle around with code (without really knowing what I am doing ^^) so if it is a decision based on technical reasons ignore my suggestion. If it is a personal decision: also no problem. Okay, thanks again for your time and keep it up!
 07-22-10, 05:04 AM Nemnar00 A Kobold Labourer Forum posts: 0 File comments: 1 Uploads: 0 Hello, just wanted to say your UF are really solid and Ive enjoyed using them. I am a new user and the only thing I'm having trouble with ( idk if it can even be fixed ) but i wanted to ask anyways. When I lose HP or MP the " backdrop " / background behind the bar is quite transparent. Is there something I'm missing to fix this ? make it colored or at least less transparent. I have tryed messing with the global backgrounds / individual frame backgrounds ect nothing seems to help. I just wanted to see if I'm missing something. thx Nem
 07-20-10, 05:36 AM digmouse A Fallenroot Satyr Forum posts: 26 File comments: 65 Uploads: 2 I've set up a little support addon which provides multilanguage support, if anyone is interested in translating STUF to your language, feel free to do so on it: http://www.wowinterface.com/download...nLanguage.html also available on wowace.com: http://www.wowace.com/addons/stuf_foreignlanguage/ __________________ Does not matter anymore.
07-16-10, 02:30 PM
Warlock82
A Kobold Labourer

Forum posts: 1
??

That's not what I'm looking for. I'm looking for functions to return the class and reaction colors of the unit the frame is for (the Stuf tag equivalents being [class:<infotag>] and [reaction:<infotag>]. I'm not sure how a color slider is going to help with that...

Edit: Ok, I finally found what I was looking for. My mistake - I was expecting a function and not a global table :P (also curse WoWWiki for not having UnitSelectionColor() documented)

Here is my code if anyone cares:
Code:
function(unit, cache, textframe)

local c = RAID_CLASS_COLORS[cache.CLASS]
local name = GetUnitName(unit)

if(name == nil) then
name = ""
end

if(not UnitPlayerControlled(unit)) then
if (UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit)) then
return "|cff909090%s|r",name
else
local r,g,b,a = UnitSelectionColor(unit)

return "|cff%02x%02x%02x%s|r",r*255,g*255,b*255,name
end
elseif(UnitPlayerControlled(unit) and not UnitIsPlayer(unit)) then
if(UnitIsFriend("player",unit)) then
return "|cff20ff20%s|r",GetUnitName(unit)
else
return "|cffff2020%s|r",name
end
end

return "|cff%02x%02x%02x%s|r",c.r*255,c.g*255,c.b*255,name
end
Oddly it returns an error when I submit it in Stuf, but it works just fine (the only error is when I hit "okay")

Edit 2: Ok, found what it was choking on. Apparently it didn't like unitname being nil (which is silly because it's on the target frame, it shouldn't care if nothing is targetted because it's not displayed :P). Updated the function to fix it.
Last edited by Warlock82 : 07-20-10 at 11:09 PM.

 07-16-10, 01:55 AM XoL A Defias Bandit   Forum posts: 3 File comments: 58 Uploads: 6 hey there! is there any possibility to make different raid setups for some profiles oder in case that there are more than 25ppl in the raid ?
07-15-10, 05:56 PM
Shefki
An Aku'mai Servant

Forum posts: 31
 I don't know if there's anything different now than back then, but I did that intentional hack to load my options and assume I just loaded AceConfig for the first time. I could just load AceConfig with the core but chose not to. I do not see how your patch will be compatible with my setup, but I'll look further into it.
The patch doesn't break your load on demand, it just fixes your incorrect usage of the parent parameter. Your stub is already being replaced by your real config panel when it loads (since the panels are unique by name, two panels can't have the same name). However, since you parented the new panel to the old panel by passing the table to the old panel (which isn't correct usage, parenting in that API is only done by name) you made your new panel look like a child. This should be really obvious from the fonts of your panel names versus that of other addons.

Yes, this is different from parenting of frames, frames can be parented by using the table or the name, Interface Option Panels for whatever reason are done only by name.

07-15-10, 02:35 PM
totalpackage
A Fallenroot Satyr

Forum posts: 22
 Originally posted by cormanthor Is there any chance to add a feature to hide the rune bar while out of combat & outdoors?...
Already mentioned on the description page that there are so many features it can have that the mod can be bigger than Stuf. I suggest downloading a standalone rune bar.

 Originally posted by suicidalkatt However there's no conditional I can put to only display something when the mana is at full to add the additional max mana.
You can try [solid_ifnot_mp99:whatever]. That will show the text if mana is greater than 99%.

 Originally posted by Shefki You're passing a table to the Interface Options Panel system as the parent for your panels. However, you're expected to pass the name of the parent panel...
I don't know if there's anything different now than back then, but I did that intentional hack to load my options and assume I just loaded AceConfig for the first time. I could just load AceConfig with the core but chose not to. I do not see how your patch will be compatible with my setup, but I'll look further into it.

 Originally posted by Dwarlo I Was Wondering If Theres A Way To make the Health And Mana Bars Be More Like HUDS Where The Loss Of Health The Bar Would Go Down Instead of Left
Change the orientation to vertical.

 Originally posted by Nannus Hi, i'm new to this fantastic addon, there is any way for activate aura timers for the player frame too, it's really useful. Thx in advance.
Nope. If you really need to see the timers on player, set that unit as your focus. Or just download a buff mod.

 07-15-10, 07:35 AM Nannus A Kobold Labourer Forum posts: 0 File comments: 2 Uploads: 0 Hi, i'm new to this fantastic addon, there is any way for activate aura timers for the player frame too, it's really useful. Thx in advance. Last edited by Nannus : 07-15-10 at 07:36 AM.
07-15-10, 07:30 AM
fuda
A Murloc Raider

Forum posts: 6
 Originally posted by Warlock82 Does anyone know if it's possible to access the color tag functions through custom lua? I'm specifically trying to get reaction color and class color. I mean, I *could* set them all up manually but that would be a serious hassle, and as far as I can tell, Blizzard doesn't have an equivalent function to call returning those color objects.
 07-13-10, 05:44 PM Shefki An Aku'mai Servant   Forum posts: 31 File comments: 175 Uploads: 9 Incorrect usage of the Interface Options Panel system. You're passing a table to the Interface Options Panel system as the parent for your panels. However, you're expected to pass the name of the parent panel. Additionally, in your case you're really not using a parent panel. You're parenting your action panel to the stub panel you're using to force loading of the options addons. Since the parent and the child have the same name the parent doesn't even end up getting shown since the name is supposed to be unique. In the end your panels end up showing in the selection screen as children. I found this due to a bug opened on the BlizzBugsSuck: http://www.wowace.com/addons/blizzbu...figuring-stuf/ I've fixed BlizzBugsSuck to deal with your incorrect usage, but I also have prepared a patch to Stuf that fixes the incorrect usage: Code: --- Stuf_Options/options.lua~ 2010-07-13 16:34:35.000000000 -0700 +++ Stuf_Options/options.lua 2010-07-13 16:34:39.000000000 -0700 @@ -172,9 +172,9 @@ end local optionframe -local function CreateOptionFrame(frame) +local function CreateOptionFrame() if optionframe then return end - optionframe = AceConfigDialog:AddToBlizOptions("Stuf", "Stuf", frame) + optionframe = AceConfigDialog:AddToBlizOptions("Stuf", "Stuf") optionframe.fshow = CreateFrame("Frame", nil, optionframe) optionframe.fshow:SetScript("OnShow", function(this) local w = InterfaceOptionsFrame:GetWidth() @@ -2504,7 +2504,7 @@ -------------------------------- if frame and not optionframe then frame.hidden = true - CreateOptionFrame(frame) + CreateOptionFrame() end InterfaceOptionsFrame_OpenToCategory(optionframe) end --- StufRaid_Options/options.lua~ 2010-07-13 16:35:03.000000000 -0700 +++ StufRaid_Options/options.lua 2010-07-13 16:35:13.000000000 -0700 @@ -22,9 +22,9 @@ -- setups blizzard options frame local optionframe, updateminmax -local function CreateOptionFrame(frame) +local function CreateOptionFrame() if optionframe then return end - optionframe = AceConfigDialog:AddToBlizOptions("StufRaid", "StufRaid", frame) + optionframe = AceConfigDialog:AddToBlizOptions("StufRaid", "StufRaid") optionframe.fshow = CreateFrame("Frame", nil, optionframe) optionframe.fshow:SetScript("OnShow", function(this) local w = InterfaceOptionsFrame:GetWidth() @@ -1522,7 +1522,7 @@ -------------------------------- if frame and not optionframe then frame.hidden = true - CreateOptionFrame(frame) + CreateOptionFrame() end InterfaceOptionsFrame_OpenToCategory(optionframe) -end \ No newline at end of file +end Last edited by Shefki : 07-13-10 at 05:45 PM.
 07-11-10, 12:18 AM suicidalkatt A Rage Talon Dragon Guard   Forum posts: 323 File comments: 1422 Uploads: 62 Originally posted here: http://www.wowinterface.com/forums/s...ad.php?t=33855 Figured I'd post it here too... I'm trying to create a text pattern for my stuf frames that would show a percentage of mana with the added exact amounts depending on whether the amount of mana is at max or not. For example: 100% - 20000 or 80% - 16000 / 20000 Originally I simply had this as the input: Code: [percmp]%[solid_if_mp99: - ][solid_if_mp99:curmp][solid_if_mp99: / ][solid_if_mp99:maxmp] However there's no conditional I can put to only display something when the mana is at full to add the additional max mana. So I started working on an Lua version here: Code: function(unit, cache, textframe) local mp,mpmax = UnitPower(unit),UnitPowerMax(unit) local pctmp = floor(100*(mp/mpmax)) local text local function truncate(value) if value >= 1e6 then return format('%.1fm', value / 1e6) elseif value >= 1e4 then return format('%.1fk', value / 1e3) else return value end end if mp == mpmax then text = pctmp.."%" else text = pctmp.."% "..truncate(mp).." / "..truncate(mpmax) end return text end This should be working as written however I get this error: Code: 1x Stuf-3.3.006\text.lua:102: invalid option in format' Lines for text.lua 102: Code: local function AddAdvanceText(fs, a1, ...) fs:SetFormattedText(gsub(a1 or "", "||", "|"), ...) end` "text" does return the proper string, am I missing something? __________________ -->> The Ultimate Shaman UI - Official Thread <<--