Jump to content
  • 0

PVP ROOM [pvp off when you enter]


awesomazingxed

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   0
  • Joined:  10/24/14
  • Last Seen:  


phtownall,208,173,4 script PVP Room 580,{

if( select( "PVP Room [ "+.mapuser+" ]","Cancel" ) == 1 ){

if( .mapuser >= 150 ){

mes "PvP Arena Full.";

// }else if( bg_logincount() > 10 ){

// mes "Double Login is forbidden in PvP Maps";

}else if( BaseLevel < 1 ){

mes "You must be level 99 to enter the PvP Room.";

}else{

while( .@i < .restricted_item_size ){

if( countitem( .restricted_item[.@i] ) ){

mes " > "+getitemname( .restricted_item[.@i] );

set .@fail,1;

}

set .@i,.@i + 1;

}

if( .@fail ){

mes "You cant bring these item.";

close;

}

while( .@sc <= 302 ){

if(

// status list that will not removed.

.@sc != SC_BLESSING && .@sc != SC_INCREASEAGI &&

.@sc != SC_WEIGHT50 && .@sc != SC_WEIGHT90 &&

.@sc != SC_ITEMBOOST && .@sc != SC_EXPBOOST &&

.@sc != SC_ASPDPOTION0 && .@sc != SC_ASPDPOTION1 && .@sc != SC_ASPDPOTION2 && .@sc != SC_ASPDPOTION3 &&

.@sc != SC_SPEEDUP0 && .@sc != SC_SPEEDUP1 &&

.@sc != SC_STRFOOD &&.@sc != SC_AGIFOOD &&.@sc != SC_VITFOOD &&.@sc != SC_INTFOOD &&.@sc != SC_DEXFOOD &&.@sc != SC_LUKFOOD &&

.@sc != SC_NOCHAT &&

.@sc != SC_JAILED

)

sc_end .@sc;

set .@sc,.@sc + 1;

}

warp .map$,0,0;

}

}

close;

OnInit:

set .map$,"prt_pvp";

while( 1 ){

delwaitingroom;

set .mapuser,getmapusers( .map$ );

waitingroom .mapuser+" player"+( .mapuser > 1 ? "s":"") +" in PVP", 0;

sleep 1000;

}

end;

}

//Duplicates

morocc,165,97,4 duplicate(PVP Room) PVP Room#morocc 580

geffen,125,107,3 duplicate(PVP Room) PVP Room#geffen 580

payon,176,112,3 duplicate(PVP Room) PVP Room#payon 580

alberta,59,250,4 duplicate(PVP Room) PVP Room#alberta 580

izlude,134,148,5 duplicate(PVP Room) PVP Room#izlude 580

aldebaran,148,123,3 duplicate(PVP Room) PVP Room#aldebaran 580

xmas,153,126,3 duplicate(PVP Room) PVP Room#xmas 580

comodo,208,143,3 duplicate(PVP Room) PVP Room#comodo 580

yuno,161,176,3 duplicate(PVP Room) PVP Room#yuno 580

amatsu,202,129,3 duplicate(PVP Room) PVP Room#amatsu 580

gonryun,163,126,3 duplicate(PVP Room) PVP Room#gonryun 580

louyang,221,106,3 duplicate(PVP Room) PVP Room#louyang 580

ayothaya,159,170,3 duplicate(PVP Room) PVP Room#ayotha 580

lighthalzen,162,102,3 duplicate(PVP Room) PVP Room#lighthalzen 580

hugel,102,153,3 duplicate(PVP Room) PVP Room#hugel 580

rachel,137,118,5 duplicate(PVP Room) PVP Room#rachel 580

veins,213,132,5 duplicate(PVP Room) PVP Room#veins 580

moscovia,227,195,3 duplicate(PVP Room) PVP Room#moscovia 580

prontera,149,190,5 duplicate(PVP Room) PVP Room#prontera 580

new_1-1,135,145,5 duplicate(PVP Room) PVP Room#new_1-1 580

jawaii,199,293,5 duplicate(PVP Room) PVP Room#jawaii_1-1 580

einbroch,149,306,5 duplicate(PVP Room) PVP Room#einbroch-1 580

brasilis,199,188,3 duplicate(PVP Room) PVP Room#brasilis-1 580

splendide,192,156,5 duplicate(PVP Room) PVP Room#splendide-1 580

dewata,195,185,5 duplicate(PVP Room) PVP Room#dewata-1 580

dicastes01,203,230,3 duplicate(PVP Room) PVP Room#dicastest-1 580

phtownall,72,182,4 duplicate(PVP Room) PVP Room#phtownall1 580

phtownall,49,73,4 duplicate(PVP Room) PVP Room#phtownall2 580

phtownall,334,330,4 duplicate(PVP Room) PVP Room#phtownall3 580

phtownall,337,55,5 duplicate(PVP Room) PVP Room#phtownall4 580

phtownall,352,204,4 duplicate(PVP Room) PVP Room#phtownall5 580

phtownall,205,344,4 duplicate(PVP Room) PVP Room#phtownall6 580

phtownall,61,361,5 duplicate(PVP Room) PVP Room#phtownall7 580

phtownall,163,34,5 duplicate(PVP Room) PVP Room#phtownall8 580

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

You mean when you enter the room " pvp is off " ?

 

if yes, just add this

mapname<tab>mapflag<tab>pvp
//Duplicates
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...