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!

php code to show online players

Newbie Spellweaver
Joined
Nov 23, 2006
Messages
79
Reaction score
0
here is but i don`t know how to put in one table and to be on center ..
work 100% !
<?
require ('config.php');

$query = 'Select GameIDC, ConnectTM From MEMB_STAT, AccountCharacter where MEMB_STAT.Connectstat=1 and AccountCharacter.Id=MEMB_STAT.memb___id collate Chinese_PRC_CI_AS order by ConnectTM desc';
$result = mssql_query($query);
echo "<table width=100% bordercolorlight=blue>";
while($line = mssql_fetch_row($result))
{
echo "<strong>";
echo "<strong>".$line[0]."<table>";
echo "</strong>";
}
echo "</strong>";
?>

i atached config.php! if you have already config.php in your www folder rename this atached config.php like this config1.php

and code will be like this

<?
require ('config1.php');

$query = 'Select GameIDC, ConnectTM From MEMB_STAT, AccountCharacter where MEMB_STAT.Connectstat=1 and AccountCharacter.Id=MEMB_STAT.memb___id collate Chinese_PRC_CI_AS order by ConnectTM desc';
$result = mssql_query($query);
echo "<table width=100% bordercolorlight=blue>";
while($line = mssql_fetch_row($result))
{
echo "<strong>";
echo "<strong>".$line[0]."<table>";
echo "</strong>";
}
echo "</strong>";
?>
enjoy :busted_co
 

Attachments

You must be registered for see attachments list
Joined
Jun 6, 2006
Messages
622
Reaction score
4
Re: [Release]php code to show online players

where is the config.php file that it requires? if you noticed, there are different mu websites. so be specific with details as to which web you tested your code on for the benefit of other users.
 
Newbie Spellweaver
Joined
Nov 23, 2006
Messages
79
Reaction score
0
Re: [Release]php code to show online players

where is the config.php file that it requires? if you noticed, there are different mu websites. so be specific with details as to which web you tested your code on for the benefit of other users.
i edited my post with more detalis so taket and enjoy:p
 
Junior Spellweaver
Joined
May 26, 2006
Messages
148
Reaction score
1
Re: [Release]php code to show online players

Can you put the MapPosX, MapPosY and Resets to your query and page?

Thanks in advance.
 
Newbie Spellweaver
Joined
Mar 31, 2007
Messages
10
Reaction score
0
Re: [Release]php code to show online players

& ? Man its have a anothers websites ^^^ you cut it ?
 
Newbie Spellweaver
Joined
Nov 23, 2006
Messages
79
Reaction score
0
Re: [Release]php code to show online players

& ? Man its have a anothers websites ^^^ you cut it ?

your release is?
you can say tanks ...
another sites have only Online Players (10, 20, 1000) no name`s .. and have on ranking but on ranking show all character on acount .. so ...
here is list names ..
 
Newbie Spellweaver
Joined
Apr 6, 2007
Messages
12
Reaction score
0
Re: [Release] php code to show online players

Thanks man good !

Have people who say stupid or i don't like it why you post ? People here release there projects to help to someone who can't create this ... And have people who are "thankless"

Sorry for my bad english.
 
Newbie Spellweaver
Joined
Mar 31, 2007
Messages
10
Reaction score
0
Re: [Release] php code to show online players

Ok , its good !
 
Banned
Banned
Joined
Feb 21, 2007
Messages
360
Reaction score
28
Re: [Release] php code to show online players

nice release but where to put this php code ? i use FragFrog 2. Thanks!
 
Newbie Spellweaver
Joined
Nov 23, 2006
Messages
79
Reaction score
0
Re: [Release] php code to show online players

you put in one text document and save like online.php
or top_online or what name you whant and acces your site like this
 
Newbie Spellweaver
Joined
Jun 17, 2005
Messages
98
Reaction score
3
Re: [Release] php code to show online players

eeh that wasnt needed at 2007? you had muweb with ranks already at 2005-2006 maybe even earlier but if im right it got published about 2005-2006
 
Back
Top