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 Driizt@BB_EU who did make single button for all items containing description "Use: Open ....", I did extend it into all usable items.
Known issues:
- None at moment.
Is there another addon that is updated that does the same thing as this one? It appears that the owner has abandoned updating the addon.
The update from Peritus works! However I am getting things like potions and weapons popping up? Is this a setting or should I just start blacklisting these items?
Fixed some additional things based on Kowh's hackjob, this is slightly less hacky and should work pretty much fully.
https://www.dropbox.com/s/tymoth6jsbvskaw/NOP.zip?dl=1
In reply to Forge_User_68288244:
you seem to have completely ripped out 31 lines of nop-core.lua (380-410), was that intentional or some kind of cut and paste error?
also that LE_FOLLOWER_TYPE_SHIPYARD_6_2 enum became Enum.GarrisonFollowerType.FollowerType_6_2 with 9.0.1, might wanna use that instead of hardcoding the 2 value
In reply to Forge_User_39865531:
I think it is because C_Garrison.GetTalentTreeInfoForID has been modified so he removed the code.
I have modified the Enum and the section you metioned, have a try.
NOP-core.lua - Pastebin.com
In reply to mccma:
I'm not currently subbed to wow, so can't test that unfortunately
I made some quick fix referring Kowh's hackjob, also updated some libs included.
I'm not able to guarantee working 100% but for me it works.
https://drive.google.com/file/d/1H1kTur034ZRbVIjVeiAphksCHo8nilv1/view?usp=sharing
In reply to selfaddicted:
Thanks a lot for this!
Confirming that for me this works and so far I don't see any lua errors anymore related to NOP.
In reply to selfaddicted:
Thank you very much!
It works for me without any errors.
In reply to selfaddicted:
I got these errors after using your version. Is it Possible to fox this? I am using the German Client...
The Id for "Wahnsinnsfetzen" is 171176 (In English the item Name is "Shred of Insanity")
The Item id for "Abyssische Fragmente kombinieren" 161354 (In English the item Name is "Abyssal Fragment")
2x ...aceNOP\LibQuestItem-1.0\LibQuestItem-1.0-27.lua:195: attempt to call global 'GetQuestLogTitle' (a nil value)
[string "@NOP\LibQuestItem-1.0\LibQuestItem-1.0-27.lua"]:195: in function <...aceNOP\LibQuestItem-1.0\LibQuestItem-1.0.lua:173>
[string "@NOP\LibQuestItem-1.0\LibQuestItem-1.0-27.lua"]:226: in function `Scan'
[string "@NOP\LibQuestItem-1.0\LibQuestItem-1.0-27.lua"]:281: in function <...aceNOP\LibQuestItem-1.0\LibQuestItem-1.0.lua:276>
Locals:
(for index) = 41
(for limit) = 53
(for step) = 1
questIndex = 41
itemLink = nil
(for index) = 1
(for limit) = 1
(for step) = 1
leaderIndex = 1
objectiveText = "Wahnsinnsfetzen: 7/20"
type = "item"
finished = false
itemName = "Wahnsinnsfetzen"
completed = "7"
total = "20"
itemLink = "|cffa335ee|Hitem:171176::::::::50:577:::::::|h[Wahnsinnsfetzen]|h|r"
itemId = 171176
(*temporary) = nil
(*temporary) = 41
(*temporary) = "attempt to call global 'GetQuestLogTitle' (a nil value)"
getbaseid = <function> defined @NOP\LibQuestItem-1.0\LibQuestItem-1.0.lua:84
questItems = <table> {
161344 = true
141351 = true
171176 = true
}
usableQuestItems = <table> {
161344 = "Abyssische Fragmente kombinieren"
}
activeQuestItems = <table> {
}
questItemText = <table> {
}
questItemsNeededPattern = "(.+): (%d+)/(%d+)"
select = <function> defined =[C]:-1
GetItemInfo = <function> defined =[C]:-1
In reply to TaZz_DE:
I found another errors related with quest items, which occurs when you enter a zone with world quest. I think I fixed it.
you can redownload the Addon and try it. hope to go well with it.
Bit of a hackjob, but it at least appears to work after the following changes:
diff -rw NOP.old/LibQuestItem-1.0/LibQuestItem-1.0.lua NOP/LibQuestItem-1.0/LibQuestItem-1.0.lua
174c174
< for questIndex = 1, GetNumQuestLogEntries() do
---
> for questIndex = 1, C_QuestLog.GetNumQuestLogEntries() do
diff -rw NOP.old/nop-core.lua NOP/nop-core.lua
33,35c33,35
< local LE_FOLLOWER_TYPE_SHIPYARD_6_2 = _G.LE_FOLLOWER_TYPE_SHIPYARD_6_2; assert(LE_FOLLOWER_TYPE_SHIPYARD_6_2 ~= nil,'LE_FOLLOWER_TYPE_SHIPYARD_6_2')
< local LE_GARRISON_TYPE_6_0 = _G.LE_GARRISON_TYPE_6_0; assert(LE_GARRISON_TYPE_6_0 ~= nil,'LE_GARRISON_TYPE_6_0')
< local LE_GARRISON_TYPE_7_0 = _G.LE_GARRISON_TYPE_7_0; assert(LE_GARRISON_TYPE_7_0 ~= nil,'LE_GARRISON_TYPE_7_0')
---
> local LE_FOLLOWER_TYPE_SHIPYARD_6_2 = 2; assert(LE_FOLLOWER_TYPE_SHIPYARD_6_2 ~= nil,'LE_FOLLOWER_TYPE_SHIPYARD_6_2')
> local LE_GARRISON_TYPE_6_0 = Enum.GarrisonType.Type_6_0; assert(LE_GARRISON_TYPE_6_0 ~= nil,'LE_GARRISON_TYPE_6_0')
> local LE_GARRISON_TYPE_7_0 = Enum.GarrisonType.Type_7_0; assert(LE_GARRISON_TYPE_7_0 ~= nil,'LE_GARRISON_TYPE_7_0')
diff -rw NOP.old/nop-quest.lua NOP/nop-quest.lua
14c14
< local GetQuestLogIndexByID = _G.GetQuestLogIndexByID; assert(GetQuestLogIndexByID ~= nil,'GetQuestLogIndexByID')
---
> --local GetQuestLogIndexByID = _G.GetQuestLogIndexByID; assert(GetQuestLogIndexByID ~= nil,'GetQuestLogIndexByID')
Can anyone get this working for the prepatch? .Not working. Really missing it
In reply to richdawg:
Yeah this would be awesome! Perhaps it's got something to do with the new 'Backdrop' changes in 9.0 that most of the addons were affected.
Heya, love the addon it's so handy, I was just wondering if you'd be able to add the Mechagnomes Racial "Skeleton Pinkie" to the lockpicking ability.
Just, thank you. I've been using it since it was first released. Best QoL addon.
If anyone wants to use a macro to activate the button .
Why does the addon keep showing two of my one-handed weapons that are in my inventory?
In reply to Alyred1:
I have this same problem - you are not alone :(
In reply to Alyred1:
No idea how to fix it, but it seems to me that this only happens to weapons that have an illusion on them.