WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   nUI 5 Code Patches (https://www.wowinterface.com/forums/showthread.php?t=42383)

reddrumjay 01-16-12 08:29 PM

nUI 5 Code Patches
 
Since Scott is mainly working on getting nUI 6 going and not doing major revisions to anything in nUI 5, I thought I would compile all the current code mods/user hot fixes in one place. These are just the ones I use, so I would encourage others to add to it if you think it is something that would be widely used. I will update the main post if others are added.


Heroic Will Button Missing
There's no good fix for getting this to show up in the UI. The quickest and easiest solution to to make a new macro and put it on your bar. The macro is very simple:

Code:

/click ExtraActionButton1
Source Thread: http://www.wowinterface.com/forums/s...ghlight=debuff


Buff/Debuff Mouseover Tooltips
Use a plain text editor to open [ Interface > AddOns > nUI > Layouts > Default > HUDLayouts > {hud mode} > nUI_HUDSkin_{hud mode}_{unit id}.lua ] where {hud mode} is the HUD mode you use (PlayerTarget, HealthPower, etc.) and {unit id} is the unit you want the mouseover to work for {Player, Target, etc.)

Locate the ["Aura"] section that for the "harm" auras and change "clickable = false" to "clickable = true" and save the file then do a '/nui rl' -- you should be all set.

Code:

aura_type        = "harm",
                                        origin          = "TOPRIGHT",
                                        player_auras    = false,
                                        dispellable      = false,
                                        horizontal      = false,
                                        highlight_player = false,
                                        aura_types      = true,
                                        cooldown_anim    = false,
                                        flash_expire    = true,

                                        clickable        = true,
                                        rows            = 3,
                                        cols            = 4,
                                        expire_time      = 10,
                                        hGap            = 5,
                                        vGap            = 20
,

Note that because auras are now protected frames, I cannot show/hide them, I can only make them transparent. That means that even when the aura is not visible, it is still on the screen and therefore interacting with your mouse. That will mean you cannot click in the field of play anywhere an aura is positioned... which is why the mouseover tooltips are current disabled by default. However, as long as that doesn't bother you, it will work.

Source Thread: http://www.wowinterface.com/forums/s...ghlight=debuff

Moving the BG Icon

If you are like me and end up accidentally clicking the BG icon while in combat, this code will move the button away from the action bar as shown here:



Find the MiniMapBattlefieldFrame code block in [ Interface > AddOns > nUI > Integration > nUI_Minimap.lua ]:

Code:

MiniMapBattlefieldFrame:SetParent( Minimap );
MiniMapBattlefieldFrame:SetScale( 0.8 );
MiniMapBattlefieldFrame:ClearAllPoints();
MiniMapBattlefieldFrame:RegisterForDrag();
MiniMapBattlefieldFrame:SetScript( "OnDragStart", nil );
MiniMapBattlefieldFrame:SetScript( "OnDragStop", nil );

MiniMapBattlefieldFrame:SetPoint( "TOPLEFT", Minimap, "TOPLEFT", -25, -18  );
MiniMapBattlefieldFrame:SetFrameStrata( Minimap:GetFrameStrata() );
MiniMapBattlefieldFrame:SetFrameLevel( Minimap:GetFrameLevel()+5 );

Replace this
Code:

MiniMapBattlefieldFrame:SetPoint( "BOTTOMRIGHT", MiniMapWorldMapButton, "TOPLEFT", 2, -12 );
With this:
Code:

MiniMapBattlefieldFrame:SetPoint( "TOPLEFT", Minimap, "TOPLEFT", -25, -18  );
Source Thread: http://www.wowinterface.com/forums/s...ad.php?t=42243

twizt3dkitty 01-21-12 04:39 PM

For the missing Heroic Will Button, you can enable the entire graphic and button with the fix shown below

http://www.wowinterface.com/forums/s...4&postcount=28

Ill put a SS up in a bit.

reddrumjay 01-27-12 10:30 PM

Quote:

Originally Posted by twizt3dkitty (Post 251348)
For the missing Heroic Will Button, you can enable the entire graphic and button with the fix shown below

http://www.wowinterface.com/forums/s...4&postcount=28

Ill put a SS up in a bit.

I had a lot of annoying trouble with this. It kept popping up over and over again in other fights. I'm sticking with the /click ExtraActionButton1 macro

Kithhurrn 01-29-12 05:01 AM

I also had trouble when using the fix with the ExtraActionButton1 gfx continually popping up after I left DS and set it to hide the button. Don't know if it was because I was randoming in the End of Time and Well of Eternity dungeons or for some other reason. Actually had to log out and back in to get rid of it. For me at least it was handy to have the gfx so I could check the CD on Dream during Madness. And since my original co-tank entered the instance, moved to the back and then immediately went afk for Ultraxion, I had the visual for Heroic Will and peace of mind that I could get out for every Fading Light. Eating every Hour of Twilight was the easy part. Solo tanking him isn't my preferred way but it sure is an adrenaline rush ;p. Here's hoping that the next patch doesn't break anything else though.

reddrumjay 02-06-12 08:22 PM

The never ending pop u was the same issue I had. I just stick with the EaxtraActionButton1 macro on my bar.


All times are GMT -6. The time now is 09:21 AM.

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