WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   WoD Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=151)
-   -   Green overlay on pet- and stancebar (https://www.wowinterface.com/forums/showthread.php?t=49583)

liquidbase 08-06-14 09:59 AM

Green overlay on pet- and stancebar
 
Hey @all!

Since the last or second last build I have on the petbar and stancebar a green overlay and I do not know where that might come. Meanwhile, I have checked all functions three times and I can not find the error. Maybe one of you can help me find the error.

barpet.lua
barshift.lua
function StyleButton
function D.PetBarUpdate
function D.StyleActionBarPetAndShiftButton
function D.StyleShift
function D.StylePet

I have now linked the individual functions on GitHub, since the cut-outs make the post too confusing otherwise. If this is not okay, I'll post the functions directly in the thread.

thanks in advance for any ideas and help.

greetz
liquid

p3lim 08-06-14 11:42 AM

Custom textures most likely, they are now enabled on the beta as of yesterday's build (18663)

liquidbase 08-06-14 12:37 PM

I can definitely exclude that there are custom textures. There are all textures that I use normally loaded. The problem only occurs with the icons of stance and petbar. The Petbar reserves the overlay after a reload, but at the stancebar it then disappeared for a short time.
Currently I have the suspicion that there is a missing or no longer existing event, but since I'm not sure.

petbar


stancebar

SDPhantom 08-06-14 01:32 PM

Quote:

Originally Posted by liquidbase (Post 294881)
stancebar

On your RightActionBar, 6th button from the top. It has a green overlay like the buttons on your pet/stance bars. Is this supposed to happen? This may be another symptom of the same cause.

liquidbase 08-06-14 02:07 PM

It is a trinketmacro for Pillar of Frost and a Damagetrinket. Sometimes it has a green overlay, sometimes not. I assume that it is related so when I trigger a skill. The Hunter has given up not even caused a skill and has the problem at the Petbar with the green overlay.

SDPhantom 08-06-14 02:20 PM

I noticed the same thing happen when I have a mount in a slot that is currently being used.
Currently, /fstack isn't working with your addon, so I haven't been able to track anything down.

liquidbase 08-06-14 02:52 PM

I noticed the issue with /fstack aswell. Sometimes it works and sometimes not -.-
The command works strangely again if you have installed Bugsack and !Buggrabber. Do not ask me why this is so, I do not know.

SDPhantom 08-06-14 03:39 PM

Could be something with the GameTooltip:SetFramestack() function. I read they were having problems with it earlier. It seems to work fine when running the default UI though.

I run my own custom development addon alongside the Blizzard DevTools. It works decent enough if you know its quirks.

liquidbase 08-06-14 03:55 PM

Own tools are often a better option :)

I once made ​​a screenshot of fstack for Stancebar.


It is the same on the LiveServer, but on the LiveServer I had no green overlay.

SDPhantom 08-06-14 04:07 PM

Hmm, too bad /fstack doesn't show region objects like textures and fontstrings.

SDPhantom 08-06-14 04:29 PM

I did some digging around and it looks like whatever it is, the green texture is the buttons' checked texture. Using code to toggle the checked state of the action/pet/stance buttons is toggling the green texture on/off.

zork 08-08-14 07:52 AM

If you still have the issue you can run a poll on all stance/petbar frames.

Lua Code:
  1. local frames = {PetBarFrame,StanceBarFrame}
  2.  
  3. local function CheckForTextures(f)
  4.   for _, child in pairs({ f:GetChildren() }) do
  5.     CheckForTextures(child)
  6.   end
  7.   for _, region in pairs({ f:GetRegions() }) do
  8.     if region:GetObjectType() == "Texture" then
  9.       print("region",region:GetName(),region:GetTexture())
  10.     end  
  11.   end
  12. end
  13.  
  14. for k, v in pairs(frames) do
  15.   CheckForTextures(v)
  16. end

liquidbase 08-08-14 11:49 AM

Thanks a lot for all informations :)

Cause of the error were my two update functions have been, which I use for the Stancebar and Petbar. Your script zork and your information SDPhantom have then given me the opportunity to correct the error.


All times are GMT -6. The time now is 07:29 AM.

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