mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 05:11:34 +00:00
Experiemntal clientside ack fix
Stops the client from using reliable packets before joining a server Clients can time out during addon loading sending reliable packets before then can cause out of order acks This causes joinbug, chatbug, and chatspam, as well as general server instability due to unnecesary packetspam
This commit is contained in:
parent
f856f18233
commit
ad94b29558
1 changed files with 1 additions and 1 deletions
|
@ -1270,7 +1270,7 @@ static boolean CL_AskFileList(INT32 firstfile)
|
||||||
netbuffer->packettype = PT_TELLFILESNEEDED;
|
netbuffer->packettype = PT_TELLFILESNEEDED;
|
||||||
netbuffer->u.filesneedednum = firstfile;
|
netbuffer->u.filesneedednum = firstfile;
|
||||||
|
|
||||||
return HSendPacket(servernode, true, 0, sizeof (INT32));
|
return HSendPacket(servernode, false, 0, sizeof (INT32));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Sends a special packet to declare how many players in local
|
/** Sends a special packet to declare how many players in local
|
||||||
|
|
Loading…
Reference in a new issue