WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   oUF_Aftermathh issues. (https://www.wowinterface.com/forums/showthread.php?t=50382)

Aftermathhqt 11-07-14 11:13 AM

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! :)

lightspark 11-07-14 11:41 AM

Quote:

Originally Posted by Game92 (Post 299775)
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...

Aftermathhqt 11-07-14 01:27 PM

Quote:

Originally Posted by lightspark (Post 299777)
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]."

lightspark 11-07-14 02:26 PM

Quote:

Originally Posted by Game92 (Post 299789)
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.

Aftermathhqt 11-07-14 02:32 PM

Quote:

Originally Posted by lightspark (Post 299794)
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.

JDoubleU00 11-07-14 03:53 PM

Quote:

Originally Posted by Game92 (Post 299796)
I changed to P3lims latest update of oUF_Experiance.

Did that work?

Aftermathhqt 11-07-14 04:02 PM

Quote:

Originally Posted by rocnroll (Post 299801)
Did that work?

No, i posted the error above.

p3lim 11-07-14 04:53 PM

Is oUF embedded in your layout?
If not, did you remember to put the plugin in your optionaldeps?

Aftermathhqt 11-07-14 06:54 PM

Quote:

Originally Posted by p3lim (Post 299806)
Is oUF embedded in your layout?
If not, did you remember to put the plugin in your optionaldeps?

Its embebbed into my UI, it works fine but when i try adding the tagging line it gave me this error.

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]."

I have updated my oUF & oUF_Exp to the latest versions.

Also the bossframes still doesn't update.

p3lim 11-07-14 07:12 PM

Show me your toc file contents.

Aftermathhqt 11-07-14 07:30 PM

Quote:

Originally Posted by p3lim (Post 299813)
Show me your toc file contents.


## Interface: 60000
## Title: A|cff99CCFFftermathhUI|r
## Author: Aftermathh
## Notes: Lightweight UI, and Good Looking and AWSOME!
## Version: 10.0.0
## Dependencies: !Beautycase
## SavedVariables: AfterMoveableFrames
## SavedVariablesPerCharacter: AftermathhUIInstalled

AftermathhUI.xml



Lua Code:
  1. <Ui xmlns="http://www.blizzard.com/wow/ui/">
  2.     <Script file='Config\AftermathhUI_Config.lua' />
  3.     <Script file='Core\Functions.lua' />
  4.     <Script file='Config\Characters_Config.lua' />
  5.     <Script file='Locales\Locales.lua' />
  6.     <Script file='Core\AftermathhUI_Launch.lua' />
  7.     <Script file='Core\OtherAddOns.lua' />
  8.     <Script file='Core\AfterCommands.lua' />
  9.     <Script file='Media\Media.lua' />
  10.     <Include file="Modules\Unitframes\oUF\oUF.xml"/>
  11.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_Smooth.lua' />
  12.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_CombatFeedback.lua' />
  13.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_Experience.lua' />
  14.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_TotemBar.lua' />
  15.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_MovableFrames.lua' />
  16.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_RaidDebuffs.lua' />
  17.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_Reputation.lua' />
  18.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_SpellRange.lua' />
  19.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_AuraWatch.lua' />
  20.     <Script file='Modules\Unitframes\oUF_Aftermathh\oUF_AftermathhTags.lua' />
  21.     <Script file='Modules\Unitframes\oUF_Aftermathh\oUF_Aftermathh.lua' />
  22.     <Script file='Modules\Unitframes\oUF_Aftermathh\oUF_Aftermathh_Raid_25.lua' />
  23.     <Script file='Modules\Unitframes\oUF_Aftermathh\RaidDebuffs.lua' />
  24.     <Script file='Modules\CombatText\AfterCombatText.lua' />
  25.     <Script file='Modules\Blizzard\Fonts.lua' />
  26.     <Script file='Modules\Blizzard\AfterMirrorBar.lua' />
  27.     <Script file='Modules\Blizzard\AfterTotems.lua' />
  28.     <Script file='Modules\Blizzard\AfterGlobals.lua' />
  29.     <Script file='Modules\Blizzard\Gm.lua' />
  30.     <Script file='Modules\Blizzard\ItemGlow.lua' />
  31.     <Script file='Modules\Blizzard\OneClickBuyOut.lua' />
  32.     <Script file='Modules\Chat\AfterChat.lua' />
  33.     <Script file='Modules\Chat\AfterChatCopy.lua' />
  34.     <Script file='Modules\Chat\AfterChatCopyUrl.lua' />
  35.     <Script file='Modules\Chat\AfterSpam.lua' />
  36.     <Script file='Modules\Panels\AfterPanels.lua' />
  37.     <Script file='Modules\Panels\ThreatBar.lua' />
  38.     <Script file='Modules\Nameplates\AfterNameplates.lua' />
  39.     <Script file='Modules\Stats\AfterStats.lua' />
  40.     <Script file='Modules\Bags\AfterBags.lua' />
  41.     <Script file='Modules\Loot\AfterLootPortraits.lua' />
  42.     <Script file='Modules\Loot\AfterRepair.lua' />
  43.     <Script file='Modules\Loot\AfterLoot.lua' />
  44.     <Script file='Modules\Loot\AfterGroupLoot.lua' />
  45.     <Script file='Modules\Loot\Tekkrush.lua' />
  46.     <Script file='Modules\Tooltip\AfterTooltip.lua' />
  47.     <Script file='Modules\Buffs\AfterBuff.lua' />
  48.     <Script file='Modules\Buffs\NewBuffTimers.lua' />
  49.     <Script file='Modules\Skins\AfterButtons.lua' />
  50.     <Script file='Modules\Skins\Bubbles.lua' />
  51.     <Script file='Modules\Maps\AfterMap.lua' />
  52.     <Script file='Modules\Maps\AfterMinimap.lua' />
  53.     <Script file='Modules\Maps\AfterCoords.lua' />
  54.     <Script file='Modules\Maps\AfterMinimap_Clock.lua' />
  55.     <Script file='Modules\Miscellaneous\AfterAutoAcceptInvite.lua' />
  56.     <Script file='Modules\Miscellaneous\AfterAutoRealease.lua' />
  57.     <Script file='Modules\Miscellaneous\AfterTricks.lua' />
  58.     <Script file='Modules\Miscellaneous\AfterInterrupt.lua' />
  59.     <Script file='Modules\Miscellaneous\Altpower.lua' />
  60.     <Script file='Modules\Miscellaneous\aMail.lua' />
  61.     <Script file='Modules\Miscellaneous\OmniCC.lua' />
  62.     <Script file='Modules\Miscellaneous\Quickie.lua' />
  63.     <Script file='Modules\Miscellaneous\Tekability.lua' />
  64.     <Script file='Modules\Miscellaneous\WorldStateUpFrameMover.lua' />
  65.     <Script file='Modules\Miscellaneous\WatchFrame.lua' />
  66.     <Script file='Config\AftermathhUI_GUI.lua' />
  67. </Ui>

JDoubleU00 11-07-14 10:11 PM

Quote:

Originally Posted by Game92 (Post 299815)
## Interface: 60000
## Title: A|cff99CCFFftermathhUI|r
## Author: Aftermathh
## Notes: Lightweight UI, and Good Looking and AWSOME!
## Version: 10.0.0
## Dependencies: !Beautycase
## SavedVariables: AfterMoveableFrames
## SavedVariablesPerCharacter: AftermathhUIInstalled

AftermathhUI.xml



Lua Code:
  1. <Ui xmlns="http://www.blizzard.com/wow/ui/">
  2.     <Script file='Config\AftermathhUI_Config.lua' />
  3.     <Script file='Core\Functions.lua' />
  4.     <Script file='Config\Characters_Config.lua' />
  5.     <Script file='Locales\Locales.lua' />
  6.     <Script file='Core\AftermathhUI_Launch.lua' />
  7.     <Script file='Core\OtherAddOns.lua' />
  8.     <Script file='Core\AfterCommands.lua' />
  9.     <Script file='Media\Media.lua' />
  10.     <Include file="Modules\Unitframes\oUF\oUF.xml"/>
  11.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_Smooth.lua' />
  12.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_CombatFeedback.lua' />
  13.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_Experience.lua' />
  14.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_TotemBar.lua' />
  15.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_MovableFrames.lua' />
  16.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_RaidDebuffs.lua' />
  17.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_Reputation.lua' />
  18.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_SpellRange.lua' />
  19.     <Script file='Modules\Unitframes\oUF_Plugins\oUF_AuraWatch.lua' />
  20.     <Script file='Modules\Unitframes\oUF_Aftermathh\oUF_AftermathhTags.lua' />
  21.     <Script file='Modules\Unitframes\oUF_Aftermathh\oUF_Aftermathh.lua' />
  22.     <Script file='Modules\Unitframes\oUF_Aftermathh\oUF_Aftermathh_Raid_25.lua' />
  23.     <Script file='Modules\Unitframes\oUF_Aftermathh\RaidDebuffs.lua' />
  24.     <Script file='Modules\CombatText\AfterCombatText.lua' />
  25.     <Script file='Modules\Blizzard\Fonts.lua' />
  26.     <Script file='Modules\Blizzard\AfterMirrorBar.lua' />
  27.     <Script file='Modules\Blizzard\AfterTotems.lua' />
  28.     <Script file='Modules\Blizzard\AfterGlobals.lua' />
  29.     <Script file='Modules\Blizzard\Gm.lua' />
  30.     <Script file='Modules\Blizzard\ItemGlow.lua' />
  31.     <Script file='Modules\Blizzard\OneClickBuyOut.lua' />
  32.     <Script file='Modules\Chat\AfterChat.lua' />
  33.     <Script file='Modules\Chat\AfterChatCopy.lua' />
  34.     <Script file='Modules\Chat\AfterChatCopyUrl.lua' />
  35.     <Script file='Modules\Chat\AfterSpam.lua' />
  36.     <Script file='Modules\Panels\AfterPanels.lua' />
  37.     <Script file='Modules\Panels\ThreatBar.lua' />
  38.     <Script file='Modules\Nameplates\AfterNameplates.lua' />
  39.     <Script file='Modules\Stats\AfterStats.lua' />
  40.     <Script file='Modules\Bags\AfterBags.lua' />
  41.     <Script file='Modules\Loot\AfterLootPortraits.lua' />
  42.     <Script file='Modules\Loot\AfterRepair.lua' />
  43.     <Script file='Modules\Loot\AfterLoot.lua' />
  44.     <Script file='Modules\Loot\AfterGroupLoot.lua' />
  45.     <Script file='Modules\Loot\Tekkrush.lua' />
  46.     <Script file='Modules\Tooltip\AfterTooltip.lua' />
  47.     <Script file='Modules\Buffs\AfterBuff.lua' />
  48.     <Script file='Modules\Buffs\NewBuffTimers.lua' />
  49.     <Script file='Modules\Skins\AfterButtons.lua' />
  50.     <Script file='Modules\Skins\Bubbles.lua' />
  51.     <Script file='Modules\Maps\AfterMap.lua' />
  52.     <Script file='Modules\Maps\AfterMinimap.lua' />
  53.     <Script file='Modules\Maps\AfterCoords.lua' />
  54.     <Script file='Modules\Maps\AfterMinimap_Clock.lua' />
  55.     <Script file='Modules\Miscellaneous\AfterAutoAcceptInvite.lua' />
  56.     <Script file='Modules\Miscellaneous\AfterAutoRealease.lua' />
  57.     <Script file='Modules\Miscellaneous\AfterTricks.lua' />
  58.     <Script file='Modules\Miscellaneous\AfterInterrupt.lua' />
  59.     <Script file='Modules\Miscellaneous\Altpower.lua' />
  60.     <Script file='Modules\Miscellaneous\aMail.lua' />
  61.     <Script file='Modules\Miscellaneous\OmniCC.lua' />
  62.     <Script file='Modules\Miscellaneous\Quickie.lua' />
  63.     <Script file='Modules\Miscellaneous\Tekability.lua' />
  64.     <Script file='Modules\Miscellaneous\WorldStateUpFrameMover.lua' />
  65.     <Script file='Modules\Miscellaneous\WatchFrame.lua' />
  66.     <Script file='Config\AftermathhUI_GUI.lua' />
  67. </Ui>

You need to add a line to the TOC file:

##OptionalDependencies: oUF_Experience

Phanx 11-08-14 01:39 AM

Quote:

Originally Posted by rocnroll (Post 299827)
You need to add a line to the TOC file:

##OptionalDependencies: oUF_Experience

Why would he need that when he's already loading a copy of oUF_Experience embedded in his addon?

lightspark 11-08-14 02:32 AM

I guess instead of wasting your and our time guessing what the problem could be, if it's ok for you, could you, please, upload your WIP version of layout to, for example, dropbox? :)
Having a public repo, e.g. github, is also helpful, when you need asistance fixing bugs :3

Aftermathhqt 11-08-14 06:32 AM

Quote:

Originally Posted by lightspark (Post 299842)
I guess instead of wasting your and our time guessing what the problem could be, if it's ok for you, could you, please, upload your WIP version of layout to, for example, dropbox? :)
Having a public repo, e.g. github, is also helpful, when you need asistance fixing bugs :3

¨

I think that's way better idea :)


Download Link:

https://www.dropbox.com/s/5exo5grsk6...thhUI.rar?dl=0

lightspark 11-08-14 08:12 AM

Quote:

Originally Posted by Game92 (Post 299853)
I think that's way better idea :)

K then, why do you have this line
Lua Code:
  1. if AftermathhUI.ouf.repbar == false then return end
inside of oUF_Exp.lua, though it's related to reputation bar...

BTW, same story with repbar plugin, you check if expbar is enabled...

Aftermathhqt 11-08-14 09:17 AM

Quote:

Originally Posted by lightspark (Post 299859)
K then, why do you have this line
Lua Code:
  1. if AftermathhUI.ouf.repbar == false then return end
inside of oUF_Exp.lua, though it's related to reputation bar...

BTW, same story with repbar plugin, you check if expbar is enabled...

It's a typo i did wrong there obliviously it's supposed to be

Lua Code:
  1. if AftermathhUI.ouf.expbar == false then return end

Like i said they are both working and enabled when i tested them, just not the tagging for the exp bar.

EDIT //

I guess that changed made the trick, it works now :)

Anyway the bossframes still dont update.

Pyrates 11-08-14 10:00 AM

IIRC there's a bug on Blizzards side with health of boss units. Enable frequent updates if you haven't and try again. If you'r using a tag, update it on UNIT_HEALTH_FREQUENT.

p3lim 11-08-14 01:57 PM

Quote:

Originally Posted by Game92 (Post 299863)
It's a typo i did wrong there obliviously it's supposed to be

Lua Code:
  1. if AftermathhUI.ouf.expbar == false then return end

Like i said they are both working and enabled when i tested them, just not the tagging for the exp bar.

EDIT //

I guess that changed made the trick, it works now :)

Anyway the bossframes still dont update.

Please read the license for both of the two plugins of mine that you've included in your layout/ui, specifically these two parts:
Quote:

Permission is granted for anyone to modify this software or sample from
it, and to distribute such modified versions or derivative works as long
as neither the names of this software nor its author(s) are used in the
name or title of the work or in any other way that may cause it to be
confused with this software.

Permission is granted for anyone to aggregate this software with other
works not derived from this software for the purpose of creating a user
interface compilation for "World of Warcraft" and to distribute such
compilations as long as the software is not modified in any way,
including by modifying or removing any files.

Aftermathhqt 11-08-14 07:02 PM

Quote:

Originally Posted by p3lim (Post 299882)
Please read the license for both of the two plugins of mine that you've included in your layout/ui, specifically these two parts:

So basicly i can't embbedd this into my UI?


All times are GMT -6. The time now is 12:49 PM.

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