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

Solved Banned from otservlist ?

Naaano201

Member
Joined
Jun 5, 2011
Messages
241
Reaction score
8
Location
Barcelona
Can you get banned from otservlist.org if you are using non-logout zone at trainers but showing in your webpage Players online: X - Players AFK: Y ??
 
Yeah, probably. Your webpage PHP scripts are irrelevant. OpenTibia gameworlds have a 'status' port that is kind of similar to ICMP Ping, that reply info such as players online and uptime to a simple request packet. There are various ways to fix this in your source code, if you search.

The simplest is this:
status.cpp
find and change sprintf(buffer, "%d", g_game.getPlayersOnline()); to sprintf(buffer, "%d", Connection::connectionCount);
find and change output->put<uint32_t>(g_game.getPlayersOnline()); to output->put<uint32_t>(Connection::connectionCount);

make clean
./configure --enable-server-diag
make

also, next time, put this in the 'Support' forum.
 
Of course yes, you better check otservlist rules, but you can compile your server with How to not count X-Logged players and problem solved, or you can just remove the no-logout zones.
 
Back
Top