- Joined
- Feb 1, 2014
- Messages
- 24
- Reaction score
- 4
Hi,
im created php script for showing only Active Players on game and this script it's Live!
if you need other php scripts for MuOnline website, tell me and i help you!
im created php script for showing only Active Players on game and this script it's Live!
PHP:
<?
$con = mssql_connect("localhost", "sa", "your_password") or die();
mssql_select_db("MuOnline", $con) or die();
$onlinedata = mssql_query("Select memb___id, ConnectStat, ConnectTM from MEMB_STAT where ConnectStat = 1 order by ConnectTM desc");
$i=1;
while($row = mssql_fetch_array($onlinedata)) {
$onlinename = mssql_query("Select GameIDC from AccountCharacter where id='".$row['memb___id']."'");
$onlinemap = mssql_query("Select MapNumber,CtlCode,cLevel from Character where Name='".$row['memb___id']."'");
$guma = mssql_fetch_array($onlinename);
echo $i." - ".$guma['GameIDC']." [".$row['memb___id']."]<br />===================================<br />";
$i++;
}
if you need other php scripts for MuOnline website, tell me and i help you!

