Go to Page... |
Thread Tools | Display Modes |
08-20-12, 06:51 PM | #1 |
Attempting To Bring oUF_Fail Up-To-Speed
Hey Everyone,
Looking through the errors that oUF_Fail was throwing on the current beta build and reading through this forum I've updated oUF.Tags to the correct the oUF.Tags.Events and oUF.Tags.Methods in the layout's tags.lua seemed to cure everything (so far -- I haven't been able to test the layout on every single class). However, I'm seeing this Lua error on my Warrior (but not my Mage): Lua Code:
And here's the tags.lua file: Lua Code:
I believe am using the most recent oUF from the Github (pressing download gives me haste-oUF-1.5.13-314-g3102b9a.zip which I installed -- not sure if there's an actual 1.6 zip file somewhere else?) and I'm not entirely sure what those last two lines should be or if they're even necessary in MoP? Any help is appreciated. Thanks! |
|
08-20-12, 09:34 PM | #2 |
The tag system has changed; oUF.UnitlessTagEvents no longer exists, and has been replaced with oUF.Tags.SharedEvents.
Here is an example of a working tag using non-unit events from oUF_Phanx: Code:
oUF.Tags.Events["leadericon"] = "PARTY_LEADER_CHANGED PARTY_MEMBERS_CHANGED" oUF.Tags.SharedEvents["PARTY_LEADER_CHANGED"] = true oUF.Tags.SharedEvents["PARTY_MEMBERS_CHANGED"] = true oUF.Tags.Methods["leadericon"] = function(unit) if UnitIsGroupLeader(unit) then return [[|TInterface\GroupFrame\UI-Group-LeaderIcon:0|t]] elseif UnitInRaid(unit) and UnitIsGroupAssistant(unit) then return [[|TInterface\GroupFrame\UI-Group-AssistantIcon:0|t]] end end Code:
oUF.Tags.Events["powercolor"] = "UNIT_DISPLAYPOWER" oUF.Tags.Methods["powercolor"] = function(unit) local _, type = UnitPowerType(unit) local color = ns.colors.power[type] or ns.colors.power.FUEL return ("|cff%02x%02x%02x"):format(color[1] * 255, color[2] * 255, color[3] * 255) end
__________________
Retired author of too many addons. Message me if you're interested in taking over one of my addons. Don’t message me about addon bugs or programming questions. |
|
08-20-12, 09:54 PM | #3 |
Thanks, Phanx... that worked. I figured they had changed, but I wasn't sure to what because I'm using oUF_Karma as a reference and didn't see those lines in the tags.lua file. Both oUF_Karma and oUF_Fail are fairly similar layouts which were created by the same author in Cataclysm (and he doesn't seem to be updating either one). However, someone else has already updated oUF_Karma for MoP and I'm just trying to go through what he's fixed in Karma and apply it to Fail (if I can).
It's obviously not exactly working out 100% and while some changes are successful, others are not. I will probably be back within the next few days with some other issues if I can't get them worked out (other classes that just aren't playing nice and an odd texture issue on my party frames). Thanks again. |
|
08-21-12, 01:20 PM | #4 |
If by "odd texture issue" you mean you're seeing a green texture you didn't put there, try running frame:SetNormalTexture(nil) on your frames.
__________________
Retired author of too many addons. Message me if you're interested in taking over one of my addons. Don’t message me about addon bugs or programming questions. |
|
09-04-12, 08:08 PM | #5 | |
It actually seems to be an error with the Warrior's old ability Vigilance (50720) and I don't see where oUF_Fail is looking for it. Here's what it's doing to my party/raid frames: Now, here's AuraWatch.lua: lua Code:
Here's the block of code in question [256 - 314]: (Line 12 in this block is 267) lua Code:
I'm unsure of what exactly I'm supposed to be looking for because neither "50720" nor "Vigilance" are anywhere in that file. At the moment this seems to only be Warrior-specific as it's not happening with my Paladin (but she's another story altogether). If anyone needs me to link other Lua files from this layout, do not hesitate to ask. |
||
09-04-12, 10:05 PM | #6 |
MiRai the Vigilance tag is in the lib.lua.
Somewhere around 1370 if I remember correctly for the oUF_Karma lib.lua Its part of the auras setup for aurawatch. The error isn't helpful in finding it. I just had to search through the files to find it. It looks like this: Code:
WARRIOR = { 50720, --Vigilance }, Code:
WARRIOR = { },
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!" Last edited by Unkn : 09-04-12 at 10:06 PM. Reason: PS. I'm a girl :) |
|
09-04-12, 11:10 PM | #7 | |
I can't test it right at this moment but I updated the Spell ID in the lib.lua file. Thanks, again. |
||
WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Attempting To Bring oUF_Fail Up-To-Speed |
«
Previous Thread
|
Next Thread
»
|
Thread Tools | |
Display Modes | |
|
|