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

Solved Help, Gesior Website Bug

furmanss

New Member
Joined
May 14, 2013
Messages
125
Reaction score
0
hi im currently using this version of the website, http://otland.net/f118/gesior-2012-version-1-0-1-0-2-x-0-3-6-all-0-4-a-176677/
but i got a problem at the top right corner of the site there is an Server Online/Offline, but it is always Offline even tho it isnt, and i dont know how to fix it, and if i click on it when it says offline i can see players but 0 active and the rest is Afk please help me
 
Last edited:
already tried both and non are working :/, tho it worked when i used 8.6 server before just strange

- - - Updated - - -

Notice: Undefined index: statusPort in C:\wamp\www\system\load.compat.php on line 249

think i had that bug on website setup :o donno what it means tho
 
EDIT:
It means that you don't have statusPort in config.lua of TFS.
In line 249 in file system/load.compat.php is:
PHP:
$statusInfo = new ServerStatus($config['server']['ip'], $config['server']['statusPort'], 1);
Change it to:
PHP:
$statusInfo = new ServerStatus($config['server']['ip'], 7171, 1);


Old post:
Looks like you host on home PC. That problem occurs when you got 'router' with bad 'port forwarding' or modem connected by USB. Your global IP is for example 11.22.33.44, when someone from internet asks about 11.22.33.44 it connects to your home PC with OTS (port forwading works, so players can play), but when your home PC asks same router about 11.22.33.44, it connects to 'router' (router should redirect to 'your PC' as it does for other internet users). Of course on router there is no OTS, so it shows that OTS is offline.
In old acc. maker was a bit different code. It always connect to '127.0.0.1', but that way was bad for people that host more then one OTS on dedicated server.

In line 249 in file system/load.compat.php is:
PHP:
$statusInfo = new ServerStatus($config['server']['ip'], $config['server']['statusPort'], 1);
Change it to:
PHP:
$statusInfo = new ServerStatus('127.0.0.1', $config['server']['statusPort'], 1);

Informations from:
http://otland.net/f16/gesior-2012-server-status-offline-180071/#post1745481
should fix your problem.
 
Last edited:
ok nvm ive tried so many things such as changing it to multiple stuffs, but actually the last one worked :D thank you ^^ tho the 127.0.0.1 didnt ( already tried that many times before xD
 
Back
Top