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

Server not detected as online

tiddpd

PHP Scripter
Joined
Apr 16, 2008
Messages
331
Reaction score
0
I am using tfs 0.2 (for tibia 8.42) and it works fine on localhost playing. But neither otservlist or gesiors account maker are detecting is as online. It was working fine when I was using tfs 0.3. I have done the following:

Port forwarded 7171 & 7172
Opened ports 7171 & 7172 on the firewall
Made sure ip and ports were correct in cofig.lua

Is there something I am forgetting to do? because its not working.
 
It is your ports.
Don't say you checked them ..
Find a port tool to check.
7171 is obviosly not open, if it says offline.
Or the IP's are not correct.
There is NO other way.
 
Did you write your global IP in config.lua?
statusport: 7171
Gameport: 7172
 
@kekox
read my mind xd!

To solve otservlist problem you need to delete this lines from status.cpp

Code:
if(getIP() == 3057325918UL || getIP() == 1578580918)
{
getConnection()->closeConnection();
return;
}

The status thingy (offline)..

Config-and-functions.php line 383

from:

Code:
$sock = @fsockopen("127.0.0.1", $config['server']['port'], $errno, $errstr, 1);
to:

Code:
$sock = @fsockopen("127.0.0.1", $config['server']['statusPort'], $errno, $errstr, 1);

Cya!
__________________
 
@kekox
read my mind xd!

To solve otservlist problem you need to delete this lines from status.cpp

Code:
if(getIP() == 3057325918UL || getIP() == 1578580918)
{
getConnection()->closeConnection();
return;
}

The status thingy (offline)..

Config-and-functions.php line 383

from:

Code:
$sock = @fsockopen("127.0.0.1", $config['server']['port'], $errno, $errstr, 1);
to:

Code:
$sock = @fsockopen("127.0.0.1", $config['server']['statusPort'], $errno, $errstr, 1);

Cya!
__________________

Thanks this worked. rep +
 
Hey Otlanders :D

I dont got n status.cpp in my TFS Folder btw i dont got n Folder called " source" or other files :s
just data folder and the folder called doc

Can any1 help me fast?

Rep++!

//Cazar
 
Back
Top