Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(102 Kb)
Download
Updated: 11-11-12 07:39 AM
Pictures
File Info
Updated:11-11-12 07:39 AM
Created:02-18-09 07:14 PM
Downloads:11,015
Favorites:164
MD5:

Kong Automatic UI Hider  Popular! (More than 5000 hits)

Version: 1.6a
by: xentaros [More]

Kong Automatic UI Hider can fade out pieces of the user interface (Minimap, PlayerFrame, Recount, etc.) and then automatically show them again when moused-over, entering combat, or any of several other user-specified conditions are met.

Type /Kong in game to access the config GUI. Kong can automatically fade things in and out based on things like:

  • Unit in Combat
  • Unit in Vehicle
  • Unit Health Level
  • Unit Power Level (Mana, Rage, Focus, etc)
  • Unit is Casting
  • Unit is Moving and Unit Speed
  • Unit is Mounted
  • Unit is Resting
  • Unit Exists (You have a target, focus, etc)
  • Unit is Unit (Player is Target of Target, etc)
  • Instance Type (Dungeon, Raid, Battleground, Arena, or None)
  • Mouseover

And also any macro condition:
  • [actionbar:1/.../6] or [bar:1/.../6] Given action bar page is selected
  • [bonusbar:5] The possess bar is active (controlling a vehicle or another player)
  • [channeling:<spell name>] Channeling the given spell
  • [combat] You are in combat
  • [dead] Target is dead
  • [equipped:<item type>] or [worn:<item type>] item type is equipped (item type can be an inventory slot, item type, or item subtype)
  • [exists] You have a target
  • [flyable] In a zone where flying is allowed
  • [flying] Mounted or in flight form AND in the air
  • [group: party/raid] You are in the given type of group
  • [harm] Can cast harmful spells on the target
  • [help] Can cast helpful spells on the target
  • [indoors] Self explanatory
  • [modifier:shift/ctrl/alt] or [mod:shift/ctrl/alt] Holding the given key
  • [mounted] Self explanatory
  • [outdoors] Self explanatory
  • [party] Target is in your party
  • [pet:<pet name or type>] The given pet is out
  • [raid] Target is in your raid/party
  • [spec:1/2] Currently active talents
  • [stance:0/1/2/.../n] or [form:0/.../n] In a stance
  • [stealth] Stealthed
  • [swimming] Self explanatory
  • [unithasvehicleui] Target is in a vehicle
  • [vehicleui] You are in a vehicle
All conditions can be negated by preceding them with "no" (e.g. [nogroup:raid] will show a UI element when you are not in a raid). More information on macro syntax can be found here.

Tips:
  • Hold shift while clicking in the config GUI to select and configure multiple frames simultaneously.
  • Use the mouse wheel to uncover overlapped windows in the config GUI.
  • Setting the Hidden Alpha of the Minimap to 1% will allow quest and other tracking icons to remain visible while the Minimap is faded out.
  • Kong supports multiple profiles via the command line. Type /Kong profile in-game for more info.
  • Binding a key to the "Toggle UI Fading On/Off" entry under Kong Automatic UI Hider in the Blizzard Key Bindings menu will allow you to quickly display all hidden frames when needed.

Version 1.6a

- Fixed an error that would occur when hiding frames in combat or in a vehicle.

Version 1.6

- Child frames (e.g. individual action buttons, raid member frames, etc.) can now be faded by right clicking the parent frame in the config screen and selecting 'Configure Children'.
- Added events Quest Acceptance and Quest Update to condition menu.

Version 1.5

- Added new conditions Unit in Range of Spell and Event Occurred Recently.
- Added convenience conditions Unit Health is Low, Unit Power is Low, and Unit in Instance as alternatives to setting up more complicated comparison conditions.
- Added a keybinding to open the config GUI.
- Fixed a error that would occur when attempting to apply a user-entered value to multiple frames at once.
- Fixed a bug where the Unit is Resting condition would not update properly when entering or leaving an instance.

Version 1.4e

- Fixed incompatibilities with TukUI.

Version 1.4d

- Fixed a bug that prevented the Target of Unit condition from working correctly.

Version 1.4c

- Fixed a bug that prevented Unit Power conditions from working correctly.

Version 1.4b

- The input field of the user-entered value popup will now default to the previous user-entered value, if any.
- Fixed an error that could occur when the conditions of a recently unregistered frame were met (I mean it this time).

Version 1.4a

- Fixed an error that could occur when the conditions of a recently unregistered frame were met.
- Fixed an error that could occur when closing the config GUI.
- Fixed a bug that caused the minimap to remain hidden when Kong was disabled.
- Reverted back to the old fading method to avoid graphical issues caused by the Blizzard animation API (e.g. Grid background).

Version 1.4

- Invalid conditions (e.g macro conditions missing square brackets [] and comparisons of different data types) will now appear in red.
- Added descriptions that summarize each condition.
- Added a Unit is Mounted condition.
- Various GUI tweaks to improve clarity.
- Fixed a bug that could erase all settings when the Config GUI was loaded using an addon like ACP but never actually displayed.
- Fixed a bug that caused the sync button to create copies of conditions with user-entered values cleared.
- Kong now uses the Blizzard animation API to perform fading for increased efficiency.

Version 1.3

- Completely overhauled the way conditions are specified to provide more power and flexibility in determining when frames are shown.
- Several new conditions are available including Power Level (Mana, Energy, Rage, etc.), Instance Type (Dungeon, Arena, etc), Resting State, Unit Motion, and others.

Version 1.2b

- Each section of the config GUI is now collapsible. Sections will be automatically collapsed when they aren't in use.
- Fixed a Lua error that could occur after loading an area with the config GUI open.
- Fixed a bug that prevented Kong from finding the names of frames that had numeric or boolean values in them (e.g. ElkBuffBars).
- Fixed a bug that could cause frames to become unregistered if they changed parents between sessions or if profiles were shared between characters.
- Various other config GUI tweaks.

Version 1.2a

- Fixed a bug that was preventing frames with non-alphanumeric characters in their names from saving between sessions (e.g. "DominosActionButton-11").

Version 1.2

- Added support for showing frames based on health.
- Added an Override Alpha option in the Advanced section for use with frames that set their own alphas. This replaces the default functionality from version 1.0 that was causing tainting issues.
- Added a Don't Draw when Hidden option in the Advanced section for frames that don't fade out properly.
- Fixed a bug in Blizzard's code that causes 3D models to appear regardless of their alpha.
- Fixed a error that could occur when loading frames.

Version 1.1a

- Full support for frames that are loaded anytime after login. Kong will no longer unregister frames that it can't find initially.
- Improved support for saving unnamed frames between game sessions. See the 'Advanced' section in the GUI for frames that could not be saved previously.
- Added a "/kong reset" command that can be used to clear all settings from the current profile.
- Fixed a bug that would prevent frames from appearing on mouseover the first time Kong was loaded.

Version 1.0a

- Added a configuration GUI that can be accessed by typing /kong
- Fixed an issue with addons that continually set frame alpha (e.g. Dominos)
- Added the word "Automatic" to the addon name in an attempt to better describe the addon's functionality and prevent confusion among those who might think "Kong UI" is a UI compilation.

Version 0.9c

- Fixed a bug that was preventing users on from being able to manipulate the default profiles for characters on realms with spaces in their names.
- Fixed an error that would occur when using /kong show on a frame that was part of a mouseover group.
- Fixed an error that would occur when the in and out alpha of a frame or trigger were set to the same value.
- Fixed an error that would occur if a user omitted the word "in" or "out" when setting fade speed.
- Fixed an error that could occur when Kong attempted to fade a frame that was already being faded using the UIFrameFadeIn/Out methods.
- Kong will now be able to find some additional late-loading frames.

Version 0.9b

- Fixed a bug that would cause frames to remain on screen after a member of a mouseover group was unregistered with /kong show.

Version 0.9a

- Fixed a bug introduced in version 0.9 that could prevent a frame's configuration from being saved between game sessions.

Version 0.9

- Added "/kong profile" for managing Kong configurations and sharing them between characters.
- Added "/kong casting" to configure frames to appear while casting.
- Fixed a bug that could cause frames to disappear when faded in and out at the same time.

Version 0.8a

- Minimap icons will now be hidden along with the minimap itself.
- Minimap terrain should now always be visible when the minimap is at least 88% alpha. This is a workaround for a Blizzard minimap bug that causes the minimap contents to disappear when it is faded out in certain areas of the world.
-Fixed a bug that could cause frames to remain either hidden or shown after entering certain vehicles or being picked up in a boss fight (Chopper sidecar, Archavon, Kologarn, Lord Jaraxxus, etc.).
-Fixed a bug could cause frames to remain hidden after zoning in or out of an instance.

Version 0.8

- Added "/kong group" to configure frame grouping. This allows multiple frames to appear when a single frame is moused-over.
- Fixed a bug that was preventing "/kong nocombat" from working correctly.

Version 0.7

- Added "/kong macro" to configure frames to appear when a given macro condition is met.
- Added alpha commands for individual triggers (ie. "/kong combat alpha") to allow for different frame alphas under different conditions. Default frame alpha can still be set using "/kong alpha".
- Added speed commands for both frame defaults ("/kong speed") and individual triggers (ie. "/kong combat speed") to control the rate at which frames fade in or out.

- Added "/kong mouseover" to support customizations to the fade speed and alpha of frames when the mouse is moved over them.
- Added "/kong enable" and "/kong disable" commands and entries for these commands in the Key Bindings screen.
- Due to significant code structure changes, user settings from previous versions will be lost.

Version 0.6a

- Update for patch 3.1 compatibility.

Version 0.6

- Added an entry in the Key Bindings screen to allow quick toggling of UI fading on/off.
- Fixed a bug that would cause Kong to fade frames after reloading the UI even if Kong was disabled.

Version 0.5

- Added "/kong nocombat" to configue frames to appear when out of combat.
- Added "/kong vehicle" to configure frames to appear when in a vehicle.
- Fixed a bug that could cause a frame to fade out when it shouldn't.
- Fixed a bug that prevented "/kong combat" from working when not in combat.

Version 0.4

- Fixed a bug that would cause frames to be hidden at login when Kong was disabled.
- Fixed a bug that would cause frames to reappear after they had been removed from the screen (party frames out of party, etc).
- Fixed an "Interface action failed because of an AddOn" bug.
- Fixed a bug that caused registered frames to be permanently shown on screen when /kong combat was used in combat.
- Renamed to Kong UI Hider to (hopefully) make the addon more visible to those searching for its functionality.

Version 0.3

- Added the ability to control faded and shown alpha.
- Added the ability to toggle Kong on or off.
- Fixed a few nil index errors related to saving data between sessions, and added warnings to the default chat log when these issues occur.

Version 0.2

- Added the ability to configure frames to either appear in combat or stay hidden until mouseover.

Version 0.1

- Initial version.
Optional Files (0)


Archived Files (19)
File Name
Version
Size
Author
Date
1.6
102kB
xentaros
10-28-12 11:21 AM
1.5
101kB
xentaros
09-23-12 08:42 AM
1.4e
100kB
xentaros
09-03-12 08:36 AM
1.4d
99kB
xentaros
07-08-11 06:38 PM
1.4c
99kB
xentaros
07-03-11 08:11 AM
1.4b
99kB
xentaros
06-03-11 02:03 PM
1.4a
99kB
xentaros
06-01-11 04:25 PM
1.4
98kB
xentaros
05-01-11 07:27 AM
1.3
96kB
xentaros
03-30-11 08:35 PM
1.2b
90kB
xentaros
12-03-10 08:17 PM
1.2a
88kB
xentaros
11-02-10 07:07 PM
1.2
87kB
xentaros
10-31-10 06:18 PM
1.1a
83kB
xentaros
10-08-10 04:16 PM
1.0a
85kB
xentaros
10-01-10 06:04 PM
0.9c
10kB
xentaros
02-13-10 03:11 PM
0.9b
10kB
xentaros
11-14-09 01:33 AM
0.9a
10kB
xentaros
11-04-09 05:24 PM
0.9
10kB
xentaros
11-02-09 09:50 PM
0.8a
9kB
xentaros
10-23-09 06:57 PM


Post A Reply Comment Options
Unread 05-01-11, 10:29 AM  
Moxie
A Cobalt Mageweaver
 
Moxie's Avatar
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 122
Uploads: 2
Originally posted by Bhalial
is this working with Tukui? And if not, is that something you are willing to add?
It works fine alongside TukUI.
__________________
"Someday we'll look back on this, laugh nervously and quickly change the subject."

"The truth is like sunlight: people used to think it was good for you."
Moxie is offline Report comment to moderator  
Reply With Quote
Unread 05-01-11, 10:29 AM  
Moxie
A Cobalt Mageweaver
 
Moxie's Avatar
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 122
Uploads: 2
Originally posted by xentaros
Thanks for the error report. I'm not sure exactly how it happened, but your data has become corrupted. While I'm looking for the source of the bug, your best bet is probably to reset your data with '/kong profile reset' and start again from scratch.
Thanks!
__________________
"Someday we'll look back on this, laugh nervously and quickly change the subject."

"The truth is like sunlight: people used to think it was good for you."
Moxie is offline Report comment to moderator  
Reply With Quote
Unread 05-01-11, 09:19 AM  
Bhalial
A Murloc Raider
 
Bhalial's Avatar

Forum posts: 5
File comments: 47
Uploads: 0
is this working with Tukui? And if not, is that something you are willing to add?
Bhalial is offline Report comment to moderator  
Reply With Quote
Unread 04-28-11, 03:43 PM  
xentaros
A Kobold Labourer
 
xentaros's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 80
Uploads: 1
Originally posted by Decabah
Getting a couple errors lately, along with certain frames ignoring the conditions I set (such as staying hidden even when I set them to show when player health is less than 100%)
Thanks for the error report. I'm not sure exactly how it happened, but your data has become corrupted. While I'm looking for the source of the bug, your best bet is probably to reset your data with '/kong profile reset' and start again from scratch.
xentaros is offline Report comment to moderator  
Reply With Quote
Unread 04-27-11, 12:23 PM  
Moxie
A Cobalt Mageweaver
 
Moxie's Avatar
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 122
Uploads: 2
Getting a couple errors lately, along with certain frames ignoring the conditions I set (such as staying hidden even when I set them to show when player health is less than 100%):

Code:
18x Kong\Kong.lua:247: attempt to index field '?' (a nil value)
Kong\Kong.lua:434: in function <Kong\Kong.lua:429>
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:204: in function <...erSpecifiedConditions\LibUserSpecifiedConditions.lua:203>:
<in C code>: in function `xpcall'
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:212: in function `FireValueChanged':
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:230: in function <...erSpecifiedConditions\LibUserSpecifiedConditions.lua:217>:
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:204: in function <...erSpecifiedConditions\LibUserSpecifiedConditions.lua:203>:
<in C code>: in function `xpcall'
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:212: in function `FireValueChanged':
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:230: in function `SetValue':
...ong\libs\LibUserSpecifiedConditions\modules\Unit.lua:226: in function <...ong\libs\LibUserSpecifiedConditions\modules\Unit.lua:225>:
<in C code>: in function `pcall'
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:371: in function <...erSpecifiedConditions\LibUserSpecifiedConditions.lua:368>:
Code:
18x Kong\Kong.lua:199: bad argument #1 to 'ipairs' (table expected, got nil)
Kong\Kong.lua:187: in function `Kong_FadeIn'
Kong\Kong.lua:432: in function <Kong\Kong.lua:429>
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:204: in function <...erSpecifiedConditions\LibUserSpecifiedConditions.lua:203>:
<in C code>: in function `xpcall'
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:212: in function `FireValueChanged':
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:230: in function <...erSpecifiedConditions\LibUserSpecifiedConditions.lua:217>:
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:204: in function <...erSpecifiedConditions\LibUserSpecifiedConditions.lua:203>:
<in C code>: in function `xpcall'
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:212: in function `FireValueChanged':
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:230: in function `SetValue':
...ong\libs\LibUserSpecifiedConditions\modules\Unit.lua:226: in function <...ong\libs\LibUserSpecifiedConditions\modules\Unit.lua:225>:
<in C code>: in function `pcall'
...erSpecifiedConditions\LibUserSpecifiedConditions.lua:371: in function <...erSpecifiedConditions\LibUserSpecifiedConditions.lua:368>:
__________________
"Someday we'll look back on this, laugh nervously and quickly change the subject."

"The truth is like sunlight: people used to think it was good for you."
Moxie is offline Report comment to moderator  
Reply With Quote
Unread 04-19-11, 06:11 PM  
xentaros
A Kobold Labourer
 
xentaros's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 80
Uploads: 1
Re: Small bug

Originally posted by CoeurDeLapin
I think I have found a minor bug.
You're right. Luckily, the Unit Power Max condition should still work correctly even though it looks wrong. I'll fix it. Thanks for pointing that out.
Last edited by xentaros : 04-19-11 at 06:12 PM.
xentaros is offline Report comment to moderator  
Reply With Quote
Unread 04-19-11, 06:07 PM  
xentaros
A Kobold Labourer
 
xentaros's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 80
Uploads: 1
Originally posted by essorblood
Yes, Thank you~!
And, Can you please add localization support?
Localization is not very high on my list of priorities but....I'll think about it
xentaros is offline Report comment to moderator  
Reply With Quote
Unread 04-19-11, 03:45 PM  
CoeurDeLapin
A Defias Bandit

Forum posts: 2
File comments: 23
Uploads: 0
Small bug

I think I have found a minor bug. I was trying to make a condition:

Code:
[[Mana] of [Player]] < [Maximum [Mana] of [Player]]
However, it only comes up as:

Code:
[[Mana] of [Player]] < [[Mana] of [Player]]
CoeurDeLapin is offline Report comment to moderator  
Reply With Quote
Unread 04-18-11, 09:54 AM  
essorblood
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally posted by xentaros
Are you talking about mouseover support for non-interactive frames? If so, yes, its on my list of things I'd like to add.
Yes, Thank you~!
And, Can you please add localization support?
Last edited by essorblood : 04-18-11 at 09:58 AM.
essorblood is offline Report comment to moderator  
Reply With Quote
Unread 04-16-11, 06:10 AM  
xentaros
A Kobold Labourer
 
xentaros's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 80
Uploads: 1
Originally posted by conman92
Ive spent the past hour trying to figure out how to get the chat box to simply fade when in combat...
Part of the problem may be that it sounds like you're trying tell Kong when to hide things, when it really works the other way around. Kong hides things by default and then shows them when the conditions becomes true.

Therefore, use [Not [Player is in Combat]] or [[Player is in Combat] = [False]] to show something when you are not in combat.
Originally posted by conman92
You may want to make this mod easier to config.
I hear ya. I'm sure the new pseudo-code condition system can be pretty confusing for people who aren't familiar with the warcraft/starcraft trigger editor or programming in general. I think it can work, but it needs to be a little more newbie-friendly. For example, it probably would prevent a lot of user-frustration if it said stuff like my first paragraph in the addon somewhere. I'm working on improving that for the next version.
Last edited by xentaros : 04-16-11 at 06:12 AM.
xentaros is offline Report comment to moderator  
Reply With Quote
Unread 04-16-11, 01:41 AM  
conman92
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 2
Ive spent the past hour trying to figure out how to get the chat box to simply fade when in combat, but I can't get it to work. Ive set it up to fade when out of combat and pop up when in combat. I have to tried using a reversal of those settings but it just isn't working. Any help?

You may want to make this mod easier to config. This truth = variable business, I just can't wrap my head around why it isn't working properly.
conman92 is offline Report comment to moderator  
Reply With Quote
Unread 04-14-11, 03:31 PM  
xentaros
A Kobold Labourer
 
xentaros's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 80
Uploads: 1
Originally posted by essorblood
Can you please add non-Interactive option?
Are you talking about mouseover support for non-interactive frames? If so, yes, its on my list of things I'd like to add.
xentaros is offline Report comment to moderator  
Reply With Quote
Unread 04-14-11, 03:07 AM  
essorblood
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Can you please add non-Interactive option?
essorblood is offline Report comment to moderator  
Reply With Quote
Unread 04-06-11, 06:22 PM  
xentaros
A Kobold Labourer
 
xentaros's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 80
Uploads: 1
Originally posted by Porsha
anyone in my part/raid or myself is below 99%
Currently, there's no way to easily specify "anyone" in the raid. You would have to individually list each raid member in a giant "or" clause. This is obviously not a very reasonable solution. I'll look into adding some kind of wildcard values in a subsequent version.
xentaros is offline Report comment to moderator  
Reply With Quote
Unread 04-05-11, 04:57 PM  
Porsha
A Black Drake

Forum posts: 88
File comments: 106
Uploads: 0
Anyone tell me how to set Kong to show when Health is less than 99%? I use Vuhdo and want to hide the frame unless:

I have a target
I am in combat
anyone in my part/raid or myself is below 99%

thanks!
Porsha is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: