Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Steel Website

Newbie Spellweaver
Joined
Jun 13, 2007
Messages
72
Reaction score
0
which is the script from site to see people who are online in the server?
Ex: Total Accounts Created: 21
Help me?
:scratch:
 
Newbie Spellweaver
Joined
Jun 13, 2007
Messages
72
Reaction score
0
I want a script to see who is online at server...
help me ;D
 
Skilled Illusionist
Joined
Jun 27, 2006
Messages
319
Reaction score
0
You know people have to make these scripts they don't just appear on somebodys hard drive..
 
Junior Spellweaver
Joined
Jul 6, 2008
Messages
173
Reaction score
2
Code:
$link=mysql_connect ("localhost", "root", "password") or die ('Error: ' . mysql_error());
mysql_select_db ("coproj");
$res = mysql_query("SELECT count(*) FROM accounts WHERE Online=1;");
$val = mysql_fetch_array($res);
echo "<br /><center>Total Accounts Online: ".$val[0]."</center>";

Thats basic from lotf
 
Junior Spellweaver
Joined
Jan 25, 2008
Messages
157
Reaction score
0
Code:
$link=mysql_connect ("localhost", "root", "password") or die ('Error: ' . mysql_error());
mysql_select_db ("coproj");
$res = mysql_query("SELECT count(*) FROM accounts WHERE Online=1;");
$val = mysql_fetch_array($res);
echo "<br /><center>Total Accounts Online: ".$val[0]."</center>";

Thats basic from lotf
tested on my friend prvt server and it works
 
Back
Top