• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved 2 people afk on website when 0 online.?

Status
Not open for further replies.

Rossii

Member
Joined
Mar 27, 2012
Messages
366
Reaction score
6
Location
England
Hi guys I have a problem with the website..

'when i have 0 people online on my ot it says 0 people online all fine<'

''when 1 person logs in it says 0 people on line ''

'''when the person is active it says there afk.'''

''''when the person xlogs it stays online and says hes afk i think i can edit this one on my server Correct me if im wrong tho!''''

but the rest are in the website i think..

'''''also it still says 0 players online when server is offline'''''


please help reps for everybody .. xD

ahr9ls.png






Thees are some of my scripts on layout that you could need.

<div id="PlayersOnline" onClick="window.location='<?PHP echo $whoisonlineworld; ?>'">

<?PHP
if($config['status']['serverStatus_online'] >= 0)
echo $config['status']['serverStatus_players'].'<br />Players Online';
else
echo '<font color="red"><b>Server<br />OFFLINE</b></font>';
?></div>
</div>


if you need anything else let me know..
 
Last edited:
If you login as a GM it will flag as AFK I guess. Try a normal player.
 
Just be careful when you change stuff like this.
AFK and X-Logged players are NOT supposed to count as online.

If you count them as online, you will be banished from otservlist.
 
Status
Not open for further replies.
Back
Top