Quantcast
Download
(1 MB)
Download
Updated: 08-14-18 04:09 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:08-14-18 04:09 AM
Created:12-19-14 11:33 AM
Downloads:13,842
Favorites:60
MD5:
Categories:Bags, Bank, Inventory, Action Bar Mods, Buff, Debuff, Spell
8.0.1

New Openables  Updated less than 3 days ago!  Popular! (More than 5000 hits)

Version: 09.10 14.08.2018
by: Edik [More]

Add-on scan bags for items to use, open, learn etc. When find new proper item it put it on button like action bars. For "Quest Items" create extra button bar what complement click-able button in "Quest watch frame". Adventage are 1st buttons are always at same place, 2nd are bigger and last added/used and 3rd quest item have hot-key assigned.

Features:

  • Create single button to click on to combine/open/use/lockpick item in bags.
  • Button can have assigned hot-key to be able use keyboard short-cut.
  • When click to use item add-on will continue to scan bags and change to next usable item in your inventory.
  • Is possible skip item (remove from button) by right-click, when no other items are found then all skipped items are placed back on button.
  • Is possible permanently blacklist item (remove from button) by CTRL right-click, this permanent blacklist can be cleared via slash command "/nop clear" or from Game Menu, Interface, AddOns.
  • Is possible remove permanently blacklisted item just one with /nop unlist itemID. ItemID come from query via /nop list.
  • Quest items. For each quest item in bags is added separate button. This part is taken from Quest Item Bar made by Nickenyfiken and ZidayaXis. I loved that add-on and original authors have no plans to maintain it. I did adopted core functionality from that add-on.
  • Auto-accept and auto-turnin quests from new Quest Tracker.

Supported items:
  • Many items, list did grow by time I think is time just say "many" here
  • Rogues have placed locked lock-boxes on button, according to level of lock-picking skill. 1st click lock-pick and second click open.
  • Items used for standing gain, be warned addon deosn't check actual standing so if item is consumed on exalted staning it become void. This is not a problem for Legion Tokens because these can be used past Exalted as well.

Let me know item names to add to wish list. I will grow list as I find items suitable to add. Please I need people who will send me translations for nop-locale-enUS.lua to other languages. Localized SubZones are in for deDE, esES, esMX, frFR, itIT, koKR, ptBR, ruRU, zhCN and zhTW.

Original idea behind this add-on come from [email protected]_EU who did make single button for all items containing description "Use: Open ....", I did extend it into all usable items.

Known issues:
  • None known for now.

To-Do:
  • Separate size and position for Usable Item and Quest Button bar is done, now need separate movers.

Revisions:

09.10 14.08.2018

Items with spells were erased after spec switch.
Still hunting down problem with consumables and junk recoginized as usable. Already fixed most reasons, but still sometime happens.
And finally catch it! Sometime shortly after login, usually at 1st login of the day on slow connection or slow computer seems that detection of blind mode fails and all lines in tooltip are shifted by 1. Seems that client for short time sees color blind mode enabled! This never did happens pre 8.0.x
New version is printed once per account not once per profile.


09.08 07.08.2018

Item check cache cleared up every 10 seconds to catch new items.
ZONE_CHANGED event don't catch realiably zone change. Sometime addon catch continent mapID instead real zone!

09.06 23.07.2018

Tooltip for couple of item can be broken when WoW client is freshly started and 1st toon does login. After switch to another toon tooltips are OK. Seems like bug in Blizzard's code because tooltips are striped off last line!.
Retry mechanic in pattern loading is now extended to tooltip scans and fixed tooltip reading as well.
Removed extra diagnostic prints, reson for problem is known now.

09.04 22.07.2018

Bug Fix pattern matching and erros in match table.


09.02 20.07.2018

Fix garrison mapID, missing 4th mapID for tier1.
Removed all code for build 7.3.x.
Check mapID not only on zone change, sometime event for zone chnges is not fired up!
More events could trigger up item rescan in bags including mail, bank, guild bank and trade. Item rescan now is staggered into 1 seconds delay to make just one call if too many events are triggered at once.
Artifact realted code removed as it is obsolete now


09.00 18.07.2018

TOC updated to match Live.
New milenia new mayor version.
Remaped mapIDs to new build. Trash white items still are in tables and need more cleanup.

08.48 15.07.2018

Updated libraries for better compatibility with WoW BFA Beta.
Option not to place tokes for artifact when artifact have all traits, actually when it has level 75.
Added Pandaria reputation tokens.

08.46 21.05.2018

Fix for call to undefined function printt.

08.44 01.05.2018

Added Petrified Wyrmtongue.
WoW 8.x support. Ace3 libraries and other libraries updated to 8.0.1 support as well. For mapID now is used HereBeDragons 1.0 and 2.0
Full LINT declaration and assertion check with call stack on wrong arguments.
Timer function calls now doesn't overlap by default.
Migration all references P. to local LINT friendly, prevents use of not defined variables.

08.42 17.04.2018

Fix. Restore item buttom and quest bar button frame anchor according to saved anchor in profile, instead reseting position.
Fix. Tooltip anchor and if ElvUI is installed, then is forced to use uberTooltip anchor.
Fix. Save procedure calls parent frame as nil for anchor when buttons are moved.

08.40 04.04.2018

Some MIA clams items returns back and Strange Ball of Energy.
Items with Learning spell on it reinstated back.
Only left text in tooltip is compared to red.
Removed Stabilized Titan Essence now it is vendor trash.
When faction is exalted and there is paragong reward pending then standing is shown as Exalted+.
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Author
Date
09.08 07.08.2018
1MB
Edik
08-07-18 05:50 AM
09.06 23.07.2018
1MB
Edik
07-23-18 01:04 AM
09.04 22.07.2018
1MB
Edik
07-22-18 03:27 AM
09.02 20.07.2018
1MB
Edik
07-20-18 02:44 PM
09.00 18.07.2018
1MB
Edik
07-18-18 12:30 PM


Post A Reply Comment Options
Unread 01-05-15, 04:03 PM  
Tymliz
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
strongbox

could you make this compatible with strongboxes that you get from pvp. Thanks in advance.
Report comment to moderator  
Reply With Quote
Unread 01-04-15, 06:48 AM  
saxitoxin
A Wyrmkin Dreamwalker
 
saxitoxin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 59
File comments: 98
Uploads: 7
more support

could you add support for Cards of Omen into the next update
Report comment to moderator  
Reply With Quote
Unread 01-02-15, 08:37 AM  
Edik
A Murloc Raider
 
Edik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 28
Uploads: 1
Originally Posted by saxitoxin
no problem, but this command only works for the English version.

For the salvage yard you must use GetMinimapZoneText() and not GetSubZoneText()

also, you could use ActionButton_ShowOverlayGlow(your_button_name_here) for some more eyecandy

The name of the ally mine is Lunarfall Excavation
OK I did raise mayor version of my add-on. There is a lot of new ideas, thank you "saxitoxin". Now items can be zone restricted (good for salvage reward from missions).

Items are prioritised on button so that mean zone restricted items are placed at button 1st. I did implement items where can be zone and aura check. It allowed implement your two items suggested.
Report comment to moderator  
Reply With Quote
Unread 01-02-15, 04:13 AM  
saxitoxin
A Wyrmkin Dreamwalker
 
saxitoxin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 59
File comments: 98
Uploads: 7
no problem, but this command only works for the English version.

For the salvage yard you must use GetMinimapZoneText() and not GetSubZoneText()

also, you could use ActionButton_ShowOverlayGlow(your_button_name_here) for some more eyecandy

The name of the ally mine is Lunarfall Excavation
Report comment to moderator  
Reply With Quote
Unread 01-02-15, 02:35 AM  
Edik
A Murloc Raider
 
Edik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 28
Uploads: 1
Re: Re: Re: more suggestions

Originally Posted by saxitoxin
Originally Posted by Edik
In addon there is no check for aura, or aura effect. I'm personally using QuestItemBar and adding mining pick and coffee as always shown item.

My addon is able show only one active button, so placing one of these items would block button for other items. I did desgn this addon as hit until it disapears and show me only items one time openables or usable.

For this purpose QuestItemBar is far better because create field of buttons with usable items.
I'm using this dirty code to only show the pick and coffe when in the mines but hoping you would add support for them so I can delete the file
Thanks for tip. I think I will implement it because can be used for Salvage Yard as well. I have idea when sub-arrea change suitable items will pop up on top and show on button. Still can be skipped for ppl who doesn't want that feature.

Need help with name of mines for alliance side. I will look for it. I don't have any alliance alte.
Last edited by Edik : 01-02-15 at 03:19 AM.
Report comment to moderator  
Reply With Quote
Unread 01-01-15, 02:24 PM  
saxitoxin
A Wyrmkin Dreamwalker
 
saxitoxin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 59
File comments: 98
Uploads: 7
Re: Re: more suggestions

Originally Posted by Edik
In addon there is no check for aura, or aura effect. I'm personally using QuestItemBar and adding mining pick and coffee as always shown item.

My addon is able show only one active button, so placing one of these items would block button for other items. I did desgn this addon as hit until it disapears and show me only items one time openables or usable.

For this purpose QuestItemBar is far better because create field of buttons with usable items.
I'm using this dirty code to only show the pick and coffe when in the mines but hoping you would add support for them so I can delete the file
Lua Code:
  1. ---------------------------------------------
  2. -- Core file for Garrison Easy Button
  3. -- Version 0.1
  4. ---------------------------------------------
  5. -- Get config file
  6. local addon, ns = ...
  7. local cfg = ns.cfg
  8. ---------------------------------------------
  9.  
  10. local moveable = false
  11. local noItemButton = ("Interface/RAIDFRAME/ReadyCheck-NotReady")
  12.  
  13. ---------------------------------------------
  14. local coffebuff = GetSpellInfo(176049)
  15. local pickbuff = GetSpellInfo(176061)
  16. local xpbuff = GetSpellInfo(178119)
  17.  
  18. -- CREATE BUTTON FRAME
  19. local button = CreateFrame("Button", "MySecureButton", UIParent, "SecureActionButtonTemplate,ActionButtonTemplate")
  20. button:SetSize(40,40)
  21. button:SetPoint("BOTTOMLEFT",390,5)
  22. button:SetAlpha(0.5)
  23. button:SetAttribute("type", "macro")
  24. button:SetMovable(true)
  25. button:EnableMouse(true)
  26. -- CREATE TEXTURE
  27. local buttonTexture = button:CreateTexture(nil,"BACKGROUND",nil,-7)
  28. buttonTexture:SetAllPoints(button)
  29. -- CREATE TEXT
  30. local buttontext = button:CreateFontString(nil, "OVERLAY")
  31. buttontext:SetFont(STANDARD_TEXT_FONT, 15, "THINOUTLINE")
  32. buttontext:SetPoint("BOTTOMRIGHT",-4,4)
  33. buttontext:SetTextColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b)
  34. buttontext:SetText("")
  35. ---------------------------------------------
  36. button:SetScript("PreClick", function(self)
  37.     if InCombatLockdown() then return end -- can't change attributes in combat
  38.     self:SetAttribute("macrotext", action)
  39.    
  40.     local zone = GetMinimapZoneText()
  41.     local subzone = GetSubZoneText()
  42.     if subzone == "Frostwall Mine" then
  43.         if not UnitBuff("player",coffebuff) then
  44.             local isItemThere = GetItemCount(118897)
  45.             if isItemThere >= 1 then
  46.                 return self:SetAttribute("macrotext", "/use item:118897")
  47.             end
  48.         elseif not UnitBuff("Player",pickbuff) then
  49.             local isItemThere = GetItemCount(118903)
  50.             if isItemThere >= 1 then
  51.                 return self:SetAttribute("macrotext", "/use item:118903")
  52.             end
  53.         end
  54.     end
  55. end)
  56. ---------------------------------------------
  57.  
  58. -- REGISTER EVENTS
  59. button:RegisterEvent("PLAYER_REGEN_DISABLED")
  60. button:RegisterEvent("PLAYER_REGEN_ENABLED")
  61. button:RegisterEvent("BAG_UPDATE")
  62. button:RegisterEvent("ZONE_CHANGED")
  63. button:RegisterEvent("UNIT_AURA")
  64.  
  65. button:SetScript("OnEvent", function(self,event, ...)  
  66.     if event == "PLAYER_REGEN_DISABLED" then
  67.         button:SetAlpha(0)
  68.     else
  69.         if InCombatLockdown() then return end
  70.         local zone = GetMinimapZoneText()
  71.         local subzone = GetSubZoneText()
  72.         -------------------------------------
  73.         if subzone == "Frostwall Mine" then
  74.             if not UnitBuff("player",coffebuff) then
  75.                 local isItemThere = GetItemCount(118897)
  76.                 if isItemThere >= 1 then
  77.                     local name, link, _, _, _, _, _, _, _, texture = GetItemInfo(118897)
  78.                     buttonTexture:SetTexture(texture)
  79.                     buttontext:SetText(isItemThere)
  80.                     button:SetAlpha(1)
  81.                     return
  82.                 else
  83.                     buttonTexture:SetTexture(noItemButton)
  84.                     buttontext:SetText""
  85.                     button:SetAlpha(0.5)
  86.                     return
  87.                 end
  88.             elseif not UnitBuff("player",pickbuff) then
  89.                 local isItemThere = GetItemCount(118903)
  90.                 if isItemThere >= 1 then
  91.                     local name, link, _, _, _, _, _, _, _, texture = GetItemInfo(118903)
  92.                     buttonTexture:SetTexture(texture)
  93.                     buttontext:SetText(isItemThere)
  94.                     button:SetAlpha(1)
  95.                     return
  96.                 else
  97.                     buttonTexture:SetTexture(noItemButton)
  98.                     buttontext:SetText""
  99.                     button:SetAlpha(0.5)
  100.                     return
  101.                 end
  102.             else
  103.                 buttonTexture:SetTexture(noItemButton)
  104.                 buttontext:SetText""
  105.                 button:SetAlpha(0.5)
  106.                 return
  107.             end
  108.         end
  109.     end
  110. end)
Report comment to moderator  
Reply With Quote
Unread 01-01-15, 01:35 PM  
Edik
A Murloc Raider
 
Edik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 28
Uploads: 1
Re: more suggestions

Originally Posted by saxitoxin
thank you for the blacklist and this addon

now, could you please add support for the mining pick and the coffee cup when in the mines and don't have the buff?
In addon there is no check for aura, or aura effect. I'm personally using QuestItemBar and adding mining pick and coffee as always shown item.

My addon is able show only one active button, so placing one of these items would block button for other items. I did desgn this addon as hit until it disapears and show me only items one time openables or usable.

For this purpose QuestItemBar is far better because create field of buttons with usable items.
Report comment to moderator  
Reply With Quote
Unread 01-01-15, 11:00 AM  
saxitoxin
A Wyrmkin Dreamwalker
 
saxitoxin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 59
File comments: 98
Uploads: 7
Thumbs up more suggestions

thank you for the blacklist and this addon

now, could you please add support for the mining pick and the coffee cup when in the mines and don't have the buff?
Report comment to moderator  
Reply With Quote
Unread 12-28-14, 07:26 AM  
Edik
A Murloc Raider
 
Edik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 28
Uploads: 1
Originally Posted by saxitoxin
Is it possible to turn of a category? I does not like that all the items from the garrison missions are showing up, other than that, GREAT addon
I don't have categories inside addon. As band-aid for now there is right-click. I'm adding categories, as planed.

[edit]
I did rethink your request, and I think I found good solution, instead categories. Is now possible simply "Blacklist" pernamently any item you wish to skip. This "Blacklist" can be cleared via slash command or via Game Menu -> Interface -> AddOns dialog. I prefer keep my AddOn simple as can be.
[/edit]
Last edited by Edik : 12-29-14 at 03:54 AM.
Report comment to moderator  
Reply With Quote
Unread 12-28-14, 05:49 AM  
saxitoxin
A Wyrmkin Dreamwalker
 
saxitoxin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 59
File comments: 98
Uploads: 7
Is it possible to turn of a category? I does not like that all the items from the garrison missions are showing up, other than that, GREAT addon
Report comment to moderator  
Reply With Quote
Unread 12-21-14, 08:50 AM  
Edik
A Murloc Raider
 
Edik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 28
Uploads: 1
Originally Posted by saxitoxin
is it possible to add recipes that you have not learned yet.
also all the garrison blueprints?
Recipes and blueprints are now in. Enjoy
Report comment to moderator  
Reply With Quote
Unread 12-21-14, 02:01 AM  
Edik
A Murloc Raider
 
Edik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 28
Uploads: 1
I see you are confused by screen shot where are 2 buttons seen, I will update screen shot. Second one button is from QuestItemBar, which is different add-on with different use. QuestItemBar target Quest Items not openable/usable items.

I will upload new screen shots.

My add-on suppose to ease process opening/using all items in bags. So it means I press button until it disappear, that way I'm sure I did use all usable items in mine bags and didn't miss single item. Let me know if you want to extend functionality and have more than one button. Original creator had in mind that application will be simple and really have small footprint on screen.

Same as I did like simple and just bash one button until it disappear.
Last edited by Edik : 12-21-14 at 03:20 AM.
Report comment to moderator  
Reply With Quote
Unread 12-21-14, 01:54 AM  
Edik
A Murloc Raider
 
Edik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 28
Uploads: 1
Originally Posted by dtylertx
a very neat concept.

some questions:

1) How do you move the button? the middle of the screen is the worst place for this when you're trying to play. It was not left click draggable. Perhaps an option to 'auto hide on combat'?

2) it is not detecting raw beast hide scraps. It detected an item i got from a garrison misison that I needed to use to get a new shoulder piece

3) when i try to toggle the skin (with no button displaying) i get this error on reloadui or log in.
ad 1) simply press Left Mouse button and ALT then start dragging button to any place on your screen. As you can see hint in tool tip when you hover over button. I will add configurable position in UI config dialogue as well, but meantime only ALT drag is supported.

ad 2) if you look in other comments. Button can show only one item at one time, so you shall click on button with garrison reward or store reward in bank and then raw beast hide scraps will probably show on button. What item, from all know types supported by add-on, will be on button is solely only on location in bags.

ad 3) last build should fix this calling non-existent function. Some add-ons heavily interact with buttons and could add/remove functions from frames.
Last edited by Edik : 12-21-14 at 03:21 AM.
Report comment to moderator  
Reply With Quote
Unread 12-21-14, 01:49 AM  
Edik
A Murloc Raider
 
Edik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 28
Uploads: 1
Re: Big Crate of Salvage/Bag of Salvaged Goods

Originally Posted by Tamsiel
Have noticed that if I receive both when completing missions that whichever one is received first shows up on the button and the other one doesn't.
Add-on show in each moment only 1st item from your bags. It scan from leftmost bag so it depend which item is on button only on position of that item in bags. In moment when you click on button and item is consumed/opened then it look up for another one.

If you have more items of same type you can see count on how many you have in bags on button.
Last edited by Edik : 12-21-14 at 03:21 AM.
Report comment to moderator  
Reply With Quote
Unread 12-20-14, 09:32 PM  
Tamsiel
Premium Member

Forum posts: 11
File comments: 3
Uploads: 0
Big Crate of Salvage/Bag of Salvaged Goods

Have noticed that if I receive both when completing missions that whichever one is received first shows up on the button and the other one doesn't.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: