Thread Tools Display Modes
09-13-10, 02:11 PM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
oUF Cataclysm issues

Maybe we can gather all that in one thread.

I managed to convert oUF_D3Orbs to oUF 1.4.3 now using the latest commit on the beta.

I'm getting bugged party portraits. It's the same behaviour as if I would add a 3D portrait to the TOT-frame that is updated via OnUpdate.

So the portrait is flickering all the time.

Another problem I am having is with the index of UnitAura.

As seen in the top-right corner.



But I think I know why this happens.

I create buffs and debuffs for player independently via self.Buffs and self.Debuffs and not self.Auras. Inside my d3o2_postUpdateAuraIcon(icons, unit, icon, index, offset) funcion I use the index to do this
Code:
local name, rank, texture, count, dtype, duration, timeLeft, caster, isStealable, shouldConsolidate, spellID = UnitAura(unit, index, filter)
But the index from the debuffs is the 1 and 2 aswell but those are indexed by buffs already).

So I'm not sure what I can do here. Is there a different behaviour if use UnitBuff or UnitDebuff instead or is the index the problem?

*update*
Fixed my filter problem by adding self.Buffs.filter = "HELPFUL" and self.Debuffs.filter = "HARMFUL" and parsing this filter into UnitAura()
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 09-13-10 at 02:59 PM.
  Reply With Quote
09-13-10, 11:35 PM   #2
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
Originally Posted by zork View Post
*update*
Fixed my filter problem by adding self.Buffs.filter = "HELPFUL" and self.Debuffs.filter = "HARMFUL" and parsing this filter into UnitAura()
This isn't something new with CC, and oUF always had those as fallback filters. The filter used is set on icon.filter, so you can use that variable instead of setting your own on the main element.

I also thought target of target updating of portrait was fixed.
__________________
「貴方は1人じゃないよ」
  Reply With Quote
09-14-10, 01:46 AM   #3
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Ah, thx for info.

@ToT Portrait
Sry for misunderstanding. I just wanted to compare the behaviour to something that was known. I have no issues with ToT portraits (but I have none displayed in this layout aswell). Just party portrait issues atm.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » oUF Cataclysm issues


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off