Speak my dears!
Today I'll be making available a very requested script. It's about the "CTF" That CTF from the xyler PK that I've seen several asking HAHA.
There's only one but the script doesn't work. It could be because XileRO is eathena and eamod.
If someone manages to make it work it will be a great achievement for all of us.
I have all the other scripts.
Quote
/globals
struct arena_fifo are_queue[ARENA_QUEUES][ARENA_QUEUE_MAX_LENGTH]; //todo: init memcpy
int are_queue_first_empty[ARENA_QUEUES]={0,0,0};
struct arena_fifo *are_queue_first[ARENA_QUEUES]={NULL,NULL,NULL};
struct arena_fifo *are_queue_last[ARENA_QUEUES]={NULL,NULL,NULL};
int are_queue_length[ARENA_QUEUES]={0,0,0};
//functions
int fifo_new(struct map_session_data *sd, int que){
struct arena_fifo *newfifo=NULL;
int i;
if( que>=ARENA_QUEUES || are_queue_length[que] >= ARENA_QUEUE_MAX_LENGTH ) return -1;
//TODO:
// -arena_room winner announcement
// -all chars loggoff until no new ones can join -> draw
// -creating a party name that already exists (but is offline)
// -kick afk chars
getmapxy(@ra_map$, .@x, .@y, 0);
set CTF_lost,CTF_matches-CTF_won; //honor
set @CTF_kill_RB,0; //honor
set @CTF_RB,0; //honor
mes "[Arena Guide]";
mes "Welcome to Capture the flag!!!";
mes "CTF EXP: ^0000ff"+CTF_EXP+"^000000"; //honor
mes "Matches Played: ^777777"+CTF_matches+"^000000"; //honor
mes "Matches Lost: ^ff0000"+CTF_lost+"^000000"; //honor
mes "Matches Won: ^00ff00"+CTF_won+"^000000"; //honor
next;
mes "[Arena Guide]";
mes "Would you like to compete?";
next;
menu "Lets do it!",L_Yes, "Uhh. No thanks", L_No;
close;
L_Yes:
if (BaseLevel < 250 || Class==Job_Novice || Class==Job_Baby || Class==Job_Novice_High){
goto L_Level;
}else{
if(@ra_map$ != "ra_in01") {//Honor, house system
if($@antibot_active==0) {//Honor, activate with @quest
if(callfunc("botcheck")==0){//Jason
close;
}
}
}
set @CTF_flag, 0;
set @CTF_team, 0;
set @CTF_arena, 0;
set .@pos, arena_queue_add(3);
mes "[Arena Guide]";
if(.@pos==0){
mes "The queue is full. Please wait a while and try again.";
}else if(.@pos==-1){
mes "You already are on a waiting line...";
}else if(.@pos==10){
getmapxy(@CTF_city$, @CTF_x, @CTF_y, 0);
if($@CTF1_running==0){
set $@CTF1_running, 1;
donpcevent "CTF_Engine::OnRestart1";
}else if($@CTF2_running==0){
set $@CTF2_running, 1;
donpcevent "CTF_Engine::OnRestart2";
}else if($@CTF3_running==0){
set $@CTF3_running, 1;
donpcevent "CTF_Engine::OnRestart3";
}else{
set @CTF_active,1;
mes "Congratulations, you are now on the waiting line for Capture the flag!";
mes "Your position is: ^FF0000"+(.@pos-1)+"^000000";
next;
mes "[Arena Guide]";
mes "^0000FFWhen it's your turn, you will be taken to the Arena even if you moved away from this map!";
mes "^FF0000But if you logout, you will be put out of the queue.";
}
}else{
getmapxy(@CTF_city$, @CTF_x, @CTF_y, 0);
set @CTF_active,1;
mes "Congratulations, you are now on the waiting line for Capture the flag!";
mes "Your position is: ^FF0000"+(.@pos-1)+"^000000";
next;
mes "[Arena Guide]";
mes "^0000FFWhen it's your turn, you will be taken to the Arena even if you moved away from this map!";
mes "^FF0000But if you logout, you will be put out of the queue.";
}
}
close;
L_No:
mes "[Arena Guide]";
mes "Okay, please come again!";
close;
L_Level:
mes "[Arena Guide]";
mes "Sorry, you need to be at least level 250. No Novices allowed either.";
close;
//NPC + Flag drop
//==============================================================
pvp_n_1-1.gat,0,0,0 script CTF_Engine -1,{
end;
OnInit:
ctf_init(0);
ctf_init(1);
ctf_init(2);
set $@CTF_msgA$[0], "Light Team dropped a flag!";
set $@CTF_msgA$[1], "Light Team's flag is back to its base!";
set $@CTF_msgA$[2], "Light Team's flag has been taken!";
set $@CTF_msgA$[3], "Light Team scored a point!";
set $@CTF_msgA$[4], "Light Team won!";
set $@CTF_msgB$[0], "Dark Team dropped a flag!";
set $@CTF_msgB$[1], "Dark Team's flag is back to its base!";
set $@CTF_msgB$[2], "Dark Team's flag has been taken!";
set $@CTF_msgB$[3], "Dark Team scored a point!";
set $@CTF_msgB$[4], "Dark Team won!";
switch(@CTF_flag){
case 1: set .@flagname$, "Light Flag#"; set .@flagnum$, "_1";
ctf_unlockflag(@CTF_arena,1,1);
break;
case 2: set .@flagname$, "Light Flag#"; set .@flagnum$, "_2";
ctf_unlockflag(@CTF_arena,1,2);
break;
case 3: set .@flagname$, "Light Flag#"; set .@flagnum$, "_3";
ctf_unlockflag(@CTF_arena,1,3);
break;
case 4: set .@flagname$, "Dark Flag#"; set .@flagnum$, "_1";
ctf_unlockflag(@CTF_arena,2,1);
break;
case 5: set .@flagname$, "Dark Flag#"; set .@flagnum$, "_2";
ctf_unlockflag(@CTF_arena,2,2);
break;
case 6: set .@flagname$, "Dark Flag#"; set .@flagnum$, "_3";
ctf_unlockflag(@CTF_arena,2,3);
break;
default:
}
if(@CTF_flag){
set .@flagdisplayname$, .@flagname$+(@CTF_arena+1)+.@flagnum$;
movenpc .@flagdisplayname$, .@mapx, .@mapy;
set @CTF_flag, 0;
}
//if player already left the map?
if(.@mapname$!="pvp_n_1-1" && .@mapname$!="pvp_n_2-1" && .@mapname$!="pvp_n_3-1"){
set .@mapx, 106;
set .@mapy, 96;
}
switch(@CTF_arena){
case 0: set .@mapname$, "pvp_n_1-1"; break;
case 1: set .@mapname$, "pvp_n_2-1"; break;
case 2: set .@mapname$, "pvp_n_3-1"; break;
}
switch(@CTF_flag){
case 1: set .@flagname$, "Light Flag#"; set .@flagnum$, "_1";
ctf_unlockflag(@CTF_arena,1,1);
break;
case 2: set .@flagname$, "Light Flag#"; set .@flagnum$, "_2";
ctf_unlockflag(@CTF_arena,1,2);
break;
case 3: set .@flagname$, "Light Flag#"; set .@flagnum$, "_3";
ctf_unlockflag(@CTF_arena,1,3);
break;
case 4: set .@flagname$, "Dark Flag#"; set .@flagnum$, "_1";
ctf_unlockflag(@CTF_arena,2,1);
break;
case 5: set .@flagname$, "Dark Flag#"; set .@flagnum$, "_2";
ctf_unlockflag(@CTF_arena,2,2);
break;
case 6: set .@flagname$, "Dark Flag#"; set .@flagnum$, "_3";
ctf_unlockflag(@CTF_arena,2,3);
break;
default:
}
if(@CTF_flag){
set .@flagdisplayname$, .@flagname$+(@CTF_arena+1)+.@flagnum$;
movenpc .@flagdisplayname$, .@mapx, .@mapy;
set @CTF_flag, 0;
}
//get a new member to replace this one
if(@CTF_team==1)
warp_arena_queue(3,@CTF_arena,.@mapname$,94,176,-getcharid(1));
else
warp_arena_queue(3,@CTF_arena,.@mapname$,94,22,-getcharid(1));
//safely leave party (changing leadership if necessary)
party_leave(1);
}
//clean variables (in case they are warping away)
set @CTF_team, 0;
set @CTF_flag, 0;
set @CTF_arena, 0;
//if player didnt move during the 3 checks
if(@CTF_away>=3){
if(@CTF_afk>=3){
warp "prontera",156,173;
dispbottom "Capture the Flag: you were kicked for inactivity. Another player will take your spot.";
}
set @CTF_mapname$, 0; set @CTF_mapx, 0; set @CTF_mapy, 0;
set @CTF_away, 0; set @CTF_afk, 0;
}
end;
OnPCLoadMapEvent:
if(@CTF_team==1 && getcharid(1)==0){
switch(@CTF_arena){
case 0: if($CTF_teamA_id[0]==0) set $CTF_teamA_id[0], party_join("leader",$CTF1_teamA_leader);
else party_join("party",$CTF_teamA_id[0]);
set CTF_matches,CTF_matches+1;
break;
case 1: if($CTF_teamA_id[1]==0) set $CTF_teamA_id[1], party_join("leader",$CTF2_teamA_leader);
else party_join("party",$CTF_teamA_id[1]);
set CTF_matches,CTF_matches+1;
break;
case 2: if($CTF_teamA_id[2]==0) set $CTF_teamA_id[2], party_join("leader",$CTF3_teamA_leader);
else party_join("party",$CTF_teamA_id[2]);
set CTF_matches,CTF_matches+1;
break;
}
}else if(@CTF_team==2 && getcharid(1)==0){
switch(@CTF_arena){
case 0: if($CTF_teamB_id[0]==0) set $CTF_teamB_id[0], party_join("leader",$CTF1_teamB_leader);
else party_join("party",$CTF_teamB_id[0]);
set CTF_matches,CTF_matches+1;
break;
case 1: if($CTF_teamB_id[1]==0) set $CTF_teamB_id[1], party_join("leader",$CTF2_teamB_leader);
else party_join("party",$CTF_teamB_id[1]);
set CTF_matches,CTF_matches+1;
break;
case 2: if($CTF_teamB_id[2]==0) set $CTF_teamB_id[2], party_join("leader",$CTF3_teamB_leader);
else party_join("party",$CTF_teamB_id[2]);
set CTF_matches,CTF_matches+1;
break;
}
}
if(@CTF_team){
getmapxy(@CTF_mapname$, @CTF_mapx, @CTF_mapy, 0);
set @CTF_away, 0; set @CTF_afk, 0;
addtimer 10000, "CTF_Engine::OnDetectAfk";
}
end;
OnTimer30000:
set $@CTF_times_30s[0], $@CTF_times_30s[0] + 1;
//Play for 10 minutes
if($@CTF_times_30s[0] < 20){
mapannounce "pvp_n_1-1", "Current score is: Light Team - " +$CTF_teamA_score[0]+
" ~ Dark Team - " +$CTF_teamB_score[0]+ " !", 0;
initnpctimer;
}else{
if($@CTF_times_30s[0] < 24 && $CTF_teamA_score[0]==$CTF_teamB_score[0]){
// sudden death: 2 more minutes
mapannounce "pvp_n_1-1", "This match has been going for 10 minutes. Next team to get a flag wins!", 0;
set $@CTF_suddendeath[0], 1;
initnpctimer;
}else{
// declare winner
mapannounce "pvp_n_1-1", "This match has been going for 10 minutes. We will now declare a winner...", 0;
if($CTF_teamA_score[0] > $CTF_teamB_score[0]){
// team A wins
donpcevent "CTF1_Check_TeamA::OnTeamWin";
}else if($CTF_teamA_score[0] < $CTF_teamB_score[0]){
// team B wins
donpcevent "CTF1_Check_TeamB::OnTeamWin";
}else{
// tie
mapannounce "pvp_n_1-1", "This match is a tie! No team is therefore qualified for a prize, sorry :(", 0;
set $@CTF_matchover[0], 1;
sleep 5000;
mapwarp "pvp_n_1-1","prontera",156,173;
sleep 10000;
donpcevent "CTF_Engine::OnRestart1";
}
}
}
end;
}
OnTimer30000:
set $@CTF_times_30s[1], $@CTF_times_30s[1] + 1;
//Play for 10 minutes
if($@CTF_times_30s[1] < 20){
mapannounce "pvp_n_2-1", "Current score is: Light Team - " +$CTF_teamA_score[1]+
" ~ Dark Team - " +$CTF_teamB_score[1]+ " !", 0;
initnpctimer;
}else{
if($@CTF_times_30s[1] < 24 && $CTF_teamA_score[1]==$CTF_teamB_score[1]){
// sudden death: 2 more minutes
mapannounce "pvp_n_2-1", "This match has been going for 10 minutes. Next team to get a flag wins!", 0;
set $@CTF_suddendeath[1], 1;
initnpctimer;
}else{
// declare winner
mapannounce "pvp_n_2-1", "This match has been going for 10 minutes. We will now declare a winner...", 0;
if($CTF_teamA_score[1] > $CTF_teamB_score[1]){
// team A wins
donpcevent "CTF2_Check_TeamA::OnTeamWin";
}else if($CTF_teamA_score[1] < $CTF_teamB_score[1]){
// team B wins
donpcevent "CTF2_Check_TeamB::OnTeamWin";
}else{
// tie
mapannounce "pvp_n_2-1", "This match is a tie! No team is therefore qualified for a prize, sorry :(", 0;
set $@CTF_matchover[1], 1;
sleep 5000;
mapwarp "pvp_n_2-1","prontera",156,173;
sleep 10000;
donpcevent "CTF_Engine::OnRestart2";
}
}
}
end;
}
OnTimer30000:
set $@CTF_times_30s[2], $@CTF_times_30s[2] + 1;
//Play for 10 minutes
if($@CTF_times_30s[2] < 20){
mapannounce "pvp_n_3-1", "Current score is: Light Team - " +$CTF_teamA_score[2]+
" ~ Dark Team - " +$CTF_teamB_score[2]+ " !", 0;
initnpctimer;
}else{
if($@CTF_times_30s[2] < 24 && $CTF_teamA_score[2]==$CTF_teamB_score[2]){
// sudden death: 2 more minutes
mapannounce "pvp_n_3-1", "This match has been going for 10 minutes. Next team to get a flag wins!", 0;
set $@CTF_suddendeath[2], 1;
initnpctimer;
}else{
// declare winner
mapannounce "pvp_n_3-1", "This match has been going for 10 minutes. We will now declare a winner...", 0;
if($CTF_teamA_score[2] > $CTF_teamB_score[2]){
// team A wins
donpcevent "CTF3_Check_TeamA::OnTeamWin";
}else if($CTF_teamA_score[2] < $CTF_teamB_score[2]){
// team B wins
donpcevent "CTF3_Check_TeamB::OnTeamWin";
}else{
// tie
mapannounce "pvp_n_3-1", "This match is a tie! No team is therefore qualified for a prize, sorry :(", 0;
set $@CTF_matchover[2], 1;
sleep 5000;
mapwarp "pvp_n_3-1","prontera",156,173;
sleep 10000;
donpcevent "CTF_Engine::OnRestart3";
}
}
}
end;
}
//==============================================================
//
// Team A's Base (Light)
//
//==============================================================
if(ctf_lockflag(@CTF_arena,1,1)==0){
npctalk "Someone got it first!";
end;
}
if(@CTF_team==1){
//same team gets it -> flag goes to base
//move it somewhere else first temporarily
movenpc strnpcinfo(0),0,0;
sleep2 5000;
//bring flag home and unlock it
movenpc strnpcinfo(0),87,182;
ctf_unlockflag(@CTF_arena,1,1);
initnpctimer;
mapannounce .@npc_mapname$, $@CTF_msgA$[1], 0;
}else{
stopnpctimer;
//enemy team gets it -> player carries flag
set @CTF_flag, 1;
movenpc strnpcinfo(0),0,0;
addtimer 1000, "CTF_Engine::OnFlagCarryEfx";
mapannounce .@npc_mapname$, $@CTF_msgA$[2], 0;
sc_end SC_ALL;
sc_start SC_QUAGMIRE,600000,0;
}
if(ctf_lockflag(@CTF_arena,1,2)==0){
npctalk "Someone got it first!";
end;
}
if(@CTF_team==1){
//same team gets it -> flag goes to base
//move it somewhere else first temporarily
movenpc strnpcinfo(0),0,0;
sleep2 5000;
//bring flag home and unlock it
movenpc strnpcinfo(0),95,182;
ctf_unlockflag(@CTF_arena,1,2);
initnpctimer;
mapannounce .@npc_mapname$, $@CTF_msgA$[1], 0;
}else{
stopnpctimer;
//enemy team gets it -> player carries flag
set @CTF_flag, 2;
movenpc strnpcinfo(0),0,0;
addtimer 1000, "CTF_Engine::OnFlagCarryEfx";
mapannounce .@npc_mapname$, $@CTF_msgA$[2], 0;
sc_end SC_ALL;
sc_start SC_QUAGMIRE,600000,0;
}
if(ctf_lockflag(@CTF_arena,1,3)==0){
npctalk "Someone got it first!";
end;
}
if(@CTF_team==1){
//same team gets it -> flag goes to base
//move it somewhere else first temporarily
movenpc strnpcinfo(0),0,0;
sleep2 5000;
//bring flag home and unlock it
movenpc strnpcinfo(0),102,182;
ctf_unlockflag(@CTF_arena,1,3);
initnpctimer;
mapannounce .@npc_mapname$, $@CTF_msgA$[1], 0;
}else{
stopnpctimer;
//enemy team gets it -> player carries flag
set @CTF_flag, 3;
movenpc strnpcinfo(0),0,0;
addtimer 1000, "CTF_Engine::OnFlagCarryEfx";
mapannounce .@npc_mapname$, $@CTF_msgA$[2], 0;
sc_end SC_ALL;
sc_start SC_QUAGMIRE,600000,0;
}
if(@CTF_flag>=4 && @CTF_flag<=6){
set @CTF_flag, 0;
set $CTF_teamA_score[@CTF_arena], $CTF_teamA_score[@CTF_arena] + 1;
mapannounce .@npc_mapname$, $@CTF_msgA$[3], 0;
set @CTF_RB,@CTF_RB+1; //Rbs prize count when scoring a flag
sc_end SC_QUAGMIRE;
ctf_unlockflag(0,0,0); //tell src that player isnt holding flag anymore
if($CTF_teamA_score[@CTF_arena]==3 || $@CTF_suddendeath[@CTF_arena]==1){
OnTeamWin: // get mapname?
if(.@npc_mapname$=="")
getmapxy(.@npc_mapname$,.@npc_mapx,.@npc_mapy,1,strnpcinfo(3));
// get arena
if(.@npc_mapname$=="pvp_n_1-1") set .@CTF_arena, 0;
else if(.@npc_mapname$=="pvp_n_2-1") set .@CTF_arena, 1;
else if(.@npc_mapname$=="pvp_n_3-1") set .@CTF_arena, 2;
//==============================================================
//
// Team B's Base (Dark)
//
//==============================================================
if(ctf_lockflag(@CTF_arena,2,1)==0){
npctalk "Someone got it first!";
end;
}
if(@CTF_team==2){
//same team gets it -> flag goes to base
//move it somewhere else first temporarily
movenpc strnpcinfo(0),0,0;
sleep2 5000;
//bring flag home and unlock it
movenpc strnpcinfo(0),94,19;
ctf_unlockflag(@CTF_arena,2,1);
initnpctimer;
mapannounce .@npc_mapname$, $@CTF_msgB$[1], 0;
}else{
stopnpctimer;
//enemy team gets it -> player carries flag
set @CTF_flag, 4;
movenpc strnpcinfo(0),0,0;
addtimer 1000, "CTF_Engine::OnFlagCarryEfx";
mapannounce .@npc_mapname$, $@CTF_msgB$[2], 0;
sc_end SC_ALL;
sc_start SC_QUAGMIRE,600000,0;
}
if(ctf_lockflag(@CTF_arena,2,2)==0){
npctalk "Someone got it first!";
end;
}
if(@CTF_team==2){
//same team gets it -> flag goes to base
//move it somewhere else first temporarily
movenpc strnpcinfo(0),0,0;
sleep2 5000;
//bring flag home and unlock it
movenpc strnpcinfo(0),87,19;
ctf_unlockflag(@CTF_arena,2,2);
initnpctimer;
mapannounce .@npc_mapname$, $@CTF_msgB$[1], 0;
}else{
stopnpctimer;
//enemy team gets it -> player carries flag
set @CTF_flag, 5;
movenpc strnpcinfo(0),0,0;
addtimer 1000, "CTF_Engine::OnFlagCarryEfx";
mapannounce .@npc_mapname$, $@CTF_msgB$[2], 0;
sc_end SC_ALL;
sc_start SC_QUAGMIRE,600000,0;
}
if(ctf_lockflag(@CTF_arena,2,3)==0){
npctalk "Someone got it first!";
end;
}
if(@CTF_team==2){
//same team gets it -> flag goes to base
//move it somewhere else first temporarily
movenpc strnpcinfo(0),0,0;
sleep2 5000;
//bring flag home and unlock it
movenpc strnpcinfo(0),101,19;
ctf_unlockflag(@CTF_arena,2,3);
initnpctimer;
mapannounce .@npc_mapname$, $@CTF_msgB$[1], 0;
}else{
stopnpctimer;
//enemy team gets it -> player carries flag
set @CTF_flag, 6;
movenpc strnpcinfo(0),0,0;
addtimer 1000, "CTF_Engine::OnFlagCarryEfx";
mapannounce .@npc_mapname$, $@CTF_msgB$[2], 0;
sc_end SC_ALL;
sc_start SC_QUAGMIRE,600000,0;
}
if(@CTF_flag>=1 && @CTF_flag<=3){
set @CTF_flag, 0;
set $CTF_teamB_score[@CTF_arena], $CTF_teamB_score[@CTF_arena] + 1;
mapannounce .@npc_mapname$, $@CTF_msgB$[3], 0;
set @CTF_RB,@CTF_RB+1; //Rbs prize count when scoring a flag
sc_end SC_QUAGMIRE;
ctf_unlockflag(0,0,0); //tell src that player isnt holding flag anymore
if($CTF_teamB_score[@CTF_arena]==3 || $@CTF_suddendeath[@CTF_arena]==1){
OnTeamWin: // get mapname?
if(.@npc_mapname$=="")
getmapxy(.@npc_mapname$,.@npc_mapx,.@npc_mapy,1,strnpcinfo(3));
// get arena
if(.@npc_mapname$=="pvp_n_1-1") set .@CTF_arena, 0;
else if(.@npc_mapname$=="pvp_n_2-1") set .@CTF_arena, 1;
else if(.@npc_mapname$=="pvp_n_3-1") set .@CTF_arena, 2;
mes "[Winner Prize]";
mes "Congratulations, you're the winners of Capture the Flag! Here's your prize ~ ";
next;
//honor
getitem 22555,@CTF_kill_RB;
getitem 22555,@CTF_RB;
set CTF_won,CTF_won+1;
set @CTF_kill_RB,0;
set @CTF_RB,0;
set @CTF_RND_EXP,rand(80,238);
set CTF_EXP,CTF_EXP+@CTF_RND_EXP;
dispbottom "You had gained "+@CTF_RND_EXP+" EXP, you have a total of "+CTF_EXP+" CTF EXP.";
percentheal 100,100;
set @CTF_RND_EXP,0;
if(@CTF_x) warp @CTF_city$,@CTF_x,@CTF_y;
else warp "prontera",156,173;
set @CTF_city$, 0; set @CTF_x, 0; set @CTF_y, 0;
end;
}
pvp_n_1-1,78,182,4 script Repairman#CTF1_A 86,{
if(@CTF_team==2){
mes "[Arena Repairman]";
mes "Did you even think I'd betray my team?";
mes "I will not repair your equipment!";
close;
}else{
callfunc "allrepairmain";
}
end;
}
pvp_n_1-1,110,19,4 script Repairman#CTF1_B 86,{
if(@CTF_team==1){
mes "[Arena Repairman]";
mes "Did you even think I'd betray my team?";
mes "I will not repair your equipment!";
close;
}else{
callfunc "allrepairmain";
}
}
// All-Equipment Repair Function
//==============================================================
function script allrepairmain {
set .@repairprice,10000;
mes "[Arena Repairman]";
mes "I am the Arena's Repair Smith and I can repair all your Arms.";
next;
if(getbrokenid(1)==NULL) {
mes "[Arena Repairman]";
mes "Looks like you don't need anything repaired...";
close;
}
mes "[Arena Repairman]";
mes "To repair all your equipment I need " + .@repairprice + " Zeny.";
mes "Continue?";
next;
if(select("Yes","No") == 2) {
mes "[Arena Repairman]";
mes "Ok, but don't expect to be using that...";
close;
}
if (Zeny < .@repairprice) {
mes "[Arena Repairman]";
mes "Is that all you got?";
mes "Can't do anything for you...";
close;
}
set Zeny,Zeny-.@repairprice;
while(getbrokenid(1)!=NULL){
repair(1);
}
close;
}
//==============================================================
//
// Duplicates for Multiple rooms
//
//==============================================================
Question
Yukaiii
Speak my dears!
Today I'll be making available a very requested script. It's about the "CTF" That CTF from the xyler PK that I've seen several asking HAHA.
There's only one but the script doesn't work. It could be because XileRO is eathena and eamod.
If someone manages to make it work it will be a great achievement for all of us.
I have all the other scripts.
Link to comment
Share on other sites
4 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.