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:
Ashnal 2020-05-23 17:59:31 -04:00
parent f856f18233
commit ad94b29558

View file

@ -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