EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Interface Pieces > Bank window


Post A Reply
Author Comments Comment Options
Unread 05-23-2009, 01:14 AM  
Drumstix42
A Griffon
 
Drumstix42's Avatar
Featured Artist

Server: Antonia Bayle
Forum posts: 3287
File comments: 591
Uploads: 44
Indeed. Thanks for the explanations and laying out what you've found. There may not be any sort of workaround until this is fixed server-side.

Please bug and/or feedback this so that it can get fixed
Drumstix42 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-23-2009, 01:25 AM  
MrSmite
A Young Mystail Rat

Server: Antonia Bayle
Forum posts: 4
File comments: 13
Uploads: 0
Quote:
Originally posted by Drumstix42
Indeed. Thanks for the explanations and laying out what you've found. There may not be any sort of workaround until this is fixed server-side.

Please bug and/or feedback this so that it can get fixed
Actually, there is a workaround. You need to do the deposit / withdrawal in
two phases.

Phase 1 is Gold, Silver and Copper since it never exceeds 999999, Phase 2
is the Platinum. Here is some pseudocode:

iGold = Parent.Gold.LocalText * 10000
iSilver = Parent.Silver.LocalText * 100
iCopper = Parent.Copper.LocalText
iTotal = iGold + iSilver + iCopper
bank_deposit iTotal

Now, to handle the Platinum, all you have to do is append 6 zeros to the end
of the value:

sPlat = Parent.Plat.LocalText ## 000000
bank_deposit sPlat

It works because the Platinum value is always multiples of 1000000 and by
appending zeros, it treats it as text rather than a number.

Slightly annoying (you get a couple chat messages instead of one) but at
least there's a workaround.

Edit:

FYI: I tried for a couple hours to get it into one command by trying to
substitute zeros for silver less than x and gold less than y but ran into two
problems before giving up:

1) Conditional statements are horrid to say the least
2) You can't PREpend more than three zeros (ie: 00003 gets turned into 3)

Last edited by MrSmite : 05-23-2009 at 01:28 AM.
MrSmite is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-26-2009, 10:28 PM  
depechenode
A Griffon
 
depechenode's Avatar
Interface Author - Click to view interfaces

Server: Toxxulia
Forum posts: 584
File comments: 72
Uploads: 24
Tried to incorporate the code, I think I borked it even more. Any chance that an update can be done soon?
depechenode is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-28-2009, 12:50 PM  
MrSmite
A Young Mystail Rat

Server: Antonia Bayle
Forum posts: 4
File comments: 13
Uploads: 0
Quote:
Originally posted by depechenode
Tried to incorporate the code, I think I borked it even more. Any chance that an update can be done soon?
FYI: I am not trying to steal credit from Drumstix42 nor am I trying to encroach
on his mod development. I'm just trying to lend a hand is all.


Here's the workaround I've been using. Just paste this into your XML file, overwriting the
existing button code (I bolded each button name for reference):

** See end of post for notes **

DepositBank

Code:
<Button Location="190,26" Name="DepositBank" OnPress="iPLAT=Parent.Plat.LocalText ## 000000&#xD;&#xA;iGOLD=Parent.Gold.LocalText*10000&#xD;&#xA;iSILVER=Parent.Silver.LocalText*100&#xD;&#xA;iCOPPER=Parent.Copper.LocalText&#xD;&#xA;TOTAL=iGOLD+iSILVER+iCOPPER&#xD;&#xA;bank_deposit iPLAT&#xD;&#xA;bank_deposit TOTAL" Opacity="0.900" ScrollExtent="19,16" Size="19,16" Style="/ButtonStyles.text_button_round_flat" Tooltip="Deposit All Coin">+</Button>
WithdrawBank

Code:
<Button Location="210,26" Name="WithdrawBank" OnPress="iPLAT=Parent.Character.Platinum.LocalText ## 000000&#xD;&#xA;iGOLD=Parent.Character.Gold.LocalText*10000&#xD;&#xA;iSILVER=Parent.Character.Silver.LocalText*100&#xD;&#xA;iCOPPER=Parent.Character.Copper.LocalText&#xD;&#xA;TOTAL=iGOLD+iSILVER+iCOPPER&#xD;&#xA;bank_withdraw iPLAT&#xD;&#xA;bank_withdraw TOTAL" Opacity="0.900" ScrollExtent="18,16" Size="18,16" Style="/ButtonStyles.text_button_round_flat" Tooltip="Withdraw All Coin" TOTAL="0">-</Button>
DepositShared

Code:
<Button Location="190,155" Name="DepositShared" OnPress="iPLAT=Parent.Plat.LocalText ## 000000&#xD;&#xA;iGOLD=Parent.Gold.LocalText*10000&#xD;&#xA;iSILVER=Parent.Silver.LocalText*100&#xD;&#xA;iCOPPER=Parent.Copper.LocalText&#xD;&#xA;TOTAL=iGOLD+iSILVER+iCOPPER&#xD;&#xA;shared_deposit iPLAT&#xD;&#xA;shared_deposit TOTAL" Opacity="0.900" ScrollExtent="19,16" Size="19,16" Style="/ButtonStyles.text_button_round_flat" Tooltip="Deposit All Coin to Shared bank">+</Button>
WithdrawShared

Code:
<Button Location="210,155" Name="WithdrawShared" OnPress="iPLAT=Parent.Shared.Platinum.LocalText ## 000000&#xD;&#xA;iGOLD=Parent.Shared.Gold.LocalText*10000&#xD;&#xA;iSILVER=Parent.Shared.Silver.LocalText*100&#xD;&#xA;iCOPPER=Parent.Shared.Copper.LocalText&#xD;&#xA;TOTAL=iGOLD+iSILVER+iCOPPER&#xD;&#xA;shared_withdraw iPLAT&#xD;&#xA;shared_withdraw TOTAL" Opacity="0.900" ScrollExtent="18,16" Size="18,16" Style="/ButtonStyles.text_button_round_flat" Tooltip="Withdraw All Coin from Shared Bank">-</Button>
BankToShared

Code:
<Button Location="203,138" Name="BankToShared" OnHoverIn="Opacity=1.000" OnHoverOut="Opacity=0.750" OnPress="iPLAT=Parent.Character.Platinum.LocalText ## 000000&#xD;&#xA;iGOLD=Parent.Character.Gold.LocalText*10000&#xD;&#xA;iSILVER=Parent.Character.Silver.LocalText*100&#xD;&#xA;iCOPPER=Parent.Character.Copper.LocalText&#xD;&#xA;TOTAL=iGOLD+iSILVER+iCOPPER&#xD;&#xA;shared_deposit iPLAT b&#xD;&#xA;shared_deposit TOTAL b" Opacity="0.750" ScrollExtent="14,15" Size="14,15" Style="/ButtonStyles.arrow_down" Tooltip="Move All Coin from Bank to Shared" />
SharedToBank

Code:
<Button Location="225,138" Name="SharedToBank" OnHoverIn="Opacity=1.000" OnHoverOut="Opacity=0.750" OnPress="iPLAT=Parent.Shared.Platinum.LocalText  ## 000000&#xD;&#xA;iGOLD=Parent.Shared.Gold.LocalText*10000&#xD;&#xA;iSILVER=Parent.Shared.Silver.LocalText*100&#xD;&#xA;iCOPPER=Parent.Shared.Copper.LocalText 0&#xD;&#xA;TOTAL=iGOLD+iSILVER+iCOPPER&#xD;&#xA;bank_deposit iPLAT s&#xD;&#xA;bank_deposit TOTAL s" Opacity="0.750" ScrollExtent="14,15" Size="14,15" Style="/ButtonStyles.arrow_up" Tooltip="Move All Coin from Shared to Bank" />
** Notes **

1) Make a backup of Drumstix42's mod before editing in case things go wrong
2) You shouldn't have any issues if you edit the XML file properly but if this
doesn't work, try adding ' ' around the ## (for each button):

LocalText ## 000000

so it looks like:

LocalText '##' 000000

Some say it's good practice to do that however at this point I haven't found
it necessary

3) If you simply can't get this to work, just use Drumstix42's original until a
proper fix can be implemented

Last edited by MrSmite : 06-01-2009 at 12:20 AM.
MrSmite is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-29-2009, 03:37 AM  
Drumstix42
A Griffon
 
Drumstix42's Avatar
Featured Artist

Server: Antonia Bayle
Forum posts: 3287
File comments: 591
Uploads: 44
No problem on posting a fix. I'm sorry I haven't update this yet. Every time I think I'm gonna have free time, all my time gets lost!

Thanks for keeping me posted on this stuff though guys. Appreciate the support.
Drumstix42 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-30-2009, 01:15 PM  
depechenode
A Griffon
 
depechenode's Avatar
Interface Author - Click to view interfaces

Server: Toxxulia
Forum posts: 584
File comments: 72
Uploads: 24
Thanks for the code for the fix. It works!! I did however find one error in the new code. In the Deposit to Shared code remove the 1 after ## (shown in RED).

Snipet of code only to show error:
<Button Location="190,155" Name="DepositShared" OnPress="iPLAT=Parent.Plat.LocalText ## 1000000&#xD;&#xA;iGOLD

Thanks again for getting this to work!
depechenode is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-01-2009, 12:21 AM  
MrSmite
A Young Mystail Rat

Server: Antonia Bayle
Forum posts: 4
File comments: 13
Uploads: 0
Quote:
Originally posted by depechenode
Thanks for the code for the fix. It works!! I did however find one error in the new code. In the Deposit to Shared code remove the 1 after ## (shown in RED).

Snipet of code only to show error:
<Button Location="190,155" Name="DepositShared" OnPress="iPLAT=Parent.Plat.LocalText ## 1000000
iGOLD

Thanks again for getting this to work!
Thanks for pointing that out. I've corrected my original post.
MrSmite is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-17-2009, 07:03 PM  
edepha
A Coastal Crab

Server: Butcherblock
Forum posts: 0
File comments: 3
Uploads: 0
awesome bank ui

is it possible to fix it so there's a button to withdraw larger denominations from banks quickly?

Would be great to see,, thanks...
edepha is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 10-17-2010, 10:35 AM  
DiggityMan
A Dragoon Sith
 
DiggityMan's Avatar
Interface Author - Click to view interfaces

Server: Oasis
Forum posts: 95
File comments: 20
Uploads: 9
Re: awesome bank ui

Quote:
Originally posted by edepha
is it possible to fix it so there's a button to withdraw larger denominations from banks quickly?

Would be great to see,, thanks...
Use this file It is DrumsUI Default Code all credit to him. Modified to add 10g withdrawal instead or 60silver to the shared and normal banks
also adds a open both bags button next to the other toggle bag buttons.

eq2ui_inventory_bank.xml

To Drums:
Idea to add the toggle BOTH bag's button Pastebin of XML

Code:
    <Checkbox Activated="true" Checked="true" Location="157,5" name="BothToggle" OnPress="togglebankbags togglebags" ScrollExtent="26,20" Size="26,20" Tooltip="Toggle Both Bags" />
    <Text AbsorbsInput="false" Font="/Fonts.FontZapf15" Location="158,7" MaximumSize="150,17" MaxLines="1" Name="Bank" Opacity="0.300" ScrollExtent="16,17" Size="16,17" TruncateElipsis="false">A</Text>
    <Image Location="167,7" Name="BankBags" Opacity="0.500" ScrollExtent="14,14" Size="14,14" SourceRect="8,94,32,117" SourceResource="images/icons/icon_map1.dds" />

Last edited by DiggityMan : 10-17-2010 at 10:37 AM.
DiggityMan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-02-2012, 01:15 PM  
konan
A Crazed Gnoll
 
konan's Avatar
Interface Author - Click to view interfaces

Server: Everfrost
Forum posts: 20
File comments: 19
Uploads: 2
Cant withdraw or depost random amounts coin

Hi
New to this interface but i love it coming from profitui.
Howver I figure out hot deposit and withdraw a specfic amout of coin.
I see in the explantion it says
* 60s: Withdraw "x amount of coin" from Bank
I dont know wht that means to do TIA!
konan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-02-2012, 02:39 PM  
Drumstix42
A Griffon
 
Drumstix42's Avatar
Featured Artist

Server: Antonia Bayle
Forum posts: 3287
File comments: 591
Uploads: 44
Re: Cant withdraw or depost random amounts coin

Quote:
Originally posted by konan
Hi
New to this interface but i love it coming from profitui.
Howver I figure out hot deposit and withdraw a specfic amout of coin.
I see in the explantion it says
* 60s: Withdraw "x amount of coin" from Bank
I dont know wht that means to do TIA!
The normal function of the UI when trying to drag from a stack, is to hold the Shift key when dragging. You will then receive a popup box asking for a quantity.
Drumstix42 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-04-2012, 12:54 PM  
konan
A Crazed Gnoll
 
konan's Avatar
Interface Author - Click to view interfaces

Server: Everfrost
Forum posts: 20
File comments: 19
Uploads: 2
Smile Re: Re: Cant withdraw or depost random amounts coin

Quote:
Originally posted by Drumstix42
The normal function of the UI when trying to drag from a stack, is to hold the Shift key when dragging. You will then receive a popup box asking for a quantity.
That worked great thanks.
konan is offline Report comment to moderator   Reply With Quote Reply With Quote
Post A Reply

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 08:56 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI