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

couple questions

Quickshot

Member
Joined
Nov 8, 2008
Messages
595
Reaction score
8
first why does my site say im offline when im not
second when i go to view the players online everyone has a red skull how do i fix

rep ++
 
For red skull fix, go to whoisonline.php and find
Code:
        elseif ($player['skulltime'] =  $player['skull'] == 4)
                $rs = "<img style='border: 0;' src='./images/redskull.gif'/>";
        elseif ($player['skulltime'] =  $player['skull'] == 5)
                $rs = "<img style='border: 0;' src='./images/blackskull.gif'/>";

replace with
Code:
        elseif ($player['skulltime'] > 0 && $player['skull'] == 4)
                $rs = "<img style='border: 0;' src='./images/redskull.gif'/>";
        elseif ($player['skulltime'] > 0 && $player['skull'] == 5)
                $rs = "<img style='border: 0;' src='./images/blackskull.gif'/>";
try that.
 
This may be just a random guess at whats wrong, I had to do this fix in a really old geisor.. but can you goto config-and-functions.php and find
Code:
$info = chr(6).chr(0).chr(255).chr(255).'info';
and tell me the line below it? (near line 427 but will probably be diffferent for you)

try replacing it with
Code:
$sock = @fsockopen($config['server']['ip'], $config['server']['statusPort'], $errno, $errstr, 1);

If that doesn't work, are your ports forwarded and is your server is online for others too?
 
heres the line
Code:
$sock = @fsockopen("localhost", $config['server']['statusPort'], $errno, $errstr, 1);

didnt work and yes im portforwarded and no its not up yet need to do somethings before i do, but i know it works
 
Last edited:
Back
Top