Broker: MicroClock
Broker: MicroClock
Simple time display, with micro menu and memory usage tooltip.
Requires a LibDataBroker Display Addon, like StatBlockCore or ElvUI.
Features
- 24-hour or 12-hour mode
- Can display multiple times (local time, realm time, universal time)
- Optional display of seconds
- Optional Micro Menu in tooltip
- Optional, configurable memory usage in tooltip
- Optional performance statistics (FPS, latency, bandwidth) in tooltip
- Left click opens the calendar or Group Calendar 5 if available
- Right click opens the stopwatch
Configuration
/microclock
slash command- Alt+click the displayed addon for a configuration interface
- Blizzard Interface options dialog
Localisation
You can help localise this addon. Fortunately there is not a lot to translate, other than configuration.
Quick fix for 11.0.2, caveat editor, but seems to be working...
Open Broker_MicroClock\modules\tooltip.lua. On line 182 replace "GetNumAddOns()" with "C_AddOns.GetNumAddOns()", and on line 185 "GetAddOnInfo(index)" with "C_AddOns.GetAddOnInfo(index)".
42x Broker_MicroClock\modules\tooltip.lua:335: attempt to call upvalue 'GetAtlasInfo' (a nil value)
[string "@Broker_MicroClock\modules\tooltip.lua"]:335: in function `GetButtonTexture'
[string "@Broker_MicroClock\modules\tooltip.lua"]:217: in function `?'
[string "@Broker_MicroClock\modules\tooltip.lua"]:95: in function `Update'
[string "@Broker_MicroClock\modules\tooltip.lua"]:61: in function <Broker_MicroClock\modules\tooltip.lua:54>
[string "@Broker_MicroClock\lib\LibPubSub-1.0\LibPubSub-1.0-1.lua"]:40: in function <...roker_MicroClock\lib\LibPubSub-1.0\LibPubSub-1.0.lua:39>
[string "=[C]"]: ?
[string "@Broker_MicroClock\lib\LibPubSub-1.0\LibPubSub-1.0-1.lua"]:84: in function `Publish'
[string "@Broker_MicroClock\modules\databroker.lua"]:55: in function `OnEnter'
[string "@Bazooka\Bazooka-v2.9.5.lua"]:1583: in function `showTip'
[string "@Bazooka\Bazooka-v2.9.5.lua"]:1388: in function <Bazooka\Bazooka.lua:1379>
Is this with the current version (i.e. version 1.12, from october 22nd)? I believe this should be fixed in that version.
If it is with the current version, I'll have a look soon.
In reply to TimmehTV:
Good morning
yes ists ver 1.12
tooltip shows no menu
i use bazooka
Hm, I don't get the error. That's weird.
Could you try and make sure you indeed do have version 1.12? I'm asking because immortalmotion got the exact same error as you, and I fixed that by making sure it tries both the old and new references to the GetAtlasInfo functions.
In reply to TimmehTV:
good Morning
I figured out what the problem was.
I actually had version 1.11.1 installed.
curseforge client only has 1.11.1 as the latest version, so I thought that I installed the latest version.
I downloaded version 1.12 manually, now the add-on works again.
thank you very much and apologize for my carelessness
Glad to hear it works!
Hello,
Get the following error with the new WoW patch
Message: ...terface\AddOns\Broker_MicroClock\modules\tooltip.lua:335: attempt to call upvalue 'GetAtlasInfo' (a nil value)
Time: Thu Oct 15 13:37:10 2020
Count: 1
Stack: ...terface\AddOns\Broker_MicroClock\modules\tooltip.lua:335: attempt to call upvalue 'GetAtlasInfo' (a nil value)
[string "@Interface\AddOns\Broker_MicroClock\modules\tooltip.lua"]:335: in function `GetButtonTexture'
[string "@Interface\AddOns\Broker_MicroClock\modules\tooltip.lua"]:217: in function `?'
[string "@Interface\AddOns\Broker_MicroClock\modules\tooltip.lua"]:95: in function `Update'
[string "@Interface\AddOns\Broker_MicroClock\modules\tooltip.lua"]:61: in function <...terface\AddOns\Broker_MicroClock\modules\tooltip.lua:54>
[string "@Interface\AddOns\Broker_MicroClock\lib\LibPubSub-1.0\LibPubSub-1.0.lua"]:40: in function <...roker_MicroClock\lib\LibPubSub-1.0\LibPubSub-1.0.lua:39>
[string "=[C]"]: ?
[string "@Interface\AddOns\Broker_MicroClock\lib\LibPubSub-1.0\LibPubSub-1.0.lua"]:84: in function `Publish'
[string "@Interface\AddOns\Broker_MicroClock\modules\databroker.lua"]:55: in function <...face\AddOns\Broker_MicroClock\modules\databroker.lua:53>
[string "@Interface\AddOns\Titan\LDBToTitan.lua"]:327: in function <Interface\AddOns\Titan\LDBToTitan.lua:286>
Locals: <none>
I believe I fixed the error.
However, building/packaging a new version just failed. I'll try to figure out why, and hopefully there will be a new version up soon.New version is up!
Thank you für updating this nice addon, but there are many errors:
2x AceLocale-3.0-6: Broker_MicroClock: Missing entry for '12 hours'
Broker_MicroClock\modules\options-Optionen.lua:67: in function `InitializeConfig'
Broker_MicroClock\modules\options-Optionen.lua:35: in function <Broker_MicroClock\modules\options.lua:27>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...ceSkillet\Libs\AceAddon-3.0\AceAddon-3.0-12.lua:529: in function `InitializeAddon'
...ceSkillet\Libs\AceAddon-3.0\AceAddon-3.0-12.lua:644: in function <...ceSkillet\Libs\AceAddon-3.0\AceAddon-3.0.lua:636>
Locals:
nil
The same for:
2x AceLocale-3.0-6: Broker_MicroClock: Missing entry for '24 hours'
2x AceLocale-3.0-6: Broker_MicroClock: Missing entry for 'Statistics, memory, menu'
2x AceLocale-3.0-6: Broker_MicroClock: Missing entry for 'Statistics, menu, memory'
2x AceLocale-3.0-6: Broker_MicroClock: Missing entry for 'Menu, statistics, memory'
2x AceLocale-3.0-6: Broker_MicroClock: Missing entry for 'Menu, memory, statistics'
2x AceLocale-3.0-6: Broker_MicroClock: Missing entry for 'Memory, statistics, menu'
2x AceLocale-3.0-6: Broker_MicroClock: Missing entry for 'Memory, menu, statistics'
2x AceLocale-3.0-6: Broker_MicroClock: Missing entry for 'Clock options'
1x AceLocale-3.0-6: Broker_MicroClock: Missing entry for 'AddOn Memory: '
1x AceLocale-3.0-6: Broker_MicroClock: Missing entry for '..with Blizzard: '
-----------------------------------------------------------------------------------------------------------------------
Thanks for reporting.
There was a problem with the Curse packager, making it so Locales weren't added to addons correctly. This has been fixed, and the most recent version of this addon should not report these problems anymore.
Best Clock Plugin for Broker. Broken since 7.1.
A few changes were made by Znuff since 7.1, I think those changes fix the problems you were experiencing.
For some reason it dowesn't show the clock in my broker display. It shows the words "Micro Menu" instead.
Could you add an option to choose if you want the text to be left, center or right aligned? I have an issue where i have the clock in the bottom right corner in a titan-bar, but becauase of some numbers being wider than others in many fonts I have a problem where the last number of the clock is outside the screen-area if wide numbers are in the time.