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-nmm8 (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-nmm8 (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-nmm8 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open Container
Author Message
XuN
Sphere Developer
*****

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



Post: #4
RE: Open Container
The correct way would be this:

Code:
[function asd]
for 0 <eval <account.chars>-1>
    ref1=<account.char.<dlocal._for>.uid>
    uid.<ref1.findlayer.29>.open
endfor

But it won't work since you can't see the container as they are logged out.

You can tweak it to put their bank boxes in your backpack so you can open it:
Code:
[function asd]
for 0 <eval <account.chars>-1>
    ref1=<account.char.<dlocal._for>.uid>
    ref2=<ref1.findlayer.29>
    ref2.cont=<findlayer.21>
    ref2.open
    ref2.cont=<ref1>
endfor
But the problem now is that the bankboxes are again in their real cont, so you cannot pickup/drop items.

My suggestion is, if you are so interested in sharing banks: Use one bankbox for all characters in account, you can do it in @Login, check all your characters and remove bankbox if empty, and then the one that should not be empty must be placed in the logging character.
10-27-2013 11:19 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Open Container - Avatar - 10-27-2013, 09:36 PM
RE: Open Container - Alaric - 10-27-2013, 10:09 PM
RE: Open Container - Avatar - 10-27-2013, 10:46 PM
RE: Open Container - XuN - 10-27-2013 11:19 PM
RE: Open Container - Avatar - 10-28-2013, 04:35 AM
RE: Open Container - Staff_Stanic - 10-28-2013, 12:36 PM
RE: Open Container - Mordaunt - 10-28-2013, 08:07 PM
RE: Open Container - Staff_Stanic - 10-29-2013, 12:39 AM
RE: Open Container - Mordaunt - 10-29-2013, 01:11 AM
RE: Open Container - Avatar - 10-29-2013, 06:37 AM

Forum Jump:


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