dali,100,147,3 script Dimensional Device#gefma PORTAL,{
[email protected]$ = "[ Dimensional Device ]";
[email protected]_geffen_time = checkquest(9316,PLAYTIME);
if ( GeffenTournament < gettimetick(2)) {
[email protected]_id = getcharid(1);
[email protected]_name$ = getpartyname([email protected]_id);
[email protected]_name$ = "Geffen Magic Tournament";
getpartymember(getcharid(1),0);
set [email protected],[email protected];
if( !getcharid(1) || is_party_leader() == false || [email protected] > 1) {
mes [email protected]$;
mes "This is a solo instance. Please form a solo party before continuing.";
end;
}
if ([email protected]_id) {
mes [email protected]$;
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 [email protected]$;
mes "You can feel time being distorted by the device.";
end;
case 2:
if (BaseLevel < 90) {
mes [email protected]$;
mes "You must be base level 90 to continue.";
end;
}
switch(instance_enter([email protected]_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 "[email protected]_name$+" instance.";
end;
case 0:
mapannounce "dali02",strcharinfo(0)+" of the party, "[email protected]_name$+" is entering the "[email protected]_name$+".",bc_map,"0x00ff99";
GeffenTournament = gettimetick(2) + 82800;
if([email protected]_geffen_time != -1) erasequest 9316;
setquest 9316;
end;
}
end;
}
} else if ( GeffenTournament > gettimetick(2) ) {
mes [email protected]$;
mes "Looks like the window of opportunity is not open right now.";
end;
}
end;
}
Heres the complete link of the script from github.
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
[email protected] > 12
dali,100,147,3 script Dimensional Device#gefma PORTAL,{ [email protected]$ = "[ Dimensional Device ]"; [email protected]_geffen_time = checkquest(9316,PLAYTIME); if ( GeffenTournament < gettimetick(2)) { [email protected]_id = getcharid(1); [email protected]_name$ = getpartyname([email protected]_id); [email protected]_name$ = "Geffen Magic Tournament"; getpartymember(getcharid(1),0); set [email protected],[email protected]; if( !getcharid(1) || is_party_leader() == false || [email protected] > 1) { mes [email protected]$; mes "This is a solo instance. Please form a solo party before continuing."; end; } if ([email protected]_id) { mes [email protected]$; 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 [email protected]$; mes "You can feel time being distorted by the device."; end; case 2: if (BaseLevel < 90) { mes [email protected]$; mes "You must be base level 90 to continue."; end; } switch(instance_enter([email protected]_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 "[email protected]_name$+" instance."; end; case 0: mapannounce "dali02",strcharinfo(0)+" of the party, "[email protected]_name$+" is entering the "[email protected]_name$+".",bc_map,"0x00ff99"; GeffenTournament = gettimetick(2) + 82800; if([email protected]_geffen_time != -1) erasequest 9316; setquest 9316; end; } end; } } else if ( GeffenTournament > gettimetick(2) ) { mes [email protected]$; 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