Unofficial oUF - methods used for layouts

If I try to enable both buffs and debuffs (I like seeing the buffs I can cast on my party) I get the same error as you, Cold. Actually, mostly all buffs give that error. Would you mind posting your layout? Or pastey it and then link it? It could help get the errors out :)

sure i can, but i didnt fix the error. Im not able to show buffs on party, only debuffs. I didnt try showing buffs on other unit tho.

I posted the error so haste can take a look at it. And i think the error is in aura.lua, not in the layout. Tho i checked, i didnt see anything wrong :S

anyway, heres my layout with the updated change in oUF.lua(in layout.lua its mainly initial-scale and xOffset)
and i added half-healer-support in my aggro coloring by checking if the unit's target'target'target is the unit(ie: healer's target = tank, tank's target = mob, mob's target = healer so healer has aggro, color him! but only works if the healer's target is targeting the mob that the healer has aggro on.... if that makes any sense lol..):

Not sure if this problem comes from the oUF code, I've enabled buffs for all the frames and it works for me. I only started fiddling with oUF a couple of days ago, so only frames I checked were player and target, and I can see buffs fine. Maybe try player frame and see if that works? I have party frames enabled and not getting any errors, but honestly I didn't pay attention if they are shown or not.

I wish I'd have something more constructive to say, but I can't see any flaw in the way you're doing it.

This is the relevant piece from my layout file (a few things are different from how is done in oUF_Lily, but same idea):

I think it's fine as it is. I've see far too many addons start out as "lightweight and efficient" alternatives to something else, but eventually get bloated due to users' demand for more functionality which wasn't part of the original goal.

It's certainly difficult to make layouts for it, as it's still in development and this thread's pretty much all the documentation there is on it, which is why I'm not really recommending it to friends. I'm sure people will release layouts which display a bunch of stuff like AFK timers and that, but in my opinion if you're using layouts which you haven't tailored to how you play you're gonna end up with bloat, which in my opinion defeats the point of these unit frames. Saying that, I've not seen Haste say anything like that, but it's how I view this addon.

Unnecessary rant, sorry!

Anyway, I've almost duplicated my old PitBull frames' appearance in oUF, the only difference being that OptionHouse says oUF is using fuck all CPU, and I love it! :D

I think it's fine as it is. I've see far too many addons start out as "lightweight and efficient" alternatives to something else, but eventually get bloated due to users' demand for more functionality which wasn't part of the original goal.

let me rephrase that:

Gief userfriendly config that doesn't have the need to edit the oUF core code. :P
Anyway, I'm not sure how do people spawn the frames now :P

Still messing with frames not updating :-(
in fact, any frame i add using the oUF:Spawn cmd doesn't update, there is certainly something i'm doing wrong, but can't figure what, guess i need some help there.

As for p3lim : i didn't mean you being dumb or whatever :) , but with default auras.lua and ouf.lua, i have no problems at all displaying buffs/debuffs on any frame just by adding 'em in the layout like i mentionned before.

I think it's fine as it is. I've see far too many addons start out as "lightweight and efficient" alternatives to something else, but eventually get bloated due to users' demand for more functionality which wasn't part of the original goal.

It's certainly difficult to make layouts for it, as it's still in development and this thread's pretty much all the documentation there is on it, which is why I'm not really recommending it to friends. I'm sure people will release layouts which display a bunch of stuff like AFK timers and that, but in my opinion if you're using layouts which you haven't tailored to how you play you're gonna end up with bloat, which in my opinion defeats the point of these unit frames. Saying that, I've not seen Haste say anything like that, but it's how I view this addon.

Unnecessary rant, sorry!

Anyway, I've almost duplicated my old PitBull frames' appearance in oUF, the only difference being that OptionHouse says oUF is using fuck all CPU, and I love it! :D

About the rant, I agree. It's why even though I've had quite a few frustrated shoutouts over it, I can't move away from it anymore. I try ag_UF, but then still end up coming back to oUF. Speaking of sharing layouts, I am most interested in seeing yours. :P

Quote from Heavenly »

Still messing with frames not updating :-(
in fact, any frame i add using the oUF:Spawn cmd doesn't update, there is certainly something i'm doing wrong, but can't figure what, guess i need some help there.

Not all types of UF are added to the core of oUF, so it does depend on what type of frames you're trying to spawn :)

Gief userfriendly config that doesn't have the need to edit the oUF core code. :P

you dont have to touch the core at all, unless you want to spawn frames that has yet not been added by haste himself.
you have the layout for anything else, which is pretty much self-explaining at most points if you know lua.

you dont have to touch the core at all, unless you want to spawn frames that has yet not been added by haste himself.
you have the layout for anything else, which is pretty much self-explaining at most points if you know lua.

i think you dont have to touch oUF.lua in anyway way to spawn a unit.
all changes are mare in the layout.lua.

the only thing you need to add in oUF.lua is to add the subtypes ie: ["Pvp"] = "UpdatePvp", and to add the according Events to watch to make it update.

you dont have to touch the core at all, unless you want to spawn frames that has yet not been added by haste himself.
you have the layout for anything else, which is pretty much self-explaining at most points if you know lua.

Well then I have to whip haste to add all the extra stuff in the core, or making a module for it ;)

Cold, thanks for upping your layout. I've added some parts to ouf core though, but I am considering redoing that, each update causes me to having to make the same changes :P Which is probably why you've put lvl and all in the layout, huh?

Cold, thanks for upping your layout. I've added some parts to ouf core though, but I am considering redoing that, each update causes me to having to make the same changes :P Which is probably why you've put lvl and all in the layout, huh?

yeah i tried to keep it all in the layout file.
but there is some changes i can't, so i update occasionaly my ouf.lua with the changes haste made on the svn. like the new event handling and things like that.