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:75
Total downloads:11,663
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 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/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/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/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 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 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/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/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/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/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, 08:10 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
FIXED, DOWNLOAD LATEST-

Originally Posted by Kouroth
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.
Thanks!
Last edited by wilson0x4d : 05/07/15 at 04:19 AM.
Report comment to moderator  
Reply With Quote
Unread 05/09/15, 10:21 AM  
Kouroth

Forum posts: 0
File comments: 56
Uploads: 0
memory Leak

Hey, I found an interesting issue. I am not 100% sure it is your addon causing it but I found disabling your addon fixed the problem.

When farming XP I would kill large numbers of enemies and got a lot of loot. As my bags got full my UI and game would get lower frame rate and act erratic. It even crashed twice. I don’t know if your addon keeps track of loot gained or something but it was bad enough I disabled it when farming. I tried turning off several other addons but that didn’t fix it. The problem is, it happens after a lot of looting in the same area. So figuring out what is causing it will be time consuming. It could even be the game itself and not anything you wrote.

It reminded me of games with a memory leak. If I remember correctly ESO’s UI only has access to a finite amount of memory. If I do any more farming I’ll see if I can track it down more.
Report comment to moderator  
Reply With Quote
Unread 05/16/15, 01:12 PM  
madeskimo

Forum posts: 0
File comments: 12
Uploads: 0
DWEMER SCRAP

found that the dwemer scrap is deposited withdrawal from bank by the raw material selection in the provisioning tab. writing DWEMER SCRAP or dwemer scrap in deposit item by writing it in box does not over ride raw material selection tab.
Report comment to moderator  
Reply With Quote
Unread 05/16/15, 02:36 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Question Re: DWEMER SCRAP

NEED INFO-

Originally Posted by madeskimo
found that the dwemer scrap is deposited withdrawal from bank by the raw material selection in the provisioning tab. writing DWEMER SCRAP or dwemer scrap in deposit item by writing it in box does not over ride raw material selection tab.
Hmm... are you on NA servers and can I convince you to send me one for testing?

I'll debug+fix the issue once I have the item on hand.

Hmm.. to confirm, this is the item we're discussing? http://forums.elderscrollsonline.com...o-hard-to-find

If that's the case.. getting my hands on one is going to be nearly impossible it sounds like, especially at my lowly "has spent 20+ days /played writing code" Level 30.

If you send one for testing in-game, I *will* send it back. I'll stake my reputation on it. If not I'll try to think of another way to debug the problem.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 05/16/15, 07:02 PM  
madeskimo

Forum posts: 0
File comments: 12
Uploads: 0
Re: Re: DWEMER SCRAP

Originally Posted by wilson0x4d
NEED INFO-


Originally Posted by madeskimo
found that the dwemer scrap is deposited withdrawal from bank by the raw material selection in the provisioning tab. writing DWEMER SCRAP or dwemer scrap in deposit item by writing it in box does not over ride raw material selection tab.
Hmm... are you on NA servers and can I convince you to send me one for testing?

I'll debug+fix the issue once I have the item on hand.

Hmm.. to confirm, this is the item we're discussing? http://forums.elderscrollsonline.com...o-hard-to-find

If that's the case.. getting my hands on one is going to be nearly impossible it sounds like, especially at my lowly "has spent 20+ days /played writing code" Level 30.

If you send one for testing in-game, I *will* send it back. I'll stake my reputation on it. If not I'll try to think of another way to debug the problem.

Thanks.
yes on na sever just send message to @chindi and send one to ya.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: