Jump to content
  • 0

Top 10 most #pvppoints


foenne524

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  07/29/20
  • Last Seen:  

I have a pvp system where every kill gives #pvppoint instead of cash points. This would be the basis of my pvp ladder.

Are there any scripts there that would show the top 10 players who has the most pvp points? tried to check mvp ladders but to no avail

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

17 minutes ago, foenne524 said:

I have a pvp system where every kill gives #pvppoint instead of cash points. This would be the basis of my pvp ladder.

Are there any scripts there that would show the top 10 players who has the most pvp points? tried to check mvp ladders but to no avail

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  07/29/20
  • Last Seen:  

39 minutes ago, Poring King said:

Thank you for that. is it possible that this query shows most #pvppoints instead of kills and death? i know there isn't much of a difference on both it's just that im using ghost pvp ladder and it uses KDR. i'm planning to add another npc that shows most #pvppoints

 

Spoiler

query_sql("SELECT `char_reg_num`.`value`,`char`.`name`,`char`.`char_id` FROM `char` INNER JOIN `char_reg_num` ON `char_reg_num`.`char_id`=`char`.`char_id` WHERE `char_reg_num`.`key`='" + .@key$ + "' ORDER BY `char_reg_num`.`value` DESC LIMIT 10",.@value,.@name$,.@cid);
            if(!(.Options&256)){
                for(.@i = 0; .@i < getarraysize(.@cid); .@i++) {
                    if(.@i == 2){
                        if(.Options&128)
                            .@key$ = "m_dthcount";
                        else    .@key$ = "pl_dthcount";

 

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