There is new rule on otservlist.
How to make TFS stop counting x-logged players and avoid ban?
It's really simple but will need some effort to recompile engine:
In status.cpp you need to change:
Code:
sprintf(buffer, "%d", g_game.getPlayersOnline());
to
Code:
sprintf(buffer, "%d", Connection::connectionCount);
and
Code:
output->put<uint32_t>(g_game.getPlayersOnline());
to
Code:
output->put<uint32_t>(Connection::connectionCount);
3. Now you need to compile with --enable-server-diag
Code:
rm *.o
./configure --enable-mysql --enable-server-diag
make
And...
it's everything! Now you won't get banned for x-logged characters.
If you would like to modify whoisonline.php just change text there to:
PHP:
Currently '.$number_of_players_online.' players are Online - <b>'.$config['status']['serverStatus_players'] .' are active</b> and, '.($number_of_players_online-$config['status']['serverStatus_players']).' are AFK.