Go to the documentation of this file.
68 Com_Printf (
"New not valid -- already spawned\n");
132 Com_Printf (
"configstrings not valid -- already spawned\n");
139 Com_Printf (
"SV_Configstrings_f from different level\n");
189 Com_Printf (
"baselines not valid -- already spawned\n");
196 Com_Printf (
"SV_Baselines_f from different level\n");
203 memset (&nullstate, 0,
sizeof(nullstate));
245 Com_Printf (
"SV_Begin_f from different level\n");
334 || !strstr (
name,
"/") )
512 cl->commandMsec -= cmd->
msec;
525 #define MAX_STRINGCMDS 8
542 int checksum, calculatedChecksum;
558 Com_Printf (
"SV_ReadClientMessage: badread\n");
570 Com_Printf (
"SV_ReadClientMessage: unknown command char\n");
590 if (lastframe !=
cl->lastframe) {
591 cl->lastframe = lastframe;
592 if (
cl->lastframe > 0) {
598 memset (&nullcmd, 0,
sizeof(nullcmd));
613 cl->netchan.incoming_sequence);
615 if (calculatedChecksum != checksum)
617 Com_DPrintf (
"Failed command checksum for %s (%d != %d)/%d\n",
618 cl->name, calculatedChecksum, checksum,
619 cl->netchan.incoming_sequence);
625 net_drop =
cl->netchan.dropped;
648 cl->lastcmd = newcmd;
void SV_ExecuteUserCommand(char *s)
frame_t frames[UPDATE_BACKUP]
cvar_t * allow_download_maps
void SV_Disconnect_f(void)
void(* ClientThink)(edict_t *ent, usercmd_t *cmd)
void MSG_WriteLong(sizebuf_t *sb, int c)
void SV_Nextserver_f(void)
void SZ_Write(sizebuf_t *buf, void *data, int length)
int FS_FOpenFile(char *filename, FILE **file)
void Cmd_TokenizeString(char *text, qboolean macroExpand)
char * va(char *format,...)
entity_state_t baselines[MAX_EDICTS]
void(* ClientCommand)(edict_t *ent)
void Cbuf_InsertFromDefer(void)
void SV_NextDownload_f(void)
void SV_BeginDemoserver(void)
byte COM_BlockSequenceCRCByte(byte *base, int length, int sequence)
int FS_LoadFile(char *path, void **buffer)
void SV_DropClient(client_t *drop)
void Cbuf_AddText(char *text)
int MSG_ReadByte(sizebuf_t *msg_read)
cvar_t * allow_download_players
void SV_ExecuteClientMessage(client_t *cl)
void MSG_WriteString(sizebuf_t *sb, char *s)
void MSG_WriteShort(sizebuf_t *sb, int c)
void MSG_WriteByte(sizebuf_t *sb, int c)
void Com_Error(int code, char *fmt,...)
void SV_BeginDownload_f(void)
cvar_t * allow_download_models
void SV_Configstrings_f(void)
#define MAX_CONFIGSTRINGS
void SV_UserinfoChanged(client_t *cl)
int MSG_ReadLong(sizebuf_t *msg_read)
char * MSG_ReadString(sizebuf_t *msg_read)
void MSG_ReadDeltaUsercmd(sizebuf_t *msg_read, usercmd_t *from, usercmd_t *move)
void SV_ShowServerinfo_f(void)
cvar_t * Cvar_Set(char *var_name, char *value)
void Com_DPrintf(char *fmt,...)
void FS_FreeFile(void *buffer)
void SV_Baselines_f(void)
void Com_Printf(char *fmt,...)
void(* ClientBegin)(edict_t *ent)
char configstrings[MAX_CONFIGSTRINGS][MAX_QPATH]
cvar_t * allow_download_sounds
char * Cvar_VariableString(char *var_name)
void MSG_WriteDeltaEntity(entity_state_t *from, entity_state_t *to, sizebuf_t *msg, qboolean force, qboolean newentity)
void SV_ClientThink(client_t *cl, usercmd_t *cmd)
char * Cvar_Serverinfo(void)
void Com_sprintf(char *dest, int size, char *fmt,...)
void(APIENTRY *qglAccum)(GLenum op
float Cvar_VariableValue(char *var_name)