Thread Tools Display Modes
09-01-12, 04:20 AM   #1
dartz
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 3
Ouf Zulu question about icons

Hi, i was trying to fix ouf zulu for 5.0.4.
1st i want to say that my knownledge about lua is really low.

So this is the problem.
Situation:
- Ouf 1.5.16
- all icons loaded on zulu.lua
- i target myself while in raid or group
while i have all these things my fps falls to 20 instead of 60.
If i remove all icons code on zulu.lua i've no fps problems. So i think this is the main problem and something has been changed on that. After a bit of try i realized that the only problem was about the leader icon code below:

local leader = hp:CreateTexture(nil, "OVERLAY")
leader:SetSize(16, 16)
leader:SetPoint("BOTTOMRIGHT", hp, "TOPLEFT", 10, -6)
self.Leader = leader

hp --> local hp = createStatusbar(self, texture, nil, nil, nil, .1, .1, .1, 1)

i would like if someone with knownledge could help me understanding what's changed on oUF.

for example

local ricon = hp:CreateTexture(nil, 'OVERLAY')
ricon:SetPoint("BOTTOM", hp, "TOP", 0, -7)
ricon:SetSize(16, 16)
self.RaidIcon = ricon

this code for raid icons, the star the quare works fine and it's written in the same way...

ah i forgot to say... while all icons enabled they are all shown in same time on all frames.

Last edited by dartz : 09-01-12 at 04:28 AM.
  Reply With Quote
09-03-12, 05:25 AM   #2
dartz
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 3
Solved:
i'vent understood what changed but i did the following things.

copied the ftags from ouf_freeb and replaced all 'freeb' words with 'zulu'
updated ouf_core at version -> 1.6.0-1

it doesnt give problems anymore.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Ouf Zulu question about icons


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