Description
Druid Bar is a movable mana bar that keeps track of your current mana, even in a shapeshifted form like bear or cat. remember that this addon is an estimation of your mana, and it could be slightly higher or lower depending on your level(Lower levels will have more problems since there is much less room for error with their smaller mana pools).
Slash Commands
There are 2 available
/druidbar
/dbar
Either may receive a number of parameters: on / off / toggle / vis / width / height / hide / lock / replace / player / text / message / status / debug / color
Explanation of the parameters:
- on/off/toggle: This will toggle running of the addon. toggle switches between on and off.
- vis: This will enable or disable any and all graphical stuff. if you use with other addons like StatusBars or Linoleum, turn it off. If not, leave it on ^^
- width <#>: This will let you set the width of the bar.
- height <#>: This will let you set the height of the bar.
- percent: This toggles between 3 options: Showing Raw mana, showing %Mana, and showing both. Works for both the normal bar and Replace.
- hide: This will toggle on/off the hiding of the bar when in caster form.
- full: This will toggle on/off the hiding of the bar in animal forms when your mana is at 100%
- lock: This will toggle on/off locking the position of the bar.
- replace: This will replace the Player Frame's mana bar, splitting it into two when shifted.
- player: This will make the bar show up directly under the Player Frame. You know, where a lot of other addons like to place your Experience Bar.
- text: This will toggle between 3 options: No text, "Classic" text, or "Modern" Text. (Modern having a border, Classic having no border). This option carries over for both the normal bar and the replaced bar.
- status: This will list the status of all the toggles in your chat window. Simple, Easy, Effective.
- debug: dumps some junk into the chat frame to help me(and you) figure out why the bar is not subtracting the proper amount of mana.
- color: Changes the color of the mana bar by rgb vales. works like
- * /dbar color [r/g/b/a/#(0-1)] [#(0-1)] {#(0-1)}
- * this way you can change a specific color at once (like /dbar color r 0.75)
- * or all three at once (like /dbar color 1 0 0)
Contact info:
In-game: COMING SOON!
Discord: https://discord.gg/b5sPQnu
Issues
Can be raised on either:
Discord: https://discord.gg/b5sPQnu or GitHub: https://github.com/tekHudson/DruidBarClassic/issues
See you in Azeroth!
~Tek
In Wrath there is now a built-in mana bar that displays while shape shifted, however it only displays numbers when moused over.
It would be nice if this addon could be redesigned to replace this bar as the default bar just overlaps and ruins it.
Getting the following error messages in Classic Era:
1x [string "DRUIDBAROptions_Bar:OnLoad"]:1: attempt to call method 'SetBackdropBorderColor' (a nil value)
[string "*:OnLoad"]:1: in function <[string "*:OnLoad"]:1>
Locals:
self = DRUIDBAROptions_Bar {
0 = <userdata>
}
(*temporary) = nil
(*temporary) = DRUIDBAROptions_Bar {
0 = <userdata>
}
(*temporary) = 0.400000
(*temporary) = 0.400000
(*temporary) = 0.400000
(*temporary) = "attempt to call method 'SetBackdropBorderColor' (a nil value)"
1x [string "DRUIDBAROptions_Misc:OnLoad"]:1: attempt to call method 'SetBackdropBorderColor' (a nil value)
[string "*:OnLoad"]:1: in function <[string "*:OnLoad"]:1>
Locals:
self = DRUIDBAROptions_Misc {
0 = <userdata>
}
(*temporary) = nil
(*temporary) = DRUIDBAROptions_Misc {
0 = <userdata>
}
(*temporary) = 0.400000
(*temporary) = 0.400000
(*temporary) = 0.400000
(*temporary) = "attempt to call method 'SetBackdropBorderColor' (a nil value)"
position randomly resets after closing and reopening the game for some reason.
In reply to Dzinsham:
That is totally bizzare. I have noticed similar bugs with other addons not saving setings changed during a session. I haven't figured out what is causeing this behavior. If anyone has input please let me know. I'm guessing the DruidBarClassic.lua file that stores settings is getting reverted to the backup version when people do a forced exit game or something or they have a glitch in their logout code.
Hi!
I'm getting this on log in or /reload:
Message: Interface\AddOns\DruidBarClassic\Options.xml(6): error: mismatched tag
Time: Thu May 20 08:25:34 2021
Count: 4
Thanks
In reply to BadBadBandit:
Same here, using the latest TBC version.
In reply to BadBadBandit:
Thank you I will push a fix ASAP
When I use just /dbar or /dbar and any of the parimiters. Still works tho. Love your addon. Makes feral much more playable
Message: Interface\AddOns\DruidBarClassic\DruidBar.lua:627: attempt to call global 'DRUIDBAR_FrameSet' (a nil value)
Time: Thu May 20 15:54:37 2021
Count: 2
Stack: Interface\AddOns\DruidBarClassic\DruidBar.lua:627: attempt to call global 'DRUIDBAR_FrameSet' (a nil value)
[string "=[C]"]: in function `DRUIDBAR_FrameSet'
[string "@Interface\AddOns\DruidBarClassic\DruidBar.lua"]:627: in function `?'
[string "@Interface\FrameXML\ChatFrame.lua"]:4825: in function `ChatEdit_ParseText'
[string "@Interface\FrameXML\ChatFrame.lua"]:4488: in function `ChatEdit_SendText'
[string "@Interface\FrameXML\ChatFrame.lua"]:4524: in function <Interface\FrameXML\ChatFrame.lua:4520>
[string "=[C]"]: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
Locals:
In reply to BronkElOni:
Please hit me up on discord, haven't seen this before and would like to debug
Having a bug where I'm unable to open the menu via either the map button or the chat command, when I type in the chat command I cant press enter and mini map button nothing happends when I click it...
Tried reinstalling it, tried making sure all the files were gone and then reinstalling it again and tried opening the menu with all other addons turned off... still not working :(
In reply to Vidyax:
Thank you I will push a fix ASAP
Thanks for the quick update for BCC! I am getting an error on startup, though:
It looks like there should be a "/" at the end of line 5 before the closing ">"
Thanks!
In reply to qwarlocknew:
Thank you I will push a fix ASAP
thank you for this great addon!
I seem to have this issue where the energy tick bar will dissappear after a while, while i'm still in cat form. Got any idea what causes this?
Thx for a great addon though!
You need to add two spaces in line 395 of druidbar.lua to display spaces in the text.
Current:
function ManaValues()function ManaValues() return floor(DruidBarKey.currentmana).."/"..floor(DruidBarKey.maxmana);
Should be:
function ManaValues()function ManaValues() return floor(DruidBarKey.currentmana).." / "..floor(DruidBarKey.maxmana);
With the most recent update you can no longer hide the text in the bar, or make it so that it only shows on mouseover. Is this a known bug?
Since 0.7.6 i get this on login:
Date: 2020-01-10 17:17:31
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\SexyMap\Shapes.lua line 354:
attempt to index upvalue 'db' (a nil value)
Debug:
[C]: ?
SexyMap\Shapes.lua:354: GetMinimapShape()
...ce\AddOns\Atlas\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:126:
...ce\AddOns\Atlas\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:121
...ce\AddOns\Atlas\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:369: Refresh()
DruidBarClassic\DruidBar.lua:72: DruidBar_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
Since the latest update, when I try to select a custom location of the bar, it resets the location every time I log. Also, I am constantly getting an errorlog whenever I log in, open the menu, interface options, keybindings and much more. Getting rid of this errorlog is starting to get real annoying and not being able to have the bar where I want it to be is as well. I copied one of the errorlogs for you below.
Message: ...tlasLootClassic\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:313: LibDBIcon-1.0: Object 'DruidBarMinimapIcon' is already registered.
Time: Tue Jan 7 03:40:48 2020
Count: 1
Stack: ...tlasLootClassic\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:313: LibDBIcon-1.0: Object 'DruidBarMinimapIcon' is already registered.
[C]: in function `error'
...tlasLootClassic\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:313: in function `Register'
Interface\AddOns\DruidBarClassic\DruidBar.lua:168: in function `Load_Variables'
Interface\AddOns\DruidBarClassic\DruidBar.lua:64: in function `DruidBar_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
[C]: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:353: in function `UIParentLoadAddOn'
Interface\FrameXML\UIParent.lua:364: in function `AuctionFrame_LoadUI'
Interface\FrameXML\UIParent.lua:1133: in function <Interface\FrameXML\UIParent.lua:658>
Locals: (*temporary) = "LibDBIcon-1.0: Object 'DruidBarMinimapIcon' is already registered."
In reply to Forge_User_32475235:
getting a similar error on login in combo with atlas and titan:
Error occured in: Global
Count: 49
Message: ...ce\AddOns\Atlas\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua line 313:
LibDBIcon-1.0: Object 'DruidBarMinimapIcon' is already registered.
Debug:
[C]: error()
...ce\AddOns\Atlas\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:313: Register()
DruidBarClassic\DruidBar.lua:168: Load_Variables()
DruidBarClassic\DruidBar.lua:64: DruidBar_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
(*temporary) = "LibDBIcon-1.0: Object 'DruidBarMinimapIcon' is already registered."