|
Category: Bank window[DrumsUI] Bank Window |
Interface Information |
|
Name: |
[DrumsUI] Bank Window |
Author: |
|
Date: |
12-16-2010 07:34 PM |
Size: |
2.59 Kb |
Version: |
2010.12.16 |
Rate Addon: |
|
Game Update #58 Compatible
Description:
This is a sleeker version of the default bank window. It is equipped with a slim border, has a lot of extra space removed, and the coins have their own rows along the side of the window. There are also extra buttons to help manage all your coin easily. Credit to Pooka for the original withdraw/deposit type buttons.
Like this mod? Grab the Guild Bank Window, too
Button functions:- I (bag icon): Open Inventory bags
- B (bag icon): Open Bank bags
- +: Deposit all coin to Bank
- -: Withdraw all coin from Bank
- 60s: Withdraw "x amount of coin" from Bank
- \/: Move all coin from Bank to Shared bank
- /\: Move all coin from Shared bank to Bank
- +: Deposit all coin to Shared bank
- -: Withdraw all coin from Shared bank
- 60s: Withdraw "x amount of coin" from Bank
Installation Notes:
- How To: Install A Custom UI
- eq2ui_inventory_bank.xml goes in your CustomUI folder.
Update Log:
2010.12.16
- Fixed buttons/tooltips
2010.11.28
- New denominations added for withdraws
2010.08.18
- Toggle Bank Bags button tooltip corrected
2009.06.18
- Corrected platinum bug, allowing move buttons to work again (2 deposit lines per button instead of 1)2008.06.20
- Fixed chat [DEVL] spam, which was just a cosmetic error
2008.06.19
- Fixed for GU #46, all button functions working again, and much less bank withdraw/deposit spam!
2008.06.04
- Lots of new functionality, without making the window any bigger
- 3/4th sized icon version now included
2008.05.13
- Updated for GU #45
2007.10.23
- Bank updated to latest style
2005.02.09
- The 3 buttons (Close, Options, and Help) fixed and clickable
2005.02.07
- Initial release
|
Archive List (Old Versions) |
File Name |
Version |
Size |
Author |
Date |
|
2010.11.28 |
2.58 Kb |
Drumstix42 |
11-28-2010 07:16 AM |
File Statistics |
User Rating: |
|
Downloads: |
23368 |
Views: |
99597 |
Favorites: |
85 |
Uploaded By: |
|
Last Modified: |
N/A |
|
| |
|
|
|
04-04-2012, 12:54 PM
|
|
A Crazed Gnoll
Server: Everfrost
Forum posts: 20
File comments: 19
Uploads: 2
|
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.
|
|
|
04-02-2012, 02:39 PM
|
|
A Griffon
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.
|
|
|
04-02-2012, 01:15 PM
|
|
A Crazed Gnoll
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!
|
|
|
10-17-2010, 10:35 AM
|
|
A Dragoon Sith
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.
|
|
|
11-17-2009, 07:03 PM
|
|
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...
|
|
|
06-01-2009, 12:21 AM
|
|
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.
|
|
|
05-30-2009, 01:15 PM
|
|
A Griffon
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
iGOLD
Thanks again for getting this to work!
|
|
|
05-29-2009, 03:37 AM
|
|
A Griffon
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.
|
|
|
05-28-2009, 12:50 PM
|
|
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
iGOLD=Parent.Gold.LocalText*10000
iSILVER=Parent.Silver.LocalText*100
iCOPPER=Parent.Copper.LocalText
TOTAL=iGOLD+iSILVER+iCOPPER
bank_deposit iPLAT
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
iGOLD=Parent.Character.Gold.LocalText*10000
iSILVER=Parent.Character.Silver.LocalText*100
iCOPPER=Parent.Character.Copper.LocalText
TOTAL=iGOLD+iSILVER+iCOPPER
bank_withdraw iPLAT
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
iGOLD=Parent.Gold.LocalText*10000
iSILVER=Parent.Silver.LocalText*100
iCOPPER=Parent.Copper.LocalText
TOTAL=iGOLD+iSILVER+iCOPPER
shared_deposit iPLAT
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
iGOLD=Parent.Shared.Gold.LocalText*10000
iSILVER=Parent.Shared.Silver.LocalText*100
iCOPPER=Parent.Shared.Copper.LocalText
TOTAL=iGOLD+iSILVER+iCOPPER
shared_withdraw iPLAT
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
iGOLD=Parent.Character.Gold.LocalText*10000
iSILVER=Parent.Character.Silver.LocalText*100
iCOPPER=Parent.Character.Copper.LocalText
TOTAL=iGOLD+iSILVER+iCOPPER
shared_deposit iPLAT b
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
iGOLD=Parent.Shared.Gold.LocalText*10000
iSILVER=Parent.Shared.Silver.LocalText*100
iCOPPER=Parent.Shared.Copper.LocalText 0
TOTAL=iGOLD+iSILVER+iCOPPER
bank_deposit iPLAT s
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.
|
|
|
05-26-2009, 10:28 PM
|
|
A Griffon
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?
|
|
|
05-23-2009, 01:25 AM
|
|
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.
|
|
|
05-23-2009, 01:14 AM
|
|
A Griffon
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
|
|
|
05-22-2009, 04:57 PM
|
|
A Young Mystail Rat
Server: Antonia Bayle
Forum posts: 4
File comments: 13
Uploads: 0
|
Re: Plat does not transfer nor deposit
Quote:
Originally posted by depechenode
I just realized that when I click deposit all from inventory to bank or shared, all coin goes except Platinum. Going between shared and bank or vice verse also the same thing, plat does not move. Withdraw also affected (plat will not move). All other coin works as intended as well as the 60s withdraw.
|
Confirmed.
I did some investigating and I think it has to do with how the game is converting Platinum * 1000000.
If you use this macro:
/bank_deposit 1000000
then it will in fact move 1 Platinum from your inventory to your bank. The
problem is, if you put the calculated result for 1 Platinum into a text field,
you get this:
1.1e+007
instead of the expected 1000000 (ie: 1 * 1000000)
So I don't think the game knows what to do with that which is why all the
coin types work except for Platinum. All the others display as whole integers
and not the scientific notation.
To clarify: The value for Plat is stored in a hidden text field by multiplying
the amount of Plat (ie: 1 or 10 or 14 or whatever) by 1 million (1000000). The
deposit buttons simply read the LocalText property of the hidden fields and
perform a sum total of all the coin types, then a "bank_deposit". Again, I
think the game is choking on the scientific notation and ignoring it.
Last edited by MrSmite : 05-22-2009 at 05:05 PM.
|
|
|
05-10-2009, 01:17 PM
|
|
A Griffon
Server: Toxxulia
Forum posts: 584
File comments: 72
Uploads: 24
|
Plat does not transfer nor deposit
I just realized that when I click deposit all from inventory to bank or shared, all coin goes except Platinum. Going between shared and bank or vice verse also the same thing, plat does not move. Withdraw also affected (plat will not move). All other coin works as intended as well as the 60s withdraw.
|
|
|
09-25-2008, 08:37 AM
|
|
Zerk Ad'Libitum
Server: Runnyeye
Forum posts: 41
File comments: 84
Uploads: 1
|
Frikkin Brilliant :)
Love this thing .. Good work
|
|
|
All times are GMT -5. The time now is 03:57 AM.
|
|