After a small discussion about LockSmith on #wowace someone wanted something to open all openable containers in their inventory. Clams, lockboxes the work.
So I bring you 7 minutes of pure drycoding, then tested by kergoth and approved to be working.
CrowBar. You can find it on files.wowace.com and SVN.
It pops up a red box button that you can click to open the next openable container in your inventory.
Alt-Drag the button to move it.
It has no more features than described above. Rogues might want to install LockSmith, CrowBar is it's complement.
It's working fine for me. The error message indicates that the problem isn't CrowBar's fault; you're missing a library it needs. Either someone needs to update its svn-externals to include AceLocale-3.0, or you need to download Ace3 and run it standalone.
I snagged a copy of AceLocale-3.0 from the latest Eavesdrop and stuck it in the Crowbar's "libs" folder, but it still gives that same error? I was hoping that would be enough.
If Crowbar needs this library, shouldn't Ace3 be a 'Dependency' and not an 'Optional Dependency'? At any rate, hope I can get it sorted out - CrowBar is very convenient. :)
I snagged a copy of AceLocale-3.0 from the latest Eavesdrop and stuck it in the Crowbar's "libs" folder, but it still gives that same error? I was hoping that would be enough.
If Crowbar needs this library, shouldn't Ace3 be a 'Dependency' and not an 'Optional Dependency'? At any rate, hope I can get it sorted out - CrowBar is very convenient. :)
Dunno if you have tried re downloading it again, just a suggestion.
I snagged a copy of AceLocale-3.0 from the latest Eavesdrop and stuck it in the Crowbar's "libs" folder, but it still gives that same error? I was hoping that would be enough.
Just putting a file somewhere does absolutely nothing. You need to add a reference to the file somewhere so that WoW knows to load it. For CrowBar, the proper place to reference AceLocale-3.0 would be in the "libs.xml" file. Open it in Notepad.
Quote from mook »
If Crowbar needs this library, shouldn't Ace3 be a 'Dependency' and not an 'Optional Dependency'? At any rate, hope I can get it sorted out - CrowBar is very convenient. :)
No. If something is listed as a Dependency, the addon will not load if that something isn't found. If somehting is listed as an Optional Dependency, the addon will load regardless of whether or not that something is found, but if it is found, WoW will load it before loading the addon. Since Ace-related libraries are able to be embedded inside the addon, if they were listed as Dependencies, people using embedded libraries wouldn't get any addons loading, because they don't have a standalone "Ace3" (or whichever) addon. Ace3 is correctly listed as an Optional Dependency so that it is loaded before the addon for people using standalone libraries, but the addon still loads for people using embedded libraries.
The solution in this case is to add AceLocale-3.0 to the addon's svn-externals property and "libs.xml" file so that the required library actually gets embedded. Until someone with SVN access feels like doing it, you'll need to manually add the missing library.
Just putting a file somewhere does absolutely nothing. You need to add a reference to the file somewhere so that WoW knows to load it. For CrowBar, the proper place to reference AceLocale-3.0 would be in the "libs.xml" file. Open it in Notepad.
Oh. Duh. :) Thanks for that - since the AddOn was erroring because it was looking for a dependency and not finding it, I thought the "looking for" part was already in place. I added an AceLocale-3.0 reference to the 'libs.xml' file and Crowbar no longer errors out on game load (not sure it actually works yet, as I haven't found any container loot, but I'm hopeful).
Not to drag up an old thread, but Crowbar appears to not see Jaggal Clams anymore, maybe other clams too, probably something to do with the fact that it appears clams stack now.
I got a clam today, too and Crowbar didn't pop up. I tried updating and still no change. Is there a replacement for this mod that works for LK or a working version I don't know about?
Ammo has committed an alpha for clam opening that works for english locales.
(I had something similar in my local copy)
This snippet should work for english and a few more localizations (missing chinese)
local ITEM_OPEN_CLAM = 'Use: Open the clam!' -- default; English
if (GetLocale() == "deDE") then
ITEM_OPEN_CLAM = 'Benutzen: Ãffnet die Muschel!'
elseif (GetLocale() == "esES") then
ITEM_OPEN_CLAM = 'Uso: ¡Abre la almeja!'
elseif (GetLocale() == "frFR") then
ITEM_OPEN_CLAM = 'Utiliser: Ouvrez la palourde!'
elseif (GetLocale() == "ruRU") then
ITEM_OPEN_CLAM = 'ÐÑполÑзование: ÐÑкÑой ÑаковинÑ!'
end
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So I bring you 7 minutes of pure drycoding, then tested by kergoth and approved to be working.
CrowBar. You can find it on files.wowace.com and SVN.
It pops up a red box button that you can click to open the next openable container in your inventory.
Alt-Drag the button to move it.
It has no more features than described above. Rogues might want to install LockSmith, CrowBar is it's complement.
-Ammo
Any love for this great little addon? :)
If Crowbar needs this library, shouldn't Ace3 be a 'Dependency' and not an 'Optional Dependency'? At any rate, hope I can get it sorted out - CrowBar is very convenient. :)
Dunno if you have tried re downloading it again, just a suggestion.
Yep - last version seems to be 'r65981.2', from 4 days ago ... no 'AceLocale-3.0' in it.
Just putting a file somewhere does absolutely nothing. You need to add a reference to the file somewhere so that WoW knows to load it. For CrowBar, the proper place to reference AceLocale-3.0 would be in the "libs.xml" file. Open it in Notepad.
No. If something is listed as a Dependency, the addon will not load if that something isn't found. If somehting is listed as an Optional Dependency, the addon will load regardless of whether or not that something is found, but if it is found, WoW will load it before loading the addon. Since Ace-related libraries are able to be embedded inside the addon, if they were listed as Dependencies, people using embedded libraries wouldn't get any addons loading, because they don't have a standalone "Ace3" (or whichever) addon. Ace3 is correctly listed as an Optional Dependency so that it is loaded before the addon for people using standalone libraries, but the addon still loads for people using embedded libraries.
The solution in this case is to add AceLocale-3.0 to the addon's svn-externals property and "libs.xml" file so that the required library actually gets embedded. Until someone with SVN access feels like doing it, you'll need to manually add the missing library.
Oh. Duh. :) Thanks for that - since the AddOn was erroring because it was looking for a dependency and not finding it, I thought the "looking for" part was already in place. I added an AceLocale-3.0 reference to the 'libs.xml' file and Crowbar no longer errors out on game load (not sure it actually works yet, as I haven't found any container loot, but I'm hopeful).
Thanks Phanx.
(I had something similar in my local copy)
This snippet should work for english and a few more localizations (missing chinese)