First Step:
http://otland.net/f451/how-not-count-x-logged-players-81370/
Second Step:
Hello i want give one's patch for all layouts from gesior or any other aac
Server status, example old style:
145/1000
Uptime:
XXh XXm
Server status, example new style:
145 Players Online
40 are AFK
Uptime:
XXh XXm
all credits to Kula_, thanks.
http://otland.net/f451/how-not-count-x-logged-players-81370/
Second Step:
Hello i want give one's patch for all layouts from gesior or any other aac
Server status, example old style:
145/1000
Uptime:
XXh XXm
Server status, example new style:
145 Players Online
40 are AFK
Uptime:
XXh XXm
PHP:
<?php
include('whoisonline.php');
if($config['status']['serverStatus_online'] == 1){
echo 'Players On-Line:<br>
<b><a href="?subtopic=whoisonline">'.$config['status']['serverStatus_players'] .' Online</a></b><br>'.($number_of_players_online-$config['status']['serverStatus_players']).' <b>AFK</b>
<br>UpTime:<br>
<b>'.$config['status']['serverStatus_uptime'].'</b><br>';
}else{
echo '<font color="red">Server is OFFline</font>';
}
?>
all credits to Kula_, thanks.
Last edited: