Jump to content
  • 0

who can provide me with a pvp script?


Deye0823

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  17
  • Reputation:   0
  • Joined:  03/31/20
  • Last Seen:  

Hi everyone.

I've been searching the entire forum for a script for pvp, but many seem to me that so far it's not how I'm looking for it,

It would be something where the npc asks which room you want to enter, but that only has the pvp and the pvp without potions, and that I can configure the maps myself. and that the npc says the number of users within the room.

Another thing, if there is already a guide you haven't had a chance to find, if you provide it, you will appreciate it too.

Thanks in advance.

.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1547
  • Reputation:   238
  • Joined:  08/03/12
  • Last Seen:  

16 minutes ago, Deye0823 said:

Hi everyone.

I've been searching the entire forum for a script for pvp, but many seem to me that so far it's not how I'm looking for it,

It would be something where the npc asks which room you want to enter, but that only has the pvp and the pvp without potions, and that I can configure the maps myself. and that the npc says the number of users within the room.

Another thing, if there is already a guide you haven't had a chance to find, if you provide it, you will appreciate it too.

Thanks in advance.

.

This one ? 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  17
  • Reputation:   0
  • Joined:  03/31/20
  • Last Seen:  

5 minutes ago, Chaos92 said:

Éste ? 

 

something like that, but it only has 2 pvp rooms.
For example, how could you modify it to only have 2 rooms, be it all players vs. all players and PvP without potions?

Sorry, I'm new to this.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Try this 

prontera,150,150,0	script	PVP Warper	100,{
	mes .npc$;
	mes "Hi, Where do you want to go?";
	next;
	for (.@i = 0; .@i < .size; .@i++)
		.@menu$ = .@menu$ + .maps$[.@i] + " - [" + getmapusers(.maps$[.@i]) + "/" + .max + "]:";
	.@s = select(.@menu$);
	.@map$ = .maps$[.@s-1];
	if (getmapusers(.@map$) < .max)
		warp .@map$,0,0;
	else {
		mes .npc$;
		mes "The room is full";
	}
	close;
	
	OnInit:
		.npc$ = "[" + strnpcinfo(1) + "]";
		.max = 15; // max number of allowed players
		setarray .maps$[0],
			"guild_vs1",
			"guild_vs2",
			"guild_vs3"; // set your maps here
		.size = getarraysize(.maps$);
		for (.@i = 0; .@i < .size; .@i++) {
			setmapflag .maps$[.@i], MF_PVP;
			setmapflag .maps$[.@i], MF_NOITEMCONSUMPTION;
		}
		end;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  17
  • Reputation:   0
  • Joined:  03/31/20
  • Last Seen:  

On 4/10/2020 at 5:08 AM, Patskie said:

 

 

On 4/10/2020 at 5:08 AM, Patskie said:

Try this 


prontera,150,150,0	script	PVP Warper	100,{
	mes .npc$;
	mes "Hi, Where do you want to go?";
	next;
	for (.@i = 0; .@i < .size; .@i++)
		.@menu$ = .@menu$ + .maps$[.@i] + " - [" + getmapusers(.maps$[.@i]) + "/" + .max + "]:";
	.@s = select(.@menu$);
	.@map$ = .maps$[.@s-1];
	if (getmapusers(.@map$) < .max)
		warp .@map$,0,0;
	else {
		mes .npc$;
		mes "The room is full";
	}
	close;
	
	OnInit:
		.npc$ = "[" + strnpcinfo(1) + "]";
		.max = 15; // max number of allowed players
		setarray .maps$[0],
			"guild_vs1",
			"guild_vs2",
			"guild_vs3"; // set your maps here
		.size = getarraysize(.maps$);
		for (.@i = 0; .@i < .size; .@i++) {
			setmapflag .maps$[.@i], MF_PVP;
			setmapflag .maps$[.@i], MF_NOITEMCONSUMPTION;
		}
		end;
}

 

Hi and thanks.
a question. How can I add that when you are killed the second time on the map, will send you to the save point?

Also, the leader ladder PvP ??

Sorry, I'm new to this and it gets a little complicated for me.

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