Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 14:07

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

Advertisement



[Help] PHP Players indicator.

Discussion on [Help] PHP Players indicator. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
damianpesta's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
[Help] PHP Players indicator.

Well i've been trying to get player's indicator done but I failed.So I am asking for help if anyone can help me in making one for my website?I am using LOTF.
damianpesta is offline  
Old 07/11/2009, 15:19   #2
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
place this within your php code:
Code:
$res = mysql_query("SELECT count(*) FROM accounts WHERE Online=1;");
$val = mysql_fetch_array($res);
echo "<div style='top: 480; left: 550; position: absolute; z-index: 1; visibility: show;'>Total Characters Online: ".$val[0]."</div>";
Or put this in your html code:
Code:
<?php
$res = mysql_query("SELECT count(*) FROM accounts WHERE Online=1;");
$val = mysql_fetch_array($res);
echo "<div style='top: 480; left: 550; position: absolute; z-index: 1; visibility: show;'>Total Characters Online: ".$val[0]."</div>";
?>
raidenx123 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
A cms for players
12/12/2009 - Dekaron Private Server - 4 Replies
There are a cms for players ? (For they change email, password, etc) ?
Hello to all GW Players
06/18/2009 - Guild Wars - 15 Replies
Hi everybody i started to play Guild Wars today ^^ I buyed the Complete Edition for 50 € ~.~ This game is veryyy new for mee so i have some questions ^^ ~ What is the Max Level ~ ~ Is ist more an Solo Game or a Multiplayer? ~ ~ How can i get more Gold? :D I played for 1 hour and i have at least 10 Gold ~ I hope you can answer me and maybe we are meeting at each other in Game.
OnlinePlayers indicator ! how?
06/09/2009 - CO2 Private Server - 14 Replies
i need something for my web that will show the online players,i saw on a lot of webs.. i use 5065 tq binarys something like Login Server: Online Game Server: Online Registration Server: Online Players Online: 35 Only the Players online stuff i need
Prize indicator ( lucky lottery)
10/20/2007 - Conquer Online 2 - 11 Replies
Wont it be kool if we could see which box has what before you guys start flaming me i searched on this topic and no result well i was wondering if there is a program that can see the packet that CO is sending to the game. im not no programmer and iam sure you guys have thought about writing a program that will allow us to see the prize in the lucky lottery we getting. im sorry if this is a server sided hack i will take all of the flame u guys hit me with ^^ thx for ur reply yes...
Tactics Map Indicator 1.1
10/18/2006 - CO2 Exploits, Hacks & Tools - 39 Replies
I made this because I was tired of searching for people to ask what tactic I was in, or waiting for a token.



All times are GMT +2. The time now is 14:07.


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.