* (bug 2784) help to prevent reliable command overflow in cases when a slow
client is loading the map on a busy server. Specifically, hold back all configstring update commands while the client is CS_PRIMED. Once the client goes from CS_PRIMED to CS_ACTIVE, send the cleint commands for updating each of the configstring indexes which were updated while the client was CS_PRIMED.
This commit is contained in:
parent
41add6c01f
commit
189e8b33f3
4 changed files with 90 additions and 34 deletions
|
@ -620,6 +620,10 @@ void SV_ClientEnterWorld( client_t *client, usercmd_t *cmd ) {
|
|||
Com_DPrintf( "Going from CS_PRIMED to CS_ACTIVE for %s\n", client->name );
|
||||
client->state = CS_ACTIVE;
|
||||
|
||||
// resend all configstrings using the cs commands since these are
|
||||
// no longer sent when the client is CS_PRIMED
|
||||
SV_UpdateConfigstrings( client );
|
||||
|
||||
// set up the entity for the client
|
||||
clientNum = client - svs.clients;
|
||||
ent = SV_GentityNum( clientNum );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue