Hello everyone, I am trying to make the Geffen Magic Tournament where a party can enter. I tried but I failed converting it into a party instance.
This is the part of the script where I modify
.@GPPPartySize > 12
dali,100,147,3 script Dimensional Device#gefma PORTAL,{
.@n$ = "[ Dimensional Device ]";
.@ins_geffen_time = checkquest(9316,PLAYTIME);
if ( GeffenTournament < gettimetick(2)) {
.@party_id = getcharid(1);
.@p_name$ = getpartyname(.@party_id);
.@md_name$ = "Geffen Magic Tournament";
getpartymember(getcharid(1),0);
set .@GPPartySize,$@partymembercount;
if( !getcharid(1) || is_party_leader() == false || .@GPPartySize > 1) {
mes .@n$;
mes "This is a solo instance. Please form a solo party before continuing.";
end;
}
if (!.@party_id) {
mes .@n$;
mes "This is a solo instance. Please form a solo party before continuing.";
end;
}
switch(select("Leave it alone:^3355FFUse the Device^000000")){
case 1:
mes .@n$;
mes "You can feel time being distorted by the device.";
end;
case 2:
if (BaseLevel < 90) {
mes .@n$;
mes "You must be base level 90 to continue.";
end;
}
switch(instance_enter(.@md_name$)) {
case 3:
mes "An unknown error has occurred.";
end;
case 2:
mes "The Geffen Magic Tournament instance has not been created. Please go to talk to Emmitt White first.";
end;
case 1:
mes "Only registered members can enter the "+.@md_name$+" instance.";
end;
case 0:
mapannounce "dali02",strcharinfo(0)+" of the party, "+.@p_name$+" is entering the "+.@md_name$+".",bc_map,"0x00ff99";
GeffenTournament = gettimetick(2) + 82800;
if(.@ins_geffen_time != -1) erasequest 9316;
setquest 9316;
end;
}
end;
}
} else if ( GeffenTournament > gettimetick(2) ) {
mes .@n$;
mes "Looks like the window of opportunity is not open right now.";
end;
}
end;
}
Heres the complete link of the script from github.
Question
ItsRas
Hello everyone, I am trying to make the Geffen Magic Tournament where a party can enter. I tried but I failed converting it into a party instance.
This is the part of the script where I modify
.@GPPPartySize > 12
dali,100,147,3 script Dimensional Device#gefma PORTAL,{ .@n$ = "[ Dimensional Device ]"; .@ins_geffen_time = checkquest(9316,PLAYTIME); if ( GeffenTournament < gettimetick(2)) { .@party_id = getcharid(1); .@p_name$ = getpartyname(.@party_id); .@md_name$ = "Geffen Magic Tournament"; getpartymember(getcharid(1),0); set .@GPPartySize,$@partymembercount; if( !getcharid(1) || is_party_leader() == false || .@GPPartySize > 1) { mes .@n$; mes "This is a solo instance. Please form a solo party before continuing."; end; } if (!.@party_id) { mes .@n$; mes "This is a solo instance. Please form a solo party before continuing."; end; } switch(select("Leave it alone:^3355FFUse the Device^000000")){ case 1: mes .@n$; mes "You can feel time being distorted by the device."; end; case 2: if (BaseLevel < 90) { mes .@n$; mes "You must be base level 90 to continue."; end; } switch(instance_enter(.@md_name$)) { case 3: mes "An unknown error has occurred."; end; case 2: mes "The Geffen Magic Tournament instance has not been created. Please go to talk to Emmitt White first."; end; case 1: mes "Only registered members can enter the "+.@md_name$+" instance."; end; case 0: mapannounce "dali02",strcharinfo(0)+" of the party, "+.@p_name$+" is entering the "+.@md_name$+".",bc_map,"0x00ff99"; GeffenTournament = gettimetick(2) + 82800; if(.@ins_geffen_time != -1) erasequest 9316; setquest 9316; end; } end; } } else if ( GeffenTournament > gettimetick(2) ) { mes .@n$; mes "Looks like the window of opportunity is not open right now."; end; } end; }
Heres the complete link of the script from github.
https://github.com/rathena/rathena/blob/master/npc/custom/official/GeffenMagicTournament.txt
Hope you guys can help me converting the GMT into a party instance. Thank you in advance.
Link to comment
Share on other sites
0 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.