 |
| Category: Bank window[DrumsUI] Bank Window |
| Interface Information |
|
| Name: |
[DrumsUI] Bank Window  |
| Author: |
|
| Date: |
06-18-2009 12:31 PM |
| Size: |
2.53 Kb |
| Version: |
2009.06.18 |
| Rate Addon: |
|
In-Game
|
| |
UIBuilder Compare
|
| |
Game Update #53 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 60 silver from Bank for easy bell access
- \/: 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 60 silver from Shared bank for easy bell access
Installation Notes:
- How To: Install A Custom UI
- eq2ui_inventory_bank.xml goes in your CustomUI folder.
Update Log:
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
|
| File Statistics |
| User Rating: |
|
| Downloads: |
6405 |
| Views: |
44667 |
| Favorites: |
86 |
| Uploaded By: |
|
| Last Modified: |
09-23-2009 10:59 AM by Drumstix42 |
|
|  |
|
 |
|
11-17-2009, 07:03 PM
|
|
A Coastal Crab
Server: Antonia Bayle
Forum posts: 0
File comments: 2
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, 01: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, 02:15 PM
|
|
Norrathian Dentist
Server: Toxxulia
Forum posts: 578
File comments: 71
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, 04:37 AM
|
|
A Griffon
Server: Blackburrow
Forum posts: 1681
File comments: 222
Uploads: 39
|
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, 01: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 01:20 AM.
|
|
|
05-26-2009, 11:28 PM
|
|
Norrathian Dentist
Server: Toxxulia
Forum posts: 578
File comments: 71
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, 02: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 02:28 AM.
|
|
|
05-23-2009, 02:14 AM
|
|
A Griffon
Server: Blackburrow
Forum posts: 1681
File comments: 222
Uploads: 39
|
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, 05: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 06:05 PM.
|
|
|
05-10-2009, 02:17 PM
|
|
Norrathian Dentist
Server: Toxxulia
Forum posts: 578
File comments: 71
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, 09:37 AM
|
|
Zerk Ad'Libitum
Server: Runnyeye
Forum posts: 31
File comments: 70
Uploads: 1
|
Frikkin Brilliant :)
Love this thing .. Good work
|
|
|
07-01-2008, 12:56 AM
|
|
A Griffon
Server: Blackburrow
Forum posts: 1681
File comments: 222
Uploads: 39
|
Quote:
Originally posted by Rass
Hi,
the bag in the last bankslot (down, right) didnīt save the windowsettings. After relogging it is alway back to its default size. Does this relate to your mod, any solutions?
Greetz
|
Bag settings are separate from this.
You might check this topic about bags that won't save location:
http://www.eq2interface.com/forums/s...ad.php?t=11090
|
|
|
06-30-2008, 01:34 PM
|
|
A Forest Scavenger
Server: Antonia Bayle
Forum posts: 19
File comments: 11
Uploads: 0
|
Hi,
the bag in the last bankslot (down, right) didnīt save the windowsettings. After relogging it is alway back to its default size. Does this relate to your mod, any solutions?
Greetz
|
|
|
06-19-2008, 03:54 PM
|
|
A Coastal Crab
Server: Venekor
Forum posts: 0
File comments: 14
Uploads: 0
|
Quote:
Originally posted by Drumstix42
Fixed now. New version has been uploaded
|
Thanks alot keep up the good work! 
|
|
|
06-19-2008, 02:26 AM
|
|
A Griffon
Server: Blackburrow
Forum posts: 1681
File comments: 222
Uploads: 39
|
Quote:
Originally posted by Drumstix42
Aye. UPDATE 46 has broken this mods button functions, and a fix shall becoming within the next few days. Keep an eye out!
|
Fixed now. New version has been uploaded 
|
|
|
All times are GMT -5. The time now is 09:55 AM.
|
 |