Posts: 95
Threads: 6
Joined: Oct 2012
Reputation:
0
Hey all !
What about the query mechanism ?
The opcodes c & d are throttled to 100 and that's a bit awkward for the servers with 100+ players.
You should let server owners decide whether or not modify that value (10 to 500 for example) in the server.cfg (but it would be their own responsibility if they set a high value and get "query-attacked" or anything else)
Posts: 767
Threads: 40
Joined: Dec 2011
Reputation:
0
Yeah in JC-MP the player query even worked for 2000 concurrent players. There must be a way to do this and keep the possible amplification at a minimum.
Posts: 1,739
Threads: 53
Joined: Oct 2010
Reputation:
0
Although it's not a pressing issue, I do support the idea of allowing servers with 100+ players to send their playerlists to the client.
In short: +1 !!!1!
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
I hardly see a useful purpose to that. Honestly, who's going to sift through a list of hundreds of players? And to find what? If you, for whatever reason, need to list the players on your server, store that list somewhere (like in a database) and query it there. Problem solved.
Also what's up with the completely unnecessary "+1" posts? Postboosting, much?
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
I dont really see why anyone would need that. Browsing through 500 players in the list to find a friend or something would take much longer than joining the server and asking if your friend is around in the chat.
However, I cant understand how the 100-player limit should prevent server overload. Actually its just 5 times that much data for a 500 player server. The data for 500 player names (500 * 24 bytes) + 500 scores (500 * 8 bytes) would result in a ~17kb big network package, compared to ~3.4kb for 100 players. Sure this would be quite a big difference for small servers, but 500 slot servers already cause several megabytes of upstream per second. The 14 extra kb for player data would barely make up a single percent, even if queried several times per second.
And the servers query-spam protection already works well enough to cause no trouble. People cant abuse it to lag the server by spamming 100-player requests, so they also wont be able to lag it with 500-player requests.
So imo, if people really think they need to list all 500 players, why not give them the option to do so? After all they can still reduce it again afterwards if their server/connection isnt strong enough for that.
Alternatively you could add an additional querycode to get all players, that gets sent if the player really scrolls down in the player list.
Posts: 586
Threads: 16
Joined: Mar 2008
Reputation:
0
I'd rather see the limit raised to 150 or such. it's not really an issue for me, but i do occasionally check some server scoreboards with ~120 people online
Posts: 99
Threads: 12
Joined: Feb 2012
Reputation:
0
+1
I want to suggest to create new opcodes for every hundred player's id.
For example:
Opcode: '0' -> get players from 0 to 99.
Opcode: '1' -> get players from 100 to 199
Opcode: '2' -> get players from 200 to 299
Opcode: '3' -> get players from 300 to 399
Opcode: '4' -> get players from 400 to 499
Opcode: '5' -> get players from 500 to 599
Opcode: '6' -> get players from 600 to 699
Opcode: '7' -> get players from 700 to 799
Opcode: '8' -> get players from 800 to 899
Opcode: '9' -> get players from 900 to 999
Posts: 95
Threads: 6
Joined: Oct 2012
Reputation:
0
Wtf please.
Most of you didnt read : I'm purposing a server.cfg value...
If you dont want more than 100 then dont change that value.. If you want more or less change it !