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

How to NOT count x-logged players?

Good script, but can you help me with Server online to show XX+-XX
Players Online?
 
I got problem with compiling all its good but I got this error:
status.cpp:41: error: 'class Game' has no member named 'blacklist'
How can I fix it?
 
You are compiling some mixed version.
 
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.

O M G.. This is soo roooooxxxxxx rep++ you are the beast
 
Don't bother using it. Feel free to spoof data. Xinn is not bothered by it.
Also don't report servers, because you'r wasting ur time as xinn doesn't ban them anyways.
 
Don't bother using it. Feel free to spoof data. Xinn is not bothered by it.
Also don't report servers, because you'r wasting ur time as xinn doesn't ban them anyways.

Not is true, xinn got a moderators whos ban servers reported...
 
How to spoof FOR any server, just make alot of connections and they get like 5k players in record this way and you will effectivly have banned this server.
 
This code has one bug! If i make mass connect/disconnect on server port. Connection set CLOSE_WAIT at this moment status is spoofed and server get ban in otservlist. :)
 
Back
Top