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

Incorrect count on players online/record

farore

Active Member
Joined
Mar 2, 2009
Messages
74
Reaction score
26
Solved.
Found these two lines of code in protocolstatus.cpp, obviously "+ 64" shouldn't be there..
int playersOnline = g_game.getPlayersOnline() + 64;
int playersRecord = g_game.getPlayersRecord() + 64;



So I put my server up on otservlist earlier and when I checked my amount of players online and the record they where completely wrong, it said there was 65 players online and that the record was 77 players, when in fact I was the only player online and the record should be 15 at the most, not sure.
I also added the server to another list where I recieved the same statistics.
What's going on?:S
I can't put the server up on the lists with these numbers since I'm guessing I'll get banned quite quick..
I am running tfs 1.2.

If i logout the number drops by one from 66 to 65..
21:03 New record, 3 players online!

Found this thread aswell where others have had the same problem, no solution though
https://otland.net/threads/hah-record-check-it.2228/
 
Last edited:
Back
Top