View Single Post
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