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.
Command Line Parameters
/qb toggle
Toggles QBar being enabled or not
/qb scale <value>
Sets the scale of the buttons, default is 1.
/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 lock
Toggles the button frame being locked, use this command to move the buttons around.
/qb clearignore
Clears the ignore list, and shows all items again. You can shift click an item to ignore it for the reminder of the session.
/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.
- Some zone specific items, such as the "Chrono-beacon" from Black Moras, is not included on the bar. The reason for this is because it has none of the characteristics of a normal usable quest item, no line with the text "Quest Item" and the item type or subtype is "Consumable" instead of "Quest".
Change Log - QBar
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.
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.
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.
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!
__________________
I post as Avanina on wowace.com.
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!
__________________
Lyndi
Level 70 Night Elf Hunter
Silvermoon/The Jesters Guild
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.
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?
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.
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.