Jump to content
  • 0

PvP room


Mr BrycE

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   24
  • Joined:  02/23/12
  • Last Seen:  


// Made by iTouch
// ----------------------------------------------------------------------------
// Ultimate PvP Warper ver. 1
// Features:
// Baby PvP Room
// PvP Square(Every 2 days Random PvP Room)
// PvP Nightmare
// PvP Lowlvl( Supports 1 - 150 Lvl)
// PvP No Potion (Berrys , Ygg seed , Any potions , etc. are restricted)
// PvP Non Donator (Got Items are restricted here)
// -----------------------------------------------------------------------------
// ver. 2 update idea:
// Adding a PvP Room that removes the buffs of the player when entering the room
// Adding a PvP Room for GM's Only so GM's will have fun
// -----------------------------------------------------------------------------
// Special thanks to:
// icescope of eAthena for helping me configuring the error at PvP Square
// -----------------------------------------------------------------------------

prontera,147,174,4 script  PvP Warper 993,{
if (.pvp_square$=="") donpcevent "PVP warper::OnClock0000";

mes "[PvP Warper]";
mes "Would you like to enter";
next;
if(select("Yes:No")==2) close;
switch(select("PVP Normal ["+getmapusers("lava_pvp")+"/100]:PVP LowLevel ["+getmapusers("guild_vs1")+"/100]:Non Donator PVP ["+getmapusers("1@orcs")+"/100]:Baby PvP Room ["+getmapusers("pvp_y_1-2")+"/100]")) {
announce strcharinfo(0)+" : has entered the PVP Room!",0;

case 1: // PVP Nightmare
if (getmapusers("lava_pvp") > 255) callsub S_full;
warp "lava_pvp",0,0;
end;

case 2: // PVP LowLevel
if (getmapusers("guild_vs1") > 99) callsub S_full;
if (BaseLevel > 255) { // Edit 150 to any maximum Lvl of a player can enter this room
mes "only Base Level 1 - 150 may enter.";
close;
}
warp "guild_vs1",0,0;
end;

case 3: // Non Donator PVP
if (getmapusers("1@orcs") > 255) callsub S_full;
for( set .@i,0; .@i<getarraysize(.NoDonator_ids); set .@i,.@i+1 ) {
if (countitem(.NoDonator_ids[.@i])) {
mes "You can not bring God items in this pvp.";
close;
}
}
warp "1@orcs",0,0;
end;
Case 4: // Baby PvP Room
if (getmapusers("pvp_y_1-2") > 255) callsub S_full;
if (class < 4023 || class > 4045) goto L_NotBaby;
warp "pvp_y_1-2",0,0;
end;
L_NotBaby:
mes "Only baby can enter this room";
close; 

}

S_full:
mes " ";
mes "I'm sorry, this arena is full.  Please try again later...";
close;
S_payment:
if (Zeny < (200*BaseLevel + 800)) {
mes "You don't have enough zeny.";
mes "It costs "+(200*BaseLevel + 800)+" zeny for you to enter.";
close;
}
set Zeny, Zeny - (200*BaseLevel + 800);
return;

OnInit:
 waitingroom "PvP Warper",0;
   end;


// items not allowed in PVP NoPotion
setarray .NoPotion_ids[0], 607, 608;

// items not allowed in Non Donator PVP
setarray .NoDonator_ids[0], 2410, 1530;
end;
}



// Mapflags



guild_vs1-2 mapflag pvp



pvp_y_2-2 mapflag pvp
pvp_y_2-2 mapflag nowarp
pvp_y_2-2 mapflag nowarpto
pvp_y_2-2 mapflag nomemo

1@orcs mapflag pvp
1@orcs mapflag nowarp
1@orcs mapflag nowarpto
1@orcs mapflag nomemo

guild_vs3 mapflag pvp
guild_vs3 mapflag nowarp
guild_vs3 mapflag nowarpto
guild_vs3 mapflag nomemo

lava_pvp mapflag pvp
lava_pvp mapflag nowarp
lava_pvp mapflag nowarpto
lava_pvp mapflag nomemo

guild_vs4 mapflag pvp
guild_vs4 mapflag nowarp
guild_vs4 mapflag nowarpto
guild_vs4 mapflag nomemo

Hi, it removes the buffs when i entered the lava_pvp....what its problem?

is it a mapflag problem? because before my map was guild_vs3 and it doesnt remove buffs but now its lava_pvp it removes buffs...any idea?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   71
  • Joined:  11/08/11
  • Last Seen:  

not this scripts fault, search for sc_end in yours custom scripts to see which one is causing the debuff

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   24
  • Joined:  02/23/12
  • Last Seen:  

sc_end in the lava_pvp map?

but it's the 1st time that i use the map.

in terms of items, i dont have any sc end in any of my items, and i tried wearing nothing still removing the buffs...

any suggestions.

(still checking the custom scripts)

sc_end in the lava_pvp map?

but it's the 1st time that i use the map.

in terms of items, i dont have any sc end in any of my items, and i tried wearing nothing still removing the buffs...

any suggestions.

(still checking the custom scripts)

Fixed..

yeah, i recently added the soulhunter script that causes the sc_end all;

thanks for the help

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...