Download
(11Kb)
Download
Updated: 10-31-20 05:51 PM
Pictures
File Info
Compatibility:
Shadowlands pre-patch (9.0.1)
Updated:10-31-20 05:51 PM
Created:unknown
Downloads:39,006
Favorites:337
MD5:

QBar  Popular! (More than 5000 hits)

Version: 20.10.31
by: Aezay [More]

QBar - Quest Item Button Bar
Ever been questing and had to find all those usable quest items in your bags all the time, then this addon is for you. No longer will you have to keep your bags open to do daily bombing quests!

This addon will automatically create a dynamic buttonbar for all those usable quest items, it also checks if your equipped gear for usable quest items.
As using items is a secure function, QBar is not able to update the bar or the set keybinding when in combat. This will only be changed outside of combat.

You may ask, why use this over the buildin quest item buttons? Well, the buildin buttons will only show items you receive when you accept the quest,
any usable quest items you loot during a quest will not be shown, QBar will however. QBar will also show items which starts a quest, so you wont miss them in between all the cluttered loot.
The default buttons also goes away once you complete the quest, but the item is not actually removed until you turn the quest in, and you may want to use the item even after the quest is complete.

If you do not wish to show a certain item on QBar, you can ignore it by holding down Shift and clicking on it.

Button Facade Support
Officially there is no support for button facade, but someone has been kind enough to code one for QBar. You can find it here:
QBar ButtonFacade (Fan Update)

Command Line Parameters

/qb toggle
Toggles QBar being enabled or not.

/qb scale <value>
Sets the scale of the buttons, default is 1.

/qb size <value>
Sets the unit size of the buttons, default is 36.

/qb padding <value>
Configures the padding between the buttons, default is 1.

/qb tips
Determines if item tips are shown when you move your mouse over the buttons.

/qb vertical
Toggles between horizontal and vertical button bar.

/qb mirror
Changes the anchor direction, top/bottom or left/right, depending on the vertical setting.

/qb lock
Toggles the button frame being locked, use this command to move the buttons around.

/qb reset
Resets the QBar frame to the middle of the screen in case it was pushed off screen.

/qb add <itemlink>
Adds a custom item to the bar. To remove an item again, simply shift click it, as when you're ignoring an item.

/qb clearignore
Clears the ignore list, and shows all items again. You can shift click an item to ignore it.

/qb clearuser
Clears the user list from items, added using the add command.

/qb bind
Use this command to set the key binding for the last item used, this is vital for all the dailies.

Lacking Features, Problems & Ideas
- Manage the update of keybinding, no need to unbind and rebind if it stays the same as before.

QBar Changes | 2020 Oct 31
- Updated the TOC version to 90001 for the Shadowlands 9.0.1 pre-patch.
- Frames that use backdrops are now created using the "BackdropTemplate".

QBar Changes | 2018 Jul 29
- Updated the TOC version to 80000 for the Battle for Azeroth 8.0 pre-patch.
- Renamed "core.lua" to "qb.lua".

QBar Changes | 2016 Jul 23
- TOC version updated to 70000 for the Legion 7.0.3 pre-patch.
- Fixed an API change that was obtaining the localized "Quest" string.
- Fixed another API change related to CooldownFrame_SetTimer -> CooldownFrame_Set. Thanks Gaddor.

QBar Changes | 2012 Oct 04
- Updated the changed return position of the localised "Quest" string from the GetAuctionItemClasses() function (was 12, now 10).
- Fixed an error that would occur when the GetContainerItemLink() function didn't return a true "item:<id>" itemlink. It seemed to sometimes return "battlepet" links. This change might cause some items not to be picked up as before.

QBar Changes | 2012 Aug 30
- Changed the TOC version to 50001 for the 5.0 Mists of Pandaria patch.
- Removed the "RangedSlot" equipment slot.

QBar Changes | 2010 Dec 05
- Should now work better on non-English clients. This was done by gathering the localized "Quest" text from the 12th parameter of the GetAuctionItemClasses() function.
- Fixed the "/qb lock" slash command, locking QBar intially, instead of unlocking.
- Changed the "VARIABLE_LOADED" event with "ADDON_LOADED".
- Added "/qbar" as an alternative, to the already existing "/qb" slash command.
- Fixed an issue with the equipped gear scan not respecting the ignore list.

QBar Changes | 2010 Nov 08
- You can now properly ignore quest starter items again.
- Adding custom items to the bar is now possible. Use the new slash command "/qb add <itemlink>" to do so. To remove an item again, just shift click the item on the bar.
- New slash command "/qb clearuser" to clear the custom user list, from items added through the new "/qb add" slash command.
- It's now possible to overwrite QBar's old keybind. This used to be somewhat of a bug/coding error on my part.
- Now remembers the last used item between sessions.
- The ignore list is now stored using the item ID, rather than item name. This has the unfortunate side effect that your ignore list will be wiped.
- Button "count" text now uses normal font, instead of number font.
- Now uses a more localized way of determining a quest item, instead of just using "Quest". This means it should be more compatible with non English clients.
- Minor code cleanup and optimisations.

QBar Changes | 2010 Oct 22
- Changed the TOC version to 40000 for the 4.0.1 pre Cataclysm patch.
- Items that starts a quest are now detected using the GetContainerItemQuestInfo() function.
- Added a few items to the list of items that should be treated as quest items.

QBar Changes | 2010 Feb 27
- Changed the TOC version to 30300 for the 3.3 patch.
- Removed global pollution of the name "button".
- Items which starts a quest should now be detected better.

QBar Changes | 2009 Mar 08
- Added a mirrored anchor direction option, use the slash command "/qb mirror" to toggle it.
- You can now set the unit size of the item buttons using the command "/qb size <value>", default is 36. This option is not new, I had previously removed it when I added the scaling option.
- The item tooltip is now a little more intelligent and should not block the buttons any longer, no matter what corner of the screen you put QBar.
- Zone items should now properly update after you re-enter an instance from a corpse run.
- Did a little code cleanup.

QBar Changes | 2009 Feb 20
- Usable zone items will now be shown on the bar. An example would be the flying drake's essence in The Oculus instance.
- Some items which starts a quest are now included onto the bar.
- If only one item is shown, the assigned hotkey will automatically become bound.
- Since some quest items are not marked as being so by WoW, I've added a custom table that forces any itemid in it, to be included no matter what. So if you find a quest item that isn't shown, please let me know which one it is, and I will add it to this list for the following releases.

QBar Changes | 2008 Nov 09
- Changed the TOC version to 30000 for the Wrath of the Lich King patch.
- Settings are now saved per character.
- The ignore list is now remembered between sessions.
- Fixed the "/qb toggle" slash command.

QBar Changes | 2008 May 01
- Added an "update throttle" to avoid lag when receiving several events at the same time.
- New slash command to lock and unlock the button frame. The border which used to show before is now only visible when unlocked. Use "/qb lock" to toggle the lock.
- You can now link items into chat as well as trying out the item in the dress up frame by using the normal modifier keys for those actions.
- Added back the "UNIT_INVENTORY_CHANGED" event, otherwise equipable items would not get removed from the button bar when you completed or abandoned the quest.
- Previously, not all quest items got included on the bar, this was due to some items not having the text "Quest Item" in the tooltip. Now it should properly include all items as one would expect.

QBar Changes | 2008 Apr 12
- I've renamed the addon to "QBar" as I like that better than "QButtons".
- Removed the size slash command "/qb size <value>" in favor of a scaling option using the command "/qb scale <value>".
- Added a padding option to set how much space there should be between buttons, use "/qb padding <value>" to set.
- You can now set a hotkey to the last item that was used. Use the slash command "/qb bind" to set the key binding.
- The buttons should now properly update when you leave combat.
- Fixed a bug where the cooldown frames could be shown on the wrong button if some of the objects on the bar changed position.
- Shift clicking an item now ignores it for the reminder of the session. Use the command "/qb clearignore" to show all ignored items again.
- Removed the "UNIT_INVENTORY_CHANGED" event, not needed as all gear change invoke "BAG_UPDATE" anyway.
- Changed frame strata to medium to allow other frames to show above it.

QButtons Changes | 2008 Apr 09
- Should now work on localised versions of WoW, let me know if I am wrong.
- Added cooldown frames to the buttons.
- New slash command to change the size of the buttons, use "/qb size <value>" to do so.
- You can now turn off tips showing on button mouseover with the slash command "/qb tips".
- There is now an option to turn the bar growth to vertical, instead of the normal horizontal, use the command "/qb vertical" to toggle.

QButtons Changes | 2008 Apr 06
- First Release.
Optional Files (1)
File Name
Version
Size
Author
Date
Type
0.2
1kB
05-18-08 11:49 PM
Addon


Post A Reply Comment Options
Unread 05-28-08, 08:03 PM  
ChaosInc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
RE: Items not marked as "Quest"

Have you considered making a separate customized list for these items? I know it's possible to reassign item types as ArkInventory gives you the ability to do so. You may want to check that out if you'd consider making a "fix" so they work.

Edit: Also added this for me, figured I'd post if you'd want to add it or if anyone else wants to use it.

Code:
Line 39
f:SetClampedToScreen(true);
Keeps the frame from going off the screen, useful for people who want to set it against the edge of the screen.
Last edited by : 05-28-08 at 08:19 PM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 08-21-08, 07:05 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
I'm trying this out, and there's one big problem -- it shows my Blessed Medallion of Karabor (BT teleport neck) at all times. Is there a way to permanently ignore an item?
Report comment to moderator  
Reply With Quote
Unread 08-22-08, 08:42 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 737
Uploads: 18
You can add an item to the ignore list by holding down shift and clicking on it, but the table it's saved to isn't saved between sessions, right now I am not sure why I didn't set it to do so :P

It would be possible to edit the lua and remove the local declaration from the variable "ignoreList", and then add "ignoreList" to the "SavedVariables" line in the .toc file.
Report comment to moderator  
Reply With Quote
Unread 09-12-08, 02:09 PM  
merneith
A Defias Bandit

Forum posts: 3
File comments: 43
Uploads: 0
I just wanted to say, this bar works beautifully! It's a terrific addition to my set up.
Report comment to moderator  
Reply With Quote
Unread 10-23-08, 08:00 AM  
Twidget
An Aku'mai Servant
 
Twidget's Avatar

Forum posts: 33
File comments: 401
Uploads: 0
Hi,
Will this be updated for WotLK?
This is one of my can't live without mods...

Thanks!
Report comment to moderator  
Reply With Quote
Unread 10-23-08, 08:21 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 737
Uploads: 18
Twidget, I haven't noticed anything that broke in this addon with the 3.0.2 path, do you just mean a TOC version update?
Report comment to moderator  
Reply With Quote
Unread 10-23-08, 02:25 PM  
erica647
A Cobalt Mageweaver
 
erica647's Avatar
AddOn Author - Click to view AddOns

Forum posts: 209
File comments: 192
Uploads: 2
Originally posted by Aezay
Twidget, I haven't noticed anything that broke in this addon with the 3.0.2 path, do you just mean a TOC version update?
Hey Aezay... great to see you back on the forums! I myself had just assumed this was broken with the api changes for action bars. Glad to hear it's still working and I'll get it installed ASAP. This really is another great mod and thank you!
__________________
Karadra
Level 80 Human Deathknight
Silvermoon/Nerfed Guild
Report comment to moderator  
Reply With Quote
Unread 10-26-08, 09:02 AM  
shinzon
A Fallenroot Satyr

Forum posts: 27
File comments: 55
Uploads: 0
well it seems it wont remeber the per char settings for me at least dont know why only thing that i have noticed besides that it works fine
Report comment to moderator  
Reply With Quote
Unread 11-09-08, 07:02 PM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 177
Uploads: 0
Thanks for the update, Aezay!

If I may provide a suggestion, I think it would be great if one could choose what direction they wanted the bar to grow from. For the bar set as horizontal, grow left and grow right, while vertical would have grow top and grow bottom.

This would allow a person to dock their bar beside another UI element without worrying that the bar may grow and overlap. For example, if my minimap is on the bottom-right of my screen, QBar can overlap the minimap if it is set on the left side but is showing a lot of quest items. To fix this, I must unlock Qbar and move it, then readjust it again when I have fewer items.

With the feature implemented, I can have QBar set to horizontal and choose for the bar to grow left so that the bar won't grow over my minimap.

Cheers and kudos for the great work!
Report comment to moderator  
Reply With Quote
Unread 11-13-08, 12:36 PM  
Acacia_
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 60
Uploads: 6
Great add-on for leveling

I'd like to put in a suggestion for ButtonFacade support, so that it blends in better with the over all UI
Report comment to moderator  
Reply With Quote
Unread 11-14-08, 11:50 AM  
reacean
A Defias Bandit

Forum posts: 2
File comments: 7
Uploads: 0
Originally posted by Acacia_
Great add-on for leveling

I'd like to put in a suggestion for ButtonFacade support, so that it blends in better with the over all UI
There's a buttonfacade plugin available in the optional files.
Report comment to moderator  
Reply With Quote
Unread 11-17-08, 08:29 AM  
Gravion
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
qbar...

Crystal Spire(item similar to Druid's Thorns) is being considered a quest item, though it's not.

Stratholme Holy Water is, too..
Report comment to moderator  
Reply With Quote
Unread 11-18-08, 09:40 AM  
reacean
A Defias Bandit

Forum posts: 2
File comments: 7
Uploads: 0
Re: qbar...

Originally posted by Gravion
Crystal Spire(item similar to Druid's Thorns) is being considered a quest item, though it's not.

Stratholme Holy Water is, too..
Technically Stratholme Holy Water *is* a quest item (even though you don't use it for the quest). Personally I find it more useful that Qbar has it there than not.
Report comment to moderator  
Reply With Quote
Unread 11-18-08, 10:54 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 737
Uploads: 18
Gravion
Obviously, QBar does not contain a huge database of each item in WoW to determine what is and what is not a questitem. Instead it uses the return from GetItemInfo() to see if the itemType or itemSubType is "Quest", or it checks the tooltip for the item, and sees if it has "Quest Item" in it. I know there are items which really shouldn't be included onto the QBar, but they are marked quest items by WoW. You can just add these items to the ignore list.
Report comment to moderator  
Reply With Quote
Unread 11-24-08, 12:49 PM  
Gravion
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
Originally posted by Aezay
Gravion
Obviously, QBar does not contain a huge database of each item in WoW to determine what is and what is not a questitem. Instead it uses the return from GetItemInfo() to see if the itemType or itemSubType is "Quest", or it checks the tooltip for the item, and sees if it has "Quest Item" in it. I know there are items which really shouldn't be included onto the QBar, but they are marked quest items by WoW. You can just add these items to the ignore list.
I seeeee Can i request that Emerald/Amber/<thatotherone> Essence gets added, please? they're used in The Oculus instance
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.