• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[All-AAC&Patch]How not count x-logged players

RaikND

facebook.xenoria.org
Joined
May 12, 2010
Messages
942
Reaction score
10
Location
Spain
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
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:
Witmar, dodałem ale nie działa jak należy.

Jak to dokładnie dodać?

lolajl.png


Tak widać jak dodałem.

I jak wejde w Kto jest online? - widać.

lol2oc.png
 
Well that's php script, They still need to re-compile TFS with changed lines for it to work. lol
 
227 views and 8 comments lawwl!
OTLand Users: "thanks neverdown for this script"
Me: thanks wtf-.-
 
Back
Top