1 Lockbox Cracker
Did you ever curse at other players placing their lockboxes in the will not trade slot without asking you? Did you ever forget your keybinding of Pick Lock? ("Ah, how could I forget, I bound it to left curly bracket!") Were you ever starting to get slightly annoyed by having to move your mouse for several kilometers from your action bars to click Pick Lock back to the trade window and back and forth and ba... if one of your friends casually comes by with a pile of boxes?
The Answer is here!
This is a very simple addon without the need of any configuration. It is only loaded on rogue classes. If a player trades you any type of lockbox in the will not trade slot, alt-clicking will mark it for cracking.
Additionally, you can also alt-click any locked lockbox in your inventory. It will instantly start getting cracked.
Lock picking has never been so elegant!
2 Cracking Does Not Work?
If the addon does not work, you are probably on a language not tested/supported yet. Just write a comment with your game version (retail/classic) and I will look into it. Currently the addon works for German, English, French and Spanish clients. Bag Addons could possibliy interfere with this addon. However, the ones I have tested did not cause any problems.
3 Contact
If you stumble across any error messages or would like to have a new feature, write a comment here, ingame to Armak-Frostwolf (EU)/Michigras-Lucifron (EU) or via Michi#2174.
4 Changelog History
v8.2.5 build 1 (Sep 26, 2019)
- Updated for patch 8.2.5.
v1.13.2 build 2 (Sep 24, 2019)
Cracking should work again for our French players ! Allez-y !
v1.13.2 build 1 (Sep 10, 2019)
- I was able to test the addon on Classic WoW. Everything should work!
v8.2.0 build 7 (Jul 27, 2019)
- 'Leave combat to crack this box' should not appear on every item in your bags anymore.
v8.2.0 build 6 (Jul 25, 2019)
- The addon should now work at least with English, French and German clients. Please let me know when your language does not work!
v8.2.0 build 5 (Jul 22, 2019)
- Alt-clicking in the trade window now instantly marks the lockbox for cracking.
v8.2.0 build 4 (Jul 21, 2019)
- Forgot to change a version number in the .toc file. Shame on me!
v8.2.0 build 3 (Jul 21, 2019)
- Complete code rewrite, allowing much better accessibility
- You can now just alt-click lockboxes in your inventory to open them
- To open a lockbox for someone else you alt-click the lockbox in the no-trade slot. After that your pick lock spell activates as if you've just clicked it from your spell book. You then have to cast it onto the lockbox. As far as I know, you cannot open a no-trade lockbox with only one click.
- Added a small text to a lockbox's tooltip
- Future lockboxes most probably will be crackable without the need of an addon update, as the code does not depend on their item ids any more
v8.2.0 build 2 (Jul 14, 2019)
- Added Barnacled Lockbox.
v8.2.0 build 1 (Jun 26, 2019)
- Updated for patch 8.2.0.
v8.1.0 build 2 (Dec 20, 2018)
- The addon should not interfere with other addons any more (if it ever did).
- The generated Pick Lock buttons should not overlap the map and other standard UI elements any more if they should appear behind them.
- You can now right click any lockbox in your inventory. A Pick Lock button will appear to the left of it. Clicking on the item again or closing bags makes it disappear.
v8.1.0 build 1 (Dec 19, 2018)
- Updated for patch 8.1.0.
- Fixed icon positioning.
v8.0.1 build 2 (Nov 04, 2018)
- Minor improvements under the hood.
- The project switched to a different release naming. From now on it's always WoW's current version + the build number of Lockbox Cracker.
v1.0.2 (Jul 18, 2018)
- Updated for patch 8.0.1.
v1.0.1 (Aug 30, 2017)
- Updated for patch 7.3.0.
v1.0 (Jul 06, 2017)
- Release version 1.0
I get this error when releasing alt when I crack lootboxes:
Date: 2019-09-26 16:56:55
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\LockboxCracker\LockboxCracker.lua line 159:
attempt to index a nil value
Debug:
LockboxCracker\LockboxCracker.lua:159:
LockboxCracker\LockboxCracker.lua:135
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: OnTooltipSetItem()
Enchantrix\EnxMain.lua:232:
Enchantrix\EnxMain.lua:228
[C]: ?
[C]: ?
...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:424:
...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:418
[C]: ?
[C]: SetBagItem()
Molinari\Molinari.lua:54:
Molinari\Molinari.lua:44
Molinari\Molinari.lua:155:
Molinari\Molinari.lua:147
Locals:
self = GameTooltip {
0 = <userdata>
SetQuestLogRewardSpell = <function> defined @Interface\AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:418
SetHyperlink = <function> defined @Interface\AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:418
SetTradeSkillItem = <function> defined =[C]:-1
_owner = QuestieFrame98 {
}
Hide = <function> defined =[C]:-1
questOrder = <table> {
}
SetCraftItem = <function> defined =[C]:-1
SetQuestRewardSpell = <function> defined @Interface\AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:418
comparing = false
Show = <function> defined =[C]:-1
isFirstMoneyLine = false
SetPetAction = <function> defined @Interface\AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:418
SetUnitDebuff = <function> defined =[C]:-1
SetLootItem = <function> defined =[C]:-1
SetQuestItem = <function> defined =[C]:-1
SetTrainerService = <function> defined @Interface\AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:418
numMoneyFrames = 2
SetShapeshift = <function> defined @Interface\AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:418
hasMoney = 1
SetInboxItem = <function> defined =[C]:-1
SetBuybackItem = <function> defined @Interface\AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:418
shoppingTooltips = <table> {
}
TopOverlay = <unnamed> {
}
LibExtraTipLeft = <table> {
}
SetQuestLogItem = <function> defined =[C]:-1
npcOrder = <table> {
}
BottomOverlay = <unnamed> {
}
SetTalent = <function> defined @Interface\AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:418
SetTradePlayerItem = <function> defined =[C]:-1
SetMerchantItem = <function> defined @Interface\AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:418
SetSendMailItem = <function> defined =[C]:-1
SetUnitBuff = <function> defined =[C]:-1
updateTooltip = 0.055000
SetInventoryItem = <function> defined =[C]:-1
SetCraftSpell = <function> defined =[C]:-1
StatusBar = GameTooltipStatusBar {
}
SetLootRollItem = <function> defined =[C]:-1
SetUnitAura = <function> defined =[C]:-1
SetTradeTargetItem = <function> defined =[C]:-1
SetAuctionSellItem = <function> defined =[C]:-1
SetBagItem = <function> defined =[C]:-1
LibExtraTipRight = <table> {
}
SetAction = <function> defined =[C]:-1
__tamedCounts = false
needsReset = true
SetAuctionItem = <function> defined =[C]:-1
}
itemName = "Worn Junkbox"
itemLink = "[Worn Junkbox]"
itemId = "16883"
(*temporary) = nil
(*temporary) = nil
(*temporary) = false
(*temporary) = 3
(*temporary) = 1
(*temporary) = 3
(*temporary) = "Requires Pick Lock (70)"
(*temporary) = nil
(*temporary) = "Requires Pick Lock (70)"
(*temporary) = "Item will not be traded!"
(*temporary) = nil
(*temporary) = 1
(*temporary) = ""
(*temporary) = 132594
(*temporary) = "attempt to index a nil value"
GetItemIdFromLink = <function> defined @Interface\AddOns\LockboxCracker\LockboxCracker.lua:64
PlayerLevelIsHighEnoughToUseItem = <function> defined @Interface\AddOns\LockboxCracker\LockboxCracker.lua:76
SearchTooltip = <function> defined @Interface\AddOns\LockboxCracker\LockboxCracker.lua:46
MakeRegexSafe = <function> defined @Interface\AddOns\LockboxCracker\LockboxCracker.lua:123
SetLCTooltipBag = <function> defined @Interface\AddOns\LockboxCracker\LockboxCracker.lua:86
SetLCTooltipNoTrade = <function> defined @Interface\AddOns\LockboxCracker\LockboxCracker.lua:98
RepositionPickLockButton = <function> defined @Interface\AddOns\LockboxCracker\LockboxCracker.lua:113
localisedPickLockSpellName = "Pick Lock"
AddOns:
Swatter, v8.2.6377 (SwimmingSeadragon)
AtlasLootClassic, vv1.1.12
AucAdvanced, v8.2.6430 (SwimmingSeadragon)
AucFilterBasic, v8.2.6364 (SwimmingSeadragon)
AucScanData, v8.2.6365 (SwimmingSeadragon)
AucStatHistogram, v8.2.6366 (SwimmingSeadragon)
AucStatiLevel, v8.2.6370 (SwimmingSeadragon)
AucStatPurchased, v8.2.6367 (SwimmingSeadragon)
AucStatSimple, v8.2.6399 (SwimmingSeadragon)
AucStatStdDev, v8.2.6369 (SwimmingSeadragon)
AucUtilFixAH, v8.2.6371 (SwimmingSeadragon)
BagBrother, v
BeanCounter, v8.2.6422 (SwimmingSeadragon)
ClassicAuraDurations, v
Combuctor, v8.2.8
Details, v
DetailsTinyThreat, v
ElvUI, v1.11
Enchantrix, v8.2.6428 (SwimmingSeadragon)
FishingBuddy, v0.5 Beta 1
Informant, v8.2.6374 (SwimmingSeadragon)
KuiMedia, v
KuiNameplates, v
KuiNameplatesCore, v
KuiNameplatesElite, vv1.0-classic
LockboxCracker, v1.13.2 build 2
Mapster, v1.8.5
MarkMe, v0.9.7
Molinari, v80200.63-Release
MonkeyLibrary, v
MonkeyQuest, v
MonkeyQuestLog, v
OmniCC, v8.2.5
Peggle, v2.2.3
PickPocketer, v1.0
Poisoner, v1.13.2.8-classic
Questie, v4.1.1 BETA
ShadowedUnitFrames, vv4.2-Classic-Beta7
SlideBar, v8.2.6375 (SwimmingSeadragon)
Stubby, v8.2.6376 (SwimmingSeadragon)
TitanClassic, v1.1.0.11302
TitanClassicAmmo, v1.1.0.11302
TitanClassicBag, v1.1.0.11302
TitanClassicClock, v1.1.0.11302
TitanClassicGold, v1.1.0.11302
TitanClassicLocation, v1.1.0.11302
TitanClassicLootType, v1.1.0.11302
TitanClassicPerformance, v1.1.0.11302
TitanClassicRegen, v1.1.0.11302
TitanClassicRepair, v1.1.0.11302
TitanClassicVolume, v1.1.0.11302
TitanClassicXP, v1.1.0.11302
VendorPrice, v1.2.6
BlizRuntimeLib_enUS v1.13.2.11302 <none>
(ck=6ba)
In reply to Roflshart:
Hi, this seems to have something to do with you having Enchantrix and/or Molinari installed. Could you try disabling them one after another and find the one which generates the error in combination with Lockbox Cracker?
I'm using Adibag, and I'm not getting any option to unlock boxes when I alt click an item in my bags.
In reply to Honeyflake_WoW:
Which WoW version are you on and which language? On retail it should work with AdiBags.
In reply to Michigras:
It's the classic version, English language.
In reply to Honeyflake_WoW:
I was just able to test this (I'm not playing Rogue on classic, so it's sometimes a bit hard to test). Only AdiBags + Lockbox Cracker on an English Client works just fine. I suppose it's another addon preventing correct functionality.
Hi,
Doesn't seems to work in French... Can you check it?
None of my addon seems to interfere with yours since i could use it when i changed my language settings to english :)
In reply to Xenop92:
Hi, I'll look into it later. On retail it does work with French, however.
In reply to Michigras:
Thanks a lot kind sir !
In reply to Xenop92:
Hi, it should be fixed. I tested the new version with German, French, English and Spanish clients.
Hi
Is there any way to just have a simplified procedure to Ctrl+Left Click a lockbox to automatically cast Pick Lock on it?
In reply to SunfyreBlazing:
Hi, sadly, this is not possible. You cannot simply tell WoW to cast spell id 1804 (Pick Lock) on a bag slot. WoW prevents almost all automated actions and requires a click from the user on a secured button to cast a spell. So to add custom spell buttons to your addon, you have to prepare these buttons: set an icon, set a spell. Then, only after you click this button, the spell is cast. You cannot change the underlying spell any more.
The requirement you'd like to have implemented assumes the following: It is possible for the user to click on an arbitrary area which then starts a spell cast on a target. If this was possible, you could start writing a bot addon :-)
In reply to SunfyreBlazing:
I think, I've found a way. Needs a bit of testing, but works in theory.
In reply to SunfyreBlazing:
The new version was just released.
First off, I like the QOL this brings to people not in the macro or keybinding way. Is it possible to add a function of simply right clicking on the lockbox to also flag a picklock event on trade? How about a "Go level slacker!" insult when you try and pick a lock you are not leveled enough to do. :)
In reply to migtin688:
In reply to migtin688:
I'm still testing but it should be up in a couple of hours.
In reply to Gmull:
In reply to migtin688:
I found a way to simplify the whole process. Alt-clicking now opens lockboxes in your bags.
In reply to Michigras:
I see the changes and am looking forward to using them. Thank you for figuring this out!