Jump to content
  • 0

PVP Warper


KoriAK

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

Is this script set right for pvp

new_1-1,47,114,6 script PvP Warper 951,{
mes "[PvP Warper]";
mes "Do you want to warp to the PvP Arena and fight your enemies?";
menu "Sure, Bring it on!",L_Yes,"Nah, I'm not ready yet.",L_No;
L_Yes:
mes "[PvP Warper]";
mes "Which PvP Arena do you want to enter?";
menu "PvP Arena 1 [" + getmapusers("guild_vs3") + " / 20]",L1,
"PvP Arena 2 [" + getmapusers("guild_vs5") + " / 20]",L2,
"PvP Arena 3 [" + getmapusers("guild_vs4") + " / 20]",L3;
L1:
if (getmapusers("guild_vs3") > 19) goto Lsorry;
warp "guild_vs2",49,49;
close;
L2:
if (getmapusers("guild_vs5") > 19) goto Lsorry;
warp "guild_vs3",49,49;
close;
L3:
if (getmapusers("guild_vs4") > 19) goto Lsorry;
warp "guild_vs4",49,49;
close;
Lsorry:
mes "[PvP Warper]";
mes "Sorry but this PvP Arena is full, maybe you could try another one.";
close;
L_No:
close;
}
// Mapflags
guild_vs3 mapflag pvp
guild_vs5 mapflag pvp
guild_vs4 mapflag pvp

Edited by Yachiru
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   12
  • Joined:  03/07/12
  • Last Seen:  

Yes you got it right! What seems to be the problem?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

Its working, but the number in the bottom of the screen isn't showing up how do i fix that.

Edited by Yachiru
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

ensure your pvp room doesnt have the gvg mapflags since the maps you are using are gvg enabled by default.

i think the number will get displayed when there are 2 or more players inside the pvp room.

or refresh your character or teleport / jump...etc

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  154
  • Reputation:   6
  • Joined:  04/26/12
  • Last Seen:  

mapflags. or @pvpon

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

1.goto conf/mapflag/gvg

add //

// GvG Arenas =============

guild_vs1 mapflag gvg

guild_vs2 mapflag gvg

//guild_vs3 mapflag gvg

//guild_vs4 mapflag gvg

//guild_vs5 mapflag gvg

2.and add to conf/mapflag/pvp

guild_vs3 mapflag pvp

guild_vs4 mapflag pvp

guild_vs5 mapflag pvp

Dont forget to restart you server

Edited by Luffy
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

Fix thank you for your help.

Edited by Yachiru
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...