aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
Commit message (Collapse)AuthorAgeFilesLines
* fix buffer overflow and format string bug in auth server responseludwig2006-12-311-5/+2
| | | | | | | processing git-svn-id: svn://svn.icculus.org/quake3/trunk@1025 edf5b092-35ff-0310-97b2-ce42778d08ea
* - tag more functions with gnu format attributeludwig2006-12-302-3/+3
| | | | | | | - fix format string bugs. still some left git-svn-id: svn://svn.icculus.org/quake3/trunk@1023 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2784) help to prevent reliable command overflow in cases when a slowtjw2006-10-134-34/+90
| | | | | | | | | | | client is loading the map on a busy server. Specifically, hold back all configstring update commands while the client is CS_PRIMED. Once the client goes from CS_PRIMED to CS_ACTIVE, send the cleint commands for updating each of the configstring indexes which were updated while the client was CS_PRIMED. git-svn-id: svn://svn.icculus.org/quake3/trunk@935 edf5b092-35ff-0310-97b2-ce42778d08ea
* * add cURL support for HTTP/FTP downloading (bug 2661)tjw2006-09-112-2/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@898 edf5b092-35ff-0310-97b2-ce42778d08ea
* Correctly handle 0 timescalethilo2006-08-261-0/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@873 edf5b092-35ff-0310-97b2-ce42778d08ea
* A few more timescale influences addedthilo2006-08-261-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@871 edf5b092-35ff-0310-97b2-ce42778d08ea
* - compensate sv_fps for timescale value.thilo2006-08-262-7/+6
| | | | | | | - Add a non-dirty-hack fix for client hanging when unpausing a game. git-svn-id: svn://svn.icculus.org/quake3/trunk@870 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix 100% CPU usage on idle dedicated servers.thilo2006-08-181-1/+9
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@850 edf5b092-35ff-0310-97b2-ce42778d08ea
* * qvm files no longer installed by "make copyfiles"tma2006-08-131-2/+2
| | | | | | | | | | | | * Loopback clients only get snapshots at the server frame rate now (Anonymous <nkylqinhvgcbyl@mailinator.com>) * JPEG chroma subsampling disabled if the quality value is >= 85 (Anonymous <nkylqinhvgcbyl@mailinator.com>) * cl_lanForcePackets. When set to 0 (default is 1) the cl_maxpackets setting will be ignored if on a LAN. (Anonymous <nkylqinhvgcbyl@mailinator.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@838 edf5b092-35ff-0310-97b2-ce42778d08ea
* * sv_minRate (from R1CH)tma2006-06-175-0/+16
| | | | | | | * [cl|sv]_packetdelay (from tjw) git-svn-id: svn://svn.icculus.org/quake3/trunk@808 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed missing initialization of idPack and missionPack variables which may ↵thilo2006-05-151-1/+1
| | | | | | result in failure to autodownload files from the server even if legitimate. git-svn-id: svn://svn.icculus.org/quake3/trunk@781 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix bug that permits download of arbitrary files from a download enabled ↵thilo2006-05-081-7/+45
| | | | | | server by checking requested file name against the list of loaded pk3 files. See CVE-2006-2082 git-svn-id: svn://svn.icculus.org/quake3/trunk@777 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Added SV_Shutdown to Linux signal handler to ensure that clients don't ↵thilo2006-05-041-1/+1
| | | | | | | | | | hang when server gets killed, as suggested by Tony J. White - Added newline to final message sent to clients. - Added check for whether client is running at all before CL_Shutdown runs through. git-svn-id: svn://svn.icculus.org/quake3/trunk@738 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Replaced SV_GetPlayerByName with SV_GetPlayerByHandle that supports lookup ↵thilo2006-05-021-6/+23
| | | | | | | | | of client_t structures by playernum, too. That means the ban and kick commands will now accept the playernum - as seen in the status command - as argument. git-svn-id: svn://svn.icculus.org/quake3/trunk@737 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix "Net_CompareAdr: Bad address type" error message when starting a new map ↵thilo2006-05-021-1/+1
| | | | | | with bots. git-svn-id: svn://svn.icculus.org/quake3/trunk@736 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Yet another tweak to the long server uptime bug fixtma2006-04-281-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@730 edf5b092-35ff-0310-97b2-ce42778d08ea
* Replaced various "baseq3" strings with the centrally defined BASEGAME macro.thilo2006-04-261-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@724 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to a bug introduced by the fix to the long server uptime bugtma2006-04-221-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@717 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to bug involving the port value of master server heartbeats (from Thilotma2006-04-141-1/+1
| | | | | | | Schulz) git-svn-id: svn://svn.icculus.org/quake3/trunk@704 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Displace the '\n's passed to SV_Shutdowntma2006-02-282-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@594 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to a bug where servers with long uptimes (~27 days) would consume 100%tma2006-02-232-3/+3
| | | | | | | | CPU if the running game did not set the nextmap cvar. This patch instead uses the mapname server cvar, which is guaranteed to be defined. git-svn-id: svn://svn.icculus.org/quake3/trunk@584 edf5b092-35ff-0310-97b2-ce42778d08ea
* - change long to intptr_t for 64bit windows compatabilityludwig2006-02-181-1/+1
| | | | | | | | - change vmMain arguments back to int. 64bit types are apparently not needed there. Only the syscall function needs them. git-svn-id: svn://svn.icculus.org/quake3/trunk@550 edf5b092-35ff-0310-97b2-ce42778d08ea
* 64bit fix: VM_Call return value is a pointerludwig2006-02-181-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@549 edf5b092-35ff-0310-97b2-ce42778d08ea
* * General decrufting:tma2005-10-291-1/+1
| | | | | | | | | | * Removed Q3_STATIC and associated defines * Removed MAC_STATIC * Replaced __LCC__ with Q3_VM * Removed bspc and splines directories git-svn-id: svn://svn.icculus.org/quake3/trunk@201 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-2911-11/+11
| | | | | | | | | | | * Updated TODO * Moved ChangeLog to root * Updated ChangeLog * s/Foobar/Quake III Arena Source Code/ * Biggest patch EVAR. I wonder how many mail boxes this will fill... git-svn-id: svn://svn.icculus.org/quake3/trunk@196 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Deleted code/unix/vm_x86.c - wtf was that about anyway?tma2005-10-291-4/+0
| | | | | | | | | | | * Removed HAVE_VM_NATIVE * Removed DLL_ONLY * Replace HAVE_VM_COMPILED with NO_VM_COMPILED -- this means the JIT compiler should be enabled on the OS X and VC builds now * Remove the remainder of the freetype building stuff git-svn-id: svn://svn.icculus.org/quake3/trunk@194 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Compiler warning fix from ankontma2005-10-281-2/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@193 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to https://bugzilla.icculus.org/show_bug.cgi?id=2454tma2005-10-284-1/+27
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@192 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Moved various source files from their mod sdk locations to places moretma2005-10-264-4/+4
| | | | | | | | | appropriate for open source Q3 * This patch looks bigger than it really is, however it will probably break the VC and OS X builds (easy to fix though) git-svn-id: svn://svn.icculus.org/quake3/trunk@181 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Cap the maximum snaps a client can request at the server framerate rathertma2005-10-191-2/+2
| | | | | | | | | | | | than a hard-coded 30 (from misantropia). I'm slightly nervous about this since it changes the behaviour versus 1.32b in that a client requesting e.g. 25 snaps will actually get 20 (default sv_fps) with this patch applied. I'm not sure why anyone would want this though -- it may even destablise their inter/extrapolation. I'll leave the bug (2422) open for a while and if no one complains it can be closed. git-svn-id: svn://svn.icculus.org/quake3/trunk@167 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to multiple buffer overflow bugs in CL_Rcon_ftma2005-09-191-0/+8
| | | | | | | | | | | * Fix to COM_ParseExt 1 byte overwrite bug * Fixed some missing calls to trap_FS_FCloseFile * Fixed q3msgboom and q3infoboom bugs * Fixed some qboolean type confusion * Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374 git-svn-id: svn://svn.icculus.org/quake3/trunk@95 edf5b092-35ff-0310-97b2-ce42778d08ea
* Patch from Tim Angus, to fix a longstanding bugzakk2005-09-176-13/+21
| | | | | | | | | | | | | | | in the server, wherein running the server for more than 24 hours would cause the game to exhibit weirdness as described here: http://forums.wireheadstudios.org/index.php?act=ST&f=11&t=2749 That page would also indicate that more work needs to be done if the map isn't going to change for more than 24 hours. git-svn-id: svn://svn.icculus.org/quake3/trunk@91 edf5b092-35ff-0310-97b2-ce42778d08ea
* https://bugzilla.icculus.org/show_bug.cgi?id=2356zakk2005-09-011-0/+9
| | | | | | | Remotely exploitable Infostring Crash git-svn-id: svn://svn.icculus.org/quake3/trunk@58 edf5b092-35ff-0310-97b2-ce42778d08ea
* First diff from Andreas Schneider:zakk2005-08-311-1/+1
| | | | | | | | here are gcc4 signedness fixes for latest svn :) git-svn-id: svn://svn.icculus.org/quake3/trunk@50 edf5b092-35ff-0310-97b2-ce42778d08ea
* support for 64bit native modsludwig2005-08-301-10/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@34 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove svn:executable propertyludwig2005-08-2811-0/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@24 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove 64bit warning. For QVM it's ok and native .so is broken anywaysludwig2005-08-281-4/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@17 edf5b092-35ff-0310-97b2-ce42778d08ea
* Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.zakk2005-08-272-6/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@7 edf5b092-35ff-0310-97b2-ce42778d08ea
* newlines fixedzakk2005-08-2611-8980/+8980
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea
* Itsa me, quake3io!zakk2005-08-2611-0/+8980
git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea