Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(189 Kb)
Download
Updated: 12-10-14 02:49 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:12-10-14 02:49 PM
Created:04-20-12 02:57 PM
Downloads:2,862
Favorites:22
MD5:
Categories:Minimalistic Compilations, DPS Compilations, Healer Compilations, Tank Compilations, Generic Compilations
6.0.3

bUI

Version: 1.0.5.5
by: Blooblahguy [More]

bUI
bUI is a complete UI compilation that aims to be lightweight, functional, and compatible. It will probably never include a collection of miscellaneous functions that are only useful to handful of people. Rather, it should serve as a UI baseline that isn't the blizzard default UI. Its mostly written from scratch and doesn't use libraries aside from oUF

This UI is very much in its beta, though its very functional. I've been using it throughout most of my WoW career, but there's much I'd like to fix and add in the future. Your feedback is priceless to me. Please let me know what you think!

Features


Actionbars
Alt Power Bar
Bag and Bank (all in one bags)
Buffs
Chat
Font Changes
Interrupt alert in /say
Minimap
Nameplates
Tooltips
UnitFrames
XP
If you'd like more detail on each of the modification above, most are available as standalone addons on my addon list. They are out of date, but the features are reflective of whats in here.


Config
There is a config.lua located in the main folder with ways to modify most elements. In the future, in-game config will likely be available (as a module)
You can also move the UI by typing /bui lock
Any feature requests are welcome and please leave your feedback!

Tons of thanks to a lot of great lua authors out there, Zork, Funkydude, Tuk, FatalEntity, Haste and more. I've learned lua from you.

Known Bugs

Bags have a few quirky bugs, particularly when interacting with the bank.

v1.0.5.5
Fixed lingering print function

v1.0.5
Fixed issue where untiframe position wouldn't save
Fixed issue where actionbars weren't hiding on mouseover
Started preliminary configuration adding

v1.0.4
Rewrote action bars and they now correctly deal with paging
Added a couple spells to the blacklist
Moved config.lua to /config (building in game config)
Various bug fixes


v1.0.3
Various small bug fixes
Fixed bag addon
Filtering raidbuffs from buff row now

v1.0.2
Added ~80 spells to the raid/party frame buff whitelist and debuff blacklist
Added option to enable/disable raid frames
Added option to enable/disable buff watcher
Added option to hide buff watcher until mouseover
Added buff watcher to /bui lock

v1.0.1
Fixed an issue with the raid frames anchoring/moving not saving

v1.0
Various configuration bugs
Added raid and party frames
Added skinning to Boss Frames (needs testing)
Added several elements to /bui lock
Included bBuffed addon
Rewrote unitframes
A couple bag fixes

v0.9
Various fixes for bag
Added garrison button to minimap
Code structure update
Updated oUF
Added powerbar to UI move

v0.8
Updated for WoD
Hundreds of changes and updates within the UI

v0.6
fixed a bug where the player debuffs were overlapping the target debuffs.
added a totembar to the unitframes
increased the height of all trackers (holy power, combo points, etc) on the unit frames
one more update for the minimap, thanks Baine

v0.5
fixed a bug with the minimap lfg tracker

v0.4
updated bags and fixed all known bugs with them

v0.3
removed a section of the functions that was still checking for pet happiness o.0
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
 bUI
1.0.5
189kB
Blooblahguy
12-10-14 02:48 PM
 bUI
1.0.4
916kB
Blooblahguy
12-10-14 12:56 PM
 bUI
1.0.3
907kB
Blooblahguy
12-08-14 03:49 AM
 bUI
1.0.2
256kB
Blooblahguy
11-24-14 01:31 AM
 bUI
1.0.1
255kB
Blooblahguy
11-23-14 07:01 PM
 bUI
1.0
255kB
Blooblahguy
11-23-14 06:42 PM
 bUI
0.9
252kB
Blooblahguy
11-17-14 06:47 AM
 bUI
0.8
249kB
Blooblahguy
11-12-14 03:53 PM


Post A Reply Comment Options
Unread 12-16-14, 05:40 PM  
Blooblahguy
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 155
Uploads: 21
Originally Posted by JackOnTheMap
Liking the UI. Playing around with things and I'd like to remove the name and health text from the unitframes. I like the bars to be minimalistic.

If you could point me in the general direction, that would be great.
On line 252 you can see where I'm making specific style changes by frame. There's a function for player, target, focus, etc

Just add
Code:
self.Name:Hide()
self.Curhp:Hide()
To the bottom of the functions
Blooblahguy is offline Report comment to moderator  
Reply With Quote
Unread 12-16-14, 04:14 PM  
JackOnTheMap
A Murloc Raider

Forum posts: 8
File comments: 131
Uploads: 0
Liking the UI. Playing around with things and I'd like to remove the name and health text from the unitframes. I like the bars to be minimalistic.

If you could point me in the general direction, that would be great.
JackOnTheMap is offline Report comment to moderator  
Reply With Quote
Unread 12-08-14, 04:42 AM  
kawe
A Murloc Raider

Forum posts: 9
File comments: 72
Uploads: 1
Re: Re: Main action bar doesnt change

i think this is how i fixed it previously but i changed to domino's cause of pet (activation overlay bug; when changing the size of petbar, the "autocast animation", those yellow dots doesnt resize)

myclass = select(2, UnitClass("player"));

local function GetBar()
local condition = Page["DEFAULT"]
local class = myclass
local page = Page[class]
if page then
condition = condition.." "..page
end
condition = condition.." 1"
return condition
end
Originally Posted by Blooblahguy
Originally Posted by Skyring04
Love this ui, but sadly right now I cant use it. When I switch into cat or bear form the action bar doesnt change? Is there a way to fix this?
Hmm, might have broken that and have not noticed since I don't play a druid or rogue atm. I'll look into it.
kawe is offline Report comment to moderator  
Reply With Quote
Unread 12-07-14, 07:40 PM  
Blooblahguy
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 155
Uploads: 21
Re: Main action bar doesnt change

Originally Posted by Skyring04
Love this ui, but sadly right now I cant use it. When I switch into cat or bear form the action bar doesnt change? Is there a way to fix this?
Hmm, might have broken that and have not noticed since I don't play a druid or rogue atm. I'll look into it.
Blooblahguy is offline Report comment to moderator  
Reply With Quote
Unread 12-07-14, 09:33 AM  
Skyring04
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Main action bar doesnt change

Love this ui, but sadly right now I cant use it. When I switch into cat or bear form the action bar doesnt change? Is there a way to fix this?
Skyring04 is offline Report comment to moderator  
Reply With Quote
Unread 12-03-14, 03:16 PM  
kawe
A Murloc Raider

Forum posts: 9
File comments: 72
Uploads: 1
hp integer

Originally Posted by Phanx View Post
First of all, let's put that code in a [code] tag so it's nice to read:
Code:
oUF.Tags.Events['curhp'] = 'UNIT_HEALTH UNIT_MAXHEALTH'
oUF.Tags.Methods['curhp'] = function(unit)
   local r,g,b = gradient(UnitHealth(unit)/UnitHealthMax(unit))
   return format('|cff%02x%02x%02x %s |cffFFFFFF | |r|cff%02x%02x%02x%d%%|r', 
      r, g, b, numberize(UnitHealth(unit)), 
      r, g, b, floor((UnitHealth(unit)/UnitHealthMax(unit))*1000)/10)
end
Now, the part I highlighted in orange is what's causing your error. UnitHealthMax can return 0, and we all know dividing by 0 causes black holes.

While you're fixing that, you should also use some variables to avoid having to call UnitHealth and UnitHealthMax multiple times, since function calls are Very Slow:
Code:
oUF.Tags.Events['curhp'] = 'UNIT_HEALTH UNIT_MAXHEALTH'
oUF.Tags.Methods['curhp'] = function(unit)
   local hp, hpMax = UnitHealth(unit), UnitHealthMax(unit)
   if hpMax == 0 then return end
   local hpPercent = hp / hpMax
   local r,g,b = gradient(hpPercent)
   return format('|cff%02x%02x%02x %s |cffFFFFFF | |r|cff%02x%02x%02x%d%%|r', 
      r, g, b, numberize(hp), 
      r, g, b, floor(hpPercent * 1000) / 10
   )
end
kawe is offline Report comment to moderator  
Reply With Quote
Unread 11-24-14, 05:47 AM  
kawe
A Murloc Raider

Forum posts: 9
File comments: 72
Uploads: 1
name tags

first one was my bad with editting

you might want to add this one for the esthetics

local Iconbg = CreateFrame("frame", nil, self.Castbar)
Iconbg:SetFrameLevel(0)
Iconbg:SetAllPoints(self.Castbar.Icon)
skinBackdrop(Iconbg)

last small notice 'Spirit of Beast Blessing' in bbuffed; should be 'Spirit Beast Blessing'

thx allot btw!
Last edited by kawe : 11-24-14 at 09:29 AM.
kawe is offline Report comment to moderator  
Reply With Quote
Unread 11-24-14, 05:39 AM  
kawe
A Murloc Raider

Forum posts: 9
File comments: 72
Uploads: 1
Re: ToT and Pet

Originally Posted by Baine
looks good, used your UI in the past
there's one thing that bugs me though...

ToT and Pet frames are overlapping (namewise), see screenshot below
any way to "fix" that?
go to modules, unitframes, line 209 there u can change the name position
kawe is offline Report comment to moderator  
Reply With Quote
Unread 11-24-14, 05:17 AM  
Baine
A Murloc Raider
 
Baine's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 338
Uploads: 2
ToT and Pet

looks good, used your UI in the past
there's one thing that bugs me though...

ToT and Pet frames are overlapping (namewise), see screenshot below
any way to "fix" that?
__________________
Baine is offline Report comment to moderator  
Reply With Quote
Unread 11-21-14, 05:33 PM  
Blooblahguy
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 155
Uploads: 21
Originally Posted by Jogau
it seems that any value changed from "true" to "false" do no work at all. tried that again for the tooltip following the cursor and I can't get it to work.
Almost all of them work, but there's a few that don't. That's something I'm addressing in the next update. Which will also include party/raid frames.
Blooblahguy is offline Report comment to moderator  
Reply With Quote
Unread 11-21-14, 10:40 AM  
kawe
A Murloc Raider

Forum posts: 9
File comments: 72
Uploads: 1
Originally Posted by Jogau
it seems that any value changed from "true" to "false" do no work at all. tried that again for the tooltip following the cursor and I can't get it to work.
most of those options do work, others you might wanna try /bui reset
somehow this resets the saved variables en recalls all the values from the scripts.
kawe is offline Report comment to moderator  
Reply With Quote
Unread 11-20-14, 08:53 AM  
Jogau
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
it seems that any value changed from "true" to "false" do no work at all. tried that again for the tooltip following the cursor and I can't get it to work.
Jogau is offline Report comment to moderator  
Reply With Quote
Unread 11-19-14, 10:16 AM  
Jogau
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by Blooblahguy
Originally Posted by Jogau
Hello,

I apologise in advance if my question i've been answered before but i'd like to know how can I move the action bars. I've tried the command as shown ( /bui lock and /bui unlock ) but I can't get anything to trigger.

Thank you for the answers to come.
To fix this you'll need to /reload once. The UI has certain things disabled on first load, something I need to fix (not hard, just a matter of wrapping the code in an event)
thanks, i feel stupid now

now i'm trying to disable the castbar and it seems that changing the value from "true" to "false" does not work any idea of how I can fix that?
Jogau is offline Report comment to moderator  
Reply With Quote
Unread 11-18-14, 11:55 AM  
10leej
A Firelord
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 486
File comments: 355
Uploads: 20
Re: Re: party/raid

Originally Posted by Blooblahguy
Originally Posted by kawe
Originally Posted by ramzax
I second bBag! and please do bRaidTweaks too. I love that addon so much and I failed trying to update it
maybe party/raidframes, just very simple hp bar and name

i tried to copy some code from haste but the frames dont spawn
Something I've been meaning to add for awhile actually, I'll move it up on my list. Hopefully get that done this week.
Just thought I'd share my spawn script from oUF_Bob it differentiates position from healer specs to other specs based on my config.lua file but this is the script for group spawning

Lua Code:
  1. --Spawn Frames
  2. oUF:RegisterStyle('BobGroup', Shared)
  3. oUF:Factory(function(self)
  4.     self:SetActiveStyle'BobGroup'
  5.     local party = self:SpawnHeader(nil, nil, 'raid,party',
  6.         'showParty', true,
  7.         'showPlayer', true,
  8.         'showRaid', true,
  9.         'showSolo', cfg.group.showSolo,
  10.         'yOffset', cfg.group.offsety,
  11.         'groupingOrder', "1,2,3,4,5,6,7,8",
  12.         'maxColumns', cfg.group.columns,
  13.         'unitsPerColumn', cfg.group.unitpercolumn,
  14.         'columnAnchorPoint', cfg.group.growth,
  15.         'sortMethod', cfg.group.sortmethod,
  16.         'groupBy', cfg.group.groupby,
  17.         'columnSpacing', cfg.group.offsetx
  18.     )
  19.     --Positions (categorized by spec and class)
  20.     if (playerClass == "PRIEST" and GetSpecialization() == 1) then
  21.         party:SetPoint(unpack(cfg.group.healposition))
  22.     elseif (playerClass == "PRIEST" and GetSpecialization() == 2) then
  23.         party:SetPoint(unpack(cfg.group.healposition))
  24.     elseif (playerClass == "PALADIN" and GetSpecialization() == 3) then
  25.         party:SetPoint(unpack(cfg.group.healposition))
  26.     elseif (playerClass == "DRUID" and GetSpecialization() == 4) then
  27.         party:SetPoint(unpack(cfg.group.healposition))
  28.     elseif (playerClass == "MONK" and GetSpecialization() == 2) then
  29.         party:SetPoint(unpack(cfg.group.healposition))
  30.     elseif (playerClass == "SHAMAN" and GetSpecialization() == 3) then
  31.         party:SetPoint(unpack(cfg.group.healposition))
  32.     else
  33.         party:SetPoint(unpack(cfg.group.position))
  34.     end
  35. end)
10leej is offline Report comment to moderator  
Reply With Quote
Unread 11-17-14, 05:29 PM  
Blooblahguy
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 155
Uploads: 21
Re: party/raid

Originally Posted by kawe
Originally Posted by ramzax
I second bBag! and please do bRaidTweaks too. I love that addon so much and I failed trying to update it
maybe party/raidframes, just very simple hp bar and name

i tried to copy some code from haste but the frames dont spawn
Something I've been meaning to add for awhile actually, I'll move it up on my list. Hopefully get that done this week.
Blooblahguy is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.