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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






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

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #1
Open Container
Hi guys,

I just wonder, whether it is possible to open bank container (Layer 29) of a character from another character.

For instance, a character in game, just type .listbanks. Actually, i made this part and also i can get other characters bank uid in same account. I just want to open bank container of characters in same account.

src.findlayer.29.open, opening the character bank box as far as i know.

i try to get the bank uid of another character in same account and tryied something like that ;

try <ref1> ref1.open. Seems ridiculous guess.. Smile)

ref1 is the uid of bank container of an another character in same account.

The purpose of doing this will be making players transfering their items to their characters from one to another like as i mentioned above.

If you guys have any idea regarding , help me to do so Smile) I'll glad..

The code i prepared for listing and getting uid is the following ;


[dialog d_char_list_bank]
230,130
PAGE 0

resizepic 0 0 9200 310 280
gumppictiled 10 10 290 260 2624


dtext 60 20 1153 <serv.name> Item Transfer Menu
dtext 25 50 1153 Which Character do you want to open bank box
for 0 <eval <account.chars>-1>
dtext 65 <eval (<dlocal._for>*30)+90> 025 <account.char.<dlocal._for>.name>
endfor
for 1 <eval <account.chars>>
button 30 <eval (<dlocal._for>*30)+60> 4020 4022 1 0 <dlocal._for>
endfor

[dialog d_char_list_bank button]
on=0
sysmessage @1153 You canceled transfering

on=1 5
if (<src.account.char.<eval <argn>-1>.uid> == <src.uid>)
src.sysmessage @1153 You cant transfer items to character as same as character you are online.
return 1
endif
try ctag.<src.account.name><eval <argn>-1> <src.account.char.<eval <argn>-1>.uid>
src.open <uid.<ctag.<account.name><eval <argn>-1>>.findlayer.29.uid> // if something works like that would be nice Sad(



Thanks in advance.
(This post was last modified: 10-27-2013 09:43 PM by Avatar.)
10-27-2013 09:36 PM
Visit this user's website 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: 3 Guest(s)