Download
(1 Kb)
Download
Updated: 03/12/21 01:32 PM
Pictures
File Info
Compatibility:
Flames of Ambition (6.3.5)
Updated:03/12/21 01:32 PM
Created:03/12/21 02:49 AM
Monthly downloads:75
Total downloads:3,589
Favorites:9
MD5:
AutoBank
Version: 0.3v
by: one_kharin [More]
When a bank is opened, it automatically replenishes the bank's stock from the inventory. Sends only those things that are in the bank.
-reduced size
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Uploader
Date
0.2v
20kB
one_kharin
03/12/21 07:10 AM


Post A Reply Comment Options
Unread 06/02/21, 06:56 AM  
Redmsa

Forum posts: 0
File comments: 21
Uploads: 0
Excludes any armor, weapon, jewelry, junk.

Code:
local function OnOpenBank(eventCode, bankBag)
   if bankBag == BAG_BANK then
        for slotId in pairs(SHARED_INVENTORY.bagCache[BAG_BACKPACK]) do            
            local itemFType = GetItemFilterTypeInfo(BAG_BACKPACK, slotId)
            if not (itemFType == 1 or itemFType == 2 or itemFType == 24 or itemFType == 25 or itemFType == 9) then
                local itemId = GetItemId(BAG_BACKPACK, slotId)
                local hasItemInBank = hasItemIn(BAG_BANK, itemId)
                if(hasItemInBank == true) then 
                  local link = GetItemLink(BAG_BACKPACK, slotId)
                      local count = GetItemTotalCount(BAG_BACKPACK, slotId)
                      local result = MoveItem(BAG_BANK, BAG_BACKPACK, slotId, count)
                      if(result == true) then
                  	    d("["..link .. "] x ".. count .." sended to the bank")
                      else
                   	    d("no space in the bank for ["..link .. "] x ".. count)
                      end 
                  end
            end
        end
   end
end
Report comment to moderator  
Reply With Quote
Unread 04/26/21, 07:38 PM  
TheCoryGuy

Forum posts: 0
File comments: 25
Uploads: 0
Thank you so much for this. My "E" key thanks you!

Normally I just mash "E" and scroll down my list of materials.
Report comment to moderator  
Reply With Quote
Unread 03/12/21, 04:18 PM  
Jempa92

Forum posts: 0
File comments: 12
Uploads: 0
Successor to CDG Bank Stacker?

Is this an addon that does the same job that CDG Bank Stacker did?

If so, that's great as that addon no longer gets updated.

https://www.esoui.com/downloads/info...nkStacker.html
Report comment to moderator  
Reply With Quote
Unread 03/12/21, 03:22 PM  
SimplyArmin

Forum posts: 6
File comments: 43
Uploads: 0
past tense

dunno if you already fixed or not since i dont use the addon. In ur preview I see "sended" after you send an item into the bank. Past tense of send is "sent"
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.