AinsLord Posted January 20, 2023 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Share Posted January 20, 2023 (edited) is there like custom command to open the additional storage like @storage2 / @storage3 and so on? if there is what is the script thanks for the help EDIT: i made this script it works fine but how can i put like a msg if storage1 is open and try to do @storage2 it will say "storage 1 is open can't open storage 2 at the moment" just like that here is the script: - script storage3 -1,{ OnInit: bindatcmd "storage3",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: openstorage2(2,STOR_MODE_GET|STOR_MODE_PUT); end; } Edited January 20, 2023 by AinsLord more info Quote Link to comment Share on other sites More sharing options...
0 Tender Juicy Posted January 21, 2023 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 01/21/23 Last Seen: February 24, 2023 Share Posted January 21, 2023 Hi, I'm having the same issue. The difference is I don't really have much knowledge regarding a lot of these stuff. @AinsLord If I may ask, where did you put that file and how exactly did you make it work? I don't really need a message like yours and I'm fine with it as long as it works. I think I already made a separate table of the storage in the database by copying the existing one and renaming them to storage2, storage3 etc. That's basically all I've done. Sorry if I seem dumb, I'm pretty new at this and just want more storage space but when I was searching on how, there seems to be an issue regarding storage capacity in high numbers. Making more storage seems to be the solution but it's definitely more complicated than editing a text file and compiling. Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted January 21, 2023 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted January 21, 2023 53 minutes ago, Tender Juicy said: Hi, I'm having the same issue. The difference is I don't really have much knowledge regarding a lot of these stuff. @AinsLord If I may ask, where did you put that file and how exactly did you make it work? I don't really need a message like yours and I'm fine with it as long as it works. I think I already made a separate table of the storage in the database by copying the existing one and renaming them to storage2, storage3 etc. That's basically all I've done. Sorry if I seem dumb, I'm pretty new at this and just want more storage space but when I was searching on how, there seems to be an issue regarding storage capacity in high numbers. Making more storage seems to be the solution but it's definitely more complicated than editing a text file and compiling. in your conf/inter_server.yml put this Body: - ID: 0 Name: "Storage" Table: storage - ID: 1 Name: "VIP" Table: storage2 max: 300 - ID: 2 Name: "VIP2" Table: storage3 max: 300 - ID: 3 Name: "VIP3" Table: storage4 max: 300 on your database SQL put this -- -- Table structure for table `storage` -- CREATE TABLE IF NOT EXISTS `storage` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; change this line `storage` to same name as you indicated in inter_server.yml ex: `storage2 ( as shown on my inter_server.yml CREATE TABLE IF NOT EXISTS `storage` ( here is the script im using byako,143,144,4 script More Storage#prt 4_F_KAFRA4,{ mes "[ Kafra ]"; mes "Which storage do you want to open?"; next; switch(select("Normal Storage","Storage1","Storage2","VIP Storage2")) { case 1: mes "[ Kafra ]"; mes "Storage will be opened. Thank you"; close2; openstorage; break; case 2: mes "[ Kafra ]"; mes "Storage 1 will be opened"; close2; openstorage2(1,STOR_MODE_GET|STOR_MODE_PUT); break; case 3: mes "[ Kafra ]"; mes "Storage 1 will be opened"; close2; openstorage2(2,STOR_MODE_GET|STOR_MODE_PUT); break; case 4: mes "[ Kafra ]"; if (vip_status(1)) { .@mode = STOR_MODE_GET|STOR_MODE_PUT; mes "VIP will be opened. Thank you"; } else { .@mode = STOR_MODE_GET; mes "Seems you're no longer VIP anymore. You only can take the items."; } close2; openstorage2(3,.@mode); break; } end; } i hope this can help Credits to this guide 1 1 Quote Link to comment Share on other sites More sharing options...
0 Tender Juicy Posted January 21, 2023 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 01/21/23 Last Seen: February 24, 2023 Share Posted January 21, 2023 (edited) 1 hour ago, AinsLord said: in your conf/inter_server.yml put this Body: - ID: 0 Name: "Storage" Table: storage - ID: 1 Name: "VIP" Table: storage2 max: 300 - ID: 2 Name: "VIP2" Table: storage3 max: 300 - ID: 3 Name: "VIP3" Table: storage4 max: 300 on your database SQL put this -- -- Table structure for table `storage` -- CREATE TABLE IF NOT EXISTS `storage` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; change this line `storage` to same name as you indicated in inter_server.yml ex: `storage2 ( as shown on my inter_server.yml CREATE TABLE IF NOT EXISTS `storage` ( here is the script im using byako,143,144,4 script More Storage#prt 4_F_KAFRA4,{ mes "[ Kafra ]"; mes "Which storage do you want to open?"; next; switch(select("Normal Storage","Storage1","Storage2","VIP Storage2")) { case 1: mes "[ Kafra ]"; mes "Storage will be opened. Thank you"; close2; openstorage; break; case 2: mes "[ Kafra ]"; mes "Storage 1 will be opened"; close2; openstorage2(1,STOR_MODE_GET|STOR_MODE_PUT); break; case 3: mes "[ Kafra ]"; mes "Storage 1 will be opened"; close2; openstorage2(2,STOR_MODE_GET|STOR_MODE_PUT); break; case 4: mes "[ Kafra ]"; if (vip_status(1)) { .@mode = STOR_MODE_GET|STOR_MODE_PUT; mes "VIP will be opened. Thank you"; } else { .@mode = STOR_MODE_GET; mes "Seems you're no longer VIP anymore. You only can take the items."; } close2; openstorage2(3,.@mode); break; } end; } i hope this can help Credits to this guide Managed to get it to work! I had to change the NPC location though since I don't think Byako exist in mine. Did you ever got the @storage, @storage2, @storage3 etc to work though? I do want to be able to access them on any map. In any case, thank you! Edit: Nevermind, got that @commands scripts to work. Thanks again! Edited January 21, 2023 by Tender Juicy Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted January 21, 2023 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted January 21, 2023 (edited) 45 minutes ago, Tender Juicy said: Managed to get it to work! I had to change the NPC location though since I don't think Byako exist in mine. Did you ever got the @storage, @storage2, @storage3 etc to work though? I do want to be able to access them on any map. In any case, thank you! Edit: Nevermind, got that @commands scripts to work. Thanks again! use this script create a new text file - script storage2 -1,{ OnInit: bindatcmd "storage2",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: openstorage2(1,STOR_MODE_GET|STOR_MODE_PUT); end; } change this part - script storage2 -1,{ openstorage2(1,STOR_MODE_GET|STOR_MODE_PUT); to this for 2nd storage - script storage3 -1,{ openstorage2(2,STOR_MODE_GET|STOR_MODE_PUT); and so on the last storage in the script is a VIP one so if your server doesnt have VIP enable you can just delete the lines for VIP Edited January 21, 2023 by AinsLord 1 Quote Link to comment Share on other sites More sharing options...
0 Shamag Posted June 17, 2024 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 06/17/24 Last Seen: July 21, 2024 Share Posted June 17, 2024 Hello! I try following your step by step, but I have encounter a problem. when I ran char-server it said this DB error - Table 'rathena_re_db.vip_storage' doesn't exist [Debug]: at E:\RO_offline\Project_Return_to_Morroc\02 emu rathena\src\char\int_storage.cpp:164 - SELECT `id`,`account_id`,`nameid`,`amount`,`equip`,`identify`,`refine`,`attribute`,`card0`,`card1`,`card2`,`card3`,`option_id0`,`option_val0`,`option_parm0`,`option_id1`,`option_val1`,`option_parm1`,`option_id2`,`option_val2`,`option_parm2`,`option_id3`,`option_val3`,`option_parm3`,`option_id4`,`option_val4`,`option_parm4`,`expire_time`,`bound`,`unique_id`,`enchantgrade` FROM `vip_storage` LIMIT 1; and the script/command aren't working, I try using storage2 storage3 storage4 - script vip_storage -1,{ OnInit: bindatcmd "storage2",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: openstorage2(1,STOR_MODE_GET|STOR_MODE_PUT); end; } - script storage2 -1,{ OnInit: bindatcmd "storage2",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: openstorage2(2,STOR_MODE_GET|STOR_MODE_PUT); end; } - script storage3 -1,{ OnInit: bindatcmd "storage2",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: openstorage2(3,STOR_MODE_GET|STOR_MODE_PUT); end; } - script storage4 -1,{ OnInit: bindatcmd "storage2",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: openstorage2(4,STOR_MODE_GET|STOR_MODE_PUT); end; } and my premium_storage.sql are like this -- -- Table structure for table `vip_storage` -- CREATE TABLE IF NOT EXISTS `vip_storage` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) unsigned NOT NULL default '0', `option_val0` smallint(5) unsigned NOT NULL default '0', `option_parm0` tinyint(3) unsigned NOT NULL default '0', `option_id1` smallint(5) unsigned NOT NULL default '0', `option_val1` smallint(5) unsigned NOT NULL default '0', `option_parm1` tinyint(3) unsigned NOT NULL default '0', `option_id2` smallint(5) unsigned NOT NULL default '0', `option_val2` smallint(5) unsigned NOT NULL default '0', `option_parm2` tinyint(3) unsigned NOT NULL default '0', `option_id3` smallint(5) unsigned NOT NULL default '0', `option_val3` smallint(5) unsigned NOT NULL default '0', `option_parm3` tinyint(3) unsigned NOT NULL default '0', `option_id4` smallint(5) unsigned NOT NULL default '0', `option_val4` smallint(5) unsigned NOT NULL default '0', `option_parm4` tinyint(3) unsigned NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage2` -- CREATE TABLE IF NOT EXISTS `storage2` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage3` -- CREATE TABLE IF NOT EXISTS `storage3` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage4` -- CREATE TABLE IF NOT EXISTS `storage4` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `vip_storage` -- CREATE TABLE IF NOT EXISTS `vip_storage` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) unsigned NOT NULL default '0', `option_val0` smallint(5) unsigned NOT NULL default '0', `option_parm0` tinyint(3) unsigned NOT NULL default '0', `option_id1` smallint(5) unsigned NOT NULL default '0', `option_val1` smallint(5) unsigned NOT NULL default '0', `option_parm1` tinyint(3) unsigned NOT NULL default '0', `option_id2` smallint(5) unsigned NOT NULL default '0', `option_val2` smallint(5) unsigned NOT NULL default '0', `option_parm2` tinyint(3) unsigned NOT NULL default '0', `option_id3` smallint(5) unsigned NOT NULL default '0', `option_val3` smallint(5) unsigned NOT NULL default '0', `option_parm3` tinyint(3) unsigned NOT NULL default '0', `option_id4` smallint(5) unsigned NOT NULL default '0', `option_val4` smallint(5) unsigned NOT NULL default '0', `option_parm4` tinyint(3) unsigned NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage2` -- CREATE TABLE IF NOT EXISTS `storage2` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage3` -- CREATE TABLE IF NOT EXISTS `storage3` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage4` -- CREATE TABLE IF NOT EXISTS `storage4` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted December 18, 2024 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted December 18, 2024 (edited) On 6/17/2024 at 11:01 AM, Shamag said: Hello! I try following your step by step, but I have encounter a problem. when I ran char-server it said this DB error - Table 'rathena_re_db.vip_storage' doesn't exist [Debug]: at E:\RO_offline\Project_Return_to_Morroc\02 emu rathena\src\char\int_storage.cpp:164 - SELECT `id`,`account_id`,`nameid`,`amount`,`equip`,`identify`,`refine`,`attribute`,`card0`,`card1`,`card2`,`card3`,`option_id0`,`option_val0`,`option_parm0`,`option_id1`,`option_val1`,`option_parm1`,`option_id2`,`option_val2`,`option_parm2`,`option_id3`,`option_val3`,`option_parm3`,`option_id4`,`option_val4`,`option_parm4`,`expire_time`,`bound`,`unique_id`,`enchantgrade` FROM `vip_storage` LIMIT 1; and the script/command aren't working, I try using storage2 storage3 storage4 - script vip_storage -1,{ OnInit: bindatcmd "storage2",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: openstorage2(1,STOR_MODE_GET|STOR_MODE_PUT); end; } - script storage2 -1,{ OnInit: bindatcmd "storage2",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: openstorage2(2,STOR_MODE_GET|STOR_MODE_PUT); end; } - script storage3 -1,{ OnInit: bindatcmd "storage2",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: openstorage2(3,STOR_MODE_GET|STOR_MODE_PUT); end; } - script storage4 -1,{ OnInit: bindatcmd "storage2",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: openstorage2(4,STOR_MODE_GET|STOR_MODE_PUT); end; } and my premium_storage.sql are like this -- -- Table structure for table `vip_storage` -- CREATE TABLE IF NOT EXISTS `vip_storage` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) unsigned NOT NULL default '0', `option_val0` smallint(5) unsigned NOT NULL default '0', `option_parm0` tinyint(3) unsigned NOT NULL default '0', `option_id1` smallint(5) unsigned NOT NULL default '0', `option_val1` smallint(5) unsigned NOT NULL default '0', `option_parm1` tinyint(3) unsigned NOT NULL default '0', `option_id2` smallint(5) unsigned NOT NULL default '0', `option_val2` smallint(5) unsigned NOT NULL default '0', `option_parm2` tinyint(3) unsigned NOT NULL default '0', `option_id3` smallint(5) unsigned NOT NULL default '0', `option_val3` smallint(5) unsigned NOT NULL default '0', `option_parm3` tinyint(3) unsigned NOT NULL default '0', `option_id4` smallint(5) unsigned NOT NULL default '0', `option_val4` smallint(5) unsigned NOT NULL default '0', `option_parm4` tinyint(3) unsigned NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage2` -- CREATE TABLE IF NOT EXISTS `storage2` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage3` -- CREATE TABLE IF NOT EXISTS `storage3` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage4` -- CREATE TABLE IF NOT EXISTS `storage4` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `vip_storage` -- CREATE TABLE IF NOT EXISTS `vip_storage` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) unsigned NOT NULL default '0', `option_val0` smallint(5) unsigned NOT NULL default '0', `option_parm0` tinyint(3) unsigned NOT NULL default '0', `option_id1` smallint(5) unsigned NOT NULL default '0', `option_val1` smallint(5) unsigned NOT NULL default '0', `option_parm1` tinyint(3) unsigned NOT NULL default '0', `option_id2` smallint(5) unsigned NOT NULL default '0', `option_val2` smallint(5) unsigned NOT NULL default '0', `option_parm2` tinyint(3) unsigned NOT NULL default '0', `option_id3` smallint(5) unsigned NOT NULL default '0', `option_val3` smallint(5) unsigned NOT NULL default '0', `option_parm3` tinyint(3) unsigned NOT NULL default '0', `option_id4` smallint(5) unsigned NOT NULL default '0', `option_val4` smallint(5) unsigned NOT NULL default '0', `option_parm4` tinyint(3) unsigned NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage2` -- CREATE TABLE IF NOT EXISTS `storage2` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage3` -- CREATE TABLE IF NOT EXISTS `storage3` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; -- -- Table structure for table `storage4` -- CREATE TABLE IF NOT EXISTS `storage4` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; upon inserting new tables you should have these 4 storage and NPC works fine with me in your inter_server.yml dont change the 1st line of storage should always like this Header: Type: INTER_SERVER_DB Version: 1 Body: - ID: 0 // Done change this Name: "Storage" // Done change this Table: storage // Done change this - ID: 1 Name: "VIP" Table: storage2 max: 300 - ID: 2 Name: "VIP2" Table: storage3 max: 300 - ID: 3 Name: "VIP3" Table: storage4 max: 300 Footer: Imports: - Path: conf/import/inter_server.yml If you want more storage for VIP etc just add same line shown below - ID: 4 Name: "VIP4" Table: storage5 max: 300 as for the DB insert table show be like this shown below -- -- Table structure for table `storage` -- CREATE TABLE IF NOT EXISTS `storage5` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `nameid` int(10) unsigned NOT NULL default '0', `amount` smallint(11) unsigned NOT NULL default '0', `equip` int(11) unsigned NOT NULL default '0', `identify` smallint(6) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `card0` int(10) unsigned NOT NULL default '0', `card1` int(10) unsigned NOT NULL default '0', `card2` int(10) unsigned NOT NULL default '0', `card3` int(10) unsigned NOT NULL default '0', `option_id0` smallint(5) NOT NULL default '0', `option_val0` smallint(5) NOT NULL default '0', `option_parm0` tinyint(3) NOT NULL default '0', `option_id1` smallint(5) NOT NULL default '0', `option_val1` smallint(5) NOT NULL default '0', `option_parm1` tinyint(3) NOT NULL default '0', `option_id2` smallint(5) NOT NULL default '0', `option_val2` smallint(5) NOT NULL default '0', `option_parm2` tinyint(3) NOT NULL default '0', `option_id3` smallint(5) NOT NULL default '0', `option_val3` smallint(5) NOT NULL default '0', `option_parm3` tinyint(3) NOT NULL default '0', `option_id4` smallint(5) NOT NULL default '0', `option_val4` smallint(5) NOT NULL default '0', `option_parm4` tinyint(3) NOT NULL default '0', `expire_time` int(11) unsigned NOT NULL default '0', `bound` tinyint(3) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', `enchantgrade` tinyint unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=MyISAM; Edited December 18, 2024 by AinsLord more details Quote Link to comment Share on other sites More sharing options...
Question
AinsLord
is there like custom command to open the additional storage
like @storage2 / @storage3 and so on?
if there is what is the script
thanks for the help
EDIT:
i made this script it works fine but how can i put like a msg
if storage1 is open and try to do @storage2 it will say "storage 1 is open can't open storage 2 at the moment"
just like that
here is the script:
more info
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.