Help Vip Storage NPC script problem
Asked by AinsLord · Nov 12, 2026
Error
aegis,80,70,5 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 Storage")) {
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;
}
so here is the image the account is in VIP everytime i open the custom Storage NPC even normal storage it says that notification
i tried GM level it opens normally but cant access the VIP storage
here is the script i have
thanks in advance
btw how many storage I can add currently I have 3 normal storage and 1 VIP storage
EDIT: same goes as the normal storage using kafra NPC and @storage command
2 answers
✔ Accepted fix
did u use this premium storage sql ?
https://github.com/rathena/rathena/blob/master/sql-files/upgrades/premium_storage.sql
if yes, depends on how much you add with the respective table in https://github.com/rathena/rathena/blob/master/conf/inter_server.yml
if that is VIP storage, you cant access using VIP account. GM account isnt a VIP account. VIP account as default the groupid is 5 if im not mistaken.
So try using character that is active VIP account.
Also I didnt know if you have bad files in groups.yml, but try to use the default one and try.
Know the fix?
Explain what solved it: the cause, the steps and any code. An admin checks every answer before it is shown.