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.
Updated for Dragonflight. Post any issues you still have! :)
In reply to kiatra_:
Every now and then when I play, the default UI overlaps with the bar:
(Forgive the oversaturation of the image, that's a side effect of taking a screenshot with HDR on)
Reloading UI sometimes fixes it though, so it's inconsistent why it does it. Sometimes it happens when zoning into an instance or sometimes just when logging in (like in this picture).
Sometimes I can fix it by toggling "Adjust Blizzard Frames" off then on again. For now, I think I'll just work around it by using Edit Mode to move everything down myself and turn this option off.
In reply to Zensunim:
Thanks, I try to reproduce it with using a portal a few times.
is this main page going to be updated with a working fix? Not all happy to self edit the code
You can check the Issues tab and see the fixed addon: https://media.forgecdn.net/attachments/511/118/chocolatebar.zip
In reply to serious2:
Thanks for this! Works perfectly!
It's always sad when an addon author abandons their years long, million downloads addon and is not even interested in checking their own addon page for issues.
In reply to serious2:
Thankyou!!!
In reply to ashardis_kelly:
Yes it it is updated
I opened a pull request at github, I hope the Author merge it. So the most errors I found are gone. If someone like to patch her own version, here are the changes:
https://github.com/Kiatra/ChocolateBar/pull/22/files
In reply to Zwixx:
Just tried this, seems to work perfectly. Many thanks!
In reply to Zwixx:
Great update, just one minor change, on line 116 of jostle.lua move the ) to the next line so it closes out hooksecurefunc
Thank you for the fixes, Zwixx. I've added your fixes and the zip file can be downloaded in this issue (for those, who don't want to edit lua files)
In reply to Zwixx:
ty Zwixx it work fine.. you the man of my day,, thanks.
In reply to Zwixx:
After moving the last bracket down in jostle.lua, this fix resolved one of two issues I had.
I can now drag and move the broker plugins around Chocolate bar again, but unfortunately only ChocolateBar1's addons are visible at login.
https://i.imgur.com/r45m6Hy.mp4
ChocolateBar1 (bottom) is fine every time, but ChocolateBar2 (top) is always empty, and I have to untick/tick a a plugin to make the modules appear.
I tried created a third chocolate bar for testing and dragging the plugins there, but ChocolateBar3 experienced the same issue. I tried deleting ChocolateBar3, but it always comes back at login.
Only ChocolateBar1 works properly at login. All other bars appear empty after UI reload.
In reply to weltallica:
Yes same thig happens to me. (RETAIL) Only one bar has anything visible on it untill you click on one in the optiond and turn it off and then back on.
I use bar 1 and bar 2 on the top of my screen and bar 3 on the bottom of my screen. Only works on bar 1.
In reply to Khedrak:
Turns out there were two or three plugins not showing up in ChocolateBar1 either. I just hadn't noticed.
However, I dragged some of the ones that DO appear everytime to ChocolateBar2... and they still don't show up. I drag them back to ChocolateBar1, and it's fine.
In reply to Khedrak:
do all the bars work in the current version?
In reply to kiatra_:
I have the latest download (3.9) and it works perfect for me. I don't get errors that I know of (on blizzards error thing anyway) I don't have an error tracker.
In reply to Khedrak:
Thanks :)
In reply to Zwixx:
Hi I get these error from your github file, could you please help me!
Message: Interface/AddOns/ChocolateBar/Jostle.lua:112: hooksecurefunc(): PlayerFrame_SequenceFinished is not a function
Time: Thu Nov 3 22:41:37 2022
Count: 1
Stack: Interface/AddOns/ChocolateBar/Jostle.lua:112: hooksecurefunc(): PlayerFrame_SequenceFinished is not a function
[string "=[C]"]: in function `hooksecurefunc'
[string "@Interface/AddOns/ChocolateBar/Jostle.lua"]:112: in main chunk
Locals:
Message: Interface/AddOns/ChocolateBar/Bar.lua:94: attempt to call method 'Unregister' (a nil value)
Time: Thu Nov 3 22:41:37 2022
Count: 1
Stack: Interface/AddOns/ChocolateBar/Bar.lua:94: attempt to call method 'Unregister' (a nil value)
[string "@Interface/AddOns/ChocolateBar/Bar.lua"]:94: in function `UpdateJostle'
[string "@Interface/AddOns/ChocolateBar/Bar.lua"]:88: in function `UpdateAutoHide'
[string "@Interface/AddOns/ChocolateBar/Core.lua"]:504: in function `UpdateBars'
[string "@Interface/AddOns/ChocolateBar/Core.lua"]:159: in function <Interface/AddOns/ChocolateBar/Core.lua:155>
[string "=[C]"]: ?
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:70: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:65>
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:527: in function `EnableAddon'
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:630: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:615>
Locals: <none>
Message: Interface/AddOns/ChocolateBar/Jostle.lua:71: attempt to call field '?' (a nil value)
Time: Thu Nov 3 22:41:37 2022
Count: 1
Stack: Interface/AddOns/ChocolateBar/Jostle.lua:71: attempt to call field '?' (a nil value)
[string "@Interface/AddOns/ChocolateBar/Jostle.lua"]:71: in function <Interface/AddOns/ChocolateBar/Jostle.lua:70>
Locals: this = Frame {
0 = <userdata>
Schedule = <function> defined @Interface/AddOns/ChocolateBar/Jostle.lua:63
}
event = "PLAYER_ENTERING_WORLD"
(*temporary) = nil
(*temporary) = <table> {
hooks = <table> {
}
Frame = Frame {
}
}
(*temporary) = false
(*temporary) = true
(*temporary) = "attempt to call field '?' (a nil value)"
Jostle = <table> {
hooks = <table> {
}
Frame = Frame {
}
}
Message: Interface/AddOns/ChocolateBar/Jostle.lua:1 (null)
Time: Thu Nov 3 22:41:37 2022
Count: 1
Message: Interface\FrameXML\Bindings.xml:1 Interface/AddOns/ChocolateBar/Jostle.lua:1 (null)
Time: Thu Nov 3 22:41:37 2022
Count: 1
Message: Interface/AddOns/ChocolateBar/Jostle.lua:56: attempt to call method 'Refresh' (a nil value)
Time: Thu Nov 3 22:43:47 2022
Count: 7702
Stack: Interface/AddOns/ChocolateBar/Jostle.lua:56: attempt to call method 'Refresh' (a nil value)
[string "@Interface/AddOns/ChocolateBar/Jostle.lua"]:56: in function <Interface/AddOns/ChocolateBar/Jostle.lua:54>
Locals: this = Frame {
0 = <userdata>
Schedule = <function> defined @Interface/AddOns/ChocolateBar/Jostle.lua:63
}
elapsed = 0.016000
(*temporary) = nil
(*temporary) = <table> {
hooks = <table> {
}
Frame = Frame {
}
}
(*temporary) = "attempt to call method 'Refresh' (a nil value)"
nextTime = 0
Jostle = <table> {
hooks = <table> {
}
Frame = Frame {
}
}