Download
(11 Kb)
Download
Updated: 10-03-12 04:07 PM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:10-03-12 04:07 PM
Created:unknown
Downloads:30,076
Favorites:343
MD5:
QBar  Popular! (More than 5000 hits)
Version: 12.10.04
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 | 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


Archived Files (8)
File Name
Version
Size
Author
Date
12.08.30
11kB
Aezay
08-30-12 05:12 AM
10.12.05
10kB
Aezay
12-05-10 04:14 AM
10.11.08
10kB
Aezay
11-08-10 04:05 AM
10.10.22
9kB
Aezay
10-22-10 02:47 PM
10.02.27
9kB
Aezay
02-27-10 07:54 AM
09.03.08
8kB
Aezay
03-08-09 01:59 PM
09.02.20
7kB
Aezay
02-20-09 12:53 AM
08.11.09
7kB
Aezay
11-09-08 03:54 PM


Post A Reply Comment Options
Old 04-10-08, 05:51 PM  
Sepioth
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 894
File comments: 97
Uploads: 5
[i]
Sepioth
I might add on the ability in the way it grows. As for your question about minimising, you can just use "/qb toggle" to hide the window. [/b]
Didn't know of the toggle command. If it is command list I sorry must have overlooked it.

I already have a macro the shows/hides the addon but would still like to have a little +/- to minimize and expand the addon. I'm probably the only one who wants this feature and it is kinda pointless but I still think it is a neat idea
Sepioth is offline Report comment to moderator  
Reply With Quote
Old 04-10-08, 06:01 PM  
secutanudu
A Chromatic Dragonspawn

Forum posts: 155
File comments: 70
Uploads: 0
Originally posted by Aezay
secutanudu
Maybe some "shift click an item to hide it" would be a good way to accomplish this.
That's a nice option. Maybe a /wb clearignore command to clear the ignore list so you can unignore things?

Also - found a small bug. When you equip an on-use item (the goggles for the nagrand shattered-sun quest, for example). There is a 30-second cooldown when you equip on-use items.

So here's the bug: After equiping the item, the 30-second timer ticks down on the item NEXT TO the goggles, not the goggles itself. Looks like the timer was attached to that unit's location, not to the unit itself. Since the new item gets added to the end of the bar....the cooldown appears on the wrong item.
Last edited by secutanudu : 04-10-08 at 08:28 PM.
secutanudu is offline Report comment to moderator  
Reply With Quote
Old 04-10-08, 08:32 PM  
secutanudu
A Chromatic Dragonspawn

Forum posts: 155
File comments: 70
Uploads: 0
Originally posted by 0Blackmage0 My suggestion make a (bindable) keybinding for the bar but make it only use the Highlighted item. [/b]
I love this idea. Make right-click bind that item to a key for that session, or until it's reset. Would make for easy bombing runs
secutanudu is offline Report comment to moderator  
Reply With Quote
Old 04-11-08, 10:53 PM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 704
Uploads: 20
secutanudu
I've forced a cooldown update whenever the buttons update, so that should not happen in the next release.

Speaking about the next release, expect one tonight, I just need to figure out how to let the user input the desired hotkey.

I somehow wished I had called this addon for QBar, but changing the name now is probably a bad idea?
Last edited by Aezay : 04-11-08 at 11:00 PM.
Aezay is offline Report comment to moderator  
Reply With Quote
Old 04-12-08, 09:24 AM  
knigitz
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 5
File comments: 16
Uploads: 1
Some ideas for some options:
/qbar trinket - Toggles showing usable trinkets.
/qbar background [color/opacity/texture]
/qbar border [color/opacity/type] [type=(tooltip/rothui/rounded/square)]
/qbar itemborder [normal/dream/none]
/qbar itemquality - Toggles showing item quality border color. (Quest items can have a yellow quality, or none.)
/qbar maxrows - Max number of rows. (while vertical)
/qbar maxcols - Max number of columns. (while horizontal)

If you wanted to take on autobar addons...
/qbar consumables - Toggles showing consumables.
/qbar add [itemid/item name/slot id]
/qbar rem [itemid/item name/slot id]
/qbar groupitems - Group items by type. Items popup when hovering over the group icon. When you use an item, that item becomes the group icon on the main bar, the other takes its place in the "group" popup. Groups by quest/potion/class consumable/trinket/usable equipment (when equiped) etc...

Just some ideas!
Last edited by knigitz : 04-12-08 at 09:26 AM.
knigitz is offline Report comment to moderator  
Reply With Quote
Old 04-12-08, 09:39 AM  
Zimran
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 17
Uploads: 12
Thumbs up This is a great help...

Thanks for this, it's a must have with all the new dailies.
Zimran is offline Report comment to moderator  
Reply With Quote
Old 04-14-08, 09:27 AM  
secutanudu
A Chromatic Dragonspawn

Forum posts: 155
File comments: 70
Uploads: 0
Nice, just got the latest versions. Couple more suggestions.

Maybe put a colored border on the currently bound button? The cooldowns sometimes cover up the little letter that shows the binding.

Is there a way to ignore items permanently (not just for the session)?
secutanudu is offline Report comment to moderator  
Reply With Quote
Old 04-14-08, 10:24 AM  
neolith
A Fallenroot Satyr
 
neolith's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 27
Uploads: 5
A very useful addon - thanks!

Originally posted by knigitz
/qbar background [color/opacity/texture]
/qbar border [color/opacity/type] [type=(tooltip/rothui/rounded/square)]
/qbar itemborder [normal/dream/none]
/qbar itemquality - Toggles showing item quality border color. (Quest items can have a yellow quality, or none.)
/qbar maxrows - Max number of rows. (while vertical)
/qbar maxcols - Max number of columns. (while horizontal)

If you wanted to take on autobar addons...
/qbar consumables - Toggles showing consumables.
/qbar add [itemid/item name/slot id]
/qbar rem [itemid/item name/slot id]
/qbar groupitems - Group items by type. Items popup when hovering over the group icon. When you use an item, that item becomes the group icon on the main bar, the other takes its place in the "group" popup. Groups by quest/potion/class consumable/trinket/usable equipment (when equiped) etc...

Just some ideas!
Yes please!
__________________
- The biggest trick the devil ever pulled was convincing the world he didn't exist. -
neolith is offline Report comment to moderator  
Reply With Quote
Old 04-16-08, 11:20 AM  
0Blackmage0
A Chromatic Dragonspawn
 
0Blackmage0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 192
File comments: 18
Uploads: 5
Also

/qbar row [#] Sets the number of rows/collums <-bad spelling
__________________


0Blackmage0 is offline Report comment to moderator  
Reply With Quote
Old 04-20-08, 04:21 PM  
eloora
A Fallenroot Satyr
 
eloora's Avatar

Forum posts: 24
File comments: 22
Uploads: 0
For whatever reason I don't see a cooldown number on my qbar, just the default shading that goes clockwise around the icon. Am I missing this setting, or does anyone have an idea why I can't see a numeric cooldown?
eloora is offline Report comment to moderator  
Reply With Quote
Old 04-22-08, 04:14 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 704
Uploads: 20
knigitz
I am keeping this addon as a usable quest item button bar, I do not want to take on Autobar functionality.

secutanudu
You can only ignore for the session now, although with a little code change you could easily make it remember what items you are ignoring.

eloora
Get OmniCC.
Aezay is offline Report comment to moderator  
Reply With Quote
Old 05-01-08, 05:28 AM  
Malthus
A Murloc Raider
 
Malthus's Avatar

Forum posts: 8
File comments: 47
Uploads: 0
Originally posted by Aezay
... I do not want to take on Autobar functionality.
I wish if you could be somehow convinced to create a bloat-less, slim and well working, Autobar-like mod in addition to QBar...

I use and love all your mods, they are working great and well written, thank you very much for creating them and sharing them with us!
Malthus is offline Report comment to moderator  
Reply With Quote
Old 05-15-08, 03:12 AM  
Jewbat
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
/qb toggle

Not sure if this is because of the brand spanking new patch that just came out, but /qb toggle does not work.

Attempted to use it inside of a macro first, but it doesn't work through typing it out either...
Jewbat is offline Report comment to moderator  
Reply With Quote
Old 05-18-08, 11:23 PM  
Naitaeti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 7
Excellent addon, thanks for writing this.

I just took the liberty of adding ButtonFacade support for this as a separate addon, hope you don't mind
Naitaeti is offline Report comment to moderator  
Reply With Quote
Old 05-19-08, 12:28 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 704
Uploads: 20
Jewbat
Actually, the toggle command line switch was broken in the last release, but I am not sure if I will ever get around to updating it again, as I kinda stopped playing WoW.
Aezay is offline 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.