WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Problem with making frames visible (https://www.wowinterface.com/forums/showthread.php?t=53503)

StafordDev 05-28-16 11:27 AM

Problem with making frames visible
 
Now I tried to move my addon to a WoD client. Now it's all official. And problem still exists.

Today I decided to make new addon, but now I have one problem: I can't make my frames visible when I have aura on my character.
http://pastebin.com/dnxQUSqt - my code.
P.S. Frames are working.
P.P.S. Textures are correct.
P.P.P.S. Function that should update frames visibility works correctly only for printing messages in chat.

SDPhantom 05-28-16 12:09 PM

After being warned about helping with private servers, minutes later, you now claim you're trying to run this on a live server instead. How are we to believe you're not lying to us in order to get your code fixed for use on your private server?

Previous post, and locked for reasons.
http://www.wowinterface.com/forums/s...ad.php?t=53502

Lombra 05-28-16 01:41 PM

That's because after finding the Rampage buff, you still check the remaining buffs, and if those aren't also Rampage, the frame will hide.

Check buff 1. Rampage? No; hide.
Check buff 2. Rampage? Yes; show.
Check buff 3. Rampage? No; hide.


All times are GMT -6. The time now is 11:19 PM.

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