Jump to content
  • 0

pvp not showing pub and cannot duplicate


rayleigh

Question


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

prontera,150,190,4	script	PVP Warper	105,{
        mes "Hello I can warp you inside the PvP Arena!";
        next;
        mes "Where do you want to go?";
        menu "Normal PvP [" + getmapusers("pvp_y_1-2") + " / 40]",normal,
        "No Party PvP [" + getmapusers("pvp_y_2-2") + " / 40]",np;
 
        normal:
        if (getmapusers("pvp_y_1-2") > 39) {
        mes "The PvP Arena is full";
        close;
        }
        warp "pvp_y_1-2",0,0;
        end;
 
        np:
        if (getmapusers("pvp_y_2-2") > 39) {
        mes "The PvP Arena is full";
        close;
        }
        warp "pvp_y_2-2",0,0;
        end;
}


OnInit:
	waitingroom "PvP Arena",0;
	end;
}

// Duplicates
//============================================================
//alberta,25,240,6	duplicate(Healer)	Healer#alb	909
//geffen,136,56,3	duplicate(WOE Information)	woe#gef	835
geffen,101,71,5	duplicate(PVP Warper)	PVP Warper#gef	105
hugel,88,147,5	duplicate(PVP Warper)	PVP Warper#hug	105	

can anyone help me?

This is the pvp that im using my question is it cannot show a waiting room

and the duplicate do not appear on the coordinates.

Why is that?

 

Thanks in advance.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

prontera,150,190,4	script	PVP Warper	105,{

mes "Hello I can warp you inside the PvP Arena!";

next;

mes "Where do you want to go?";

menu "Normal PvP [" + getmapusers("pvp_y_1-2") + " / 40]",normal,

"No Party PvP [" + getmapusers("pvp_y_2-2") + " / 40]",np;

normal:

if (getmapusers("pvp_y_1-2") > 39) {

mes "The PvP Arena is full";

close;

}

warp "pvp_y_1-2",0,0;

end;

np:

if (getmapusers("pvp_y_2-2") > 39) {

mes "The PvP Arena is full";

close;

}

warp "pvp_y_2-2",0,0;

end;

OnInit:

waitingroom "PvP Arena",0;

end;

}

geffen,101,71,5 duplicate(PVP Warper) PVP Warper#gef 105

hugel,88,147,5 duplicate(PVP Warper) PVP Warper#hug 105

Edited by secretdataz
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

can u tell which are the wrong one so that i can know?

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

You put OnInit label outside the script block. That broke the script.

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