Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 17:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[request] Ranking Top Player

Discussion on [request] Ranking Top Player within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
ilyaslord36's Avatar
 
elite*gold: 0
Join Date: Oct 2012
Posts: 297
Received Thanks: 12
[request] Ranking Top Player

hello ! evryone i need a script or php for Top ranking player and tell me how the website connect and show ranking in homepage ? i dont understand ?
thanks for all
ilyaslord36 is offline  
Old 08/23/2020, 17:22   #2
 
YamatosDeath's Avatar
 
elite*gold: 0
Join Date: Feb 2020
Posts: 59
Received Thanks: 69
The main code

PHP Code:
<?php
                $connectionInfo 
= array( "UID"=>$uid,"PWD"=>$pwd,"Database"=>$t_databse"CharacterSet" => "UTF-8");
                
$conn sqlsrv_connect$Hostip$connectionInfo);
                if( 
$conn === false )
                    die( 
FormatErrorssqlsrv_errors() ));
                
$sql "SELECT top 10 name, lv FROM Character WHERE permission=0 AND lv<301 ORDER by exp DESC";
                
$query sqlsrv_query($conn$sql);:
                if (
$query === false)
                    die( 
FormatErrorssqlsrv_errors() ));
                
$counter 0;
                while (
$row sqlsrv_fetch_array($query)){
                    if (
$counter >= 10)
                        break;
                    else {
                        
$counter++;
                    }
                    echo 
'<br><ul class="top"><li style="width: 100px">'.$row['lv'].'</li><li style="width: 140px">'.$row['name'].'</li><li style="width: 35px">'.$counter.'</li></ul><br>';}

                
?>


Config

PHP Code:
<?php

$Hostip 
"127.0.0.1"/// the server ip 

$uid "sa"/// sql username

$pwd "123"/// the connection password 

$database 'Auth';  /// this is not really needed in your case :D 

$t_databse 'Telecaster';

?>
YamatosDeath is offline  
Thanks
1 User
Old 08/23/2020, 22:44   #3
 
ilyaslord36's Avatar
 
elite*gold: 0
Join Date: Oct 2012
Posts: 297
Received Thanks: 12
thank you my friend
ilyaslord36 is offline  
Reply


Similar Threads Similar Threads
[REQUEST] Can i Request A Acc/Char PHP Script
09/27/2008 - CO2 Private Server - 6 Replies
hello i was wondering if anyone have made a acc/char creation page in one yet? is so can anyone release itplease?
[Request] thats right [b]I[/b] have a request
09/24/2008 - CO2 Private Server - 0 Replies
How would I go about removing an item from a character's model without removing it from the inventory? for(byte i=0; i < 10; i++) SendPacket(General.MyPackets.RemoveItem((long)MyCh ar.Equips_UIDs, i, 6)); this removes them from the char and from their inventory screen... , the RemoveItem packet is as follows: public byte RemoveItem(long UID, byte pos, byte type)
[REQUEST]2 small simple request please look in here
09/20/2008 - CO2 Private Server - 6 Replies
Hello all no one here knows me i am Rukia Owner Od DarkAngelzCO 2.0 i was wondering if anyone can kindly show me 1 solutions first off can anyone tell me how i can add day/night to work for everyone i have been searching deeply for it can anyone please show me with a guide how to get it on my server?
*REQUEST* Powerlevel spots 30-70* *REQUEST*
09/10/2008 - Silkroad Online - 16 Replies
Hello, this is just a request, please can someone do a list of the powerlevel spots with a screenshot of the map and the area high lighted from 30-70, I mean lvl 30 mobs to lvl 70 mobs, thanks alot :)
[Request] Make a Request section
05/09/2007 - Conquer Online 2 - 15 Replies
Here is my propsal (I posted this idea in another topic but I felt that it needs its own topic). I would like to request on behalf of all the CO community here, that the staff at elitepvp make a requests section. This section would be a place for all these people asking for requests - be it the noob asking for "duep haxz", or the guy asking for a new proxy. What I mean is it would be a request forum, to handle all requests. I also propose that in this forum, post count will not increase....



All times are GMT +1. The time now is 17:45.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.