oUF PP
I've noticed a problem with pp when it comes to certain bosses like Iron Reaver,Kilrogg,Mannoroth etc that all use I'm guessing a different type of power that fills up.
This is how its implemented in the layout: Lua Code:
http://imgur.com/a/hJii8 http://imgur.com/a/0r0oF So I'm wondering if its the way it is implement that is causing the problem or maybe its the oUF element?What can I do to correct the issue? |
You have a problem with a tag, yet you didn't post the code for the tag *shrugs*
|
Quote:
Lua Code:
|
Try using the type instead
Code:
local ptype, str, r, g, b = UnitPowerType(u) |
Quote:
|
No, just 5-6.
|
Thanks that fixed the tag issue but now the ppbar doesn't update and it isnt colored e.g Iron Reaver's Bar usually fills up for when she is fully charged to go into the air phase.
|
Not sure why that is. If you attach your freeb.lua file, I'll look it over.
|
1 Attachment(s)
Yea sure thing!
Attachment 8775 |
I'm not seeing any problems with the code. Is altpower and powerbar working correctly on the player and target frames?
|
Altpower seems to to work properly in places like Darkmoon Faire and for Sha of Anger, but I haven't tested it in HFC for Kilrogg since pre-patch. After my raid tonight I can get back to you with a solid answer. The powerbar seems to work for players and targetted players/npcs correctly, only on Iron Reaver so far I noticed it doesn't start empty and fills up. But like I said after my raid tonight I will post all of my findings here.
|
Ok so here is what I noticed:
1) Altpower seems to work fine I got the bar under my unitframe for Kilrogg 2) The tags on the targetframe seem to work numerically but display the wrong color for the pp 3) Iron reaver's power bar stays full and with the wrong color power (e.g http://imgur.com/a/snLA4) 4) The power bar works for players/NPCs but it has an issue with bosses hence Iron Reaver,Mannoroth,Kilrogg issue 5) Council fights like Conclave of Wind and Omnotron Defense System show the correct color for the power bar but the wrong color for the tag and they also seem to always be full iirc. 6) This all occurred after the change i had to make to the tag in order to get it to work for IR,Mannoroth etc |
Here is a power tag that should match the power bar.
Code:
oUF.Tags.Methods['freeb:pp'] = function(u) |
|
Thanks a bunch for the help and support, in the limited testing I did all the issues seem to have been corrected..if I come across anything else I would leave you a message :)
|
The powerbars seem to be working again correctly but the tag issue is back since you gave me the updated tag function. Only got an issue on Mannoroth,Hellfire Assault Cannons,Kilrogg,Hulking Terrors
http://imgur.com/a/SwvFX |
Guess we can try updating the hex function instead. Replace it with this.
Code:
local function hex(r, g, b) Code:
oUF.Tags.Methods['freeb:pp'] = function(u) |
Seems to have fixed the problem but when I joined a party I got this error:
Code:
Message: Interface\AddOns\oUF_Freeb\ftags.lua:17: attempt to compare number with nil |
Adding a check for r and returning a value should fix that. Update the hex function to this.
Code:
local function hex(r, g, b) |
Quote:
|
All times are GMT -6. The time now is 02:18 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI