Thread Tools Display Modes
01-16-12, 08:29 PM   #1
reddrumjay
A Black Drake
Join Date: Apr 2009
Posts: 85
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
__________________
Murphy's Law of Combat: Always remember your weapon was made by the lowest bidder.


Last edited by reddrumjay : 01-16-12 at 08:42 PM.
 
01-21-12, 04:39 PM   #2
twizt3dkitty
A Cliff Giant
 
twizt3dkitty's Avatar
Join Date: Nov 2011
Posts: 46
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.
 
01-27-12, 10:30 PM   #3
reddrumjay
A Black Drake
Join Date: Apr 2009
Posts: 85
Originally Posted by twizt3dkitty View Post
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
__________________
Murphy's Law of Combat: Always remember your weapon was made by the lowest bidder.

 
01-29-12, 05:01 AM   #4
Kithhurrn
A Deviate Faerie Dragon
Join Date: Oct 2008
Posts: 15
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.
 
02-06-12, 08:22 PM   #5
reddrumjay
A Black Drake
Join Date: Apr 2009
Posts: 85
The never ending pop u was the same issue I had. I just stick with the EaxtraActionButton1 macro on my bar.
__________________
Murphy's Law of Combat: Always remember your weapon was made by the lowest bidder.

 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » nUI 5 Code Patches

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off