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:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
second bank??
Author Message
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #11
RE: second bank??
T_eq_bank_box too.
Add more of them stacks?

The weoght and items controls is into it

There are worse ways to understand the sense of the word: no. Ranting
(This post was last modified: 10-06-2017 05:16 AM by massis87.)
10-06-2017 05:14 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #12
RE: second bank??
You can't stack containers i guess Confused
10-06-2017 05:25 AM
Find all posts by this user Like Post Quote this message in a reply
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #13
RE: second bank??
And .ini how read it?

One at time?

One at time?

There are worse ways to understand the sense of the word: no. Ranting
(This post was last modified: 10-06-2017 05:28 AM by massis87.)
10-06-2017 05:26 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #14
RE: second bank??
I don't understand Confused

Btw seems that your shard is Mondain Legacy, so you can use the layers for the mysticism spells.
10-06-2017 05:31 AM
Find all posts by this user Like Post Quote this message in a reply
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #15
RE: second bank??
Yes but idk how works more t_eq_bank_box. That layer is used for write saves. Take a place into a file with writeline with default names and codes.
Atm the best way for me is add more containers/script invis into the bank, put into f_oncommand a line with bankself and a findlayer29blablabla.open .
I can open more than one box with a single command without force sphere mechanics.
And i can add my rewards, resources easy.
And escribano can open different bank in different places without difficulty.


EDIT:

ok i try a lot.
works fine and its cool with my idea...
and.
i test durksun idea.
i try the Bank "layer" with type t_eq_bank_box and dont work, open my default bankbox, on wiki say:
BANK layer W Opens the character's bank (or the container at the specified layer) for SRC to view.
whats wrong? ive already put for fun t_container

There are worse ways to understand the sense of the word: no. Ranting
(This post was last modified: 10-06-2017 07:24 AM by massis87.)
10-06-2017 05:47 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #16
RE: second bank??
In the banker's speech
Code:
[SPEECH spk_banker]
ON=*bank*
SRC.BANKSELF
src.testBank
Pay attention that the second container will remain open, so you need to find a way for closing it
(This post was last modified: 10-06-2017 07:39 AM by darksun84.)
10-06-2017 07:38 AM
Find all posts by this user Like Post Quote this message in a reply
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #17
RE: second bank??
No way. Last 56c.
Now im looking for edit the tdata on t_eq_bank_box.
I put a bigger gump and wordks, but the space for put the object is always the same.
There is a way for expand the space for place them?

There are worse ways to understand the sense of the word: no. Ranting
(This post was last modified: 10-06-2017 09:51 PM by massis87.)
10-06-2017 09:43 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #18
RE: second bank??
Can you post a screenshot of the new gump please

Also i think you need to edit the TDATA3 and TDATA4 of the bank box item

t_eq_bank_box 114 This type is a container that is used for the character bank. It leverages the following properties:

MORE1 = The amount of gold in the account (is this still true?)
MORE2 = The amount to restock to (for NPCs vendors who can buy stuff from players?)
MOREP = The location in the world (x, y, and z) where the bank box was opened
TDATA2 = The gumpID for the bank box container
TDATA3 = The minimum gump size
TDATA4 = the maximum gump size
(This post was last modified: 10-06-2017 10:08 PM by darksun84.)
10-06-2017 09:57 PM
Find all posts by this user Like Post Quote this message in a reply
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #19
RE: second bank??
i try to put some values on tdata3 and 4 but dont work, idk whats the range of that values.
   

[ITEMDEF 09b2]
DEFNAME=i_bankbox
NAME=Bank Box
LAYER=layer_bankbox
TYPE=T_EQ_BANK_BOX
TDATA2=0587
tdata3=0
tdata4=0

edit:

from source:

GUMP_TYPE m_gumpid; // TDATA2= the gump that comes up when this container is opened.
DWORD m_dwMinXY; // TDATA3= Gump size used.
DWORD m_dwMaxXY; // TDATA4=

There are worse ways to understand the sense of the word: no. Ranting
(This post was last modified: 10-06-2017 11:33 PM by massis87.)
10-06-2017 11:16 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #20
RE: second bank??
From the revisions:

Added: TDATA3 and TDATA4 of a container type item are now holding min and max coordinates of
the "area were items may be placed", relatively to the open container gump.
TDATA3 is (MinX * 0x10000) + MinY, TDATA4 is (MaxX * 0x10000) + MaxY

MaxX and MaxY can be found in Uofiddler under Gump by the checking the size property. MinX and MinY are probably the starting coordinated where you can put an item.
10-07-2017 12:08 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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