i need really this script!! XD but have à problèm's
3. Instance Based Dead Branch Room:
//===== rAthena Script =======================================//= Dead Branch Room Script//===== By: ==================================================//= Nova http://www.novaragnarok.com//============================================================
npc_in,9,103,6 script BranchManager89,{[email protected]$ ="[^3355FF Branch Manager ^000000]";[email protected]_id = getcharid(1);[email protected]_name$ = getpartyname([email protected]_id);[email protected]$ ="Dead Branch Room";if(getcharid(0)== getpartyleader([email protected]_id,2)){
mes [email protected]$;
mes "Would you like to reserve a private Dead Branch Room? It'll cost 100K for two full hours.";
mes "Remember, the room and everything inside it will disappear after this time frame.";next;switch(select("Rent Dead Branch Room:Enter the Room:Cancel")){case1:if(Zeny<100000){
mes [email protected]$;
mes "Are you trying to sneak in without paying? You must bring me 100,000 Zeny if you wish to rent a room.";
cutin "",255;end;}if(instance_create([email protected]$)<0){
mes "Party Name: "[email protected]_name$;
mes "Party Leader: "+strcharinfo(0);
mes "^0000ff"[email protected]$+" ^000000- Reservation Failed!";
close;}Zeny-=100000;
mes [email protected]$;
mes "Talk to me again to enter the room now that your room has been reserved.";
close;case2:
callsub L_Enter,0,1;case3:
mes [email protected]$;
mes "Have a nice day then, and enjoy Dead Branching in Juperos.";
close;}}
mes [email protected]$;
mes "You may enter a Dead Branch Room if it's been reserved by your party leader.";next;switch(select("Enter the Dead Branch Room:Cancel")){case1:
callsub L_Enter,1,1;case2:
mes [email protected]$;
mes "Have a nice day then, and enjoy Dead Branching in Juperos.";end;}
L_Enter:switch(instance_enter("Dead Branch Room")){case3:
mes [email protected]$;
mes "You are not in a party.";
close;case2:
mes [email protected]$;
mes "The private Dead Branch Room has not yet been reserved.";
mes "The party leader did not pay the fee.";
close;case1:
mes [email protected]$;
mes "You can enter the room after making a party.";
close;case0:
mapannounce "npc_in", strcharinfo(0)+" of the party, "[email protected]_name$+", is entering a Dead Branch Room.",bc_map,"0x00ff99",FW_NORMAL,12;end;}}//==================================================================================//--------|Map Flags|---------------------------------------------------------------//==================================================================================
pvp_n_1-3 mapflag monster_noteleport
pvp_n_1-3 mapflag nowarpto
pvp_n_1-3 mapflag nomemo
pvp_n_1-3 mapflag noteleport
pvp_n_1-3 mapflag nosave SavePoint
pvp_n_1-3 mapflag nopenalty
have success but now when i want reserved room he tell me reserved failled
but im on VPS and its not good url how solved my problem's sir ?
Question
max65
Hi, rathena .
i need really this script!! XD but have à problèm's
have success but now when i want reserved room he tell me reserved failled
thx for your repply
Link to comment
Share on other sites
7 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.