------------------------------------------------------------------------

r4187 | acceptthis | 2013-02-04 04:52:32 +0000 (Mon, 04 Feb 2013) | 9 lines

fix particle effect index insanity.
.modelflags support.
fix laggy mvds issue.
replacementdeltas works in mvds.
fix issues with not knowing which mvd is currently being recorded.
input line now permanently functions as utf-8.
cope with double-chevron links in the input line.
Add support for ^{xxxx}, but don't generate it. can only cope with 16bit anyway.
fix skins issues.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4185 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-03-12 22:44:00 +00:00
parent 80ab34a8f2
commit 630af9dc7c
41 changed files with 952 additions and 393 deletions

View file

@ -2391,6 +2391,15 @@ client_t *SVC_DirectConnect(void)
#endif
temp.edict = ent;
{
char *reject = SV_CheckRejectConnection(adr, userinfo[0], protocol, protextsupported, protextsupported2, guid);
if (reject)
{
SV_RejectMessage(protocol, "%s", reject);
return NULL;
}
}
break;
#ifdef Q2SERVER
@ -3116,10 +3125,10 @@ void SVNQ_ConnectionlessPacket(void)
continue;
case clc_stringcmd:
numnonnops++;
Cmd_TokenizeString(MSG_ReadString(), false, false);
if (!strcmp("challengeconnect", Cmd_Argv(0)))
if (msg_readcount+17 <= net_message.cursize && !strncmp("challengeconnect ", &net_message.data[msg_readcount], 17))
{
client_t *newcl;
Cmd_TokenizeString(MSG_ReadStringLine(), false, false);
/*okay, so this is a reliable packet from a client, containing a 'cmd challengeconnect $challenge' response*/
str = va("connect %i %i %s \"\\name\\unconnected\\mod\\%s\\modver\\%s\\flags\\%s\\password\\%s\"", NET_PROTOCOL_VERSION, 0, Cmd_Argv(1), Cmd_Argv(2), Cmd_Argv(3), Cmd_Argv(4), Cmd_Argv(5));
Cmd_TokenizeString (str, false, false);
@ -3131,6 +3140,8 @@ void SVNQ_ConnectionlessPacket(void)
/*if there is anything else in the packet, we don't actually care. its reliable, so they'll resend*/
return;
}
else
MSG_ReadString();
continue;
case -1:
break;