Download
(612 Kb)
Download
Updated: 06-12-14 06:40 PM
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:06-12-14 06:40 PM
Created:05-17-09 12:55 PM
Downloads:295,634
Favorites:1,167
MD5:
5.4
Shadowed Unit Frames  Popular! (More than 5000 hits)
Version: v4.0.1
by: Shadowed [More]
SUF focuses on a simple configuration while maintaining the flexibility that most users will care about, preventing unnecessary bloating of the addon that sacrifices performance. While you aren't going to be able to set the health bar to be exactly 3.14 pixels outside of the unit frames, you can change options you actually care about such as bar height, ordering, frame height and so on. To speed up configuration, you can configure multiple units at the same time through the global configuration. For example, if you want to set the height of the Player, Target, Focus and Party frames to 50 then the height of Target's Target, Target's Target of Target, Focus Target to 30 you can easily do this by changing two options instead of having to do it seven times.

However, should you need a little bit of extra configuration do not despair! An advanced option is included that will unlock additional configuration giving finer control over the configuration.

Slash commands: /shadoweduf (/suf)

Donations
Donations are not required, but are appreciated!



Anchoring
Are you driven crazy by your party frames not aligning up exactly with your player frames, even if it's only half a pixel off? The anchoring system will let you solve all alignment issues, by allowing you to anchor a frame to another and set a simple offset from the frame it is anchored to, or by manually setting the X/Y position of the frame.

Using the screen shot as an example, if you drag the player frame the other frames will move with the player frame preserving the alignment and spacing. Each frame can still be manually positioned wherever you want, but this gives you a way of easily anchoring and moving frames around without having to use a ruler.

Zone configuration (Disabling options/units by zone type)
Units and modules can be enabled or disabled based on the type of zone you are in. For example, if you want to see party targets and party pets while you are in an arena but nowhere else then you can use the visibility options to enable it only while inside an arena. Modules can also be disabled by zone type, if you want to see party auras while in a raid instance but nowhere else you can disable the module in raid instances only.

Profiles do not have to be swapped and it is all automatic.

Units
Supports unit frames are as follows:

Player: Player, Pet, Pet Target
General: Target, Target of Target, Target of Target of Target, Focus, Focus Target
Party: Party, Party Pets, Party Targets, Party ToT
Raid: Raid, Raid Pet, Main Tank, Main Tank Target, Main Assist, Main Assist Target, Boss, Boss Target, Boss ToT, Main Assist ToT, Main Tank ToT
Arena: Arena, Arena Target, Arena Pets, Arena ToT
Battleground: Battleground, Battleground Target, Battleground Target

Features
  • Tags: Includes a simple tagging system that can be customized in virtually any way using Lua, even if something isn't included by default odds are you can make the tags
  • Incoming Heals: Supports the Blizzard Events for incoming heal data, no external libraries needed
  • Auras: Can be set to only show auras you casted, or can cast on others. Can enlarge auras that you casted, and hide the cooldown ring on the timers of auras you didn't cast as well to make it more obvious which ones you casted and which ones you didn't
  • Aura Timers: You will need a mod such as OmniCC to show timers on buffs and debuffs
  • Aura Indicators: Display colored squares or icons for certain auras on any unit
  • Fader: Fades frames when out of combat and inactive (100% mana/no target)
  • Class Power (Eclipse, Holy Power, etc): Supports all of the class power features from Eclipse to Burning Embers.
  • Highlighting: Border highlighting of frames based on mousing over them, curable debuffs, aggro or you are targeting/focusing them
  • Range Checking: Fades frames out that are out of range of you
  • Exportable Layouts: If you have a layout, or your friend has a layout you want to try out you can export/import SUF layouts by going to /suf -> Layout Manager
  • Profiles: You can change from any profile to another one without reloading your UI, should you want to use a completely different layout based on zone you can easily switch profiles without hassle

Pretty much all the general unit frame settings are in, health bars, cast bars, power bars, portraits, indicators and so on.

Modules
Basic module support is included, should you be interested in building a module see the documentation on github for more information.

Currently released:
Tagging as release v4.0.1

--------------------

Shadowed:
- Do a one time force enable on all aura filters
- Visual tweaks to the aura indicators UI
- Linked Dalarn Brilliance and Arcane Brilliance
- Fixed localization handling for aura groups
- Added icons and coloring where possible to aura indicators
- Removed unneeded localization
- Don't inline auras in groups to show an icon and make it easier to reconfigure
- Redid default aura indicators with configured class auras (Thanks Tonyleila!)
- Fixed new auras groups not being save properly
- Sort class aura groups ahead of misc groups
- Consolidated filters only applies to buffs

Tagging as release v4.0.0

--------------------

Shadowed:
- Toggle the units config open by default
- Hide the delete button for default aura indicator auras
- Fixed anchor point aura option being missing
- Fixed blacklist for auras not working properly
- Fixed an error if you already had auraIndicators loaded previously
- Event registration typo
- Update arena# units on ARENA_OPPONENT_UPDATE
- Fixed leaked globals
- Fixed resurrection indicators not working
- Aura indicators are now built in, deprecating ShadowedUF_Indicators
- Redid aura configuration, filters are much more flexible and the UI is a little easier to use
- Fixed parameter passing
- Fixed Arcane Charges not working for Aura Points
- Fixed Arcane Charge not showing up when using Aura Points

tag v3.10.7
c42233615b36b4ded7474396218c3698b625bf93
Shadowed <shadowed.wow@gmail.com>
2014-04-12 13:17:15 -0700

Tagging as release v.3.10.7

--------------------

Shadowed:
- Further optimizations to tag and fake-unit cast bar timers
- experiment switching to animation timers for performance
- updated list of ok globals
- Drop unneeded code
- Switch back to childChanged for zone updates

tag v3.10.6
ceb20254aabf023673ed0b711660386f0b271475
Shadowed <shadowed.wow@gmail.com>
2014-02-22 18:11:03 -0800

Tagging as release v3.10.6

--------------------

Shadowed:
- removed debug code for boss frames
- always force a child update no matter state

tag v3.10.5
7f0d3f94edf3c54ed303b31aecd6956883eb6a1b
Shadowed <shadowed.wow@gmail.com>
2014-02-22 08:16:40 -0800

Tagging as release v3.10.5

--------------------

Shadowed:
- fixed an old hack for loading boss units in party, now properly loads bosstarget/bosstargettarget in parties
- fixed an edge case where boss/arena/bg units could show Unknown instead of a name
- fixed battleground/arena/boss units not showing up if only one is shown

tag v3.10.4
2cf9f729b10532c0727c3814e2ca2da51e0c8363
Shadowed <shadowed.wow@gmail.com>
2014-02-17 07:49:34 -0800

Tagging as release v3.10.4

--------------------

Shadowed:
- Boss/Arena/BG header frames now dynamically resize total height/width to fix anchoring
- Main Tank frames now populate off the MT assignment or by picking the Tank role
- Fixed MT ToT and MA ToTs default position being on top of the MT/MA Target frame
- Check not UnitIsEnemy to fix stealable buff borders when dueling

tag v3.10.3
57f875c4bc4680342b8049e6ffe9c71c80642130
Shadowed <shadowed.wow@gmail.com>
2014-01-04 08:53:59 -0800

Tagging as release v3.10.3

--------------------

Shadowed:
- Don't fast register/unregister tags if no font strings are found
- Don't mess with CRF strata anymore
- Added a check for invalid order too

tag v3.10.2
21e4154ff365e705fff1777ae375feb953138165
Shadowed <shadowed.wow@gmail.com>
2013-12-19 18:37:42 -0800

Tagging as release v3.10.2

--------------------

Shadowed:
- Enabling enlarging stealable buffs will enable the scale slider
- Small text casing changes
- Add auto recoevering of invalid heights in layouts
- Rewrote localcheck into Ruby to actually auto submit i18n again
- Fixed leaked globals
- Rewrote global checker to look at GETGLOBAL and SETGLOBAL
- Use UPDATE_WORLD_STATES for phase changes because I hate Blizzard
- Fixed some obscure leaked globals
- Add another event to try and force phase indicators to update
- Update all phase indicators when the players phase changes
- Fixed aura canceling
- Try and fix phase indicator not updating correctly
- Disable temporary enchant scans while in a vehicle
- Allow canceling of personal vehicle auras
- Removed unused variable
- Casing fixes
- Name update
- Revert de-inlining of General tab, don't like the change

tag v3.10.1
5a9ff6691ea804594ddd3c0f280a1e1e2578df9f
Shadowed <shadowed.wow@gmail.com>
2013-12-08 18:05:15 -0800

Tagging as release v3.10.1

--------------------

Shadowed:
- Drop LFG eye indicator

tag v3.10.0
51dd1c9a4e07902755fb76697838b1105a422045
Shadowed <shadowed.wow@gmail.com>
2013-12-08 15:15:39 -0800

Tagging as release v3.10.0

--------------------

Shadowed:
- Bumping to v3.10
- Config UI now opens in <500ms instead of >5s
- Switch General/Bars config to not be inlined to make the unit config easier to use
- TOC change
- Fixed phase indicators
- Default color config to empty tables
- Random performance tracking code that I can re-enable when wanted
- Added highlighting by rare or elite mods
- Added support for LibDualSpec to auto switch profiles on talent changes
- Added support for Boss ToT, Main Assist ToT, Main Tank ToT, Party ToT, Battleground ToT and Arena ToT units
- Bump DB version to 40
- Added note on the new text tags added
- TOC update
- Fixed a typo
- Added Monk Stagger # tag/text
- Reduced the time between Stagger updates to 0.25s
- Fixed visual issues with rune/totem/etc bars when you have another bar dynamically showing and hiding
- Fixed totem bars not instantly hiding when a class only has 1 totem and it hits 0 seconds
- Fully disable deletion of default text tags
- Added timers for totems/runes
Optional Files (3)
File Name
Version
Size
Author
Date
Type
v2.3.4
16kB
12-16-13 10:38 PM
v1.2.1
12kB
08-27-12 10:53 AM
r20110919
5kB
09-19-11 09:22 PM


Archived Files (80)
File Name
Version
Size
Author
Date
v4.0.0
609kB
Shadowed
06-05-14 07:44 PM
v3.10.7
599kB
Shadowed
04-16-14 07:32 PM
v3.10.6
600kB
Shadowed
02-22-14 07:19 PM
v3.10.5
600kB
Shadowed
02-22-14 09:29 AM
v3.10.4
600kB
Shadowed
02-17-14 04:01 PM
v3.10.3
598kB
Shadowed
01-04-14 11:02 PM
v3.10.2
598kB
Shadowed
12-19-13 07:44 PM
v3.10.1
594kB
Shadowed
12-08-13 07:10 PM
v3.10.0
595kB
Shadowed
12-08-13 04:21 PM
v3.9.1
581kB
Shadowed
11-29-13 05:01 PM
v3.9.0
581kB
Shadowed
11-18-13 06:57 PM
v3.8.10
577kB
Shadowed
09-10-13 09:45 AM
v3.8.9
514kB
Shadowed
05-21-13 07:53 AM
v3.8.7
576kB
Shadowed
04-28-13 11:43 AM
v3.8.6b
576kB
Shadowed
03-28-13 09:36 AM
v3.8.6
575kB
Shadowed
03-13-13 08:14 AM
v3.8.4
575kB
Shadowed
03-11-13 11:57 AM
v3.8.3
574kB
Shadowed
03-09-13 02:40 PM
v3.8.2
573kB
Shadowed
03-06-13 10:18 AM
v3.8.1
573kB
Shadowed
03-05-13 05:56 PM
v3.8.0
573kB
Shadowed
03-04-13 09:29 PM
v3.7.4
570kB
Shadowed
12-03-12 10:24 PM
v3.7.3
570kB
Shadowed
11-27-12 06:14 PM
v3.7.2
571kB
Shadowed
11-18-12 05:21 PM
v3.7.1
570kB
Shadowed
10-09-12 08:12 PM
v3.7
570kB
Shadowed
10-06-12 03:16 PM
v3.6.1
569kB
Shadowed
09-28-12 08:46 PM
v3.6
568kB
Shadowed
09-26-12 09:50 AM
v3.5.10
567kB
Shadowed
09-21-12 12:38 AM
v3.5.8
566kB
Shadowed
09-17-12 10:42 AM
v3.5.7
565kB
Shadowed
09-10-12 01:39 PM
v3.5.4
565kB
Shadowed
09-10-12 10:04 AM
v3.5.3
563kB
Shadowed
08-31-12 10:14 AM
v3.5.2
564kB
Shadowed
08-31-12 09:45 AM
v3.5.1
563kB
Shadowed
08-28-12 09:43 AM
v3.5
565kB
Shadowed
08-27-12 10:49 AM
v3.4.4
548kB
Shadowed
12-02-11 09:22 AM
v3.4.3
546kB
Shadowed
11-29-11 09:52 AM
v3.4.2
547kB
Shadowed
11-02-11 10:03 AM
v3.4.1
542kB
Shadowed
09-28-11 10:09 PM
v3.4.0
542kB
Shadowed
09-25-11 06:42 PM
v3.3.6
560kB
Shadowed
06-28-11 05:16 PM
v3.3.5
540kB
Shadowed
05-01-11 05:36 AM
v3.3.2
535kB
Shadowed
11-16-10 11:29 AM
v3.3.1
529kB
Shadowed
10-25-10 11:50 AM
v3.3
528kB
Shadowed
10-18-10 11:14 AM
v3.2.12
485kB
Shadowed
06-26-10 08:25 PM
v3.2.11
477kB
Shadowed
06-21-10 11:23 PM
r20100509
474kB
Shadowed
05-10-10 12:36 AM
r20100401
471kB
Shadowed
04-01-10 01:08 AM
r20100329
469kB
Shadowed
03-29-10 02:23 AM
r20100324
467kB
Shadowed
03-24-10 03:38 PM
r20100322
465kB
Shadowed
03-22-10 08:24 PM
v3.2.5
467kB
Shadowed
02-18-10 02:33 PM
v3.2.4
467kB
Shadowed
02-18-10 10:08 AM
v3.2.3
467kB
Shadowed
02-18-10 03:47 AM
v3.2.2
465kB
Shadowed
02-17-10 08:50 PM
v3.2
466kB
Shadowed
02-17-10 07:16 PM
v3.1
462kB
Shadowed
01-17-10 04:23 PM
v3.0.6
453kB
Shadowed
12-24-09 04:40 PM
v3.0.5
452kB
Shadowed
12-23-09 06:35 PM
v3.0.4
455kB
Shadowed
12-23-09 03:31 PM
v3.0.3
450kB
Shadowed
12-14-09 01:24 AM
v3.0.2
447kB
Shadowed
12-10-09 10:10 AM
v3.0.1
444kB
Shadowed
12-08-09 10:57 PM
v3
433kB
Shadowed
12-07-09 09:25 PM
r20091128
492kB
Shadowed
11-28-09 01:38 AM
r20091127
492kB
Shadowed
11-27-09 02:37 PM
r20091124
492kB
Shadowed
11-24-09 09:09 AM
r20091123
492kB
Shadowed
11-24-09 12:05 AM
r20091103
484kB
Shadowed
11-04-09 12:13 AM
r20091020
482kB
Shadowed
10-20-09 08:49 PM
r20091013
473kB
Shadowed
10-13-09 09:12 AM
r20091004
472kB
Shadowed
10-04-09 10:31 AM
r20090930
471kB
Shadowed
09-30-09 11:08 PM
r20090927
468kB
Shadowed
09-27-09 03:25 AM
r20090915
460kB
Shadowed
09-15-09 10:43 PM
r20090914
460kB
Shadowed
09-14-09 07:58 PM
r20090913
459kB
Shadowed
09-13-09 09:00 PM
r20090813
431kB
Shadowed
08-13-09 11:37 AM


Post A Reply Comment Options
Old 12-12-09, 02:58 PM  
Shadowed
...
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 387
File comments: 2505
Uploads: 99
Confused, where are you getting 0.023?

http://www.google.com/search?hl=en&c...econds&spell=1
Shadowed is offline Report comment to moderator  
Reply With Quote
Old 12-12-09, 05:58 PM  
Xeddicus
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 32
Uploads: 2
Cast Bar Shield?

Does the Cast Bar support indicating uninterruptible casts? It doesn't seem to, but I may be missing something. And it turns out I was. Sorry! I didn't even see the option to change the color oddly (if there is one).
Last edited by Xeddicus : 12-12-09 at 06:09 PM.
Xeddicus is offline Report comment to moderator  
Reply With Quote
Old 12-12-09, 06:01 PM  
Shadowed
...
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 387
File comments: 2505
Uploads: 99
It does, it just isn't a shield but a separate coloring. By default it's yellow for an uninterruptible cast.
Shadowed is offline Report comment to moderator  
Reply With Quote
Old 12-12-09, 08:01 PM  
Sacredhaos
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
I know you answered this for me before, but I got confused lol. How or can you set the empty bar text to left/right?

And for some reason there is a gap from the portrait to the rune bar on the player frame.

Is there a way to make the buffs automatically wrap when it reaches the edge of the frame the buffs are on? And is there a way to make my debuffs and other peoples debuffs not share the same size? Besides the enlarge your debuffs option, it just doesn't enlarge them enough. I would just like to be able to make my debuffs bigger without changing all the others.

I know you probably want to keep SUF as simple as possible, which I agree with. I love SUF and that's why I'm putting in my two cents because I don't want to go back to Xperl lol. I just think Xperl did some things right that SUF currently cant do.
Last edited by Sacredhaos : 12-12-09 at 10:09 PM.
Sacredhaos is offline Report comment to moderator  
Reply With Quote
Old 12-12-09, 08:28 PM  
ksvoip
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Originally posted by Shadowed
ksvoip: Not sure what you mean? The player filtering already applies to vehicles.
Flame leviathan in Ulduar I couldn't see my pyrite stacks on my target.
ksvoip is offline Report comment to moderator  
Reply With Quote
Old 12-13-09, 03:31 AM  
Dexter74
A Kobold Labourer

Forum posts: 0
File comments: 152
Uploads: 0
"Shadowed Unit Frames AuraTracker"
"Shadowed Unit Frames: Five Second Rule"

're older. Are they still needed?
Dexter74 is offline Report comment to moderator  
Reply With Quote
Old 12-13-09, 05:15 AM  
Acca85
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 33
Uploads: 6
Hello, I'm having some issues with this addon since 3.3:
The Main Tanks Target frames have strange behaviours: it doesn't update (meaning that if I've no target it shows that I still have, or doesn't show that I have one if I have), shows them one on top of each others (i see my target frame on top of the first tank in the list's one).

I tried the boss frame while doing the Gunship Battle encounter (only there), the blizzard frames are showing on top of each SUF boss frame, I can see there are the names of the enemys on the blizzard's only, both blizzard and suf's frames are not updating (health/power values).

If it helps, I'm not having any Lua errors.


I'm trying to set the raid frames to show like horizontal groups, growing toward the bottom but I don't get how to do this.
Example: [x-y] it's a member of the raid, x is the group, y is the position in the party/name
[1-1][1-2][1-3][1-4][1-5]
[2-1][2-2][2-3][2-4][2-5]
Am I missing something?


Ps: Great addon
Sorry for my english
Acca85 is offline Report comment to moderator  
Reply With Quote
Old 12-13-09, 07:01 AM  
Klime
A Kobold Labourer

Forum posts: 1
File comments: 15
Uploads: 0
Acca85 : type /suf enable raid in unit config. Then click on raid to the list on the left. once there click the tab on the top that says raid. Set Max columns to 5 and units per column to 8. Then above that you will see row growth and column growth. Change Row growth to Right and column growth to down.

Hope that helped!
Last edited by Klime : 12-13-09 at 07:03 AM.
Klime is offline Report comment to moderator  
Reply With Quote
Old 12-13-09, 10:47 AM  
Shadowed
...
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 387
File comments: 2505
Uploads: 99
Dexter74: If you want them, yes. They haven't been added into SUF by default.

ksvoip: Should be fixed

Sacredhaos: Go to /suf -> Text Management -> Add New Text

Text name -> Right Text
Text parent -> Empty bar

Then /suf -> Unit configuration -> <unit> -> Text/Tags and setup the new tag text.

Acca85: Can you screenshot the target frames being messed up for MTs, will speed up fixing it for me.

The boss frame issue is a bug that's been fixed already at http://wow.curseforge.com/projects/s...d-unit-frames/ if you get the beta/alpha.

For raid frame growth, see what Klime said.
Shadowed is offline Report comment to moderator  
Reply With Quote
Old 12-13-09, 11:15 AM  
Sacredhaos
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
One thing I couldn't find was the way to edit the castbars text size.
Last edited by Sacredhaos : 12-13-09 at 05:35 PM.
Sacredhaos is offline Report comment to moderator  
Reply With Quote
Old 12-13-09, 12:56 PM  
iSylvir
A Cyclonian
 
iSylvir's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 47
File comments: 15
Uploads: 2
Easily one of the best unit frames ever released.
iSylvir is offline Report comment to moderator  
Reply With Quote
Old 12-13-09, 05:16 PM  
Acca85
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 33
Uploads: 6
Originally posted by Shadowed

Acca85: Can you screenshot the target frames being messed up for MTs, will speed up fixing it for me.
Here it is.

In this SS the Dk tank is targetting a shaman who's not at 100% health.
I'm not using incoming heals bars.
The color for the missing health is the default one.

If I can get a better SS I'll post..
Acca85 is offline Report comment to moderator  
Reply With Quote
Old 12-13-09, 05:57 PM  
Pixol
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 62
Uploads: 8
Pixol: I just double checked and I can't even come close to duplicating this. There is no spike in CPU usage, in fact SUF doesn't use a single milisecond of CPU in relation to spamming the macros on a target dummy and I tried all variations including one with //cast.

Also, it's not 32 cpu/sec, it's in milliseconds so 32 "seconds" is 0.032 milliseconds.
Weird I happened to be testing different addons today with SUF off, and pitbull was acting up, I turned SUF back on and SUF doesn't take up cpu randomly anymore, just pitbull now. Guess it might have something to do with one Ace library from one of the many addons it randomly picks and uses up the cpu when I press macros
Pixol is offline Report comment to moderator  
Reply With Quote
Old 12-13-09, 05:58 PM  
Ailae
A Rage Talon Dragon Guard
 
Ailae's Avatar
AddOn Author - Click to view AddOns

Forum posts: 317
File comments: 75
Uploads: 7
Originally posted by Shadowed
... that's quite mind boggling, I'll have to think up something that could be causing it.
So I was thinking about this and it struck me that it used to work when I was running oUF. So thought, "hey, let me see if I can tell what's different!". After peeking through the vehicle.lua code in oUF I noticed there was a call for PlayerFrame.unit = self.unit and BuffFrame_Update() - which looks identical to what happens in the Blizzard code when jumping into a vehicle.

So I tried adding this to SUF, in units.lua in the function CheckVehicleStatus(frame, event, unit), but with appropriate variables, so it would look like this: (added comments where I added stuff)

Code:
-- Check if a unit entered a vehicle
function Units:CheckVehicleStatus(frame, event, unit)
	if( event and frame.unitOwner ~= unit ) then return end
		
	-- Not in a vehicle yet, and they entered one that has a UI or they were in a vehicle but the GUID changed (vehicle -> vehicle)
	if( ( not frame.inVehicle or frame.unitGUID ~= UnitGUID(frame.vehicleUnit) ) and UnitHasVehicleUI(frame.unitOwner) and not ShadowUF.db.profile.units[frame.unitType].disableVehicle ) then
		-- Keep track of what the players current unit is supposed to be, so things like auras can figure out what unit to filter
		if( frame.unitOwner == "player" ) then ShadowUF.playerUnit = frame.unit end
		frame.inVehicle = true
		frame.unit = frame.vehicleUnit
		-- added these 2 lines..
		PlayerFrame.unit = frame.unit
		BuffFrame_Update() 
		
		if( not UnitIsConnected(frame.unit) or UnitHealthMax(frame.unit) == 0 ) then
			frame.timeElapsed = 0
			frame.dataAttempts = 0
			frame:SetScript("OnUpdate", checkVehicleData)
		else
			frame.unitGUID = UnitGUID(frame.unit)
			frame:FullUpdate()
		end
				
	-- Was in a vehicle, no longer has a UI
	elseif( frame.inVehicle and ( not UnitHasVehicleUI(frame.unitOwner) or ShadowUF.db.profile.units[frame.unitType].disableVehicle ) ) then
		if( frame.unitOwner == "player" ) then ShadowUF.playerUnit = frame.unitOwner end
		-- .. as well as these 2, since without these it never switches the buffs back
		PlayerFrame.unit = frame.unitOwner
		BuffFrame_Update()
		
		frame.inVehicle = false
		frame.unit = frame.unitOwner
		frame.unitGUID = UnitGUID(frame.unit)
		frame:FullUpdate()
	end
end
Apologies for the huge chunk of code there. However, when I then tried the same quest I've mentioned earlier, this change made the bufframe switch when hopping into the vehicle and back again when jumping out again. I'm also happy to say that the stacks corresponded.

I've only tested this briefly and I don't know what other problems (if any) this could bring, but maybe it sheds some light as to why I was experiencing the bug.
__________________
Oh, the simulated horror!
Ailae is offline Report comment to moderator  
Reply With Quote
Old 12-13-09, 06:40 PM  
Shadowed
...
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 387
File comments: 2505
Uploads: 99
Ailae: Ohh, sorry I completely misunderstood you I thought your issue was SUF showing wrong buff stacks not Blizzards. Thanks for looking into it, it's been fixed.

Acca85: Will look into it.

iSylvir: Thanks!

Sacredhaos: You need advanced settings on to change cast bar size, once you enable that it's in the same area as the cast of the cast bar options.
Shadowed is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.