WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   API version 5: changes and discussion (https://www.wowinterface.com/forums/showthread.php?t=35152)

haste 10-12-10 12:50 PM

First post update, don't think I forgot anything. I'm still not pleased with the current solution.

zork 10-12-10 02:23 PM

I'm not pleased with warrior tanking talents. Not that anyone cares...;)

yj589794 10-12-10 03:43 PM

meh, druid no longer have a spamable AoE for tanking. boooooo.

The last boss in Stonecore would be soooo easy with the old swipe, but it is gone now :-/

neverg 10-12-10 08:29 PM

Quote:

Originally Posted by yj589794 (Post 208947)
meh, druid no longer have a spamable AoE for tanking. boooooo.

The last boss in Stonecore would be soooo easy with the old swipe, but it is gone now :-/

Don't think anyone does. :]

haste, yj, any ETA on 1.5 release? I'm not rushing, just asking. :)

And no patch yet here in Europe, servers on Maintance now. 3:30 AM here. Better get to bed! ;P

zork 10-13-10 12:30 AM

Imo this is 1.5.x
http://github.com/haste/oUF/zipball/master

It still claims 1.4.3 but I think that is the 1.5 one.

neverg 10-13-10 01:44 AM

Quote:

Originally Posted by zork (Post 209102)
Imo this is 1.5.x
http://github.com/haste/oUF/zipball/master

It still claims 1.4.3 but I think that is the 1.5 one.

Ye it is. But still, not yet final. :P

zork 10-13-10 02:35 AM

You know software that is actually "final"?

neverg 10-13-10 04:11 AM

Quote:

Originally Posted by zork (Post 209127)
You know software that is actually "final"?

Meh, you know what I ment. When I said final is the actual release of 1.5, even haste said he is not happy with some stuff on it. So that is what I asked, 1.5 to the "public" so to say. :)

The thing is I tested the Github Master download on the Beta and somehow it wasn't showing any of my frames, not even with other layouts updated for it. So I was hoping for the actual 1.5 to test on live. But I downloaded the master again, going to try it again. :)

Ailae 10-13-10 05:40 AM

I was fiddling about with the latest commit of 1.5 on the betaservers last night and stuff was working fine from what I could tell. If they weren't, it was because of me. :P I just made the changes Haste outlined in the now updated original post.

So hopefully all will be fine today when the servers come back up.

Luzzifus 10-13-10 11:39 AM

With 1.5.1, I get this when I try to call RegisterStyle():
Code:

[19:39:13] Interface\AddOns\oUF_Nivaya\oUF_Nivaya.lua:897: attempt to index global 'oUF' (a nil value)
Looks like it's not being loaded, but I don't get any specific error messages before that one.

**edit: Ok, got it. It was that XML error.

haste 10-13-10 11:53 AM

So it was 1.5 and not 1.5.1 in other words :).

Luzzifus 10-13-10 12:00 PM

Quote:

Originally Posted by haste (Post 209294)
So it was 1.5 and not 1.5.1 in other words :).

Indeed. Now no more errors, but all my frames are invisible.. oh dear..

haste 10-13-10 12:06 PM

Quote:

Originally Posted by Luzzifus (Post 209299)
Indeed. Now no more errors, but all my frames are invisible.. oh dear..

First post. The initial-* attributes are no longer processed by the secure system and oUF.

Luzzifus 10-13-10 12:09 PM

Quote:

Originally Posted by haste (Post 209304)
First post. The initial-* attributes are no longer processed by the secure system and oUF.

There's nothing about these in the first post.
But thanks. :p

haste 10-13-10 12:12 PM

Quote:

Originally Posted by Luzzifus (Post 209306)
There's nothing about these in the first post.
But thanks. :p

Quote:

Originally Posted by haste (Post 207288)
- All usage of restricted functions on secure frames (self:Set{Width,Height,Size,Attribute} and a ton other) need to be split into two parts, one of headers and one of single spawns.

Followed by a set of examples :P.

neverg 10-13-10 12:49 PM

Meh, I'm going crazy porting to 1.5.

I'm getting "attempt to index global 'oUF' (a nil value)"...

Before it worked fine, on 1.4. Any clues?

It returns that error on this:

Code:

        oUF.colors.power = {
                ["MANA"] = {26/255, 139/255, 255/255 },
                ["RAGE"] = {255/255, 26/255, 48/255 },
                ["FOCUS"] = {255/255, 150/255, 26/255 },
                ["ENERGY"] = {255/255, 225/255, 26/255 },
                ["HAPPINESS"] = {0.00, 1.00, 1.00 },
                ["RUNES"] = {0.50, 0.50, 0.50 },
                ["RUNIC_POWER"] = {0.00, 0.82, 1.00 },
                ["AMMOSLOT"] = {0.80, 0.60, 0.00 },
                ["FUEL"] = {0.0, 0.55, 0.5 },
        }

It can be on any oUF call tho.

I use namespaces for a config file, I use
Code:

this:

        local addon, ns = ...
        local cfg = ns.cfg
        local oUF = ns.oUF or oUF

But even if I remove it, it doesn't make a difference, and anyway, why should I? I'm confused. :S

haste 10-13-10 12:50 PM

You're among those who had time to fetch oUF 1.5 before I pushed 1.5.1, I guess.

neverg 10-13-10 01:18 PM

Quote:

Originally Posted by haste (Post 209329)
You're among those who had time to fetch oUF 1.5 before I pushed 1.5.1, I guess.

It was that, thanks! ^^

Zilver 10-13-10 01:28 PM

CancelUnitBuff() tainted
 
Hi you all

Do we have anyway to create secure aura/buff/debuff buttons or are we locked out by Blizzard ?

Currently this is how I create my Auras buttons:
Code:

        do -- setup buffs and debuffs
                self.Auras = CreateFrame("Frame",nil,self);
                self.Auras:SetWidth(22*10); self.Auras:SetHeight(22*2);
                self.Auras:SetPoint("BOTTOMLEFT",self,"TOPLEFT",10,0);
                self.Auras:SetFrameStrata("BACKGROUND");
                self.Auras:SetFrameLevel(4);
                -- settings
                self.Auras.size = 20; self.Auras.spacing = 1;
                self.Auras.initialAnchor = "BOTTOMLEFT";
                self.Auras["growth-x"] = "RIGHT";
                self.Auras["growth-y"] = "UP";
                self.Auras.gap = true;
                self.Auras.numBuffs = 10;
                self.Auras.numDebuffs = 10;
               
                self.Auras.PostUpdate = PostUpdateAura;
        end

Anyone know a way to create em without taint?

haste 10-13-10 01:30 PM

You need to use the SecureAuraHeader to create player auras. I haven't had time to look much into it yet. It's on my TODO heap somewhere however.


All times are GMT -6. The time now is 07:02 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI