WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   Raid frames not showing on PTR. (https://www.wowinterface.com/forums/showthread.php?t=35360)

drakull 10-10-10 08:48 AM

Raid frames not showing on PTR.
 
Well, I'm working in the cataclysm version of my layout, using oUF 1.4.3 from the github and testing it on the PTR.

I noted that my party and raid frames are not working (I use the same code for both). I don't get any errors but they just don't show up. They do work fine in the live version.

Has something changed in the way we implement raid frames?

Here's my code:
Code:

local function CreateRaidStyle(self, unit)
    self.width = 72
    self.height = 28
    self.scale = cfg.raidscale
    self.mystyle = "raid"
    self.Range = {
        insideAlpha = 1,
        outsideAlpha = .3,
    }
    genStyle(self)
    self.Health.frequentUpdates = true
    self.Health.colorSmooth = true
    self.Health.bg.multiplier = 0.3
    self.Power.colorClass = true
    self.Power.bg.multiplier = 0.5
end

if cfg.ShowRaid or cfg.RaidShowSolo or cfg.ShowParty then
    oUF:RegisterStyle("oUF_DrkRaid", CreateRaidStyle)
    oUF:SetActiveStyle("oUF_DrkRaid")
       
        local maxGroups = 5
        if cfg.RaidShowAllGroups then maxGroups = 8 end
        local visible = ''
        if cfg.RaidShowSolo then
                visible = 'solo'
        end
        if cfg.ShowParty then
                if visible == '' then
                        visible = 'party'
                else
                        visible = visible..',party'
                end
        end
        if cfg.ShowRaid then
                if visible == '' then
                        visible = 'raid'
                else
                        visible = visible..',raid'
                end
        end
        raid = {}
        for i = 1, maxGroups do
                local group = oUF:SpawnHeader('oUF_DrkRaid'..i, nil, visible,
                        'showPlayer', true,
                        'showSolo', cfg.RaidShowSolo,
                        'showParty', cfg.ShowParty,
                        'showRaid', cfg.ShowRaid,
                        'xoffset', 9,
                        'yOffset', 5,
                        'point', "LEFT",
                        'groupFilter', tostring(i),
                        'groupingOrder', '1,2,3,4,5,6,7,8',
                        'groupBy', 'GROUP',
                        'maxColumns', 8,
                        'unitsPerColumn', 5,
                        'columnSpacing', 7,
                        'columnAnchorPoint', "UP")
                if i == 1 then
                        group:SetPoint(RaidPos[1], RaidPos[2], RaidPos[3], RaidPos[4], RaidPos[5])
                else
                        group:SetPoint("TOPLEFT", raid[i-1], "TOPLEFT", 0, 35)
                end
                raid[i] = group
        end         
end

cfg.ShowRaid, cfg.RaidShowSolo and cfg.ShowParty values are set to true.

haste 10-10-10 08:59 AM

1.4.x won't work due to changes in now secure group headers work. On top of that I haven't fully decided how I want oUF to interact with them yet.

They do work on beta with the git version of oUF, but only if you know what you are doing :).

senomar 10-11-10 08:20 AM

Quote:

Originally Posted by haste (Post 208687)
1.4.x won't work due to changes in now secure group headers work. On top of that I haven't fully decided how I want oUF to interact with them yet.

They do work on beta with the git version of oUF, but only if you know what you are doing :).

so, you are not targeting for a 4.0.1 release?


All times are GMT -6. The time now is 08:14 PM.

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