mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-29 16:11:31 +00:00
Make servers echo challenge codes from client getchallenge commands
This commit is contained in:
parent
eaaaa6f5fc
commit
18cc7c1ed3
4 changed files with 68 additions and 60 deletions
|
@ -204,6 +204,7 @@ typedef struct client_s {
|
|||
typedef struct {
|
||||
netadr_t adr;
|
||||
int challenge;
|
||||
int clientChallenge; // challenge number coming from the client
|
||||
int time; // time the last packet was sent to the autherize server
|
||||
int pingTime; // time the challenge response was sent to client
|
||||
int firstTime; // time the adr was first used, for authorize timeout checks
|
||||
|
@ -326,7 +327,7 @@ void SV_SpawnServer( char *server, qboolean killBots );
|
|||
//
|
||||
// sv_client.c
|
||||
//
|
||||
void SV_GetChallenge( netadr_t from );
|
||||
void SV_GetChallenge(netadr_t from);
|
||||
|
||||
void SV_DirectConnect( netadr_t from );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue