Thread Tools Display Modes
11-07-14, 11:13 AM   #1
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
oUF_Aftermathh issues.

Hey everyone i'm back for now.

Anyway i have some small issues with my oUF Layout.

BossFrames doesn't update unless i target them.

Exp/Rep not working.

Aura Watch timers doesn't work (spiral doesn't count down).

If anyone know how to fix these issues, help would be much appreciated!
  Reply With Quote
11-07-14, 11:41 AM   #2
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Originally Posted by Game92 View Post
Hey everyone i'm back for now.

Anyway i have some small issues with my oUF Layout.

BossFrames doesn't update unless i target them.

Exp/Rep not working.

Aura Watch timers doesn't work (spiral doesn't count down).

If anyone know how to fix these issues, help would be much appreciated!
I'll ask stupid question but, you surely use oUF 1.6.8, eh?

Boss frames should work since 1.6.6, cuz zork fixed em, that'd be sad if they're broken again.

I only use Exp/Rep by p3lim and they work fine.

I dun use AW, but I quess that CD spirals are not inheriting "CooldownFrameTemplate" template on creation, thus I recommend you creating a ticket at his repo, if any, or informing author on the forum.

P.S. I had nothing else to do and checked embeds of your layout. Your Exp and Rep are edited and, I guess, based on old versions, AW is out of date too...
__________________

Last edited by lightspark : 11-07-14 at 12:06 PM.
  Reply With Quote
11-07-14, 01:27 PM   #3
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Originally Posted by lightspark View Post
I'll ask stupid question but, you surely use oUF 1.6.8, eh?

Boss frames should work since 1.6.6, cuz zork fixed em, that'd be sad if they're broken again.

I only use Exp/Rep by p3lim and they work fine.

I dun use AW, but I quess that CD spirals are not inheriting "CooldownFrameTemplate" template on creation, thus I recommend you creating a ticket at his repo, if any, or informing author on the forum.

P.S. I had nothing else to do and checked embeds of your layout. Your Exp and Rep are edited and, I guess, based on old versions, AW is out of date too...

Found out the wrong with the rep/exp bar. Seems to be something wrong with.

self.Reputation:HookScript("OnEnter", function(self) UIFrameFadeIn(self, 1.2, self:GetAlpha(), 1) end)
self.Reputation:HookScript("OnLeave", function(self) UIFrameFadeIn(self, 0.8, self:GetAlpha(), 0) end)

And some tagging issue with exp bar.


Lua Code:
  1. if unit == 'player' then
  2.         if AftermathhUI.ouf.expbar == true then
  3.             self.Experience = CreateFrame('StatusBar', nil, self)
  4.             self.Experience:SetPoint('TOPLEFT', self, 'BOTTOMLEFT', -67, 75)
  5.             self.Experience:SetStatusBarTexture(AftermathhUI.media.texture)
  6.             self.Experience:SetSize(235, 18)
  7.             self.Experience:SetStatusBarColor(0.6, 0, 0.6)
  8.             self.Experience:SetBackdrop({
  9.                 bgFile = AftermathhUI.media.blank,
  10.                 insets = {top = -1, left = -1, bottom = -1, right = -1},
  11.             })
  12.             self.Experience:SetBackdropColor(unpack(AftermathhUI.media.backdropcolor))
  13.            
  14.             --self.Experience:SetAlpha(0)
  15.             --self.Experience:HookScript("OnEnter", function(self) UIFrameFadeIn(self, 1.2, self:GetAlpha(), 1) end)
  16.             --self.Experience:HookScript("OnLeave", function(self) UIFrameFadeOut(self, 0.8, self:GetAlpha(), 0) end)
  17.            
  18.             CreateBorderLight(self.Experience, AftermathhUI.media.bordersize, AftermathhUI.bordercolor, AftermathhUI.bordercolor, AftermathhUI.bordercolor, 3)
  19.            
  20.             self.Experience.Rested = CreateFrame('StatusBar', nil, self)
  21.             self.Experience.Rested:SetParent(self.Experience)
  22.             self.Experience.Rested:SetAllPoints(self.Experience)
  23.             self.Experience.Rested:SetStatusBarTexture(AftermathhUI.media.texture)
  24.             self.Experience.Rested:SetStatusBarColor(0, 144/255, 1)
  25.    
  26.             self.Experience.Text = self.Experience:CreateFontString(nil, 'OVERLAY')
  27.             self.Experience.Text:SetPoint('CENTER', self.Experience)
  28.             self.Experience.Text:SetFont(AftermathhUI.media.font, 12, AftermathhUI.media.fontflag)
  29.             self:Tag(self.Experience.Text, '[curxp]/[maxxp] - [perxp] %')
  30.             if AftermathhUI.media.shadowoffset == true then
  31.                 self.Experience.Text:SetShadowOffset(1, -1)
  32.                 self.Experience.Text:SetShadowColor(0,0,0)
  33.             end
  34.         end
  35.     end


Lua Code:
  1. Message: ...e\AddOns\AftermathhUI\Modules\Unitframes\oUF\ouf.lua:262: Attempted to use invalid tag [curxp].
  2. Time: 11/07/14 20:39:42
  3. Count: 1
  4. Stack: [C]: in function `error'
  5. ...ftermathhUI\Modules\Unitframes\oUF\elements\tags.lua:585: in function `Tag'
  6. ...Modules\Unitframes\oUF_Aftermathh\oUF_Aftermathh.lua:654: in function `styleFunc'
  7. ...e\AddOns\AftermathhUI\Modules\Unitframes\oUF\ouf.lua:262: in function <...e\AddOns\AftermathhUI\Modules\Unitframes\oUF\ouf.lua:192>
  8. (tail call): ?
  9. ...e\AddOns\AftermathhUI\Modules\Unitframes\oUF\ouf.lua:552: in function `Spawn'
  10. ...Modules\Unitframes\oUF_Aftermathh\oUF_Aftermathh.lua:911: in function `func'
  11. ...dOns\AftermathhUI\Modules\Unitframes\oUF\factory.lua:20: in function <...dOns\AftermathhUI\Modules\Unitframes\oUF\factory.lua:16>
  12. (tail call): ?
  13.  
  14. Locals: (*temporary) = "Attempted to use invalid tag [curxp]."

Last edited by Aftermathhqt : 11-07-14 at 01:41 PM.
  Reply With Quote
11-07-14, 02:26 PM   #4
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Originally Posted by Game92 View Post
Found out the wrong with the rep/exp bar. Seems to be something wrong with.

self.Reputation:HookScript("OnEnter", function(self) UIFrameFadeIn(self, 1.2, self:GetAlpha(), 1) end)
self.Reputation:HookScript("OnLeave", function(self) UIFrameFadeIn(self, 0.8, self:GetAlpha(), 0) end)

And some tagging issue with exp bar.
There two function for fading, not one. UIFrameFadeIn and UIFrameFadeOut.

As for exp... Welp. Try using p3lim's oUF_Experience, cuz edited embedded version I've seen doesn't have any tag support.
__________________
  Reply With Quote
11-07-14, 02:32 PM   #5
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Originally Posted by lightspark View Post
There two function for fading, not one. UIFrameFadeIn and UIFrameFadeOut.

As for exp... Welp. Try using p3lim's oUF_Experience, cuz edited embedded version I've seen doesn't have any tag support.

I changed to P3lims latest update of oUF_Experiance.
  Reply With Quote
11-07-14, 03:53 PM   #6
JDoubleU00
A Firelord
 
JDoubleU00's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 463
Originally Posted by Game92 View Post
I changed to P3lims latest update of oUF_Experiance.
Did that work?
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » oUF_Aftermathh 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