ChocolateBar Broker Display
ChocolateBar will create a bar on top or bottom of your screen where other addons called broker plugins can display stuff like your fps.
Main Features
- Easy setup, install & go!
- Multiple bars - top or bottom as many as you want.
- Left, right and center alignment.
- Support for icon colors and coordinates like used by TomTom.
- Easy config, simply drag a plugin and drop points will show. The idea is to easily disable a plugin or toggle its text. See pics.
- Load-on-demand options, and small memory footprint.
- More Chocolate - a broker plugin to show a bar that will autohide again. Great for launchers or other plugins you don't need visible all the time:)
Options for:
- Show bars on mouse over only.
- Hide bars in combat.
- Hide bars during a pet battle.
- Set a fixed width for any plugin.
- Change textures, font, colors and a lot more...
Where to get plugins?
Search for broker on CurseForge
Updated list by tekkub on Github (last update April 2021)
Usage
Right click the bar or type "/chocolatebar" to open the options menu.
How you can help
Create a pull request on Github.
You can help with the localization.
You miss a feature or found a bug? I look forward to your feedback on Github.
-
View User Profile
-
Send Message
Posted Mar 30, 2022I have no idea why, but I updated to version 3.8.2 and the game acts like it's not there at all. doesn't see it so I reinstall 3.8.1. and now It's the same thing with 3.8.3. just flat out doesn't see it. Not in the addon list nothin, the folder is in the addon's folder like it should be, but the game doesn't see it. This was Retail.
-
View User Profile
-
Send Message
Posted Mar 31, 2022In reply to fooinfinity:
There was no major changes in 3.8.2. Did it work with installing 3.8.1 again?
-
View User Profile
-
Send Message
Posted Mar 31, 2022In reply to kiatra_:
Yes, in fact I had to revert it back to 3.8.1. to use it.
edit: just updated to 3.8.4 and it's working fine now on retail.
-
View User Profile
-
Send Message
Posted Mar 25, 2022Versions 3.8.2 should fix the lua error after first login.
-
View User Profile
-
Send Message
Posted Mar 25, 2022In reply to miarenn:
Still getting lua error from CB_PlayedTime.lua in TBC. Character name is still nil at first login.
I guess the problem is, that the getPlayerIdentifier() function is called multiple times because of the added timer in 3.8.2, but getPlayerIdentifier() itself isn't handling a possible nil name value, thus throwing a lua error.
-
View User Profile
-
Send Message
Posted Mar 30, 2022In reply to kazso2:
Thanks, please let me know if you still encounter this error with 3.8.31 :)
-
View User Profile
-
Send Message
Posted Mar 30, 2022In reply to kiatra_:
I had changed my local copy to this recently, I should have posted here but slipped my mind.
local function getPlayerIdentifier() local _, _, _, _, _, name, server = GetPlayerInfoByGUID(UnitGUID("player")) if not server or server == "" then server = GetNormalizedRealmName() or "" end if not name or (name == "" or name == _G.UNKNOWNOBJECT) then name = GetUnitName("player") end --debug("getPlayerIdentifier", server,name) return string.format("%s-%s", name, server) end-
View User Profile
-
Send Message
Posted Mar 30, 2022In reply to kiatra_:
I still get this sporadically with latest
-
View User Profile
-
Send Message
Posted Mar 30, 2022In reply to kiatra_:
Seems to be fixed now. No error after login.
-
View User Profile
-
Send Message
Posted Feb 23, 2022I'm getting this error when I log on after patch 9.2 went live.
8x ChocolateBar\modules\CB_PlayedTime.lua:70: bad argument #2 to 'format' (string expected, got nil)
[string "=[C]"]: in function `format'
[string "@ChocolateBar\modules\CB_PlayedTime.lua"]:70: in function <ChocolateBar\modules\CB_PlayedTime.lua:65>
[string "@ChocolateBar\modules\CB_PlayedTime.lua"]:78: in function <ChocolateBar\modules\CB_PlayedTime.lua:77>
Locals:
(*temporary) = "%s-%s"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "string expected, got nil"
-
View User Profile
-
Send Message
Posted Feb 27, 2022.
-
View User Profile
-
Send Message
Posted Mar 4, 2022In reply to twitchmodianz:
Commented out lines 48 and 49 of CB_PlayedTime_Options.lua as stated above. Still receiving the error when I log in. Are you sure this is correct?
Thanks.
-
View User Profile
-
Send Message
Posted Mar 14, 2022In reply to DarkLimpan:
As a temporary measure you should be able to change this on L67 of CB_PlayedTime.lua
From:
To:
-
View User Profile
-
Send Message
Posted Mar 15, 2022In reply to Kojiyaru:
That didn't appear to fix anything for me, still getting the same lua error. Nothing seems broken with the bars, though.
It doesn't seem to trigger a lua error every time I log on, for some reason.
-
View User Profile
-
Send Message
Posted Mar 18, 2022In reply to DarkLimpan:
Hmm strange that should fix it. Try the new version and let me know if you still have the error.
-
View User Profile
-
Send Message
Posted Mar 23, 2022In reply to miarenn:
For me 3.8.1-bcc still throws an error, because GetPlayerInfoByGUID(UnitGUID("player")) in CB_PlayedTime.lua will not return my player name when I log in the first time. After UI reload it's ok.
I modified the code this way, which solved my problem:
if not server or server == "" then server = GetNormalizedRealmName() or "" end if not name or name == "" then name = UnitName("player") end return string.format("%s-%s", name, server)-
View User Profile
-
Send Message
Posted Mar 23, 2022In reply to kazso2:
Added the line changes above to my retail file and everything seems to be fine, no errors upon logging in at least. Thanks.
-
View User Profile
-
Send Message
Posted Mar 24, 2022In reply to kazso2:
This seems to fix things for me on retail. Thanks. :)
-
View User Profile
-
Send Message
Posted Mar 18, 2022In reply to DarkLimpan:
Should be fixed now.
-
View User Profile
-
Send Message
Posted Mar 19, 2022In reply to miarenn:
Hi miarenn.
Still getting the lua error with the latest version upon login this morning.
217x ChocolateBar\modules\CB_PlayedTime.lua:70: bad argument #2 to 'format' (string expected, got nil)
[string "=[C]"]: in function `format'
[string "@ChocolateBar\modules\CB_PlayedTime.lua"]:70: in function <ChocolateBar\modules\CB_PlayedTime.lua:65>
[string "@ChocolateBar\modules\CB_PlayedTime.lua"]:78: in function <ChocolateBar\modules\CB_PlayedTime.lua:77>
Locals:
(*temporary) = "%s-%s"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "string expected, got nil"