[Help]PvP Rank Script ?

12/30/2010 22:38 rea1#1
Hello guys.

İ need pvp ranking script. Any1 have this script?

Ty for help
12/31/2010 02:04 Bаne#2
for?....no detail...what do you want it to do XD
12/31/2010 09:51 burak_17#3
For example :)

[Only registered and activated users can see links. Click Here To Register...]
12/31/2010 17:23 SirFailzAlot#4
u mean a Apache script?For instance one that shows The top 100 Pvp Ranks in the server?

If so there easy to make, and there's a few floating around on here, Just Use the Search button,That or there easy enough to make, just research it a little,
Those Who Are Lazy Enough To Ask For Some Thing Without Searching are normally made to look the fool,
12/31/2010 20:32 ProfNerwosol#5
Exile's script is advanced, tho it might not look like it. I doubt anyone would release something like that for free. Writing simple version of it is easy enough to do it yourself.
01/01/2011 08:17 Catafalque#6
exile script is advanced. true. But we need simple script. Free basic : )

We just need kill points. But we cant write :/
01/01/2011 17:44 zargon05#7
Here is a very basic PvP rankings script, be sure to change the server,username and password to match those of your mssql server. Variable limit control how many ranks to display.
PHP Code:
<?php
$server 
"localhost";
$user "Shaiya";
$pass "Shaiya123";
$count=1;
$limit=25;

$conn mssql_connect($server$user$pass)
  or die(
"Couldn't connect to SQL Server on $server");
  
$query "SELECT top $limit* FROM PS_GameData_spec.dbo.chars ORDER BY k1 desc";

$result mssql_query($query);

echo 
"<html><head>
      <title>PvP Rankings</title></head>
      <body><center>
      <table><tr>
      <td>Rank</td>
      <td>Name</td>
      <td>Level</td>
      <td>Kills</td>
      <td>Death</td></tr>"
;

while(
$row mssql_fetch_array($result))
{    

  echo 
"<tr>
        <td>
$count</td>
        <td>"
$row['CharName'] ."</td>
        <td>"
$row['Level'] ."</td>
        <td>"
$row['K1'] . "</td>
        <td>"
$row['K2'] . "</td>
        </tr>"
;
  
$count++;
}
echo 
"</table>";
echo 
"</html>";

mssql_close($conn);
?>
01/02/2011 09:55 Catafalque#8
ty zargon :) this is really nice =)