Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 18:53

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

Advertisement



Server status (accounts,items,guilds,players)

Discussion on Server status (accounts,items,guilds,players) within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
DexterSK's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 160
Received Thanks: 161
Server status (accounts,items,guilds,players)

PHP Code:
<?PHP
$result
=mysql_query("SELECT count(*) as accounts from account.account");
$data=mysql_fetch_assoc($result);

$result1=mysql_query("SELECT count(*) as players from player.player");
$data1=mysql_fetch_assoc($result1);

$result2=mysql_query("SELECT count(*) as guilds from player.guild");
$data2=mysql_fetch_assoc($result2);

$result3=mysql_query("SELECT count(*) as items from player.item");
$data3=mysql_fetch_assoc($result3);

echo
'Accounts: '.$data['accounts'].'<br>';
echo
'Players: '.$data1['players'].'<br>';
echo
'Guilds: '.$data2['guilds'].'<br>';
echo
'Items: '.$data3['items'].'<br>';

?>
DexterSK is offline  
Old 01/27/2013, 10:05   #2
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
Are you serious?
.Shōgun is offline  
Thanks
1 User
Old 01/27/2013, 10:14   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 91
Received Thanks: 28
Quote:
Are you serious?
behindert? Virus und so? XDD
Naja das PHPScript ist eigtl "ein bissel" unnötig, da es schon so viele von denen gibt
oOPhillOo is offline  
Old 01/27/2013, 10:23   #4
 
DexterSK's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 160
Received Thanks: 161
Quote:
Originally Posted by Uncorrupted View Post
Are you serious?
:-D
DexterSK is offline  
Thanks
1 User
Old 01/27/2013, 10:36   #5

 
IgorGlock's Avatar
 
elite*gold: 1862
Join Date: Jan 2009
Posts: 3,725
Received Thanks: 7,671
-.-' Kleine Release...
Hättest ja sagen können das der nur Anzahl der Einträge ausgibt.
IgorGlock is offline  
Old 01/27/2013, 10:40   #6
 
TraxWall's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 178
Received Thanks: 86
<?PHP
$result=mysql_query("SELECT count(id) as accounts from account.account");
$data=mysql_fetch_assoc($result);

$result1=mysql_query("SELECT count(id) as players from player.player");
$data1=mysql_fetch_assoc($result1);

$result2=mysql_query("SELECT count(id) as guilds from player.guild");
$data2=mysql_fetch_assoc($result2);

$result3=mysql_query("SELECT count(id) as items from player.item");
$data3=mysql_fetch_assoc($result3);

echo'Accounts: '.$data['accounts'].'<br>';
echo'Players: '.$data1['players'].'<br>';
echo'Guilds: '.$data2['guilds'].'<br>';
echo'Items: '.$data3['items'].'<br>';

?>
Thus, less strain on the database.
and fewer things can be queried to
TraxWall is offline  
Old 01/27/2013, 10:41   #7

 
IgorGlock's Avatar
 
elite*gold: 1862
Join Date: Jan 2009
Posts: 3,725
Received Thanks: 7,671
-.-' Datenbank Killer ist das aber schon. Würde nicht empfehlen auf die Startseite zu stellen.
Für Admins vll. nur :P
IgorGlock is offline  
Thanks
1 User
Old 01/27/2013, 10:54   #8
 
DexterSK's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 160
Received Thanks: 161
I have pvp system release ?

// S F M B E
DexterSK is offline  
Reply


Similar Threads Similar Threads
WTB Isro accounts server [Rome]--Sbot accounts--Gold and Items
08/12/2011 - Silkroad Online Trading - 1 Replies
WTB -Isro accounts server only WTB -Items Nova or sun D11 Server Only WTS -Sbot Accounts Full Info And Renting IPs WTS -Gold in Game At any server for cheap prices my E-mail : [email protected] P.S : Only for Arabs because most of them know me..:) Scammers stay away please, u can't scam me :) If u don't trust please don't add me..cya
Guilds-Recruiting Thread (Join/Announce Guilds Here!!)
07/13/2011 - Silkroad Online - 95 Replies
Guilds-Recruiting === ===== ======= ========= =========== =============
[HELP]Server Status Total acc/char players online code
02/13/2010 - CO2 Private Server - 7 Replies
HELP I need a Server Status, Total account, Total Character and Total Players Online code for 5165 using appserver NON-HAMACHI HELP!
about Online players status
06/04/2009 - CO2 Private Server - 2 Replies
Im useing tq binarys 5065 and i whant to add to my web a indicator that shows the online players.Can I ? I've seen something on this http://www.elitepvpers.com/forum/co2-pserver-discus sions-questions/201427-release-tq-register-script. html reg page. And here is a preview of it Conquer Online 2 restricted test server
Check the online status of ENEMY players
03/16/2008 - WoW Exploits, Hacks, Tools & Macros - 2 Replies
Did you know that you can check wether a player of the opposing faction is online/offline? All you have to do it type /invite If the enemy player is offline, you will get a message saying "Could not find bla bla bla" But the interesting part is that if he is online, you will get a message saying "Target is unfriendly". Could be useful for checking wether that annoying elemental plateu ganker is online or not



All times are GMT +2. The time now is 18:53.


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.