Jump to content
  • 0

R> Mvp Ladder


charon

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   0
  • Joined:  06/14/12
  • Last Seen:  

Can Any One Help Me With The Script Of Top 10 Mvp Ladder :)

Thank You :)

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   28
  • Joined:  01/16/12
  • Last Seen:  

I can't find this resource, but it seems like a good one to have. I'll bump this because I want the script as well.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   0
  • Joined:  06/14/12
  • Last Seen:  

Yea Same Here :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

didn't test it yet but that should work

prontera,156,180,4 script MVP LADDER 100,{
set .@query, query_sql ("SELECT char_id,value FROM  `global_reg_value` WHERE  `str` LIKE  'mvpladder' ORDER BY  `str` DESC LIMIT 0,10",.@char_id,.@value);  // Query Limit to 10
for(set .@i,0; .@i<.@query; set .@i,.@i+1) {
attachrid(.@char_id[.@i]);
mes .@i+" "+strcharinfo(0)+" kills: "+.@value[.@i];
}
close;
OnNPCKillEvent:
if (getmonsterinfo(killedrid,MOB_MVPEXP)) //Every Kill MVP +1
 set mvpladder,mvpladder+1;
end;
}

Edited by deathscythe13
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

is not working, sorry! I cant even see the npc

Edited by iraciz
Link to comment
Share on other sites


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

you can try this...but it's SQL Version.

http://pastebin.com/raw.php?i=KQFjt7ia

make sure you load this Table in your SQL before use the NPC Scripts.


CREATE TABLE IF NOT EXISTS `E-MVPRank` (
`char_id` int(11) unsigned NOT NULL default '0',
`name` varchar(30) NOT NULL DEFAULT '',
`Count` int(11) unsigned NOT NULL default '0',
PRIMARY KEY  (`char_id`)
) ENGINE=MyISAM;

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