Thread Tools Display Modes
02-21-11, 03:35 AM   #1
barbol12
A Cyclonian
 
barbol12's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2010
Posts: 42
unitframe errors???

hey, anyone else having some problems with ouf lately, since late last night??

im getting some weird errors.

lua Code:
  1. 1x oUF-1.5.8\elements\power.lua:47: attempt to index field 'class' (a nil value)
  2.  
  3. 1x <string>:"return function(u)...":4: attempt to index field 'class' (a nil value)
  4.  
  5. 202x <string>:"return function(u)...":4: attempt to index field 'class' (a nil value)


i have not made any changes, to ouf for a few days... and up until like midnight, it was all fine, no errors.. now its all screwed up.
  Reply With Quote
02-21-11, 04:54 AM   #2
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
1. Have you made any modifications to the oUF core?
2. What layout do you use? (if you've made modifications post the code)
3. Do you use !ClassColors?
4. What other add-ons do you use?
5. Can you provide the errors with full debug stack? (use a proper error report add-on, or the default UI one)

oUF.colors.class should be a table, and not nil as it is in your case. By the looks of it you've somehow managed to do: oUF.colors.class = nil, or self.colors.class = nil.

(sent from my phone)
__________________
「貴方は1人じゃないよ」
  Reply With Quote
02-21-11, 03:58 PM   #3
barbol12
A Cyclonian
 
barbol12's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2010
Posts: 42
only change that i made to the core, was threat coloring...

i made it this....
lua Code:
  1. if(status and status > 0) then
  2.         local r, g, b = GetThreatStatusColor(status)
  3.         threat:SetBackdropBorderColor(r, g, b)
  4.         threat:Show()
  5.     else

instead of...
lua Code:
  1. if(status and status > 0) then
  2.         local r, g, b = GetThreatStatusColor(status)
  3.         threat:SetVertexColor(r, g, b)
  4.         threat:Show()
  5.     else
just so that the threat element fitted with the way i had my threat coding setup



i even switched back to my older version of my oUF. where i had no issues with it... but it still did the same thing. if you want the entire coding of my oUF, here it is.........
lua Code:
  1. local statusbar = "Interface\\AddOns\\oUF_Barbol\\media\\statusbar.tga"
  2. local statusbar2 = "Interface\\AddOns\\oUF_Barbol\\media\\status.tga"
  3. local fontn = "Interface\\AddOns\\oUF_Barbol\\media\\Prototype.ttf"
  4. local font = "Interface\\AddOns\\oUF_Barbol\\media\\Font.ttf"
  5. local iconborder = "Interface\\AddOns\\oUF_Barbol\\media\\iconborder.tga"
  6.  
  7.  
  8. local backdrop = {
  9.     bgFile = "Interface\\AddOns\\oUF_Barbol\\media\\back.tga",
  10.     insets = {top = -1.3, left = -1.3, bottom = -1.3, right = -1.3},
  11. }
  12. local backdrop2 = {
  13.     bgFile = "Interface\\AddOns\\oUF_Barbol\\media\\back.tga",
  14.     insets = {top = -1, left = -1, bottom = -1, right = -1},
  15. }
  16. local statusback = {
  17.     bgFile = "Interface\\AddOns\\oUF_Barbol\\media\\statusbar.tga",
  18.     insets = {top = 0, left = 0, bottom = 0, right = 0},
  19. }
  20. local statusback2 = {
  21.     bgFile = "Interface\\AddOns\\oUF_Barbol\\media\\status.tga",
  22.     insets = {top = 0, left = 0, bottom = 0, right = 0},
  23. }
  24. local castback = {
  25.     bgFile = "Interface\\AddOns\\oUF_Barbol\\media\\status.tga",
  26.           edgeFile = "Interface\\Buttons\\WHITE8x8",
  27.           tile = false, tileSize = 0, edgeSize = 4,
  28.           insets = { left = -1, right = -1, top = -1, bottom = -1}
  29. }
  30. local backdrop3 = {
  31.           bgFile =  [=[Interface\ChatFrame\ChatFrameBackground]=],
  32.           edgeFile = "Interface\\Buttons\\WHITE8x8",
  33.           tile = false, tileSize = 0, edgeSize = 1,
  34.           insets = { left = -1, right = -1, top = -1, bottom = -1}
  35. }
  36.  
  37.  
  38. local buffborder = "Interface\\AddOns\\oUF_Barbol\\media\\Border.tga"
  39. local buffer = "Interface\\AddOns\\oUF_Barbol\\media\\overlay.tga"
  40. local bordertwo = "Interface\\AddOns\\oUF_Barbol\\media\\buffborder.tga"
  41. local threatbord = {edgeFile = "Interface\\Buttons\\WHITE8x8", edgeSize = 1}
  42.  
  43. ------------- TAGS -------
  44. --------------------------
  45. oUF.Tags["My_PerHP"] = function(unit)
  46.  
  47.     local curhp, maxhp = UnitHealth(unit), UnitHealthMax(unit);
  48.  
  49.     if ((maxhp > 0) and (curhp < maxhp)) then
  50.  
  51.         return math.floor((curhp / maxhp * 100 + 0.05) * 10)/10 .. '%'; -- by myno
  52.  
  53.     end
  54.  
  55. end;
  56. oUF.TagEvents["My_PerHP"] = oUF.TagEvents.perhp;
  57.  
  58. oUF.Tags["target_CurHP"] = function(unit)
  59.  
  60.     local curhp = UnitHealth(unit);
  61.  
  62.     if (curhp >= 1e6) then
  63.  
  64.         return string.format("%.1fm", curhp / 1e6);
  65.  
  66.     elseif (curhp >= 1e3) then
  67.  
  68.         return string.format("%.1fk", curhp / 1e3);
  69.  
  70.     else
  71.  
  72.         return curhp;
  73.  
  74.     end
  75.  
  76. end;
  77. oUF.TagEvents["target_CurHP"] = oUF.TagEvents.perhp;
  78.  
  79. oUF.Tags["My_CurHP"] = function(unit)
  80.  
  81.     local curhp = UnitHealth(unit);
  82.  
  83.     if (curhp >= 1e6) then
  84.  
  85.         return string.format(curhp);
  86.  
  87.     elseif (curhp >= 1e3) then
  88.  
  89.         return string.format(curhp);
  90.  
  91.     else
  92.  
  93.         return curhp;
  94.  
  95.     end
  96.  
  97. end;
  98. oUF.TagEvents["My_CurHP"] = oUF.TagEvents.perhp;
  99.  
  100. oUF.Tags["My_MaxHP"] = function(unit)
  101.  
  102.     local curhp = UnitHealthMax(unit);
  103.  
  104.     if (curhp >= 1e6) then
  105.  
  106.         return string.format("%.1fm", curhp / 1e6);
  107.  
  108.     elseif (curhp >= 1e3) then
  109.  
  110.         return string.format("%.1fk", curhp / 1e3);
  111.  
  112.     else
  113.  
  114.         return curhp;
  115.  
  116.     end
  117.  
  118. end;
  119. oUF.TagEvents["My_MaxHP"] = oUF.TagEvents.perhp;
  120.  
  121. oUF.Tags["My_HP"] = function(unit)
  122.  
  123.     local s = Status(unit)
  124.     if s then return s end
  125.     return "%s",HP(unit)
  126. end;
  127. oUF.TagEvents["My_HP"] = oUF.TagEvents.perhp;
  128.  
  129. ------- ICONS -----
  130. -------------------
  131.  
  132. local createRaidIcon = function(self)
  133.     self.RaidIcon = self.Health:CreateTexture(nil, "OVERLAY")
  134.     self.RaidIcon:SetTexture("Interface\\AddOns\\oUF_Barbol\\media\\raidicons.blp")
  135.     self.RaidIcon:SetSize(15, 15)
  136. end
  137.  
  138. ------- FREQ UPDATE ----
  139. -----------------------
  140. local FreqUpdate = 0.1
  141.  
  142.  
  143.  
  144. ------- MENU ----
  145. -----------------
  146.   local dropdown = CreateFrame("Frame", "MyAddOnUnitDropDownMenu", UIParent, "UIDropDownMenuTemplate")
  147.  
  148.   UIDropDownMenu_Initialize(dropdown, function(self)
  149.     local unit = self:GetParent().unit
  150.     if not unit then return end  
  151.     local menu, name, id
  152.     if UnitIsUnit(unit, "player") then
  153.       menu = "SELF"
  154.     elseif UnitIsUnit(unit, "vehicle") then
  155.       menu = "VEHICLE"
  156.     elseif UnitIsUnit(unit, "pet") then
  157.       menu = "PET"
  158.     elseif UnitIsPlayer(unit) then
  159.       id = UnitInRaid(unit)
  160.       if id then
  161.         menu = "RAID_PLAYER"
  162.         name = GetRaidRosterInfo(id)
  163.       elseif UnitInParty(unit) then
  164.         menu = "PARTY"
  165.       else
  166.         menu = "PLAYER"
  167.       end
  168.     else
  169.       menu = "TARGET"
  170.       name = RAID_TARGET_ICON
  171.     end
  172.     if menu then
  173.       UnitPopup_ShowMenu(self, menu, unit, name, id)
  174.     end
  175.   end, "MENU")
  176.  
  177.   menu = function(self)
  178.     dropdown:SetParent(self)
  179.     ToggleDropDownMenu(1, nil, dropdown, "cursor", 0, 0)
  180.   end
  181.  
  182.  ---------- AGGRO -----
  183.  ----------------------
  184.  
  185. updateAggro = function(self, event, unit)
  186.     if (self.unit ~= unit) then return end
  187.    
  188.     local status = UnitThreatSituation(unit)
  189.     unit = unit or self.unit
  190.    
  191.     if status and status > 1 then
  192.         local r, g, b = GetThreatStatusColor(status)
  193.         self.Threat:Show()
  194.         self.Threat:SetBackdropBorderColor(r, g, b, 1)
  195.     else
  196.         self.Threat:SetBackdropBorderColor(r, g, b, 0)
  197.         self.Threat:Hide()
  198.     end
  199. end
  200.  
  201.  
  202.  ---------- BUFFBORDER ---
  203.  -------------------------
  204.  
  205.   local PostCreateIcon = function(this, aura)
  206.  
  207.   aura.overlay:SetTexture(buffborder)
  208.   aura.overlay:SetTexCoord(0.948, 0.05, 0.93, 0.06)
  209.   aura.overlay.Hide = function(self) self:SetVertexColor(.4,.4,.4) end
  210.  
  211. end
  212.  
  213.  
  214. ------- LAYOUT ------
  215. ---------------------
  216.  
  217. local Shared = function(self, unit, isSingle)
  218.         self.colors = colors
  219.         self.menu = menu
  220.         self:RegisterForClicks('AnyDown')
  221.         self:SetAttribute('*type2', 'menu')
  222.         self:SetScript('OnEnter', UnitFrame_OnEnter)
  223.         self:SetScript('OnLeave', UnitFrame_OnLeave)
  224.        
  225.     if(isSingle) then
  226.         self:SetSize(220, 35)
  227.     end
  228. end
  229.  
  230. local Player = function(self)
  231.     self:SetSize(230, 40)
  232.    
  233.     ------ BACKGROUND ---
  234.     ---------------------
  235.         Back = CreateFrame('Frame', nil, self)
  236.         Back:SetPoint('TOPRIGHT', self)
  237.         Back:SetPoint('TOPLEFT', self)
  238.         Back:SetFrameStrata('BACKGROUND')
  239.         Back:SetBackdrop(backdrop3)
  240.         Back:SetBackdropColor(0.05, 0.05, 0.05)
  241.         Back:SetBackdropBorderColor(0.4, 0.4, 0.4)
  242.         Back:SetHeight(40)
  243.        
  244.     ---------- HEALTH -------
  245.     -------------------------
  246.    
  247.         ------ BAR ------
  248.         -----------------
  249.         self.Health = CreateFrame('StatusBar', nil, Back)
  250.         self.Health:SetBackdrop(statusback2)
  251.         self.Health:SetBackdropColor(0.7, 0.7, 0.7)
  252.         self.Health:SetFrameStrata('LOW')
  253.         self.Health:SetPoint('TOPRIGHT', self, -2, -2)
  254.         self.Health:SetPoint('TOPLEFT', self, 2, -2)
  255.         self.Health:SetStatusBarTexture(statusbar2)
  256.         self.Health:SetStatusBarColor(0.28,0.28,0.28)
  257.         self.Health.frequentUpdates = FreqUpdate
  258.         self.Health.Smooth = cSmooth
  259.         self.Health:SetHeight(28)
  260.         self.Health.colorClass = false
  261.        
  262.             ------- TEXT BOTTOM NUMBER ----
  263.             -------------------------------
  264.         self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  265.         self.Health.Text:SetFont(fontn, 24, 'THINOUTLINE')
  266.         self:Tag(self.Health.Text,'[My_CurHP]|r')
  267.         self.Health.Text:SetShadowOffset(1, -1)
  268.         self.Health.Text.frequentUpdates = FreqUpdate
  269.         self.Health.Text:SetJustifyH('LEFT')
  270.         self.Health.Text:SetPoint('TOPLEFT',self.Health,'BOTTOMLEFT', 0, -11)
  271.        
  272.         --------TEXT PERCENT ----
  273.         -------------------------
  274.         self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  275.         self.Health.Text:SetFont(fontn, 16, 'THINOUTLINE')
  276.         self.Health.Text:SetShadowOffset(1, -1)
  277.         self.Health.Text.frequentUpdates = FreqUpdate
  278.         self:Tag(self.Health.Text,'[My_PerHP]|r')
  279.         self.Health.Text:SetJustifyH('CENTER')
  280.         self.Health.Text:SetPoint('RIGHT',self, -14, 3)
  281.    
  282.     ----------------- POWER ----------
  283.     ----------------------------------
  284.    
  285.         --------- BAR ------
  286.         --------------------
  287.         self.Power = CreateFrame('StatusBar', nil, Back)
  288.         self.Power:SetFrameStrata('LOW')
  289.         self.Power:SetPoint('TOPRIGHT', self.Health, 'BOTTOMRIGHT', 0, -1)
  290.         self.Power:SetPoint('TOPLEFT', self.Health, 'BOTTOMLEFT', 0, -1)
  291.         self.Power:SetStatusBarTexture(statusbar2)
  292.         self.Power:SetStatusBarColor(0.28, 0.28, 0.28)
  293.         self.Power.frequentUpdates = FreqUpdate
  294.         self.Power.Smooth = cSmooth
  295.         self.Power:SetHeight(7)
  296.         self.Power.colorClass = true
  297.        
  298.         powerback = self.Power:CreateTexture(nil,'BORDER')
  299.         powerback:SetAllPoints(self.Power)
  300.         powerback:SetTexture(statusbar2)
  301.         powerback:SetAlpha(0.54)
  302.         powerback.multiplier = 1
  303.        
  304.         self.Power.bg = powerback
  305.        
  306.        
  307.         ------ POWER TEXT ----
  308.         ----------------------
  309.         self.Power.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  310.         self.Power.Text:SetFont(fontn, 20, 'THINOUTLINE')
  311.         self.Power.Text:SetShadowOffset(1, -1)
  312.         self.Power.Text.frequentUpdates = FreqUpdate
  313.         self:Tag(self.Power.Text,'[raidcolor] [curpp]|r')      
  314.         self.Power.Text:SetJustifyH('LEFT')
  315.         self.Power.Text:SetPoint('TOPLEFT',self.Health,'BOTTOMLEFT', -5, -31)
  316.  
  317.        
  318.     --------- AGGRO -----
  319.     ---------------------
  320.        
  321.         self.Threat = CreateFrame("Frame", nil, self)
  322.         self.Threat:SetPoint('TOPRIGHT', self)
  323.         self.Threat:SetPoint('TOPLEFT', self)
  324.         self.Threat:SetBackdrop(threatbord)
  325.         self.Threat:SetFrameLevel(1)
  326.         self.Threat:SetHeight(40)
  327.         self.Threat:Show() 
  328.        
  329.         self:RegisterEvent("UNIT_THREAT_LIST_UPDATE", updateAggro)
  330.         self:RegisterEvent("UNIT_THREAT_SITUATION_UPDATE", updateAggro)
  331.  
  332.     ----------------- ICONS ----------
  333.     ----------------------------------
  334.  
  335.         --------- LEADER -------
  336.         ------------------------
  337.         self.Leader = self.Health:CreateTexture(nil, 'OVERLAY')
  338.         self.Leader:SetPoint('RIGHT', self, 1, -5 )
  339.         self.Leader:SetHeight(14)
  340.         self.Leader:SetWidth(14)
  341.  
  342.         ------- MASTERLOOTER ------
  343.         ---------------------------
  344.         self.MasterLooter = self.Health:CreateTexture(nil, 'OVERLAY')
  345.         self.MasterLooter:SetPoint('RIGHT', self, 9, -14 )
  346.         self.MasterLooter:SetHeight(11)
  347.         self.MasterLooter:SetWidth(11)
  348.        
  349.         ------- PVP FLAG -----
  350.         ----------------------
  351.         self.PvP = self.Health:CreateTexture(nil, 'OVERLAY')
  352.         self.PvP:SetPoint('BOTTOMLEFT', self, 0, 0)
  353.         self.PvP:SetHeight(25)
  354.         self.PvP:SetWidth(25)
  355.        
  356.         ------- COMBAT -------
  357.         ----------------------
  358.         self.Combat = self.Health:CreateTexture(nil, 'OVERLAY')
  359.         self.Combat:SetPoint('RIGHT', self, 9, -20)
  360.         self.Combat:SetHeight(25)
  361.         self.Combat:SetWidth(25)
  362.            
  363.     --------- COMBO POINTS ---------
  364.     --------------------------------
  365.             self.CPoints = CreateFrame("Frame", nil, self)
  366.             self.CPoints:SetPoint("TOPLEFT", self.Health, "TOPLEFT",0, 0)
  367.             self.CPoints:SetHeight(5)
  368.             self.CPoints:SetWidth(165/5)
  369.             for i = 1, 5 do
  370.                 self.CPoints[i] = CreateFrame("StatusBar", nil, self)
  371.                 self.CPoints[i]:SetStatusBarTexture(statusbar)
  372.                 self.CPoints[i]:SetHeight(5)
  373.                 self.CPoints[i]:SetWidth(165/5)
  374.                 self.CPoints[i]:SetBackdrop(backdrop2)
  375.                 self.CPoints[i]:SetBackdropColor(0, 0, 0)
  376.                 if i == 1 then
  377.                     self.CPoints[i]:SetPoint("TOPRIGHT", self.Health, "TOPRIGHT", 0, 0)
  378.                 else
  379.                     self.CPoints[i]:SetPoint("RIGHT", self.CPoints[i-1], "LEFT", -1, 0)
  380.                 end
  381.                 if i == 5 then
  382.                     self.CPoints[i]:SetStatusBarColor(1, 0.3, 0)
  383.                 else
  384.                     self.CPoints[i]:SetStatusBarColor(1, 0.3, 0)
  385.                 end
  386.             end
  387.        
  388.         local _, class = UnitClass("player")
  389.         if class == "DEATHKNIGHT" then
  390.             self.Runes = CreateFrame("Frame", nil, self)
  391.             self.Runes:SetPoint("TOPLEFT", self.Health, "TOPLEFT", 0, 0)
  392.             self.Runes:SetHeight(5)
  393.             self.Runes:SetWidth(95/6)
  394.             for i = 1, 6 do
  395.                 self.Runes[i] = CreateFrame("StatusBar", nil, self)
  396.                 self.Runes[i]:SetStatusBarTexture(statusbar)
  397.                 self.Runes[i]:SetHeight(5)
  398.                 self.Runes[i]:SetWidth(221/6)
  399.                 self.Runes[i]:SetBackdrop(backdrop2)
  400.                 self.Runes[i]:SetBackdropColor(0, 0, 0)
  401.                 if i == 1 then
  402.                     self.Runes[i]:SetPoint("TOPLEFT", self.Health, "TOPLEFT", 189, 0)
  403.                 else
  404.                     self.Runes[i]:SetPoint("RIGHT", self.Runes[i-1], "LEFT", -1, 0)
  405.                 end
  406.  
  407.                 self.Runes[i].bg = self.Runes[i]:CreateTexture(nil, "BORDER")
  408.                 self.Runes[i].bg:SetAllPoints(self.Runes[i])
  409.                 self.Runes[i].bg:SetTexture(statusbar)
  410.                 self.Runes[i].bg.multiplier = 0.3
  411.             end
  412.         end
  413.        
  414.     ---------- SOULSHARDS --------
  415.     ------------------------------
  416.         local _, class = UnitClass('player')
  417.         if class == "WARLOCK" then
  418.             self.SoulShards = CreateFrame("Frame", nil, self)
  419.             self.SoulShards:SetPoint("TOPLEFT", self.Health, "TOPLEFT", 0, 0)
  420.             self.SoulShards:SetSize((120/3), 5)
  421.             for i = 1, 3 do
  422.                 self.SoulShards[i] = CreateFrame("StatusBar", nil, self)
  423.                 self.SoulShards[i]:SetStatusBarTexture(statusbar)
  424.                 self.SoulShards[i]:SetStatusBarColor(0.8, 0.3, .86)
  425.                 self.SoulShards[i]:SetSize((120/3), 5)
  426.                 self.SoulShards[i]:SetBackdrop(backdrop2)
  427.                 self.SoulShards[i]:SetBackdropColor(0, 0, 0)
  428.                 if i == 1 then
  429.                     self.SoulShards[i]:SetPoint("TOPRIGHT", self.Health, "TOPRIGHT", 0, 0)
  430.                 else
  431.                     self.SoulShards[i]:SetPoint("RIGHT", self.SoulShards[i-1], "LEFT", -1, 0)
  432.                 end
  433.             end
  434.         end
  435.            
  436.         -------- HOLYPOWER -------
  437.         --------------------------
  438.         local _, class = UnitClass('player')
  439.         if class == "PALADIN" then
  440.             self.HolyPower = CreateFrame("Frame", nil, self)
  441.             self.HolyPower:SetPoint("TOPRIGHT", self.Health, "TOPRIGHT", 0, 0)
  442.             self.HolyPower:SetSize((120/3), 5)
  443.             for i = 1, 3 do
  444.                 self.HolyPower[i] = CreateFrame("StatusBar", nil, self)
  445.                 self.HolyPower[i]:SetStatusBarTexture(statusbar)
  446.                 self.HolyPower[i]:SetStatusBarColor(1, 0.9, 0.45)
  447.                 self.HolyPower[i]:SetSize((120/3), 5)
  448.                 self.HolyPower[i]:SetBackdrop(backdrop2)
  449.                 self.HolyPower[i]:SetBackdropColor(0, 0, 0)
  450.                 if i == 1 then
  451.                     self.HolyPower[i]:SetPoint("TOPRIGHT", self.Health, "TOPRIGHT", 0, 0)
  452.                 else
  453.                     self.HolyPower[i]:SetPoint("RIGHT", self.HolyPower[i-1], "LEFT", -1, 0)
  454.                 end
  455.             end
  456.         end
  457.        
  458.     --------- ECLIPSE BAR -------
  459.     -----------------------------
  460.             local _, class = UnitClass('player')
  461.         if class == 'DRUID' then
  462.             self.EclipseBar = CreateFrame('Frame', nil, self)
  463.             self.EclipseBar:SetPoint("TOPLEFT", self.Health, "TOPLEFT", 0, 0)
  464.             self.EclipseBar:SetSize(150, 5)
  465.             self.EclipseBar:SetBackdrop(backdrop)
  466.             self.EclipseBar:SetBackdropColor(0, 0, 0)
  467.  
  468.             self.EclipseBar.LunarBar = CreateFrame('StatusBar', nil, self.EclipseBar)
  469.             self.EclipseBar.LunarBar:SetPoint('LEFT', self.EclipseBar, 'LEFT', 0, 0)
  470.             self.EclipseBar.LunarBar:SetSize(150, 5)
  471.             self.EclipseBar.LunarBar:SetStatusBarTexture(statusbar)
  472.             self.EclipseBar.LunarBar:SetStatusBarColor(0, .7, 1)
  473.             self.EclipseBar.LunarBar.frequentUpdates = FreqUpdate
  474.    
  475.             self.EclipseBar.SolarBar = CreateFrame('StatusBar', nil, self.EclipseBar)
  476.             self.EclipseBar.SolarBar:SetPoint('LEFT', self.EclipseBar.LunarBar:GetStatusBarTexture(), 'RIGHT', 0, 0)
  477.             self.EclipseBar.SolarBar:SetSize(150, 5)
  478.             self.EclipseBar.SolarBar:SetStatusBarTexture(statusbar)
  479.             self.EclipseBar.SolarBar:SetStatusBarColor(1, 3/5, 0)
  480.             self.EclipseBar.SolarBar.frequentUpdates = FreqUpdate
  481.             self.EclipseBarText = self.EclipseBar.SolarBar:CreateFontString(nil, 'OVERLAY')
  482.             self.EclipseBarText:SetPoint('CENTER', self.EclipseBar, 'CENTER', 0, 0)
  483.             self.EclipseBarText:SetFont(fontn, 9, 'THINOUTLINE')
  484.             self:Tag(self.EclipseBarText, '[pereclipse]')
  485.         end
  486.        
  487.         -------- TOTEMBAR -------
  488.         -------------------------
  489.         local _, class = UnitClass('player')
  490.         if IsAddOnLoaded("oUF_TotemBar") and class == "SHAMAN" then
  491.             self.TotemBar = {}
  492.             self.TotemBar.Destroy = true
  493.             for i = 1, 4 do
  494.                 self.TotemBar[i] = CreateFrame("StatusBar", nil, self)
  495.                 self.TotemBar[i]:SetStatusBarTexture(statusbar)
  496.                 self.TotemBar[i]:SetBackdrop(backdrop2)
  497.                 self.TotemBar[i]:SetBackdropColor(0, 0, 0)
  498.                 self.TotemBar[i]:SetHeight(5)
  499.                 self.TotemBar[i]:SetWidth(160/4)
  500.                 self.TotemBar[i]:SetMinMaxValues(0, 1)
  501.                 if i == 1 then
  502.                     self.TotemBar[i]:SetPoint("TOPLEFT", self.Health, "TOPLEFT", 123, 0)
  503.                 else
  504.                     self.TotemBar[i]:SetPoint("RIGHT", self.TotemBar[i-1], "LEFT", -1, 0)
  505.                 end
  506.  
  507.                 self.TotemBar[i].bg = self.TotemBar[i]:CreateTexture(nil, "BORDER")
  508.                 self.TotemBar[i].bg:SetAllPoints(self.TotemBar[i])
  509.                 self.TotemBar[i].bg:SetTexture(statusbar)
  510.                 self.TotemBar[i].bg.multiplier = 0.3
  511.             end
  512.         end
  513.        
  514.     ------------- CASTBAR -------
  515.     -----------------------------
  516.    
  517.  
  518.         ------- BAR -----
  519.         -----------------
  520.         local cb = CreateFrame('StatusBar', nil, self)
  521.         cb:SetBackdrop(statusback2)
  522.         cb:SetBackdropColor( .7,.7,.7)
  523.         cb:SetFrameStrata('BACKGROUND')
  524.         cb:SetFrameLevel(10)
  525.         cb:SetWidth(283)
  526.         cb:SetHeight(20)
  527.         cb:SetPoint('CENTER', self, 295, -155)
  528.         cb:SetStatusBarTexture(statusbar2)
  529.         cb:SetStatusBarColor(0.28,0.28,0.28)
  530.         self.Castbar = cb
  531.        
  532.         cb.bg = CreateFrame('Frame', nil, cb)
  533.         cb.bg:SetBackdrop(backdrop3)
  534.         cb.bg:SetBackdropColor(.05,.05,.05)
  535.         cb.bg:SetBackdropBorderColor(.4,.4,.4)
  536.         cb.bg:SetPoint('TOPRIGHT', cb, 2, 2)
  537.         cb.bg:SetPoint('BOTTOMLEFT', cb, -2, -2)
  538.         cb.bg:SetFrameStrata('BACKGROUND')
  539.         cb.bg:SetFrameLevel(5)
  540.        
  541.         ------ ICON -----
  542.         -----------------
  543.  
  544.         iconbg = CreateFrame('Frame', nil, cb)
  545.         iconbg:SetBackdrop(backdrop3)
  546.         iconbg:SetBackdropColor(.05,.05,.05)
  547.         iconbg:SetBackdropBorderColor(.4,.4,.4)
  548.         iconbg:SetPoint('LEFT', cb, 'LEFT', -28, 0)
  549.         iconbg:SetWidth(24)
  550.         iconbg:SetHeight(24)
  551.        
  552.         self.Castbar.Icon = iconbg:CreateTexture(nil, 'ARTWORK')
  553.         self.Castbar.Icon:SetPoint('BOTTOMLEFT', iconbg, 1, 1)
  554.         self.Castbar.Icon:SetPoint('TOPRIGHT', iconbg, -1, -1)
  555.         self.Castbar.Icon:SetTexCoord(0.08, 0.92, 0.08, .92)
  556.        
  557.         ------- SPELL TEXT ----
  558.         -----------------------
  559.         self.Castbar.Text = self.Castbar:CreateFontString(nil, 'OVERLAY')
  560.         self.Castbar.Text:SetFont(fontn, 11, 'THINOUTLINE')
  561.         self.Castbar.Text:SetPoint('LEFT', cb,'LEFT', 0, 0)
  562.         self.Castbar.Text:SetWidth(200)
  563.         self.Castbar.Text:SetTextColor(1,1,1)
  564.         self.Castbar.Text:SetJustifyH('LEFT')
  565.  
  566.         ---------- TIME ------
  567.         ----------------------
  568.         self.Castbar.Time = self.Castbar:CreateFontString(nil, 'OVERLAY')
  569.         self.Castbar.Time:SetFont(fontn, 12, 'THINOUTLINE')
  570.         self.Castbar.Time:SetPoint('RIGHT', cb,'RIGHT',0, 0)
  571.         self.Castbar.Time:SetWidth(50)
  572.         self.Castbar.Time:SetTextColor(1,1,1)
  573.         self.Castbar.Time:SetJustifyH('RIGHT')
  574. end
  575.  
  576. local Party = function(self)
  577.     self:SetSize(220, 35)
  578.    
  579.     ------ BACKGROUND ---
  580.     ---------------------
  581.         Back = CreateFrame('Frame', nil, self)
  582.         Back:SetPoint('TOPRIGHT', self)
  583.         Back:SetPoint('TOPLEFT', self)
  584.         Back:SetFrameStrata('BACKGROUND')
  585.         Back:SetBackdrop(backdrop3)
  586.         Back:SetBackdropColor(0.05, 0.05, 0.05)
  587.         Back:SetBackdropBorderColor(0.4, 0.4, 0.4)
  588.         Back:SetHeight(35)
  589.    
  590.     ---------- HEALTH -------
  591.     -------------------------
  592.    
  593.         ------ BAR ------
  594.         -----------------
  595.         self.Health = CreateFrame('StatusBar', nil, Back)
  596.         self.Health:SetBackdrop(statusback2)
  597.         self.Health:SetBackdropColor(0.7,0.7,0.7)
  598.         self.Health:SetFrameStrata('LOW')
  599.         self.Health:SetPoint('TOPRIGHT', self, -2, -2)
  600.         self.Health:SetPoint('TOPLEFT', self, 2, -2)
  601.         self.Health:SetStatusBarTexture(statusbar2)
  602.         self.Health:SetStatusBarColor(0.28,0.28,0.28)
  603.         self.Health.frequentUpdates = FreqUpdate
  604.         self.Health.Smooth = cSmooth
  605.         self.Health:SetHeight(23)
  606.         self.Health.colorClass = false
  607.        
  608.         --------TEXT PERCENT ----
  609.         -------------------------
  610.         self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  611.         self.Health.Text:SetFont(fontn, 15, 'THINOUTLINE')
  612.         self.Health.Text:SetShadowOffset(1, -1)
  613.         self.Health.Text.frequentUpdates = FreqUpdate
  614.         self:Tag(self.Health.Text,'[My_PerHP]|r')
  615.         self.Health.Text:SetJustifyH('CENTER')
  616.         self.Health.Text:SetPoint('CENTER',self, 10, 4)
  617.        
  618.         -------- OFFLINE ----
  619.         ---------------------
  620.         self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  621.         self.Health.Text:SetFont(fontn, 13, 'THINOUTLINE')
  622.         self.Health.Text:SetShadowOffset(1, -1)
  623.         self.Health.Text.frequentUpdates = FreqUpdate
  624.         self:Tag(self.Health.Text,'[offline]|r')
  625.         self.Health.Text:SetJustifyH('CENTER')
  626.         self.Health.Text:SetPoint('BOTTOMRIGHT',self.Health,'BOTTOMRIGHT', 0, -17)
  627.    
  628.     ----------------- POWER ----------
  629.     ----------------------------------
  630.    
  631.         --------- BAR ------
  632.         --------------------
  633.         self.Power = CreateFrame('StatusBar', nil, Back)
  634.         self.Power:SetFrameStrata('LOW')
  635.         self.Power:SetPoint('TOPRIGHT', self.Health, 'BOTTOMRIGHT', 0, -1)
  636.         self.Power:SetPoint('TOPLEFT', self.Health, 'BOTTOMLEFT', 0, -1)
  637.         self.Power:SetStatusBarTexture(statusbar2)
  638.         self.Power:SetStatusBarColor(0.28,0.28,0.28)
  639.         self.Power.frequentUpdates = FreqUpdate
  640.         self.Power.Smooth = cSmooth
  641.         self.Power:SetHeight(7)
  642.         self.Power.colorClass = true
  643.        
  644.         powerback = self.Power:CreateTexture(nil,'BORDER')
  645.         powerback:SetAllPoints(self.Power)
  646.         powerback:SetTexture(statusbar2)
  647.         powerback:SetAlpha(0.54)
  648.         powerback.multiplier = 1
  649.        
  650.         self.Power.bg = powerback
  651.        
  652.     --------- AGGRO -----
  653.     ---------------------
  654.        
  655.         self.Threat = CreateFrame("Frame", nil, Back)
  656.         self.Threat:SetPoint('TOPRIGHT', self)
  657.         self.Threat:SetPoint('TOPLEFT', self)
  658.         self.Threat:SetBackdrop(threatbord)
  659.         self.Threat:SetHeight(35)
  660.         self.Threat:SetBackdropBorderColor(.4,.4,.4)
  661.         self.Threat.frequentUpdates = FreqUpdate
  662.         self.Threat:Show() 
  663.        
  664.         self:RegisterEvent("UNIT_THREAT_LIST_UPDATE", updateAggro)
  665.         self:RegisterEvent("UNIT_THREAT_SITUATION_UPDATE", updateAggro)
  666.        
  667.     --------- NAME -------
  668.     ----------------------
  669.    
  670.         self.Info = self.Health:CreateFontString(nil, 'OVERLAY')
  671.         self.Info:SetShadowOffset(1, -1)
  672.         self.Info:SetAlpha(1)
  673.         self.Info:SetFont(fontn, 15, 'THINOUTLINE')
  674.         self:Tag(self.Info,'[raidcolor] [name]' )
  675.         self.Info:SetJustifyH('LEFT')
  676.         self.Info:SetPoint('LEFT',self.Health,'LEFT', -1, 12)
  677.        
  678.     --------- RANGE ------
  679.     ----------------------
  680.         self.Range = {  insideAlpha = 1, outsideAlpha = .4 }
  681.  
  682.     ----------------- ICONS ----------
  683.     ----------------------------------
  684.  
  685.         --------- LEADER -------
  686.         ------------------------
  687.         self.Leader = self.Health:CreateTexture(nil, 'OVERLAY')
  688.         self.Leader:SetPoint("BOTTOMLEFT", self.Health,'BOTTOMLEFT', 0, 0)
  689.         self.Leader:SetHeight(14)
  690.         self.Leader:SetWidth(14)
  691.        
  692.         ------- RAID ICONS ------
  693.         -------------------------
  694.         createRaidIcon(self)
  695.         self.RaidIcon:SetPoint("TOP", self.Health, "TOP", 9, 8)
  696.            
  697.         ------- READY CHECK ------
  698.         --------------------------
  699.         self.ReadyCheck = self.Health:CreateTexture(nil, 'OVERLAY')
  700.         self.ReadyCheck:SetPoint("BOTTOMLEFT", self.Health,'RIGHT', 0, 0)
  701.         self.ReadyCheck:SetHeight(18)
  702.         self.ReadyCheck:SetWidth(18)
  703.            
  704.         ------- LFD ROLE ------
  705.         -----------------------
  706.         self.LFDRole = self.Health:CreateTexture(nil, 'OVERLAY')
  707.         self.LFDRole:SetPoint("RIGHT", self.Health,'LEFT', 0, 0)
  708.         self.LFDRole:SetHeight(17)
  709.         self.LFDRole:SetWidth(17)
  710. end
  711.    
  712. local Target = function(self)
  713.     self:SetSize(230, 40)
  714.    
  715.     ------ BACKGROUND ---
  716.     ---------------------
  717.    
  718.         Back = CreateFrame('Frame', nil, self)
  719.         Back:SetPoint('TOPRIGHT', self)
  720.         Back:SetPoint('TOPLEFT', self)
  721.         Back:SetFrameStrata('BACKGROUND')
  722.         Back:SetBackdrop(backdrop3)
  723.         Back:SetBackdropColor(0.05, 0.05, 0.05)
  724.         Back:SetBackdropBorderColor(.4,.4,.4)
  725.         Back:SetHeight(40)
  726.        
  727.     ---------- HEALTH -------
  728.     -------------------------
  729.    
  730.         ------ BAR ------
  731.         -----------------
  732.         self.Health = CreateFrame('StatusBar', nil, Back)
  733.         self.Health:SetBackdrop(statusback2)
  734.         self.Health:SetBackdropColor(0.7,0.7,0.7)
  735.         self.Health:SetFrameStrata('LOW')
  736.         self.Health:SetPoint('TOPLEFT', self, 2, -2)
  737.         self.Health:SetPoint('TOPRIGHT', self, -2, -2)
  738.         self.Health:SetStatusBarTexture(statusbar2)
  739.         self.Health:SetStatusBarColor(0.28,0.28,0.28)
  740.         self.Health.frequentUpdates = FreqUpdate
  741.         self.Health.Smooth = cSmooth
  742.         self.Health:SetHeight(28)
  743.         self.Health.colorClass = false
  744.  
  745.         -------- TEXT NUMBER ---
  746.         ------------------------
  747.         self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  748.         self.Health.Text:SetFont(fontn, 14, 'THINOUTLINE')
  749.         self:Tag(self.Health.Text,'[target_CurHP] / [My_MaxHP]|r')
  750.         self.Health.Text:SetShadowOffset(1, -1)
  751.         self.Health.Text.frequentUpdates = FreqUpdate
  752.         self.Health.Text:SetJustifyH('LEFT')
  753.         self.Health.Text:SetPoint('TOPRIGHT',self.Health,'RIGHT', 0, -25)
  754.        
  755.         -------- TEXT PERCENT ---
  756.         -------------------------
  757.         self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  758.         self.Health.Text:SetFont(fontn, 16, 'THINOUTLINE')
  759.         self.Health.Text:SetShadowOffset(1, -1)
  760.         self.Health.Text.frequentUpdates = FreqUpdate
  761.         self:Tag(self.Health.Text,'[My_PerHP]|r')
  762.         self.Health.Text:SetJustifyH('CENTER')
  763.         self.Health.Text:SetPoint('RIGHT',self, 0, 4)
  764.    
  765.     -------- POWER ----
  766.     -------------------
  767.    
  768.         -------- BAR ----
  769.         -----------------
  770.         self.Power = CreateFrame('StatusBar', nil, Back)
  771.         self.Power:SetFrameStrata('LOW')
  772.         self.Power:SetPoint('TOPRIGHT', self.Health, 'BOTTOMRIGHT', 0, -1)
  773.         self.Power:SetPoint('TOPLEFT', self.Health, 'BOTTOMLEFT', 0, -1)
  774.         self.Power:SetStatusBarTexture(statusbar2)
  775.         self.Power:SetStatusBarColor(0.28,0.28,0.28)
  776.         self.Power.frequentUpdates = FreqUpdate
  777.         self.Power.Smooth = cSmooth
  778.         self.Power:SetHeight(7)
  779.         self.Power.colorClass = true
  780.        
  781.         powerback = self.Power:CreateTexture(nil,'BORDER')
  782.         powerback:SetAllPoints(self.Power)
  783.         powerback:SetTexture(statusbar2)
  784.         powerback:SetAlpha(0.54)
  785.         powerback.multiplier = 1
  786.        
  787.         self.Power.bg = powerback
  788.        
  789.     -------- NAME ----
  790.     ------------------
  791.    
  792.         self.Info = self.Health:CreateFontString(nil, 'OVERLAY')
  793.         self.Info:SetShadowOffset(1, -1)
  794.         self.Info:SetAlpha(1)
  795.         self.Info:SetFont(fontn, 15, 'THINOUTLINE')
  796.         self:Tag(self.Info,'[raidcolor] [name]' )
  797.         self.Info:SetJustifyH('LEFT')
  798.         self.Info:SetPoint('TOPLEFT',self.Health,'LEFT', -8, 23)
  799.    
  800.     -------- BUFFS ---
  801.     ------------------
  802.  
  803.         self.Buffs = CreateFrame('Frame', nil, self)
  804.         self.Buffs.size = 4.5 * 4.5
  805.         self.Buffs.spacing = 2
  806.         self.Buffs:SetWidth(100)
  807.         self.Buffs:SetHeight(100)
  808.         self.Buffs:SetFrameStrata("BACKGROUND")
  809.         self.Buffs.initialAnchor = 'TOPLEFT'
  810.         self.Buffs['growth-x'] = 'RIGHT'
  811.         self.Buffs['growth-y'] = 'DOWN'
  812.         self.Buffs.num = 12
  813.         self.Buffs.Filter = false
  814.         self.Buffs:SetPoint('TOPLEFT',self.Health,'BOTTOMLEFT', -2, -12)
  815.         self.Buffs.PostCreateIcon = PostCreateIcon
  816.        
  817.     -------- DEBUFFS ----
  818.     ---------------------
  819.  
  820.         self.Debuffs = CreateFrame('Frame', nil, self)
  821.         self.Debuffs.size = 4.7 * 4.7
  822.         self.Debuffs.spacing = 2
  823.         self.Debuffs:SetWidth(100)
  824.         self.Debuffs:SetHeight(150)
  825.         self.Debuffs:SetFrameStrata("BACKGROUND")
  826.         self.Debuffs.initialAnchor = 'TOPLEFT'
  827.         self.Debuffs['growth-x'] = 'RIGHT'
  828.         self.Debuffs['growth-y'] = 'DOWN'
  829.         self.Debuffs.num = 12
  830.         self.Debuffs.Filter = false
  831.         self.Debuffs:SetPoint('TOPLEFT',self.Health,'TOPRIGHT', 5, 1)
  832.         self.Debuffs.PostCreateIcon = PostCreateIcon
  833.    
  834.     -------- ICONS ----
  835.     -------------------
  836.    
  837.         -------- RAID ICONS ----
  838.         ------------------------
  839.         createRaidIcon(self)
  840.             self.RaidIcon:SetPoint("CENTER", self.Health, "CENTER", 0, 9)
  841.            
  842.     -------- CAST BAR ----
  843.     ----------------------
  844.  
  845.         -------- BAR ----
  846.         -----------------
  847.         local cb = CreateFrame('StatusBar', nil, self)
  848.         cb:SetBackdrop(statusback2)
  849.         cb:SetBackdropColor( .7,.7,.7)
  850.         cb:SetFrameStrata('BACKGROUND')
  851.         cb:SetFrameLevel(10)
  852.         cb:SetWidth(283)
  853.         cb:SetHeight(20)
  854.         cb:SetPoint('CENTER', self, -265, -123)
  855.         cb:SetStatusBarTexture(statusbar2)
  856.         cb:SetStatusBarColor(0.28,0.28,0.28)
  857.         self.Castbar = cb
  858.        
  859.         cb.bg = CreateFrame('Frame', nil, cb)
  860.         cb.bg:SetBackdrop(backdrop3)
  861.         cb.bg:SetBackdropColor(.05,.05,.05)
  862.         cb.bg:SetBackdropBorderColor(.4,.4,.4)
  863.         cb.bg:SetPoint('TOPRIGHT', cb, 2, 2)
  864.         cb.bg:SetPoint('BOTTOMLEFT', cb, -2, -2)
  865.         cb.bg:SetFrameStrata('BACKGROUND')
  866.         cb.bg:SetFrameLevel(5)
  867.  
  868.  
  869.         -------- SPELL NAME ----
  870.         ------------------------
  871.         self.Castbar.Text = self.Castbar:CreateFontString(nil, 'OVERLAY')
  872.         self.Castbar.Text:SetFont(fontn, 11, 'THINOUTLINE')
  873.         self.Castbar.Text:SetPoint('LEFT', cb,'LEFT', 0, 0)
  874.         self.Castbar.Text:SetWidth(200)
  875.         self.Castbar.Text:SetTextColor(1,1,1)
  876.         self.Castbar.Text:SetJustifyH('LEFT')
  877.  
  878.         -------- NUMBER ----
  879.         --------------------
  880.         self.Castbar.Time = self.Castbar:CreateFontString(nil, 'OVERLAY')
  881.         self.Castbar.Time:SetFont(fontn, 12, 'THINOUTLINE')
  882.         self.Castbar.Time:SetPoint('RIGHT', cb,'RIGHT',0, 0)
  883.         self.Castbar.Time:SetWidth(50)
  884.         self.Castbar.Time:SetTextColor(1,1,1)
  885.         self.Castbar.Time:SetJustifyH('RIGHT')
  886.        
  887.         ------ ICON -----
  888.         -----------------
  889.  
  890.         iconbg = CreateFrame('Frame', nil, cb)
  891.         iconbg:SetBackdrop(backdrop3)
  892.         iconbg:SetBackdropColor(.05,.05,.05)
  893.         iconbg:SetBackdropBorderColor(.4,.4,.4)
  894.         iconbg:SetPoint('LEFT', cb, 'LEFT', -28, 0)
  895.         iconbg:SetWidth(24)
  896.         iconbg:SetHeight(24)
  897.        
  898.         self.Castbar.Icon = iconbg:CreateTexture(nil, 'ARTWORK')
  899.         self.Castbar.Icon:SetPoint('BOTTOMLEFT', iconbg, 1, 1)
  900.         self.Castbar.Icon:SetPoint('TOPRIGHT', iconbg, -1, -1)
  901.         self.Castbar.Icon:SetTexCoord(0.08, 0.92, 0.08, .92)
  902.            
  903. end
  904.  
  905. local ToTarget = function(self)
  906.     self:SetSize(115, 25)
  907.  
  908.     -------- BACKGROUND ----
  909.     ------------------------
  910.    
  911.         Back = CreateFrame('Frame', nil, self)
  912.         Back:SetPoint('TOPRIGHT', self)
  913.         Back:SetPoint('TOPLEFT', self)
  914.         Back:SetFrameStrata('BACKGROUND')
  915.         Back:SetBackdrop(backdrop3)
  916.         Back:SetBackdropColor(0.05, 0.05, 0.05)
  917.         Back:SetBackdropBorderColor(.4,.4,.4)
  918.         Back:SetHeight(25)
  919.        
  920.     -------- HEALTH ----
  921.     --------------------
  922.    
  923.         -------- BAR ----
  924.         -----------------
  925.         self.Health = CreateFrame('StatusBar', nil, Back)
  926.         self.Health:SetBackdrop(statusback2)
  927.         self.Health:SetBackdropColor(0.7,0.7,0.7)
  928.         self.Health:SetFrameStrata('LOW')
  929.         self.Health:SetPoint('TOPRIGHT', self, -2, -2)
  930.         self.Health:SetPoint('TOPLEFT', self, 2, -2)
  931.         self.Health:SetStatusBarTexture(statusbar2)
  932.         self.Health:SetStatusBarColor(0.28,0.28,0.28)
  933.         self.Health.frequentUpdates = FreqUpdate
  934.         self.Health.Smooth = cSmooth
  935.         self.Health:SetHeight(22)
  936.        
  937.         -------- TEXT PERCENT ----
  938.         -------------------------
  939.         self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  940.         self.Health.Text:SetFont(fontn, 15, 'THINOUTLINE')
  941.         self.Health.Text:SetShadowOffset(1, -1)
  942.         self.Health.Text.frequentUpdates = FreqUpdate
  943.         self:Tag(self.Health.Text,'[My_PerHP]|r')
  944.         self.Health.Text:SetJustifyH('CENTER')
  945.         self.Health.Text:SetPoint('CENTER',self.Health,'CENTER', 0, 0)
  946.    
  947.     -------- NAME ----
  948.     ------------------
  949.    
  950.         self.Info = self.Health:CreateFontString(nil, 'OVERLAY')
  951.         self.Info:SetShadowOffset(1, -1)
  952.         self.Info:SetAlpha(1)
  953.         self.Info:SetFont(fontn, 16, 'THINOUTLINE')
  954.         self:Tag(self.Info,'[raidcolor] [name]' )
  955.         self.Info:SetJustifyH('CENTER')
  956.         self.Info:SetPoint('LEFT',self.Health,'RIGHT', 2, 1)
  957. end
  958.  
  959. local Pet = function(self)
  960.     self:SetSize(110, 27)
  961.  
  962.     -------- BACKGROUND ----
  963.     ------------------------
  964.    
  965.         Back = CreateFrame('Frame', nil, self)
  966.         Back:SetPoint('TOPRIGHT', self)
  967.         Back:SetPoint('TOPLEFT', self)
  968.         Back:SetFrameStrata('BACKGROUND')
  969.         Back:SetBackdrop(backdrop3)
  970.         Back:SetBackdropColor(0.05, 0.05, 0.05)
  971.         Back:SetBackdropBorderColor(.4,.4,.4)
  972.         Back:SetHeight(27)
  973.        
  974.     -------- HEALTH ----
  975.     --------------------
  976.    
  977.         -------- BAR ----
  978.         -----------------
  979.         self.Health = CreateFrame('StatusBar', nil, Back)
  980.         self.Health:SetBackdrop(statusback2)
  981.         self.Health:SetBackdropColor(0.7,0.7,0.7)
  982.         self.Health:SetFrameStrata('LOW')
  983.         self.Health:SetPoint('TOPRIGHT', self, -2, -2)
  984.         self.Health:SetPoint('TOPLEFT', self, 2, -2)
  985.         self.Health:SetStatusBarTexture(statusbar2)
  986.         self.Health:SetStatusBarColor(0.28,0.28,0.28)
  987.         self.Health.frequentUpdates = FreqUpdate
  988.         self.Health.Smooth = cSmooth
  989.         self.Health:SetHeight(23)
  990.        
  991.         -------- TEXT PERCENT --
  992.         ------------------------
  993.         self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  994.         self.Health.Text:SetFont(font, 15, 'THINOUTLINE')
  995.         self.Health.Text:SetShadowOffset(1, -1)
  996.         self.Health.Text.frequentUpdates = FreqUpdate
  997.         self:Tag(self.Health.Text,'[My_PerHP]|r')
  998.         self.Health.Text:SetJustifyH('CENTER')
  999.         self.Health.Text:SetPoint('RIGHT',self.Health, 'RIGHT', 0, 0)
  1000.  
  1001.    
  1002.     -------- NAME ----
  1003.     ------------------
  1004.    
  1005.         self.Info = self.Health:CreateFontString(nil, 'OVERLAY')
  1006.         self.Info:SetShadowOffset(1, -1)
  1007.         self.Info:SetAlpha(1)
  1008.         self.Info:SetFont(fontn, 12, 'THINOUTLINE')
  1009.         self:Tag(self.Info,'[raidcolor] [name]' )
  1010.         self.Info:SetJustifyH('RIGHT')
  1011.         self.Info:SetPoint('TOPLEFT',self.Health,'LEFT', -3, -2)
  1012.        
  1013. end
  1014.  
  1015. local Focus = function(self)
  1016.     self:SetSize(116, 32)
  1017.  
  1018.     -------- BACKGROUND ----
  1019.     ------------------------
  1020.    
  1021.         Back = CreateFrame('Frame', nil, self)
  1022.         Back:SetPoint('TOPRIGHT', self)
  1023.         Back:SetPoint('TOPLEFT', self)
  1024.         Back:SetFrameStrata('BACKGROUND')
  1025.         Back:SetBackdrop(backdrop3)
  1026.         Back:SetBackdropColor(0.05, 0.05, 0.05)
  1027.         Back:SetBackdropBorderColor(.4,.4,.4)
  1028.         Back:SetHeight(32)
  1029.        
  1030.     -------- HEALTH ----
  1031.     --------------------
  1032.    
  1033.         -------- BAR ----
  1034.         -----------------
  1035.         self.Health = CreateFrame('StatusBar', nil, Back)
  1036.         self.Health:SetBackdrop(statusback2)
  1037.         self.Health:SetBackdropColor(0.7,0.7,0.7)
  1038.         self.Health:SetFrameStrata('LOW')
  1039.         self.Health:SetPoint('TOPRIGHT', self, -2, -2)
  1040.         self.Health:SetPoint('TOPLEFT', self, 2, -2)
  1041.         self.Health:SetStatusBarTexture(statusbar2)
  1042.         self.Health:SetStatusBarColor(0.28,0.28,0.28)
  1043.         self.Health.frequentUpdates = FreqUpdate
  1044.         self.Health.Smooth = cSmooth
  1045.         self.Health:SetHeight(23)
  1046.        
  1047.         --------TEXT PERCENT ----
  1048.         -------------------------
  1049.         self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  1050.         self.Health.Text:SetFont(font, 15, 'THINOUTLINE')
  1051.         self.Health.Text:SetShadowOffset(1, -1)
  1052.         self.Health.Text.frequentUpdates = FreqUpdate
  1053.         self:Tag(self.Health.Text,'[My_PerHP]|r')
  1054.         self.Health.Text:SetJustifyH('CENTER')
  1055.         self.Health.Text:SetPoint('RIGHT',self.Health, 'RIGHT', 0, 0)
  1056.  
  1057.    
  1058.     -------- NAME ----
  1059.     ------------------
  1060.    
  1061.         self.Info = self.Health:CreateFontString(nil, 'OVERLAY')
  1062.         self.Info:SetShadowOffset(1, -1)
  1063.         self.Info:SetAlpha(1)
  1064.         self.Info:SetFont(fontn, 12, 'THINOUTLINE')
  1065.         self:Tag(self.Info,'[raidcolor] [name]' )
  1066.         self.Info:SetJustifyH('LEFT')
  1067.         self.Info:SetPoint('TOPRIGHT',self.Health,'TOPRIGHT', -2, 7)
  1068.            
  1069.     -------- POWER ----
  1070.     -------------------
  1071.    
  1072.         -------- BAR ----
  1073.         -----------------
  1074.         self.Power = CreateFrame('StatusBar', nil, self)
  1075.         self.Power:SetFrameStrata('LOW')
  1076.         self.Power:SetPoint('TOPRIGHT', self.Health, 'BOTTOMRIGHT', 0, -1)
  1077.         self.Power:SetPoint('TOPLEFT', self.Health, 'BOTTOMLEFT', 0, -1)
  1078.         self.Power:SetStatusBarTexture(statusbar2)
  1079.         self.Power:SetStatusBarColor(0.28,0.28,0.28)
  1080.         self.Power.frequentUpdates = FreqUpdate
  1081.         self.Power.Smooth = cSmooth
  1082.         self.Power:SetHeight(4)
  1083.         self.Power.colorClass = true
  1084.        
  1085.         powerback = self.Power:CreateTexture(nil,'BORDER')
  1086.         powerback:SetAllPoints(self.Power)
  1087.         powerback:SetTexture(statusbar2)
  1088.         powerback:SetAlpha(0.54)
  1089.         powerback.multiplier = 1
  1090.        
  1091.         self.Power.bg = powerback
  1092. end
  1093.  
  1094. local boss = function(self, unit)
  1095. self:SetSize(130, 16)
  1096.  
  1097.     ------ BACKGROUND ---
  1098.     ---------------------
  1099.         Back = CreateFrame('Frame', nil, self)
  1100.         Back:SetPoint('TOPRIGHT', self)
  1101.         Back:SetPoint('TOPLEFT', self)
  1102.         Back:SetFrameStrata('BACKGROUND')
  1103.         Back:SetBackdrop(backdrop3)
  1104.         Back:SetBackdropColor(0.05, 0.05, 0.05)
  1105.         Back:SetBackdropBorderColor(0.4, 0.4, 0.4)
  1106.         Back:SetHeight(16)
  1107.        
  1108.     ---------- HEALTH -------
  1109.     -------------------------
  1110.    
  1111.         ------ BAR ------
  1112.         -----------------
  1113.         self.Health = CreateFrame('StatusBar', nil, Back)
  1114.         self.Health:SetBackdrop(statusback2)
  1115.         self.Health:SetBackdropColor(0.7, 0.7, 0.7)
  1116.         self.Health:SetFrameStrata('LOW')
  1117.         self.Health:SetPoint('TOPLEFT', 2, -2)
  1118.         self.Health:SetPoint('TOPRIGHT', -2, -2)
  1119.         self.Health:SetPoint('BOTTOMLEFT', 2, 2)
  1120.         self.Health:SetPoint('BOTTOMRIGHT', -2, 2)
  1121.         self.Health:SetStatusBarTexture(statusbar2)
  1122.         self.Health:SetStatusBarColor(0.28,0.28,0.28)
  1123.         self.Health.frequentUpdates = FreqUpdate
  1124.         self.Health.Smooth = cSmooth
  1125.         self.Health:SetHeight(16)
  1126.         self.Health.colorClass = false
  1127.        
  1128.         --------TEXT PERCENT ----
  1129.         -------------------------
  1130.         self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  1131.         self.Health.Text:SetFont(fontn, 11, 'THINOUTLINE')
  1132.         self.Health.Text:SetShadowOffset(1, -1)
  1133.         self.Health.Text.frequentUpdates = FreqUpdate
  1134.         self:Tag(self.Health.Text,'[My_PerHP]|r')
  1135.         self.Health.Text:SetJustifyH('CENTER')
  1136.         self.Health.Text:SetPoint('RIGHT',self, -10, 0)
  1137.        
  1138.     --------- NAME -------
  1139.     ----------------------
  1140.    
  1141.         self.Info = self.Health:CreateFontString(nil, 'OVERLAY')
  1142.         self.Info:SetShadowOffset(1, -1)
  1143.         self.Info:SetAlpha(1)
  1144.         self.Info:SetFont(fontn, 10, 'THINOUTLINE')
  1145.         self:Tag(self.Info,'[raidcolor] [name]' )
  1146.         self.Info:SetJustifyH('LEFT')
  1147.         self.Info:SetPoint('LEFT',self.Health,'LEFT', -1, 12)
  1148.     end
  1149.        
  1150. local Raid = function(self, unit)
  1151.  
  1152. self:SetSize(62, 34)
  1153.  
  1154.     -------- BACKGROUND ----
  1155.     ------------------------
  1156.    
  1157.         Back = CreateFrame('Frame', nil, self)
  1158.         Back:SetPoint('TOPRIGHT', self)
  1159.         Back:SetPoint('TOPLEFT', self)
  1160.         Back:SetFrameStrata('BACKGROUND')
  1161.         Back:SetBackdrop(backdrop3)
  1162.         Back:SetBackdropColor(0.05, 0.05, 0.05)
  1163.         Back:SetBackdropBorderColor(.4,.4,.4)
  1164.         Back:SetHeight(34)
  1165.        
  1166.     -------- HEALTH ----
  1167.     --------------------
  1168.    
  1169.         -------- BAR ----
  1170.         -----------------
  1171.         self.Health = CreateFrame('StatusBar', nil, Back)
  1172.         self.Health:SetBackdrop(statusback2)
  1173.         self.Health:SetBackdropColor(0.7,0.7,0.7)
  1174.         self.Health:SetFrameStrata('LOW')
  1175.         self.Health:SetPoint('TOPRIGHT', self, -2, -2)
  1176.         self.Health:SetPoint('TOPLEFT', self, 2, -2)
  1177.         self.Health:SetStatusBarTexture(statusbar2)
  1178.         self.Health:SetStatusBarColor(0.28,0.28,0.28)
  1179.         self.Health.frequentUpdates = FreqUpdate
  1180.         self.Health.Smooth = cSmooth
  1181.         self.Health:SetHeight(25)
  1182.        
  1183.         --------TEXT PERCENT ----
  1184.         -------------------------
  1185.         self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
  1186.         self.Health.Text:SetFont(font, 15, 'THINOUTLINE')
  1187.         self.Health.Text:SetShadowOffset(1, -1)
  1188.         self.Health.Text.frequentUpdates = FreqUpdate
  1189.         self:Tag(self.Health.Text,'[My_PerHP]|r')
  1190.         self.Health.Text:SetJustifyH('CENTER')
  1191.         self.Health.Text:SetPoint('RIGHT',self.Health, 'RIGHT', 0, -5)
  1192.  
  1193.    
  1194.     -------- NAME ----
  1195.     ------------------
  1196.    
  1197.         self.Info = self.Health:CreateFontString(nil, 'OVERLAY')
  1198.         self.Info:SetShadowOffset(1, -1)
  1199.         self.Info:SetAlpha(1)
  1200.         self.Info:SetFont(fontn, 9, 'THINOUTLINE')
  1201.         self:Tag(self.Info,'[raidcolor] [name]' )
  1202.         self.Info:SetJustifyH('LEFT')
  1203.         self.Info:SetPoint('TOPLEFT',self.Health,'TOPLEFT', -3, 1)
  1204.            
  1205.     -------- POWER ----
  1206.     -------------------
  1207.    
  1208.         -------- BAR ----
  1209.         -----------------
  1210.         self.Power = CreateFrame('StatusBar', nil, self)
  1211.         self.Power:SetFrameStrata('LOW')
  1212.         self.Power:SetPoint('TOPRIGHT', self.Health, 'BOTTOMRIGHT', 0, -1)
  1213.         self.Power:SetPoint('TOPLEFT', self.Health, 'BOTTOMLEFT', 0, -1)
  1214.         self.Power:SetStatusBarTexture(statusbar2)
  1215.         self.Power:SetStatusBarColor(0.28,0.28,0.28)
  1216.         self.Power.frequentUpdates = FreqUpdate
  1217.         self.Power.Smooth = cSmooth
  1218.         self.Power:SetHeight(4)
  1219.         self.Power.colorClass = true
  1220.        
  1221.         powerback = self.Power:CreateTexture(nil,'BORDER')
  1222.         powerback:SetAllPoints(self.Power)
  1223.         powerback:SetTexture(statusbar2)
  1224.         powerback:SetAlpha(0.54)
  1225.         powerback.multiplier = 1
  1226.        
  1227.         self.Power.bg = powerback
  1228.        
  1229.         -----------
  1230.         --RANGE----
  1231.         -----------
  1232.         self.Range = {  insideAlpha = 1, outsideAlpha = .4 }
  1233. end
  1234.  
  1235.  
  1236. -----------------------
  1237. --/ SPECIFIC LAYOUT \--
  1238. -----------------------
  1239.  
  1240. local UnitSpecific = {
  1241.     player = function(self, ...)
  1242.         Shared(self, ...)      
  1243.         Player(self)   
  1244.     end,
  1245.     party = function(self, ...)
  1246.         Shared(self, ...)      
  1247.         Party(self)
  1248.     end,
  1249.     target = function(self, ...)
  1250.         Shared(self, ...)      
  1251.         Target(self)
  1252.     end,
  1253.     targettarget = function(self, ...)
  1254.         Shared(self, ...)      
  1255.         ToTarget(self)
  1256.     end,
  1257.     pet = function(self, ...)
  1258.         Shared(self, ...)      
  1259.         Pet(self)
  1260.     end,
  1261.     focus = function(self, ...)
  1262.         Shared(self, ...)      
  1263.         Focus(self)
  1264.     end,
  1265.     boss = function(self, ...)
  1266.         Shared(self, ...)
  1267.         Focus(self)
  1268.     end,
  1269.     Raid = function(self, ...)
  1270.         Shared(self, ...)
  1271.         Raid(self)
  1272.     end,
  1273.    
  1274. }
  1275.  
  1276. ---------------------------------------
  1277. -- register style(s) and spawn units --
  1278. ---------------------------------------
  1279.  
  1280. oUF:RegisterStyle("Barbol", Shared)
  1281. oUF:RegisterStyle("Barbol - boss", boss)
  1282. oUF:RegisterStyle("Barbol - Raid", Raid)
  1283. for unit,layout in next, UnitSpecific do
  1284.     -- Capitalize the unit name, so it looks better.
  1285.     oUF:RegisterStyle('Barbol - ' .. unit:gsub("^%l", string.upper), layout)
  1286. end
  1287. local spawnHelper = function(self, unit, ...)
  1288.     if(UnitSpecific[unit]) then
  1289.         self:SetActiveStyle('Barbol - ' .. unit:gsub("^%l", string.upper))
  1290.         local object = self:Spawn(unit)
  1291.         object:SetPoint(...)
  1292.         return object
  1293.     else
  1294.         self:SetActiveStyle'Barbol'
  1295.         local object = self:Spawn(unit)
  1296.         object:SetPoint(...)
  1297.         return object
  1298.     end
  1299. end
  1300.  
  1301.  
  1302.  
  1303. oUF:Factory(function(self)
  1304.     spawnHelper(self, 'player', "CENTER", -280, -163)
  1305.     spawnHelper(self, 'target', "CENTER", 280, -163)
  1306.     spawnHelper(self, 'targettarget', "CENTER", 338, -127)
  1307.     spawnHelper(self, 'pet', "CENTER", -458, -157)
  1308.     spawnHelper(self, 'focus', "CENTER", -221, -247)
  1309.    
  1310.     self:SetActiveStyle('Barbol - boss')
  1311.     local boss1 = oUF:Spawn("boss1", "oUF_Boss1")
  1312.     boss1:SetPoint("BOTTOMLEFT", UIParent, "RIGHT", -160, -10)
  1313.  
  1314.     local boss2 = oUF:Spawn("boss2", "oUF_Boss2")
  1315.     boss2:SetPoint("BOTTOMLEFT", UIParent, "RIGHT", -160, -50)
  1316.  
  1317.     local boss3 = oUF:Spawn("boss3", "oUF_Boss3")
  1318.     boss3:SetPoint("BOTTOMLEFT", UIParent, "RIGHT", -160, -90)
  1319.  
  1320.     local boss4 = oUF:Spawn("boss4", "oUF_Boss4")
  1321.     boss4:SetPoint("BOTTOMLEFT", UIParent, "RIGHT", -160, -130)
  1322.    
  1323.     self:SetActiveStyle('Barbol - Party')
  1324.     local party = self:SpawnHeader(
  1325.         nil, nil, 'party,solo',
  1326.         'showParty', true,
  1327.         'showPlayer', false,
  1328.         'showSolo', false,
  1329.         'yOffset', -30
  1330.     )
  1331.     party:SetPoint("TOPLEFT", 20, -200)
  1332.    
  1333. CompactRaidFrameManager:UnregisterAllEvents()
  1334. CompactRaidFrameManager:Hide()
  1335. CompactRaidFrameContainer:UnregisterAllEvents()
  1336. CompactRaidFrameContainer:Hide()   
  1337.    
  1338.     self:SetActiveStyle('Barbol - Raid')
  1339.      
  1340. if BarbolRaid.smallraid then
  1341.     local raid = oUF:SpawnHeader("oUF_Raid", nil, 'solo,party,raid10,raid25,raid40',
  1342.         'showRaid', true,  
  1343.         'showPlayer', true,
  1344.         'showSolo', false,
  1345.         'showParty', false,
  1346.         'xoffset', 0,
  1347.         'yOffset', -3,
  1348.         'groupFilter', "1,2,3,4,5,6,7,8",
  1349.         'groupingOrder', "1,2,3,4,5,6,7,8",
  1350.         'groupBy', "GROUP",
  1351.         'maxColumns', 5,
  1352.         'unitsPerColumn', 5,
  1353.         'columnSpacing', 3,
  1354.         'point', "TOP",
  1355.         'columnAnchorPoint', "LEFT"
  1356.     )
  1357.  
  1358.         raid:SetPoint("CENTER", 0, -177)
  1359.  
  1360.  
  1361. elseif BarbolRaid.bigraid then
  1362.     local raid = oUF:SpawnHeader("oUF_Raid", nil, 'solo,party,raid10,raid25,raid40',
  1363.         'showRaid', true,  
  1364.         'showPlayer', true,
  1365.         'showSolo', false,
  1366.         'showParty', false,
  1367.         'xoffset', 0,
  1368.         'yOffset', -3,
  1369.         'groupFilter', "1,2,3,4,5,6,7,8",
  1370.         'groupingOrder', "1,2,3,4,5,6,7,8",
  1371.         'groupBy', "GROUP",
  1372.         'maxColumns', 8,
  1373.         'unitsPerColumn', 5,
  1374.         'columnSpacing', 3,
  1375.         'point', "TOP",
  1376.         'columnAnchorPoint', "RIGHT"
  1377.     )
  1378.  
  1379.         raid:SetPoint("LEFT", 16, 40)
  1380.  
  1381. else
  1382. local raid = oUF:SpawnHeader("oUF_Raid", nil, 'solo,party,raid10,raid25,raid40',
  1383.         'showRaid', true,  
  1384.         'showPlayer', true,
  1385.         'showSolo', false,
  1386.         'showParty', false,
  1387.         'xoffset', 0,
  1388.         'yOffset', -3,
  1389.         'groupFilter', "1,2,3,4,5,6,7,8",
  1390.         'groupingOrder', "1,2,3,4,5,6,7,8",
  1391.         'groupBy', "GROUP",
  1392.         'maxColumns', 5,
  1393.         'unitsPerColumn', 5,
  1394.         'columnSpacing', 3,
  1395.         'point', "TOP",
  1396.         'columnAnchorPoint', "LEFT"
  1397.     )
  1398.  
  1399.         raid:SetPoint("CENTER", 0, -177)
  1400.     end
  1401.    
  1402. end)
  1403.  
  1404. ---- functions for raid ----
  1405. loader = CreateFrame("Frame")
  1406. loader:RegisterEvent("PLAYER_ENTERING_WORLD")
  1407. loader:SetScript("OnEvent", function(self, event)
  1408. self:UnregisterEvent("PLAYER_ENTERING_WORLD")
  1409.  
  1410. if (BarbolRaid == nil) then BarbolRaid = {} end
  1411.  
  1412. if not BarbolRaid.smallraid then
  1413.  
  1414. BarbolRaid.smallraid = true
  1415.  
  1416. elseif not BarbolRaid.bigraid then
  1417.  
  1418. BarbolRaid.smallraid = true
  1419.  
  1420. end
  1421.  
  1422.  
  1423. end)
  1424.  
  1425. function raid25()
  1426.  
  1427. BarbolRaid = {}
  1428.  
  1429. BarbolRaid.smallraid = true
  1430.  
  1431. end
  1432.  
  1433. function raid40()
  1434.  
  1435. BarbolRaid = {}
  1436.  
  1437. BarbolRaid.bigraid = true
  1438.  
  1439. end
  1440.  
  1441. StaticPopupDialogs["RAID_SMALL"] = {
  1442.     text = "Do you want to load raid-25 layout?",
  1443.     button1 = YES,
  1444.     button2 = NO,
  1445.     OnAccept = function(self)
  1446.     if (BarbolRaid == nil) then BarbolRaid = {} end;
  1447.         raid25();
  1448.         ReloadUI();
  1449.     end,
  1450.     timeout = 0,
  1451.     whileDead = 1,
  1452.     hideOnEscape = 1
  1453. }
  1454.  
  1455. StaticPopupDialogs["RAID_BIG"] = {
  1456.     text = "Do you want to raid-40 layout",
  1457.     button1 = YES,
  1458.     button2 = NO,
  1459.     OnAccept = function(self)
  1460.     if (BarbolRaid == nil) then BarbolRaid = {} end;
  1461.         raid40();
  1462.         ReloadUI();
  1463.     end,
  1464.     timeout = 0,
  1465.     whileDead = 1,
  1466.     hideOnEscape = 1
  1467. }
  1468.  
  1469.  
  1470.  
  1471. SLASH_RAIDSMALL1 = "/Barbol25"
  1472. SlashCmdList["RAIDSMALL"] = function() StaticPopup_Show("RAID_SMALL") end
  1473.  
  1474. SLASH_RAIDBIG1 = "/Barbol40"
  1475. SlashCmdList["RAIDBIG"] = function() StaticPopup_Show("RAID_BIG") end

but im also having problems with DK runes, get an error from that.. just about everything, i even redownloaded the latest version of oUF.

Last edited by barbol12 : 02-21-11 at 04:10 PM.
  Reply With Quote
02-21-11, 04:15 PM   #4
barbol12
A Cyclonian
 
barbol12's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2010
Posts: 42
fixed

hmmm... nvm i think i fixed it. forgot when i took a configuration file out, forgot to take it out of the toc file... but it seems to be fixed now.

i also Dl'd the latest version of my UI. so whatever was wrong, seems to be fixed
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » unitframe errors???


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