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:38,987
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 11-05-20, 03:09 AM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
Re: Just downloaded, slightly confused

Originally Posted by Barleduq
The first button shows up in the middle of my screen, and I don't see how to move it.
Toggle its locked status with

/qbar lock

Then you can drag it by the border.
__________________
spiralofhope.com
Report comment to moderator  
Reply With Quote
Unread 11-01-20, 06:53 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Just downloaded, slightly confused

Yay, update! Thank you very much for updating here on WoWI! I like it so much better than curse/site/dujour.

The first button shows up in the middle of my screen, and I don't see how to move it. I tried left and right mouse button, alone and with control, shift, and alt. I did not try combinations of those, as I didn't have time before my group started.

I don't see it noted anywhere how to move it.

Clue please?
-Barleduq
Report comment to moderator  
Reply With Quote
Unread 10-31-20, 10:48 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
Oh my god an update; yay!
__________________
spiralofhope.com
Report comment to moderator  
Reply With Quote
Unread 07-23-16, 06:35 AM  
gendi
A Murloc Raider
 
gendi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 4
Uploads: 3
Originally Posted by Gaddor
Originally Posted by Aezay
Wasn't even aware QBar was still working up until now.

The GetAuctionItemClasses() function was removed. Line 23 should be replaced with the following:
Code:
local QUEST_TOKEN = GetItemClassInfo(LE_ITEM_CLASS_QUESTITEM or 12);
Are you able to test if this change is all that is needed? If so I will put up an update. If you encounter more errors, it would be very helpful if you post them.

There are 2 other changes to make it work in 7.0.3, need to change CooldownFrame_SetTimer to CooldownFrame_Set

core.lua - Replace line 418
Code:
CooldownFrame_Set(self.items[i].cooldown,GetContainerItemCooldown(bag,slot));
core.lua - Replace line 420
Code:
CooldownFrame_Set(self.items[i].cooldown,GetInventoryItemCooldown("player",slot));
Thanks to you both.
Report comment to moderator  
Reply With Quote
Unread 07-23-16, 05:02 AM  
Pseudopath
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 66
Uploads: 1
Originally Posted by Gaddor
Originally Posted by Aezay
Wasn't even aware QBar was still working up until now.
<snip>

There are 2 other changes to make it work in 7.0.3, need to change
<snip>
Thank you both! I've been using this for years!

Regards.
Report comment to moderator  
Reply With Quote
Unread 07-21-16, 08:39 PM  
Gaddor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 25
Uploads: 5
Originally Posted by Aezay
Wasn't even aware QBar was still working up until now.

The GetAuctionItemClasses() function was removed. Line 23 should be replaced with the following:
Code:
local QUEST_TOKEN = GetItemClassInfo(LE_ITEM_CLASS_QUESTITEM or 12);
Are you able to test if this change is all that is needed? If so I will put up an update. If you encounter more errors, it would be very helpful if you post them.

There are 2 other changes to make it work in 7.0.3, need to change CooldownFrame_SetTimer to CooldownFrame_Set

core.lua - Replace line 418
Code:
CooldownFrame_Set(self.items[i].cooldown,GetContainerItemCooldown(bag,slot));
core.lua - Replace line 420
Code:
CooldownFrame_Set(self.items[i].cooldown,GetInventoryItemCooldown("player",slot));
Report comment to moderator  
Reply With Quote
Unread 07-21-16, 08:21 AM  
Ookami.kun
A Cliff Giant
 
Ookami.kun's Avatar

Forum posts: 79
File comments: 238
Uploads: 0
Originally Posted by Aezay
Wasn't even aware QBar was still working up until now.

The GetAuctionItemClasses() function was removed. Line 23 should be replaced with the following:
Code:
local QUEST_TOKEN = GetItemClassInfo(LE_ITEM_CLASS_QUESTITEM or 12);
Are you able to test if this change is all that is needed? If so I will put up an update. If you encounter more errors, it would be very helpful if you post them.
QBar has been working great for me up until now. I'll apply that patch when I get home and let you know if any other errors occur. Thanks for keeping this active.
__________________
Report comment to moderator  
Reply With Quote
Unread 07-21-16, 08:04 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 737
Uploads: 18
Wasn't even aware QBar was still working up until now.

The GetAuctionItemClasses() function was removed. Line 23 should be replaced with the following:
Code:
local QUEST_TOKEN = GetItemClassInfo(LE_ITEM_CLASS_QUESTITEM or 12);
Are you able to test if this change is all that is needed? If so I will put up an update. If you encounter more errors, it would be very helpful if you post them.
Report comment to moderator  
Reply With Quote
Unread 07-20-16, 06:25 PM  
Ookami.kun
A Cliff Giant
 
Ookami.kun's Avatar

Forum posts: 79
File comments: 238
Uploads: 0
Not sure if this addon is still active, but in hoping that it is, I'm getting the following error after the latest patch. Thanks.

Code:
Date: 2016-07-20 20:02:00
ID: -5
Error occured in: Global
Count: 1
Message: ..\AddOns\QBar\core.lua line 23:
   attempt to call global 'GetAuctionItemClasses' (a nil value)
Debug:
   QBar\core.lua:23: in main chunk
Locals:
_G = <table> {
 ERR_OUT_OF_CHI = "Not enough chi"
 DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
 MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
 }
 MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock {
 }
 GetTrainerServiceTypeFilter = <function> defined =[C]:-1
 UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
 ARL_DatamineCopyFrame = ARL_DatamineCopyFrame {
 }
 SetTrainerServiceTypeFilter = <function> defined =[C]:-1
 LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 736
 SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
 LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 395
 RecruitAFriendFrame = RecruitAFriendFrame {
 }
 CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
 }
 TutorialFrameLeft19 = TutorialFrameLeft19 {
 }
 MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown {
 }
 ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
 PVP_RANK_6_1 = "Corporal"
 BOOKTYPE_PROFESSION = "professions"
 AudioOptionsVoicePanelOutputDeviceDropDownButtonHighlightTexture = AudioOptionsVoicePanelOutputDeviceDropDownButtonHighlightTexture {
 }
 VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture = VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture {
 }
 MerchantItem2AltCurrencyFrameItem1Text = MerchantItem2AltCurrencyFrameItem1Text {
 }
 OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "Action button keybinds will respond on key down, rather than on key up."
 BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
 CHAT_HEADER_SUFFIX = ": "
 IsReferAFriendLinked = <function> defined =[C]:-1
 MAIL_LETTER_TOOLTIP = "Click to make a permanent
copy of this letter."
 AudioOptionsVoicePanelMicrophoneVolumeThumb = AudioOptionsVoicePanelMicrophoneVolumeThumb {
 }
 PaperDollTitlesPaneButton12BgTop = PaperDollTitlesPaneButton12BgTop {
 }
 DUNGEON_FLOOR_UPPERBLACKROCKSPIRE3 = "Hall of Blackhand"
 CHAT_CONFIG_OTHER_COMBAT = <table> {
 }
 FCFDockOverflowButton_OnClick = <function> defined @Interface\FrameXML\FloatingChatFrame.lua:2337
 TutorialFrameRight19 = TutorialFrameRight19 {
 }
 ChatFrame6EditBoxFocusMid = ChatFrame6EditBoxFocusMid {
 }
 BN_UNABLE_TO_RESOLVE_NAME = "Unable to whisper '%s'. Battle.net may be unavailable."
 LE_GAME_ERR_RECRUIT_A_FRIEND_FAILED = 941
 CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight = CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight {
 }
 LFGTeleport = <function> defined =[C]:-1
 LE_GAME_ERR_ONLY_ONE_QUIVER = 32
 SpellButton6Cooldown = SpellButton6Cooldown {
 }
 SLASH_LibQTip1 = "/qtip"
 ToggleEncounterJournal = <function> defined @Interface\FrameXML\UIParent.lua:788
 PetTrackerSwapInsetBg = PetTrackerSwapInsetBg {
 }
 LOSS_OF_CONTROL_DISPLAY_FEAR = "Feared"
 Graphics_QualityText = Graphics_QualityText {
 }
 TalentMicroButtonAlertShadowTopLeft = TalentMicroButtonAlertShadowTopLeft {
 }
 ROGUE_COMBAT_CORE_ABILITY_4 = "Melee ability with an increased range that consumes Combo Points."
 JoinSkirmish = <function> defined =[C]:-1
 Advanced_GraphicsAPIDropDownButtonHighlightTexture = Advanced_GraphicsAPIDropDownButtonHighlightTexture {
 }
 CompactUnitFrameProfilesSaveButton = CompactUnitFrameProfilesSaveButton {
 }
 MainMenuXPBarDiv8 = MainMenuXPBarDiv8 {
 }
 LFGListSearchPanelScrollFrameButton10BottomRight = LFGListSearchPanelScrollFrameButton10BottomRight {
 }
 DMG_LCD = "DMG"
 RaidGraphics_EnvironmentalDetailSlider = RaidGraphics_EnvironmentalDetailSlider {
 }
 ChannelMemberButton10SpeakerFrameOn = ChannelMemberButton10SpeakerFrameOn {
 }
 Is64BitClient = <function> defined =[C]:-1
 SecureCmdItemParse = <function> defined @Interface\FrameXML\ChatFrame.lua:1028
 SLASH_STOPATTACK1 = "/stopattack"
 MultiCastActionButton4HotKey = MultiCastActionButton4HotKey {
 }
 CompactRaidFrameManagerDisplayFrameFilterOptionsFilterRoleTankMiddleMiddle = CompactRaidFrameManagerDisplayFrameFilterOptionsFilterRoleTankMiddleMiddle {
 }
 TutorialFrame_OnMouseDown = <function>
AddOns:
__________________
Report comment to moderator  
Reply With Quote
Unread 10-03-12, 09:12 PM  
elals29
A Wyrmkin Dreamwalker
 
elals29's Avatar

Forum posts: 57
File comments: 97
Uploads: 0
WOW! I never though I'd ever see this addon updated!
Last edited by elals29 : 10-03-12 at 09:13 PM.
Report comment to moderator  
Reply With Quote
Unread 03-19-12, 10:58 AM  
samvx
A Defias Bandit
 
samvx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 118
Uploads: 3
no update?
Report comment to moderator  
Reply With Quote
Unread 02-24-11, 08:51 AM  
RLD
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 53
Uploads: 1
4.06 killed quest items

4.06 and no qbar no longer knows of the quest items or the ones I had added before. It does appear to remember them if I add them now.
Report comment to moderator  
Reply With Quote
Unread 12-15-10, 07:03 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
I found another way to make using quest items easy by using the new standard interface and a macro.

http://spiralofhope.wordpress.com/20...ower-questing/

TL;DR:

Code:
/click WatchFrameItem1
__________________
spiralofhope.com
Report comment to moderator  
Reply With Quote
Unread 12-05-10, 04:44 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 737
Uploads: 18
Dajova
Awesome, thanks, it's fixed now.
Report comment to moderator  
Reply With Quote
Unread 12-05-10, 03:58 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Dont know why, but there seems to be a bug with the ignore function. I cant seem to ignore Faded Wizard Hat, even tho i shift-click it.
__________________
Livestream | Twitter | YouTube
Last edited by Dajova : 12-05-10 at 03:58 AM.
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.