Download
(13 Kb)
Download
Updated: 10/05/15 12:27 AM
Pictures
File Info
Compatibility:
Update 7 (1.7.0)
Updated:10/05/15 12:27 AM
Created:04/23/14 08:18 AM
Monthly downloads:35
Total downloads:11,517
Favorites:36
MD5:
X4D Bank  Popular! (More than 5000 hits)
Version: 1.26
by: wilson0x4d [More]
X4D Bank

X4D Bank is a LibStub-compatible Add-On that performs regular Bank deposits.

Features
  • Auto-Deposit Gold, either fixed amount or percentage.
  • Specify a Reserve Amount, and optionally Auto-Withdraw to maintain your Reserve.
  • Specify Deposit Down-Time, such as depositing Gold only once an hour.
  • Auto-Deposit Items by filling incomplete stacks in your bank..
  • Deposit and Withdraw based on Item Type.
  • Options UI for easy configuration.

Planned Features
  • Display Gold Deposit output, currently relies on X4D Loot (or any similar add-on) for displaying Balance Changes.


Installation

First, make sure you have the latest X4D Core installed.

As with most Addons, simply open the Archive and copy the contents into "%USERPROFILE%\Documents\Elder Scrolls Online\live\Addons\" folder.

If ESO is already running, execute /reloadui command.


Change Log

To see version history, including 'vNext' (soon to be published) changes, view the README on Github.
Optional Files (0)


Post A Reply Comment Options
Unread 05/06/15, 03:42 PM  
Kouroth

Forum posts: 0
File comments: 56
Uploads: 0
Re: Re: auto quest items 2

Originally Posted by wilson0x4d
Originally Posted by Kouroth
I was looking at LUA coding to see how hard it would be to make an addon that automatically split and removed quest items (writs) from the bank. Any good resources you could point me at for help figuring that out? I have done some C++ in the past so programming is not completely new to me.
Probably just need to iterate over quests, steps and conditions and look for items. Not sure precisely what it would take, but if they're just normal quests then that makes the problem easier to solve (since the structure of quests are already known.)

ESO's Quest Structure isn't the prettiest, for examples of how hairy quest iteration can get check the Loot addon (which does change detection on the quest system to pretty-print when quest items are picked up.)
Yea, I think I might just let you do it when you have the time. It’s been a bit too long since I did anything really complicated. I’m taking a C++ class this summer. That should help a lot. Then maybe I can try out something complicated. I’m sure given enough time looking at the X4D_Loot code I could probably get it. However, I think it’d be way faster after I get back into the swing of things first.

Thanks for the suggestions though! I’ll be revisiting LUA soon and maybe try making an addon or two.
Report comment to moderator  
Reply With Quote
Unread 05/06/15, 11:16 AM  
Kouroth

Forum posts: 0
File comments: 56
Uploads: 0
Bug

The item stacking code seems to be throwing an error. I’ll try and nail it down when I have more time. It doesn't seem to like style materials.

User:/AddOns/X4D_Bank/X4D_Bank.lua:184: attempt to index a nil value stack traceback:
User:/AddOns/X4D_Bank/X4D_Bank.lua:184: in function ‘TryCombinePartialStack’
User:/AddOns/X4D_Bank/X4D_Bank.lua:282: in function ‘TryDepositAndWithdrawls’
User:/AddOns/X4D_Bank/X4D_Bank.lua:400: in function ‘OnOpenBank’

*unstacked bank items.
Last edited by Kouroth : 05/06/15 at 11:29 AM.
Report comment to moderator  
Reply With Quote
Unread 05/05/15, 12:11 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Post Re: auto quest items 2

Originally Posted by Kouroth
I was looking at LUA coding to see how hard it would be to make an addon that automatically split and removed quest items (writs) from the bank. Any good resources you could point me at for help figuring that out? I have done some C++ in the past so programming is not completely new to me.
Probably just need to iterate over quests, steps and conditions and look for items. Not sure precisely what it would take, but if they're just normal quests then that makes the problem easier to solve (since the structure of quests are already known.)

ESO's Quest Structure isn't the prettiest, for examples of how hairy quest iteration can get check the Loot addon (which does change detection on the quest system to pretty-print when quest items are picked up.)
Report comment to moderator  
Reply With Quote
Unread 05/05/15, 10:36 AM  
Kouroth

Forum posts: 0
File comments: 56
Uploads: 0
auto quest items 2

I was looking at LUA coding to see how hard it would be to make an addon that automatically split and removed quest items (writs) from the bank. Any good resources you could point me at for help figuring that out? I have done some C++ in the past so programming is not completely new to me.
Report comment to moderator  
Reply With Quote
Unread 05/04/15, 10:26 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Question Re: missing selection to deposit or hold Solventt

SOLVED-

Originally Posted by madeskimo
missing the selection of being able to auto deposit or do nothing for

Solvent (Alchemy) makes level xx
I suppose in-game the canonical identifier is "ITEMTYPE_ALCHEMY_BASE" but these are in fact referred to as "Solvents" in-game.

That said, if you change the settings for "Alchemy->Bases" that should do what you want, if not I may need to know more, such as examples of items so I can look up their internal details.

In the meantime I'm going to update the dropdown titles to use localized names. Hopefully this will resolves confusion in any case where I've used an unexpected/non-standard name for a thing.

Thanks!
Last edited by wilson0x4d : 05/05/15 at 11:09 PM.
Report comment to moderator  
Reply With Quote
Unread 05/04/15, 10:02 AM  
madeskimo

Forum posts: 0
File comments: 12
Uploads: 0
missing selection to deposit or hold Solventt

missing the selection of being able to auto deposit or do nothing for

Solvent (Alchemy) makes level xx
Report comment to moderator  
Reply With Quote
Unread 04/30/15, 01:20 AM  
Joklix

Forum posts: 0
File comments: 41
Uploads: 0
Re: Re: issue with ignore list

Originally Posted by wilson0x4d
Hmm, you might try using all-lowercase in the ignore list, since you're matching item names.
That is working fine. Thanks for the hint.
Report comment to moderator  
Reply With Quote
Unread 04/29/15, 11:12 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Post Re: issue with ignore list

Hmm, you might try using all-lowercase in the ignore list, since you're matching item names.

so, instead of "Leerenstoff" you would use "leerenstoff".

i would auto-lower the patterns, but there are also upper-case tokens (special tokens are upper-case, item names are lower case, when matching.) For example, if you only wanted to ignore stolen Leerenstoffs, you would use a pattern like "STOLEN.*leerenstoff"

Other upper-case tokens include item quality (e.g. MAGIC, LEGENDARY), item type (examples include POTION, FOOD, DRINK, WEAPON, etc.)

These also support Lua patterns, so you can use wildcards like ".*", ".+" and ".-", or more advanced patterns if you're keen on Lua patterns at all. I believe there is a pattern tutorial on the web.

The reason this may have stopped working is item names are being normalized to lowercase for lookups now, and the ESO API is being used to denormalize them when displaying them to the user. It was always the intent that users would specify lower-case for matching, but I switched from using scrubbed text to the normalized item link data (to allow pattern-matching on ESO link options, which is a bit more advanced than matching just the name, you can pattern out levels, enchantments, etc)

I can explore auto-lower-casing patterns, but probably only safe when no special pattern characters are in use. As a workaround for now I would suggest just editing the caps to be lowercase. It should work then.

Sorry for any confusion on this one it wasn't actually meant to work the way it had been working before.


Originally Posted by Joklix
My ignorelist is no longer working. It was fine before updating.
Configuration:

Result:
Report comment to moderator  
Reply With Quote
Unread 04/29/15, 06:56 AM  
Joklix

Forum posts: 0
File comments: 41
Uploads: 0
issue with ignore list

My ignorelist is no longer working. It was fine before updating.
Configuration:

Result:
Report comment to moderator  
Reply With Quote
Unread 04/28/15, 11:43 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Re: error

I've made changes in the current release which should work around this issue until I'm able to figure out the root cause and fix it proper. I'll try fishing tonight, see if I turn anything up.

EDIT: to be clear, the workaround for this is in X4D_Core v1.10, not the Bank addon itself, though both will need to be updated (since Bank relies on code in Core which I changed earlier this week.) If you try updating only the Bank Add-on this problem will persist.

Originally Posted by Kouroth
user:/addons/x4d_core/x4d_bags.lua:148: attempt to index a null value stack trackback:
user:/addons/x4d_core/x4d_bags.lua:148: in function 'x4d_bags:getnormalizedstring'
user:/addons/x4d_core/x4d_bags.lua:72: in function 'isslotignoreditem'
user:/addons/x4d_core/x4d_bags.lua:132: in function 'shoulddeposititme'
user:/addons/x4d_core/x4d_bags.lua:293: in function 'typedepositsandwithdrawls'
user:/addons/x4d_core/x4d_bags.lua:396: in function 'onopenbank'

Tried a reloadui and it didn't fix the issue. I had 2 stacks of raw fish in my bags but the rest was normal stuff.

Tested..

Yep, works fine with out the fish in my bags. They are 'river betty' and 'salmon' both say: a river fish. Use to filet for provisioning. Worth 9 gold, stack of 3 each.
Last edited by wilson0x4d : 04/28/15 at 11:47 PM.
Report comment to moderator  
Reply With Quote
Unread 04/28/15, 08:18 PM  
Kouroth

Forum posts: 0
File comments: 56
Uploads: 0
error

user:/addons/x4d_core/x4d_bags.lua:148: attempt to index a null value stack trackback:
user:/addons/x4d_core/x4d_bags.lua:148: in function 'x4d_bags:getnormalizedstring'
user:/addons/x4d_core/x4d_bags.lua:72: in function 'isslotignoreditem'
user:/addons/x4d_core/x4d_bags.lua:132: in function 'shoulddeposititme'
user:/addons/x4d_core/x4d_bags.lua:293: in function 'typedepositsandwithdrawls'
user:/addons/x4d_core/x4d_bags.lua:396: in function 'onopenbank'

Tried a reloadui and it didn't fix the issue. I had 2 stacks of raw fish in my bags but the rest was normal stuff.

Tested..

Yep, works fine with out the fish in my bags. They are 'river betty' and 'salmon' both say: a river fish. Use to filet for provisioning. Worth 9 gold, stack of 3 each.
Report comment to moderator  
Reply With Quote
Unread 04/27/15, 04:09 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Thumbs up Re: Ideal

PLANNED-

Yes. I agree it is becoming (was already) a wall of text. It's been on my list of things to do since last year. I need a tiny bit more than what LAM offers, and I've been putting off extending LAM since the beginning of these Addons (and good thing, too, since someone decided to rewrite LAM at some point, but it's still as limited as v1... actually, I'm now able to do *less* than what I was doing with LAM1.. but that's neither here nor there.)

There's the off scenario that I drop LAM and replace it, but that would likely cost me ~2-3 weeks of development time that would normally go elsewhere.

.... so,I keep putting the issue off and focusing on features and bugs. =\ It's not a question of "if" but "when" I'll get to it.

Originally Posted by Glen348
Maybe you can make the item options collapse
"Gold Deposits & Withdraws"
"Item Deposits & Withdraws"
"Equipment"
"Consumables"
"Alchemy"
"Blacksmithing"
"Clothing"
"Enchanting"
"Provisioning"
"Woodworking"
"Styles"
"Misc"
"AvA"
Report comment to moderator  
Reply With Quote
Unread 04/27/15, 02:59 PM  
Glen348
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 56
Uploads: 2
Lightbulb Ideal

Maybe you can make the item options collapse
"Gold Deposits & Withdraws"
"Item Deposits & Withdraws"
"Equipment"
"Consumables"
"Alchemy"
"Blacksmithing"
"Clothing"
"Enchanting"
"Provisioning"
"Woodworking"
"Styles"
"Misc"
"AvA"
Last edited by Glen348 : 04/27/15 at 03:02 PM.
Report comment to moderator  
Reply With Quote
Unread 04/27/15, 02:18 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Thumbs up Re: Errors after update

Interesting. I'll do some testing on fish tonight and get it resolved. Hopefully just missing an itemtype in the internal lookup used to populate the canonical field.

Thanks!

Originally Posted by quaan
I got the following error and after some debugging I managed to track it down to "itemType.Canonical" that returned nil on a Silver Perch fish that I had in my bank. After removing it everything worked fine again. Didn't look further into it but I'm guessing maybe fish have to be skipped in the check or something like that.

Other than that, awesome addon, keep up the good work!

user:/AddOns/X4D_Core/X4D_Bags.lua:148: attempt to index a nil value
stack traceback:
user:/AddOns/X4D_Core/X4D_Bags.lua:148: in function 'X4D_Bags:GetNormalizedString'
user:/AddOns/X4D_Bank/X4D_Bank.lua:72: in function 'IsSlotIgnoredItem'
user:/AddOns/X4D_Bank/X4D_Bank.lua:136: in function 'ShouldWithdrawItem'
user:/AddOns/X4D_Bank/X4D_Bank.lua:304: in function 'TryDepositsAndWithdrawals'
user:/AddOns/X4D_Bank/X4D_Bank.lua:396: in function 'OnOpenBank'
Report comment to moderator  
Reply With Quote
Unread 04/27/15, 02:04 PM  
quaan

Forum posts: 0
File comments: 1
Uploads: 0
Errors after update

I got the following error and after some debugging I managed to track it down to "itemType.Canonical" that returned nil on a Silver Perch fish that I had in my bank. After removing it everything worked fine again. Didn't look further into it but I'm guessing maybe fish have to be skipped in the check or something like that.

Other than that, awesome addon, keep up the good work!

user:/AddOns/X4D_Core/X4D_Bags.lua:148: attempt to index a nil value
stack traceback:
user:/AddOns/X4D_Core/X4D_Bags.lua:148: in function 'X4D_Bags:GetNormalizedString'
user:/AddOns/X4D_Bank/X4D_Bank.lua:72: in function 'IsSlotIgnoredItem'
user:/AddOns/X4D_Bank/X4D_Bank.lua:136: in function 'ShouldWithdrawItem'
user:/AddOns/X4D_Bank/X4D_Bank.lua:304: in function 'TryDepositsAndWithdrawals'
user:/AddOns/X4D_Bank/X4D_Bank.lua:396: in function 'OnOpenBank'
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: