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.
Example Bar:
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?
Data Broker category on WoWInterface
Updated list
Usage
Right click the bar or type "/chocolatebar" to open the options menu.
You can help with the localization, just go to: http://www.wowace.com/projects/chocolatebar/localization/
You miss a feature or found a bug? I look forward to your feedback.
In 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.
Versions 3.8.2 should fix the lua error after first login.
In 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.
In reply to kazso2:
Thanks, please let me know if you still encounter this error with 3.8.31 :)
In reply to kiatra_:
I had changed my local copy to this recently, I should have posted here but slipped my mind.
In reply to kiatra_:
I still get this sporadically with latest
In reply to kiatra_:
Seems to be fixed now. No error after login.
I'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"
.
In 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.
In reply to DarkLimpan:
As a temporary measure you should be able to change this on L67 of CB_PlayedTime.lua
From:
To:
In 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.
In reply to DarkLimpan:
Hmm strange that should fix it. Try the new version and let me know if you still have the error.
In 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:
In 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.
In reply to kazso2:
This seems to fix things for me on retail. Thanks. :)
In reply to DarkLimpan:
Should be fixed now.
In 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"
In reply to miarenn:
The problem may be that both name and server are not being returned. Looks like the fixes just address server being NULL but not name.
In reply to mkong409:
the issue was that it only occurs after first char load after a game start.. seems like weird 9.2 API bug.
I added a timer to call the API 2 seconds after the player entering world event. Let me know if it still occurs.