DHUD4
DHUD4 is a recode, new features addition and optimization of Drathal's original DHUD.
DHUD4 is Heads Up Display Addon that provides 4 sets of bar to display player, target, pet, focus, target of target and/or vehicle health and power, and target range, druid mana when shapeshifted and threat information. Additionally player buffs, target buffs/debuffs and special class abilities are tracked. Two simple cast bars allow player and target casting tracking too. Bar text info and nameplates can be configured using DogTags.
Slash command: /dhud4
Renaitre's Profile: DHUD4 ships with a Renaitre preloaded profile to adjust the addon to the Renaitre UI layout.
Known Issues
Focusing using drop down menu is now a protected function. Using the focus option in DHUD4 drop-down menus will generate an error.
Global Options
- Config Layout mode to preview settings
- 6 Transparency (Alpha) settings for:
- Death
- In Combat
- Casting
- Target Selected
- Regeneracy
- Out of combat
- Addon scale
- Show/Hide Minimap button
- Selectable horizontal frame spacing and global vertical position.
- Show/Hide bar borders
- Show/Hide empty bars
- Selectable font for all DHUD4 texts
- Selectable bars and abilities texture style (DHUD and Renaitre Tribal textures included)
Player Module
Tracking and layout options for player information.
Layout
- Two bars to track Health and Power(mana, rage, energy, focus, runic power). Bar's height and color change to provide visual information of current value.
- Cast bar for player casting
- Configurable layout:
- Centered: One bar at each side of the player
- Configurable sides: Health Left/Power Right, Health Right/Power Left
- Right/Left: Two bars at the selected side
- Configurable order: Health Inner/Power Outer, Health Outer/Power Inner
- Centered: One bar at each side of the player
- Option to swap player info to pet bars when in vehicle.
Options
- Status Icons:
- In Combat
- Resting
- Party Leader
- Master Looter
- PvP Flag (With remaining PvP timer mouse-over option)
- Bar text
- Configurable texts using DogTag library
- Show/Hide text for each bar
- Bar's text can be moved while in "Config Layout mode" (alt+click)
- Cast bar:
- Cast bar side
- Cast bar colors
- Spell info = name, countdown, delay
- Configurable bar colors (full, medium and low level)
Target Module
Tracking and layout options for target information.
Layout
- Two bars to track Health and Power(mana, rage, energy, focus, runic power). Bar's height and color change to provide visual information of current value.
- Cast bar for target casting
- Configurable layout (player layout overrides these settings):
- Centered: One bar at each side of the player
- Configurable sides: Health Left/Power Right, Health Right/Power Left
- Right/Left: Two bars at the selected side
- Configurable order: Health Inner/Power Outer, Health Outer/Power Inner
- Centered: One bar at each side of the player
- Target and Target of Target name plates
- Adjust displayed text with DogTags
- Click to target and drop down menu
- Target buffs and debuffs, with clock effect countdown
- Number of displayed buffs
- Number of columns
- Bar border color change for range information
- Bar border color change according to class color.
Options
- Status icons
- Raid (X, circle, skull, etc)
- Target PvP Status
- Elite
- Show target bars for NPCs
- Buff/debuff tips
- Swap buffs/debuufs side
- Bar text
- Configurable texts using DogTag library
- Show/Hide text for each bar
- Bar's text can be moved while in "Config Layout mode" (alt+click)
- Cast bar:
- Cast bar side (player layout overrides this setting)
- Cast bar colors
- Spell info = name, countdown, delay
- Configurable bar colors (full, medium and low level)
Pet Module
Tracking and layout options for target information.
Layout
- Two bars to track Health and Power(mana, rage, energy, focus). Bar's height and color change to provide visual information of current value. Additionally bars can be used to track vehicle stats, druid mana while shapeshifted and Lunar/Solar Energy
- Configurable layout:
- Centered: One bar at each side of the player
- Configurable sides: Health Left/Power Right, Health Right/Power Left
- Right/Left: Two bars at the selected side
- Configurable order: Health Inner/Power Outer, Health Outer/Power Inner
- Centered: One bar at each side of the player
Options
- Configurable side for druid tracking
- Track unit health and power
- Bar text
- Configurable texts using DogTag library
- Show/Hide text for each bar
- Bar's text can be moved while in "Config Layout mode" (alt+click)
- Configurable bar colors (full, medium and low level)
Auras Module
Show player buffs and/or weapon enchants close to expiring.
Layout
- 16 slots that display buff or weapon enchant icon and time left
- Independent scaling
Options
- Configurable border and text color to emphasize expiration (color starts to change when less than 20 seconds remain)
- Only show mine
- Time filter to display buffs
- Time left font size
- Display weapon enchants as buffs
- Option to configure the slots used by the weapon enchants: two first, two last, two bottom or two top
- Buffs can be shown to the left or to the right
- Option to show tool tip with information about the buff
Abilities Modules (Class specifics)
Show/track abilities specific to your class applied to your target (DoTs, HoTs, etc), or Death Knight runes.
Layout
- 12 slots to track abilities
- Independent scaling
Options
- Configurable border and text color to emphasize expiration
- Track time left if ability has it
Class specific
Druids
- Combo Points
- Lacerates
- Lifeblooms
Rogues
- Combo Points
Warriors
- Sunder armors
Death Knights
- Runes (Runes can be displayed in 1 of 4 possible layouts)
- Holy Power
Shamans
- Totems
Warlocks
- Shards
Vehicles
- Combo points
Outer Module
Track Target of Target or Focus health and power Track agro status
Foam
Date: 2011-08-22 14:48:46
ID: 17
Error occured in: Global
Count: 1
Message: ..\AddOns\DHUD4\Bars\DHUD4_Bar.lua line 237:
attempt to index field 'background' (a nil value)
Debug:
(tail call): ?
(tail call): ?
DHUD4\Bars\DHUD4_Bar.lua:237: Colorize()
DHUD4\Bars\DHUD4_StatusBar.lua:680: SetLayout()
DHUD4\Modules\DHUD4_Target.lua:1680: SetLayout()
DHUD4\DHUD4.lua:687: SetLayout()
DHUD4\DHUD4.lua:139:
DHUD4\DHUD4.lua:135
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9:
[string "safecall Dispatcher[3]"]:5
(tail call): ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:798:
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:613
(tail call): ?
[C]: ?
[string "safecall Dispatcher[4]"]:9:
[string "safecall Dispatcher[4]"]:5
(tail call): ?
Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
...dOns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:22:
...dOns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19
_______________________________________________________
Message: Interface\AddOns\DHUD4\Bars\DHUD4_StatusBar.lua:525: attempt to index field 'text' (a nil value)
Time: Thu Aug 11 11:54:06 2011
Count: 1
Stack: Interface\AddOns\DHUD4\Bars\DHUD4_StatusBar.lua:525: in function `SetMaxHealth'
Interface\AddOns\DHUD4\Bars\DHUD4_StatusBar.lua:303: in function `TrackUnitHealth'
Interface\AddOns\DHUD4\Modules\DHUD4_Player.lua:537: in function <Interface\AddOns\DHUD4\Modules\DHUD4_Player.lua:496>
Interface\AddOns\DHUD4\Modules\DHUD4_Player.lua:797: in function `Refresh'
Interface\AddOns\DHUD4\Modules\DHUD4_Player.lua:759: in function <Interface\AddOns\DHUD4\Modules\DHUD4_Player.lua:755>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:543: in function `EnableAddon'
...AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:556: in function `EnableAddon'
...AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:635: in function <...AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:621>
[C]: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:259: in function `UIParentLoadAddOn'
Interface\FrameXML\UIParent.lua:333: in function `TimeManager_LoadUI'
Interface\FrameXML\UIParent.lua:556: in function <Interface\FrameXML\UIParent.lua:531>
Locals: <none>
Thanks for using DHUD4 and for taking the time to report this. This seems to be the same bug reported by cowx. I am working on it.
Foam
Some of the changes in version 4 of the game made the old menu style to be completely broken, at least as I had it coded. The only workaround I could find was to change the layout to what is being used now. If you could open a ticket at the wowace site and request the change I will be happy to discuss it with you.
Foam
Unchecking the boxes under 'DHUD4>Player>Bar's Text>Show Bar Values' does it for all player text, until I either reload or relog. Upon which, the HUD bars corresponding to the unchecked box (Health for Health, and Power for Power) no longer show up, until I re-enable it's text.
I am then prompted with the following LUA error:
___________________________
Message: Interface\AddOns\DHUD4\Bars\DHUD4_StatusBar.lua:576: attempt to index field 'text' (a nil value)
Time: 08/07/11 17:19:34
Count: 1
Stack: Interface\AddOns\DHUD4\Bars\DHUD4_StatusBar.lua:576: in function `SetMaxPower'
Interface\AddOns\DHUD4\Bars\DHUD4_StatusBar.lua:328: in function `TrackUnitPower'
Interface\AddOns\DHUD4\Modules\DHUD4_Player.lua:553: in function <Interface\AddOns\DHUD4\Modules\DHUD4_Player.lua:496>
Interface\AddOns\DHUD4\Modules\DHUD4_Player.lua:797: in function `Refresh'
Interface\AddOns\DHUD4\Modules\DHUD4_Player.lua:167: in function <Interface\AddOns\DHUD4\Modules\DHUD4_Player.lua:165>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:798: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:613>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:856: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:855>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?
Interface\AddOns\Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: in function `Fire'
...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:68: in function <...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:57>
Locals: self =
baseColors =
}
need = false
display = 2
tex_gap_bottom = 11
maxVal = 100
parentFrame = DHUD4_RightFrame {
}
x0 = 1
x1 = 0
unit = "player"
vote = 2
borderFrame = DHUD4_fr3Border {
}
tex_gap_top = 11
useBorders = true
frame = DHUD4_fr3 {
}
showEmpty = true
background = DHUD4_fr3Texture {
}
}
val = 100
(*temporary) = nil
(*temporary) = nil
(*temporary) = "OnUpdate"
(*temporary) = <function> defined @Interface\AddOns\DHUD4\Bars\DHUD4_StatusBar.lua:559
(*temporary) = "attempt to index field 'text' (a nil value)"
rc =
initialOnUpdate = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:941
GetFriendMaxChecker = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:769
GetSmartChecker = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:832
getRangeAsString = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:650
GLYPH_ADDED = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:885
handSlotItem = "[Lightning-Charged Gloves]"
checkerCache_Spell =
}
findSpellIndex = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:639
GetFriendMinChecker = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:748
init = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:660
GetMiscChecker = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:804
GLYPH_REMOVED = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:889
scheduleInit = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:962
RegisterCallback = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:1013
GetMiscMaxChecker = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:783
GetHarmCheckers = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:736
MeleeRange = 5
GetFriendCheckers = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:731
activate = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:972
GetFriendChecker = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:790
GLYPH_UPDATED = <function> defined @Interface\AddOns\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.l
___________________________
I can only assume the two check boxes aren't intended to disable the bars.
I am using DHUD4 1.7.
Thank you in advance.
The issue is that you can not disable/enable the bar's text or that you can not enable the bars? I got a little lost. Sorry!
Foam
The issue is that I cannot turn off text display without turning off the bars. After un-checking the text boxes, the bars will automatically turn themselves off after the next reload/re-log.
The only way to turn them on again, is to re-check the text boxes.
Also, I cannot even un-check the text boxes for my Pet. Nothing happens when I click them.
The LUA error posted above appears after I've unchecked the Player text boxes, have reloaded the UI, and enable the boxes again to re-enable the bars.
Hope that clears it up.
Thanks again.
I will try to reproduce the issue and fig the bug. Thanks for reporting this. If you could open a ticket at http://www.wowace.com/addons/dhud4/ it would help me track this issue.
Foam
Thanks for using DHUD and sorry for the inconveniences. This is a really strange behavior. Have you tried using the ConfigLayout option? Does the target bars appear? Can you try this with 1.7 and tell me your results?
Foam
I have tried with the ConfigLayout tool enabled and I see the same results I believe - the target bars disappearing when I disable the target class color option.
Finally, I have not been able to find the option to switch the bars so that my health/power bars are on the left and the target bars are on the right (now that I have deleted all the data in order to try a fresh start for 1.7.2). Has this option been removed in the latest version or how do I do that?
I hadn't had to adjust my layout for a long time, so this may never have changed - I very well could have just forgot how to find the right options.
Have made a complete set based of the original DHUD4 skin, but I cannot get the addon to use it. Am I simply suppose to fill in the name of the folder placed in the ../DHUD4/textures directory?
I cannot get Renaitre to show either using the same method, so I doubt it's something broken with my skin specifically.
I have restarted the game completely.
Thanks for using DHUD. In theory if you create your own textures and place them in a folder called MyTextures inside the /DHUD4/textures directory, and then in the DHUD4 options menu put MyTextures in the blank textures space it should work. Your textures must have the same names and folder structure as the DHUD ones. Please let me know if after checking this details it still doesn't work.
Also take into account that if any texture is missing the addon will default to DHUD textures. This can cause strange results if for example you change the bars but not the cast bars. You will get a DHUD style cast bar over your textures.
Foam
Renaming the folder containing my custom texture to 'MyTextures' and then putting it into the box in the options menu did nothing. - Same as previous.
If I however name my folder 'DHUD' and replace the original, everything loads up fine. This would leave me guessing the fault is in the code that accepts custom textures.
The custom texture folder uses the exact same structure and names as the original 'DHUD' folder. In fact, all I've done was to copy the originals, edit them in Photoshop, and put them in their own folder.
Again, they work fine if I just replace them with yours, so for now, I need no more help.
Thank you for this addon.
Foam
New version is up. There is a new feature for coloring the target bar border according to the class color. Also, bugs reported at wow ace and some of the bugs reported here were fixed. There where some minor changes to put up with Renaitre needs :P.
Enjoy,
Foam