• 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!

Gesior, status on-offline

Nefs

Nefs Staff
Joined
Jul 15, 2009
Messages
521
Reaction score
7
Location
Barcelona (Spain)
Gesior 0.3.6

Hello, i have a problem with my gesior, where u can see how much players online are un server via web, it doesn't work, look.

i got this on layuout.php
Code:
if($config['status']['serverStatus_online'] == 0)
echo '<div id="players" style="display: inline;">Loading...</div><br>Players Online';
and its say
on1z.png
on2f.png

And when i put this code on layout.php
Code:
if($config['status']['serverStatus_online'] == 1)
echo '<div id="players" style="display: inline;">Loading...</div><br>Players Online';
This say
on3j.png

AND MY SERVER IS ONLINE! :S
I use Dynamic stats by paxton, and without this, my web say server offline, any1 know why i got this problem?
 
Wait wait wait.

Code:
if($config['status']['serverStatus_online'] == 0)
echo '<div id="players" style="display: inline;">Loading...</div><br>Players Online';
That's all?
Isn't something missing there?
 
Gesior 0.3.6

Hello, i have a problem with my gesior, where u can see how much players online are un server via web, it doesn't work, look.

i got this on layuout.php
Code:
if($config['status']['serverStatus_online'] == 0)
echo '<div id="players" style="display: inline;">Loading...</div><br>Players Online';
and its say
on1z.png
on2f.png

Is this the code you give :/, i need a working code :S
 
Code:
{if $serverOnline[$id]}
                <font color='green'><b>ONLINE!</b></font><br />
                <b>Players: </b> {$serverPlayers[$id]}/{$serverMax[$id]}<br /><br />
                <b>Uptime: </b> {$serverUptime[$id]} <br />
                {else}
                <font color='red'><b>OFFLINE!</b></font><br />
                {/if}

????

Anyway there are some scripts with status checking,
just search for them :p
I'm out to mapping, yo!
 
Code:
{if $serverOnline[$id]}
                <font color='green'><b>ONLINE!</b></font><br />
                <b>Players: </b> {$serverPlayers[$id]}/{$serverMax[$id]}<br /><br />
                <b>Uptime: </b> {$serverUptime[$id]} <br />
                {else}
                <font color='red'><b>OFFLINE!</b></font><br />
                {/if}

????

Anyway there are some scripts with status checking,
just search for them :p
I'm out to mapping, yo!


where i put this code :S
 
Back
Top