File Details
Honor Bar 1.2.4.zip
- R
- Nov 16, 2025
- 13.56 KB
- 65
- 1.15.8
- Classic
File Name
Honor Bar 1.2.4.zip
Supported Versions
- 1.15.8
1. Renaming & identity
Addon is now called Honor Bar (user-facing name).
Chat prefix changed from
HonorProgress: → Honor Bar: via a new helper HP_Print(...).
Load message updated:
Old: HonorProgress loaded. Commands: /honor, /hp.
New: Honor Bar: loaded. Commands: /honor, /hb.
SavedVariables remain HonorProgressDB, so all your old settings carry over.
2. Tooltip & session stats
Old tooltip header & lines:
Header: Progress
Lines: Session Time, Honor/hour, Remaining, ETA.
New tooltip:
Header changed to “Session Stats”.
Label changed from Session Time → Time.
New line: HKs: <session HKs> (tracked via GetPVPSessionStats).
Still shows:
Time
Honor / hour
Remaining to cap
ETA to cap
New hint lines at the bottom of the tooltip:
Hold Alt + Left-Click to drag
Right-Click to adjust bar
Shift + Right-Click to broadcast honor to current chat
/honor for help
3. New session HK tracking
New behavior:
On first honor update this session, the addon snapshots your current Honorable Kills from GetPVPSessionStats().
It then computes session HKs gained as current HKs minus the snapshot.
Tooltip line:
HKs: <session HKs>
No such HK session tracking existed in the old HonorProgress.lua.
4. Broadcasting honor to chat
Brand new in Honor Bar:
New helper: HP_BuildHonorStatusString()
Builds: Weekly Honor: X of Y (Z%)
New helper: HP_SendHonorToCurrentChat()
Detects your current chat context (say/party/raid/whisper/channel).
Sends the status line appropriately.
Falls back to SAY if it can’t resolve context safely.
New mouse interaction:
Shift + Right-Click on the bar →
Broadcast honor status to your current chat (the edit box you’re typing in).
Old HonorProgress had no “broadcast to current chat” feature.
5. !honor auto-reply system
New in Honor Bar:
Database flag: HonorProgressDB.replyEnabled (default: true, unless explicitly set false).
A separate chat event frame listens for !honor in channels you see.
If replyEnabled is true, it replies with your weekly honor status string.
New slash command:
/hbreply on or /hbreply off
Toggles !honor auto-replies on/off.
Prints Honor Bar: !honor replies ENABLED/DISABLED.
Old HonorProgress.lua did not have any !honor handling or a reply toggle.
6. Config / UI: dropdown → full adjust dialog
Old behavior (HonorProgress):
Right-clicking the bar opened a Blizzard dropdown menu at the cursor.
That menu let you:
Toggle ticks on/off.
Toggle bar text on/off.
Adjust tick opacity (±0.05).
Adjust tick width (±1).
Change bar fill color via the color picker.
New behavior (Honor Bar):
Right-click now opens a centered config window (HP_OpenAdjustDialog) with:
Checkboxes:
Hide Bar
Hide Bar Text
Hide Ticks
Enable !honor replies
Sliders:
Tick Opacity
Tick Width
Tick Amount (number of tick marks)
Color pickers:
Bar Fill Color
Tick Color
UI text is scaled and aligned for readability (small fonts, aligned labels).
In other words, the old dropdown menu has been replaced by a proper config dialog, and that dialog now exposes more options than before.
7. New tick customization
Compared to the original, Honor Bar adds more granular control of tick marks.
Existing (HonorProgress):
HonorProgressDB.showTicks (on/off)
HonorProgressDB.tickOpacity
HonorProgressDB.tickWidth
Tick count was fixed (~19, representing 5% markers).
New in Honor Bar:
Additional database fields:
HonorProgressDB.hideTicks
HonorProgressDB.tickCount
HonorProgressDB.tickRGB (tick color)
Tick logic now:
If hideTicks is true → all tick textures are hidden.
Else if showTicks is false → hide ticks too.
Uses tickCount to control how many markers are drawn.
Uses tickRGB + tickOpacity + tickWidth to style them.
And the adjust dialog gives direct UI control for:
Show/hide ticks (via hideTicks).
Tick amount (spacing, via tickCount).
Tick width.
Tick opacity.
Tick color.
8. Bar text visibility
Old:
HonorProgressDB.showText controlled whether bar text appeared.
Toggle was in the dropdown as “Hide Bar Text” / “Show Bar Text”.
New:
Added HonorProgressDB.hideBarText as the primary toggle.
The adjust dialog has a “Hide Text” checkbox.
The code ensures:
If hideBarText is true → barText is hidden.
Backwards compatibility with showText is kept for old configs.
So from the player’s perspective: you can still hide/show the bar text, but now via a dedicated checkbox in the config window.
9. /honor and /hb behavior
Shared between both versions:
Core subcommands: debug, cap, auto, lock, resetpos, show, hide, toggle.
Legacy aliases remain:
/honordebug, /honorcap, /honorauto, /honorlock, /honorresetpos.
New in Honor Bar:
/hb is now a full alias of /honor:
SLASH_HPROOT1 = "/honor"
SLASH_HPROOT2 = "/hb"
New subcommand:
/honor config or /hb config → opens the config dialog.
Help text updated:
Uses HP_Print("commands:") so the header shows Honor Bar.
Adds /hb config to the help.
Fixes the pipe characters so this line displays properly in-game:
/honor show|hide|toggle - show/hide the bar
(implemented internally as show||hide||toggle so WoW doesn’t eat the pipes).
New helper HP_SuggestCommand(input):
If you mistype something like /honor shwo, it tries to suggest the closest valid subcommand (e.g., show) and prints a hint instead of silently failing.
10. Internal / structural changes (non-gameplay)
These mostly improve code structure and don’t change behavior directly, but they’re worth a line in a technical changelog:
Centralized defaults in ApplyDefaults():
Sets defaults for all DB keys, including new ones: hiddenBar, hideBarText, hideTicks, tickCount, tickRGB, replyEnabled.
Factored out slider/editbox/color-swatch helpers:
MakeSlider, MakeEditBox, MakeColorSwatch streamline the config window creation.
Ticks are recreated via CreateOrUpdateTicks() whenever relevant settings change, instead of being manipulated piecemeal from the dropdown callbacks.

