![]() |
second bank?? - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: second bank?? (/Thread-second-bank) |
RE: second bank?? - massis87 - 10-06-2017 05:14 AM T_eq_bank_box too. Add more of them stacks? The weoght and items controls is into it RE: second bank?? - darksun84 - 10-06-2017 05:25 AM You can't stack containers i guess ![]() RE: second bank?? - massis87 - 10-06-2017 05:26 AM And .ini how read it? One at time? One at time? RE: second bank?? - darksun84 - 10-06-2017 05:31 AM I don't understand ![]() Btw seems that your shard is Mondain Legacy, so you can use the layers for the mysticism spells. RE: second bank?? - massis87 - 10-06-2017 05:47 AM 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 RE: second bank?? - darksun84 - 10-06-2017 07:38 AM In the banker's speech Code: [SPEECH spk_banker] RE: second bank?? - massis87 - 10-06-2017 09:43 PM 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? RE: second bank?? - darksun84 - 10-06-2017 09:57 PM 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 RE: second bank?? - massis87 - 10-06-2017 11:16 PM i try to put some values on tdata3 and 4 but dont work, idk whats the range of that values. [attachment=423] [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= RE: second bank?? - darksun84 - 10-07-2017 12:08 AM 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. |