The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ITEM/FUNCTION] Account Gold Bank
Author Message
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #14
RE: [ITEM/FUNCTION] Account Gold Bank
I had this done since some years ago, it should keep working...

Code:
[function f_banktransfer]
IF !(<findlayer.29.count>>0) && (<account.chars>>1)
    for 0 <eval <account.chars>-1>
        ref1=<account.char.<dlocal._for>.uid>
        ref2=<ref1.findlayer.29>
        if (<ref2.count>>0)
            findlayer.29.remove
            ref2.cont=<uid>
        endif
    endfor
endif

Just add f_banktransfer to a ON=@Login in a global event and you are done. This will move the entire bank to the character you are using now so everything will work 'as it should' in sphere's mind ... however if you already had some characters with banked items you'll have to create one 'installation' function to move the items of these characters to the bank of one of their account.

@Pointhz: I don't know in other emus or OSI, but in Sphere the last character used is always on top of the list (character.0).
09-09-2015 05:54 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [ITEM/FUNCTION] Account Gold Bank - XuN - 09-09-2015 05:54 PM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)