Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 12:37

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

Advertisement



how many player who are online at the moment ?

Discussion on how many player who are online at the moment ? within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
OMGG1's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 595
Received Thanks: 385
how many player who are online at the moment ?

Hello can anyone send me a tool to see how many player who are online at the moment ?


or a php code for our website please
OMGG1 is offline  
Old 10/21/2011, 17:29   #2
 
elite*gold: 0
Join Date: Apr 2009
Posts: 298
Received Thanks: 46
Code:
<?php
            $sql_host = ".\SQLEXPRESS"; "." Your MSSQL host.
            $sql_user = "sa";
            $sql_pass = "123456";
            $sql_db = "SRO_VT_ACCOUNT";
            $sqlLink = mssql_connect($sql_host,$sql_user,$sql_pass);
            if(!$sqlLink) die("MSSQL server is not accessable, why should we try to select database ?");
                else {
                    mssql_select_db($sql_db,$sqlLink);
                }
            $query = mssql_query("SELECT top 1 * FROM _ShardCurrentUser WHERE nShardID = 64 ORDER BY nID desc") or die("Can't connect to database!");
            while ($row = mssql_fetch_array($query)) {
                echo "
                    <b><span style='color:green'>$row[nUserCount]</span><span style='color:black'>/</span> <span style='color:red'>1000</span></b>    
                    ";
            }
        ?>
alexutublade is offline  
Old 10/22/2011, 09:06   #3
 
OMGG1's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 595
Received Thanks: 385
how about the tool ?
OMGG1 is offline  
Old 10/22/2011, 18:01   #4
 
✗EpicSoul✗'s Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 1,189
Received Thanks: 531
or ingame type

/worldstats
✗EpicSoul✗ is offline  
Old 10/22/2011, 18:34   #5
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 16,310
Received Thanks: 6,470
Quote:
Originally Posted by OMGG1 View Post
how about the tool ?
this is the tool figure out by yourself how to set it

Quote:
Originally Posted by alexutublade View Post
Code:
<?php
            $sql_host = ".\SQLEXPRESS"; "." Your MSSQL host.
            $sql_user = "sa";
            $sql_pass = "123456";
            $sql_db = "SRO_VT_ACCOUNT";
            $sqlLink = mssql_connect($sql_host,$sql_user,$sql_pass);
            if(!$sqlLink) die("MSSQL server is not accessable, why should we try to select database ?");
                else {
                    mssql_select_db($sql_db,$sqlLink);
                }
            $query = mssql_query("SELECT top 1 * FROM _ShardCurrentUser WHERE nShardID = 64 ORDER BY nID desc") or die("Can't connect to database!");
            while ($row = mssql_fetch_array($query)) {
                echo "
                    <b><span style='color:green'>$row[nUserCount]</span><span style='color:black'>/</span> <span style='color:red'>1000</span></b>    
                    ";
            }
        ?>
PortalDark is offline  
Old 10/23/2011, 19:50   #6
 
elite*gold: 0
Join Date: Aug 2010
Posts: 346
Received Thanks: 416
Quote:
Originally Posted by alexutublade View Post
Code:
<?php
            $sql_host = ".\SQLEXPRESS"; "." Your MSSQL host.
            $sql_user = "sa";
            $sql_pass = "123456";
            $sql_db = "SRO_VT_ACCOUNT";
            $sqlLink = mssql_connect($sql_host,$sql_user,$sql_pass);
            if(!$sqlLink) die("MSSQL server is not accessable, why should we try to select database ?");
                else {
                    mssql_select_db($sql_db,$sqlLink);
                }
            $query = mssql_query("SELECT top 1 * FROM _ShardCurrentUser WHERE nShardID = 64 ORDER BY nID desc") or die("Can't connect to database!");
            while ($row = mssql_fetch_array($query)) {
                echo "
                    <b><span style='color:green'>$row[nUserCount]</span><span style='color:black'>/</span> <span style='color:red'>1000</span></b>    
                    ";
            }
        ?>
noob leechers, my script from rz.
Miki Maus is offline  
Reply


Similar Threads Similar Threads
Player Online Script
08/07/2011 - Minecraft - 8 Replies
Guten Tag meine Frage ist ob es ein Player Online script giebt für Minecraft ... ich habe keins Gefunden Hier ist die Homepage von meinem Server Dynasty-of-Minecraft Backlink ist drine ... Also wer mir Helfen kann etc bescheid sagen bitte
Hat im Moment T-Online Probleme mit dem Bezahlsystem bei WoW?
09/17/2010 - World of Warcraft - 0 Replies
Ciao Zusammen, Frage oben, hat jemand von euch seit den letzten 3-4 Tage Problem mit dem Service? Im Offi-Forum steht nichts davon. ciao & gruss steli
WV Player Online | Script
07/14/2010 - Metin2 Private Server - 3 Replies
Hallo. Kan mir einer ein Script geben wo anzeigt wv player Online sind
Does anyone can hack Ao online at this moment
11/10/2009 - Ace Online / AirRivals - 3 Replies
Well the title says it all.If not does anyone have a bypass? Which can share please?
Total Player Online
08/30/2009 - CO2 Private Server - 23 Replies
Im using Binary 5065 i want to add in my reg page Code to know how many players online on server like this Total Accounts: 357 Total Characters: 281 Total Player Online: <---- i want to add this Server Status: Online



All times are GMT +2. The time now is 12:37.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.