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

-

  • Thread starter Thread starter Deleted member 50858
  • Start date Start date
In /xampp/htdocs/config-and-functions.php change:
PHP:
$sock = @fsockopen("127.0.0.1", $config['server']['port'], $errno, $errstr, 1);
to:
  • If you're using TFS 0.3.x:
PHP:
$sock = @fsockopen("127.0.0.1", $config['server']['statusPort'], $errno, $errstr, 1);

  • If you're using TFS 0.2.x:
PHP:
$sock = @fsockopen("127.0.0.1", $config['server']['statusProtocolPort'], $errno, $errstr, 1);
 
Just put it above
Code:
<script type='text/javascript'> var IMAGES=0; IMAGES='http://static.tibia.com/images'; var g_FormField='';</script>

Dont delete anything there..
 
I doubt something is wrong with your players.php

Try going into your layout.php for your website and manually configuring your IP and port there. If that works then it is something wrong with retrieving your IP and port from your config.
 
Back
Top