BankItems
#BankItems v9.0.2.3: Change Log
Feb 12, 2021 (r286)
For use with Live Servers v9.0.2.37474
Latest Development Build: 9.0.2.3 Feb 12, 2021 (r286)
Please report any errors with the addon at our issues tracker.
An addon that remembers the contents of your bank, bags, mail, equipped, currency, auction house, void storage and display them anywhere in the world. Also able to remember/display the banks of any character on the same account on any server, as well as searching and exporting lists of bag/bank items out. It will also remember the contents of Guild Banks if you are able to view them.
Type /bi or /bankitems to see what is currently in your bank. You must visit your bank once to initialize.
Type /bigb or /bankitemsgb to see what is currently in your guild bank. You must visit your guild bank once to initialize. Note that Guild Banks are a shared repository and changes can occur to it by other members of your guild.
Read below for other commands.
- CurseForge: https://www.curseforge.com/wow/addons/bank-items
- Project site: https://www.wowace.com/projects/bank-items
##Plugins
These plugins allow clicking on the panel/plugin icon to open BankItems, giving a summarized view of inventory slots and money of each character on the same realm, and deleting data with the menu quickly.
- LDB plugin for BankItems: BankItems provides a LDB launcher if LibDataBroker-1.1 is detected to be loaded. (built-in)
##Commands
- /bi : open BankItems
- /bi all : open BankItems and all bags
- /bi allbank: open BankItems and all bank bags only
- /bi clear : clear currently selected player's info
- /bi clearall : clear all players' info
- /bi showbuttun : show the minimap button
- /bi hidebutton : hide the minimap button
- /bi open charname : open bank of charname on the same server
- /bi charname : open bank of charname on the same server
- /bi search itemname : search for items
- /bis itemname : search for items
- /bigb : open BankItems guild bank
- /bi clear : clear currently selected player's info
- /bigb clear : clear currently selected guild's info
Most options are found in the GUI options panel.
Not a bug
If you close your bank after retrieving/storing an item in it too quickly and the server hasn't updated your inventory, BankItems is unable to record the change to your bank when the item actually moves later. The WoW API does not give you any data about your bank once BANK_FRAME_CLOSED
event has fired.
Tooltip information regarding items on the Auction House, Mailbox and Guild Bank(s) may be out of date and thus be inaccurate. They will only be updated on your next visit to the respective places.
##Credits
Original concept from Merphle
Maintained by JASlaughter, Galmok@Stormrage-EU, and Xinhuan@Blackrock/Barthilas/Frostmourne-US.
i hope this gets updated for the 2nd void storage tab and the reagent bank. I just need a mod to see what is on alts and this mod was perfect.
Yeah, definitely needs to be updated - it's a great simple addon!
Been using it for years 'cause it's so easy to use and you can quickly see what alts have in bags, bank, void...
Of all the addons I want updated for patch 6.0, this is my number one choice! Would love to see it include the reagent storage slot. I'd programmer myself if I knew how.
As a work around for the 6.0 patch open the BankItems.lua file (make a backup copy first) and make changes to make it look similar to (changes begin on line 2915):
http://pastebin.com/FJJM8Gik
Didn't work.
This worked for the second void storage tab for me. The remaining issues I have now are:
1) Only the first 3 out of 7 bag slots work in the bank.
2) The new reagent storage tab in the bank is not supported.
These two are probably related (likely bag ids got shuffled around to add the new materials storage). If I had enough time I'd dig into the code to try to fix this myself.
(Edit: To be specific, shadowtreedruid's suggested code at least allows the tooltip indicators to work for both void storage tabs. Most likely the /bi viisual storage interface still doesn't support the second tab with only these changes, though I can't log in right now to check.)
The visual interface for the void storage also works with the 2nd tab since the void storage is just visualized as a bunch of smaller bags with a paging button.
I will see if I can't fix the missing bags. The reagent bank will probably be a bit harder to deal with however..
Can someone please share a version with the void storage and other fixes implemented?
I have recently left a guild and am trying to remove that guild's info from my bankitems. I used /bigb clear while I had the guild bank open. It cleared the guild name from the options but, when I search for an item it still shows the guild banks item. Hard to explain... I hope you understand. What do I need to do so that I no longer retrieve the guild banks count when looking up an item?
Any chance cross-realm support for bind on account items will be implemented?
If you delete character it's data will remain in database.
Because you cannot log in to that character anymore to get rid off that toon's info without wiping whole database add slash command like
/bi clear charactername.
It will wipe data of charactername from current realm.
Below is fragment of code to put inside function BankItems_SlashHandler():
elseif strfind(msg, "clear (.*)") then
local selfPlayerRealm = strtrim(GetRealmName())
local p1, p2 = strmatch(msg, "clear (.)(.*)")
if not p1 or not p2 then return end -- names are at least 2 chars long
local playerName = strupper(p1)..p2.."|"..selfPlayerRealm
for key, value in pairs(BankItems_Save) do
if type(value) == "table" and key == playerName then
BankItems_DelPlayer(key)
end
end
return
Place above code before elseif msg == "clearall" then line.
Also you can add
BankItems_Chat(L["-- /bi clear character : clear character's info"])
in same function.
Just noticed that relog is required to remove cleared character data from tooltips. Anyway better that than nothing. Regards.
You can currently remove a deleted characters info by choosing their name in the dropdown at the bottom of the BankItems window and then doing /bi clear
When "Ignore unstackable soulbound items" in options is checked addon is not ignoring gear items that have "Soulbound" or "Binds when picked up" text in 4th or 5th line of tooltip.
It may happen when 2nd line of tooltip contains green text like Heroic, Flexible and so on and/or 3rd/4th line contains "Upgrade Level: x/2"
"Ignore unstackable soulbound items" is enabled by default and in that state item counter on some gear is visible and on some gear is not which may be confusing.
To fix above issue modify function BankItems_AddTooltipData like below (add bolded text) inside file BankItems.lua:
local secondLine = _G[self:GetName().."TextLeft2"]:GetText()
local thirdLine = _G[self:GetName().."TextLeft3"]:GetText()
local fourthLine = _G[self:GetName().."TextLeft4"]:GetText()
local fifthLine = _G[self:GetName().."TextLeft5"]:GetText()
local itemStack = select(8, GetItemInfo(item))
if itemStack == 1 and (ignoreTooltipsTypes[secondLine] or ignoreTooltipsTypes[thirdLine] or ignoreTooltipsTypes[fourthLine] or ignoreTooltipsTypes[fifthLine])
then self.BankItemsDone = true
Just realized that gear can also has "Transmogrified to: Abc" lines (whole purple text of two lines is treaten like one block) above "Soulbound". In summary "Soulbound" text can show up in tooltip in any line from 2 to 6. It is needed to add one more condition for that.
Add in proper place
local sixthLine = _G[self:GetName().."TextLeft6"]:GetText()
and also
or ignoreTooltipsTypes[fifthLine]
I think I may have solved the Void Storage issue (where items disappear from the bag until you revisit the Void Storage NPC).
Starting with line 2919:
-- Save void storage items as bag 104
selfPlayer.Bag104 = selfPlayer.Bag104 or newTable()
selfPlayer.Bag104.icon = "Interface\\Icons\\spell_nature_astralrecal"
should become
-- Save void storage items as bag 104
if selfPlayer.Bag104 then delTable(selfPlayer.Bag104) end
selfPlayer.Bag104 = newTable()
selfPlayer.Bag104.icon = "Interface\\Icons\\spell_nature_astralrecal"
Delete line 2924:
itemPointer.icon = textureName
Also, delete lines 2929-2931:
for i = #selfPlayer.Bag104, j + 1, -1 do
delTable(tremove(selfPlayer.Bag104))
end
It totally removes the Bag104 table each time you visit the Void Storage NPC (instead of overwriting the existing table and then removing older entries) and doesn't save the icon, which seems to cause problems when generating the item cache. The icon entry isn't used anyway, so it doesn't cause a problem.
An EXCELLENT way to track down what character on what realm currently has the heirloom gear!!
Seems this broke again with the last patch, besides the below change also edit the bankitems.lua and replace GetCVar("realmName") with GetRealmName(). I posted my working version on my blog for the ones who are ok with a risk: http://www.martinbom.com/BankItems.lua
I see the author updated to fix the issues with the new patch, but still didn't fix Void Storage problems as I mentioned from the previous update. The changes needed are identical, but line numbers have changed a bit, so I'm commenting again. To fix Void Storage tooltips, update the following:
(All changes are part of function BankItems_Generate_SelfItemCache() which starts on line4016)
Change line 4038 -- add the bold:
if bagNum == 101 or bagNum == 103 or bagNum == 104 then
After lines 4060-4061, which look simiar to the below but for bagNum == 103, add the following entire two lines:
elseif bagNum == 104 then
data[temp].voidstorage = (data[temp].voidstorage or 0) + (theBag[bagItem].count or 1)
These parts of this function should now match the similar BankItems_Generate_ItemCache() sections above.
Note: This fixes issues with items in void storage not showing up on tooltips (without the above fixes, tooltips for the first 18 items in void storage say they're in the Bank instead of Void Storage, and items 19-80 don't get tooltip lines at all, as if you don't even have one of those in storage). You still sometimes have to visit the void storage NPC twice to get void storage to update properly, however (the first visit in a given session can leave a lot of "holes", type /bi and open your void storage to confirm all of your items appear there and if not go open the NPC a time or two to fully populate the cache).