case PROTOCOL_DARKPLACES3: protocolname = "PROTOCOL_DARKPLACES3";break;
case PROTOCOL_DARKPLACES4: protocolname = "PROTOCOL_DARKPLACES4";break;
case PROTOCOL_DARKPLACES5: protocolname = "PROTOCOL_DARKPLACES5";break;
+ case PROTOCOL_DARKPLACES6: protocolname = "PROTOCOL_DARKPLACES6";break;
default: protocolname = "PROTOCOL_UNKNOWN";break;
}
print ("protocol: %i (%s)\n", sv.protocol, protocolname);
SV_ClientPrint(text);
host_client = save;
- Sys_Print(&text[1]);
+ //Con_Print(&text[1]);
}
client_t *client;
func_t RestoreGame;
mfunction_t *f;
+ int stats[MAX_CL_STATS];
if (cmd_source == src_command)
{
PR_ExecuteProgram (pr_global_struct->ClientConnect, "QC function ClientConnect is missing");
if ((Sys_DoubleTime() - host_client->connecttime) <= sv.time)
- Sys_Printf("%s entered the game\n", host_client->name);
+ Con_Printf("%s entered the game\n", host_client->name);
PR_ExecuteProgram (pr_global_struct->PutClientInServer, "QC function PutClientInServer is missing");
}
MSG_WriteAngle (&host_client->message, host_client->edict->v->angles[1], sv.protocol);
MSG_WriteAngle (&host_client->message, 0, sv.protocol);
- SV_WriteClientdataToMessage (host_client->edict, &host_client->message);
+ SV_WriteClientdataToMessage (host_client, host_client->edict, &host_client->message, stats);
MSG_WriteByte (&host_client->message, svc_signonnum);
MSG_WriteByte (&host_client->message, 3);
Con_Printf("Max %i demos in demoloop\n", MAX_DEMOS);
c = MAX_DEMOS;
}
- Con_DPrintf("%i demo(s) in loop\n", c);
+ Con_Printf("%i demo(s) in loop\n", c);
for (i=1 ; i<c+1 ; i++)
strlcpy (cls.demos[i-1], Cmd_Argv(i), sizeof (cls.demos[i-1]));