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.
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?
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
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.
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]
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
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.
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
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).
Hey there, don't know if someone allready posted a sugestion about this, but any chance you could add Void Storrage to the bank item addon?
If you could that would been great! :)
Zairum
BankItems has rough Void Storage support. It needs a bit of updating. You access Void Storage in BankItems from the small spiral icon in the lower left corner. It's next to the gavel.
Thank you for the update! Great addon!
Thanks for the update!
One note is that it's listed as v50003 everywhere in the addon (.toc, BI window in game, addon list at char screen). And the interface level is still old too in the .toc 50001.
after oct 28 patch bankitems no longer works. IE: it no longer is responsive and does not open when clicking the item on the minimap or typing in chat. it is completely unresponsive. i have reinstalled it. same result.
after the patch on tues oct 28 bankitems has completely stopped working.