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

Linux TFS 0.3.4pl1 not responding to status check

Don Daniello

/root
Staff member
Administrator
Joined
Apr 11, 2008
Messages
3,729
Solutions
16
Reaction score
1,539
Location
Proland
Hi,
I have problem with my TFS 0.3.4 with slawken's patch.
It's online, works, and doesn't respond to status check.
You can try it on: Open Tibia Server Lookup
It shows offline (as any otserv list), but players can log in.
Could you please suggest me what to do ?
 
Thats becuz tfs developers banned otservlist. They edited status.cpp in sources to not allow ur ot connect to otservlist.org Anyways, there is already released fixed version, one guy posted it some posts after slawkens fixed one. search a bit and Im sure ull find it. U can also recompile ur engine and use old status.cpp
 
ohh sry, I got you wrong. If so, than try to change line 357 in config-and-functions.php(htdocs) 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);
:thumbup:



edit, nvm, this wont help u either. :s
 
Last edited:
I changed:
if(getIP() == 3057325918UL || getIP() == 1578580918 ||
it != ipConnectMap.end() && OTSYS_TIME() < it->second + g_config.getNumber(ConfigManager::STATUSQUERY_TIMEOUT))
{
getConnection()->close();
return;
}
to:
if(it != ipConnectMap.end() && OTSYS_TIME() < it->second + g_config.getNumber(ConfigManager::STATUSQUERY_TIMEOUT))
{
getConnection()->close();
return;
}
and then:
if(OTSYS_TIME() < it->second + g_config.getNumber(ConfigManager::STATUSQUERY_TIMEOUT))
{
getConnection()->close();
return;
}
and it didn't work.......
 
Back
Top