Jump to content
  • 0

Request PVP Script + MMR-like


Jezu

Question


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

Good day to all!

 

I do have a request if ever possible.

 

This PVP Script request is like a Rank system as you may know in Dota2/League of Legends. So shall I begin?

 

 

PVP Script:

 

• There are 2 rooms (ability to add more rooms..)

- Free for All

- No Potions

 

• PVP Script Function:

- If a player get 1 killed, +20 points. 

- if a player died, -20 points.

- if a player reached less than 20 points or 0, the player who will kill him will get no points. (to avoid feeding points).

 

• PVP Ladder

- Maybe a top 10 or 20 players with their current points.

 

Hopefully, someone can post or help this script. /no1 Thanks a lot! /thx

Edited by Jezu
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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

2.

-	script	Sample#pvp_mmr	-1,{

	OnPCDieEvent:
		if ( getcharid(3) != killerrid && PVP_POINTS > 0 ) {
			.@amount = (( PVP_POINTS < 20 ) ? PVP_POINTS : 20 );
			if ( .@amount ) {
				PVP_POINTS -= .@amount;
				dispbottom "You lose "+.@amount+" Point(s).";
			}
			if ( attachrid( killerrid ) ) {
				PVP_POINTS += .@amount;
				dispbottom "You gained "+.@amount+" Point(s).";
			}
		}
		end;
		
}

 

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

42 minutes ago, Emistry said:

2.


-	script	Sample#pvp_mmr	-1,{

	OnPCDieEvent:
		if ( getcharid(3) != killerrid && PVP_POINTS > 0 ) {
			.@amount = (( PVP_POINTS < 20 ) ? PVP_POINTS : 20 );
			if ( .@amount ) {
				PVP_POINTS -= .@amount;
				dispbottom "You lose "+.@amount+" Point(s).";
			}
			if ( attachrid( killerrid ) ) {
				PVP_POINTS += .@amount;
				dispbottom "You gained "+.@amount+" Point(s).";
			}
		}
		end;
		
}

 

I'll try this now. /no1

Quote

 

Edited by Jezu
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

On 11/11/2016 at 11:37 AM, Emistry said:

2.


-	script	Sample#pvp_mmr	-1,{

	OnPCDieEvent:
		if ( getcharid(3) != killerrid && PVP_POINTS > 0 ) {
			.@amount = (( PVP_POINTS < 20 ) ? PVP_POINTS : 20 );
			if ( .@amount ) {
				PVP_POINTS -= .@amount;
				dispbottom "You lose "+.@amount+" Point(s).";
			}
			if ( attachrid( killerrid ) ) {
				PVP_POINTS += .@amount;
				dispbottom "You gained "+.@amount+" Point(s).";
			}
		}
		end;
		
}

 

 

Hi @Emistry ! 

Can you make a simple ladder like top 10 or 20's? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  42
  • Reputation:   2
  • Joined:  05/25/16
  • Last Seen:  

Do all players start at 0 points? If so, how can they earn points when they can't gain killing 0-point enemy?

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