Mirror https://github.com/tera-private-mods/auto-bank

Mie fcb09f795d Optimize duplication checks. 6 years ago
README.md fcb09f795d Optimize duplication checks. 6 years ago
index.js fcb09f795d Optimize duplication checks. 6 years ago
manifest.json fcb09f795d Optimize duplication checks. 6 years ago
module.json c544b1ac96 Initial commit. 6 years ago
package.json a82cb388c4 Small update. 6 years ago

README.md

Auto-Bank

A script that auto merges inventory items to bank if same item exists in bank/special storage/wardrobe/guild bank/etc.'s tab.

Usage

  1. Use command autobank/ab to toggle banking.
  2. Open bank or click on bank tab to begin.
  3. That's it. It will automatically check all pages in the bank you've open, and once it ends, it will close the bank for you.

Commands

All commands start with autobank or ab as alternative.

  • autobank or ab + open storage space (bank/extra storage or wardrobe, etc) ~ Starts the auto-banking process. ---
  • ab bl <add/rem/reset/clear> ~ Manages blacklist.
    • ab bl <add/+/-/remove>:
      • There are 3 different ways to blacklist or unblacklist an item:
      • Followed by writing the id of item(s), if more than one, use space as separation between each, e.g. > ab bl add 1 2 3 4 5
        ab bl rem 1 2 3 4 5
      • Followed by linked items (ctrl+left click), any amount of items, if more than one, spacing doesn't matter here (you may add space or not). > ab bl add <item1> <item2> <item3>...
        ab bl rem <item1> <item2> <item3>...
      • If no arguments, it will enable (un)blacklisting; > ab bl add ~ Toggles blacklisting.
        ab bl rem ~ Toggles unblacklisting.
        • Open bank, then try add that item to bank to (un)blacklist it.
        • Note: Item will not be banked while this enabled.
    • ab bl <reset/default>:
    • ab bl <clear/empty>:
      • This will empty up the entire blacklist, to have 0 blacklisted items.
    • ab bl list:
      • Lists all the items that are currently blacklisted. (The items in blue are clickable links, you can click it to show the item.) ---
  • autobank <guild/g> toggles banking to guild bank. Default Off.

Blacklist

If no blacklist.json file is found, it will be using the default blacklist.

Capability

  • Should work on any proxy.
  • 1 dependency;
    • tera-game-state
      • If you're using Caali's proxy(toolbox), you don't have to do anything, as this comes along-with by default.
      • If you're using Pinkie's proxy, you will have to get it, via this LINK & place it in your mods folder ([proxy dir]/mods).

Additional information

It will also send a warning if the same exact item is available in more than one page (i.e. Duplicate) in your storage space. (the warning will include a blue clickable links, you can click it to show the item).

  • FAQ ? It have banked an item for me, and now I can't withdraw it with "That item isn't in your bank" error. A: This is unrelated to script, simply you have same item, but 2 different time remaining, so make sure you don't withdraw with quantity or by right clicking on wrong stacks. ? It have banked all the way until full page and continued in next page. ? It have banked same item in 2 different pages. A: Its impossible, script will never bank an item in different page, even if page is full. (Make sure you don't already have that item in different pages, aka see duplicate log).

Proof of concept

img