summaryrefslogtreecommitdiff
path: root/src/server/sv_init.c
AgeCommit message (Collapse)Author
2017-03-11tell funny version information in status responses (and configstrings)/dev/humancontroller
2017-03-09pwn stock-ish clients with cl_allowDownload 1 and alike/dev/humancontroller
2017-03-09implement part 2 of the multi-protocol functionality: pk3 control/dev/humancontroller
this contains a simple method to control the serving of alternate pk3 files to clients using the alternate-2 protocol (69); there's also a fixup for the VoIP part the new fs_pk3PrefixPairs cvar has the format "P1&A1|P2&A2|...", where, for each i, Pi and Ai are corresponding primary and alternate pk3 filename prefixes, one of which one may be empty (eg. "P1&|&A2|...") to denote no correspondence
2017-03-09implement part 1 of the multi-protocol functionality: protocols/dev/humancontroller
this contains support for connecting via, and serving simultaneously via, any of the three protocols: latest, GPP and 1.1 alternate-1 means protocol 70 (GPP), alternate-2 means protocol 69 (1.1) relevant cvars: - net_alternateProtocols - net_alt{1|2}port[6] - sv_alt{1|2}master{1|...|5} - sv_clAltProto{0|..|63}
2017-03-09implement the entity 64-bit client-masking extension/dev/humancontroller
rename the previously unused entityShared_t::s to hack, and make use of it TODO: remove the said field, and add and use ``int hiMask'' instead
2017-03-09remove the default setting of sv_dlUrl/dev/humancontroller
downloads.tremulous.net is dead anyway
2016-04-09Merge branch 'master' into gppTim Angus
2016-04-07Use Opus for VoIPZack Middleton
Server/client VoIP protocol is handled by adding new cvars cl_voipProtocol and sv_voipProtocol, sv_voip and cl_voip are used to auto set/clear them. All users need to touch are cl/sv_voip as 0 or 1 just like before. Old Speex VoIP packets in demos are skipped. New VoIP packets are skipped in demos if sv_voipProtocol doesn't match cl_voipProtocol. Notable difference between usage of speex and opus codecs, when using Speex client would be sent 80ms at a time. Using Opus, 60ms is sent at a time. This was changed because the Opus codec supports encoding up to 60ms at a time. (Simpler to send only one codec frame in a packet.)
2015-06-08change the serverlist-querying methods to be compatible with the current ↵/dev/humancontroller
deployment of master servers
2014-06-17restart the renderer after the hunk mark has been setAnthony Pesch
2014-06-17Remove extra client_t::csUpdated[] slotZack Middleton
sv.configstrings[] is limited to 0 to MAX_CONFIGSTRINGS-1, make client_t::csUpdated[] the same.
2013-02-16Update copyright noticesTim Angus
2013-02-16Unify/cleanup max snapshot entities on client and serverZack Middleton
2013-01-12Add the new ioquake3 master server as standard for sv_master2Thilo Schulz
2013-01-10- Switch master server protocol to dpmaster for better game separation. ↵Thilo Schulz
Based partly on patch by Zack Middleton - Get rid of ugly cvars sv_heartbeat and cl_gamename and replace with single com_gamename - Remove sv_flatline. Flatlines are ignored by dpmaster and are considered to be insecure because flatlines can be udp-spoofed.
2013-01-10- Apply parts of Ben Millwood's target bitfield patch (#3787) - Fix Ryan's ↵Thilo Schulz
FIXME and have voip packet buffer on the server dynamically allocated via Z_Malloc and store pointers in a circular buffer - Improve voip target parsing on top of Ben Millwood's patch - Add new "spatial" target where speaker is spatialized in 3d space and can be heard by all clients in hearing range (s_alMaxDistance) (#4467) - Decrease voip sound lengths from 240ms to 80ms per voip packet to mitigate udp packet loss and decrease latency - Protocol version incremented to 71
2013-01-10Move rate limiting / queued packet sending logic from Com_Frame() to sv_main.cThilo Schulz
2013-01-10- Revert back to Z_Malloc from Hunk_FreeTempMemory introduced in r2077 as ↵Thilo Schulz
Hunk_FreeTempMemory must be freed in LIFO order (#5079) - Introduce SV_ClientFree() to prevent memory leaks r2077 was supposed to fix
2013-01-10- Improve snapshot rate and data rate control - Make server send packet ↵Thilo Schulz
fragments and queued packets when server is idle - Voip protocol detection is tied to com_protocol making past-end-of-message reading unncessary - Use Hunk_AllocateTempMemory() for buffering VOIP packets and fix buffering scheme that ryan hates so much - Disable packet scrambling for new protocol as it is useless now - Get rid of the old packet scrambling functions predating latest point release - Use Hunk_AllocateTempMemory() for netchan packet queue to fix memory leak when client gets disconnected with packets in the queue - Use Hunk_AllocateTempMemory() for download blocks to fix memory leak when client gets disconnected with download blocks in the queue - Fix SV_RateMsec to account for udp/udp6 packet lengths
2013-01-10- Improve game_restart: * differing screen resolutions and network settings ↵Thilo Schulz
are now honoured when changing fs_game * Fix hunk memory leak on game_restart * Move cls.state and cls.servername to clc so connection state is fully preserved over game_restart * Revert back to previous fs_game after disconnecting from a server that triggered a game_restart * Fix error dialog popping up after every game_restart if an error happened previously (reported by Ensiform) - Fixed that not all commands added by CL_Init() would be removed by CL_Shutdown()
2013-01-09Remove newlines from Com_Error message format strings, patch by DevHCThilo Schulz
2013-01-03* Merge ioq3-r1946Tim Angus
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Remove sv_www* cvars, which were in mgdev for 1.1 client compatibility and ↵Christopher Schwarz
shouldn't be in trunk
2013-01-03* Fix restart causing a crash due to the new configstrings code (kevlarman, ↵Christopher Schwarz
Rezyn)
2013-01-03* (bug #3836) Add [SV|trap]_SetConfigstringRestrictions which prevents someTim Angus
clients receiving a config string * Move BG_ClientList* to Com_ClientList* * Split CS_STAGES into CS_ALIEN_STAGES and CS_HUMAN_STAGES
2013-01-03* Merge ioq3-r1637Tim Angus
2013-01-03* Make sv_dlUrl default to use the official downloads repository (Khalsa)Christopher Schwarz
2013-01-03* Merge ioq3-r1423Tim Angus
+ IPv6 + VoIP + Stereo rendering + Other minor stuff
2013-01-03Found a stray bit of tjw's patch that didn't make it in, and removed extra ↵Ben Millwood
newline on console say
2013-01-03Added armour files to version control.Michael Levin
2007-11-28* Merge ioq3-r1220Tim Angus
2007-09-05* Merge of ioq3-r1163Tim Angus
+ SDL everywhere + New R_LoadImage + net_ip.c + Window icon + GUI based dedicated server support + Compile time linked OpenGL * Remove ui_menuFiles cvar
2007-07-15* Merge of ioq3-r1112Tim Angus
2006-11-28* Merge ioq3-989Tim Angus
2006-06-17* Merged ioq3-r810Tim Angus
2006-05-16* Removal of bot codeTim Angus
* Refactored botlib parsing code into qcommon
2006-05-06* Merged ioq3-r775Tim Angus
- SDL_GammaRamp stuff - Anisotropic texture filtering - q3testesque r_flares - cl_guid - Security fixes
2006-04-24* Removed some \n from server connection messagesTim Angus
* Removed nextmap cvar and associated code, replaced with "advanceMapRotation" command * Rework the text displayed during votes to be more verbose * "destroy" command now only works when cheats are enabled * Voting UI is now a frontend for "clientkick" instead of plain "kick"
2006-04-09* Removed CS_SCORE? config strings -- they were unusedTim Angus
* Moved server command queuing from game to server -- sv_dequeuePeriod probably needs to be lowered * Added g_friendlyBuildableFire to enable friendly buildable fire
2006-02-28* Merged ioq3-r594Tim Angus
- OpenAL fixes - SV_Shutdown message fixes
2006-02-24* Merged ioq3-r584Tim Angus
2006-01-26* Removed sv_floodProtect, the functionality is in the game moduleTim Angus
2005-12-28* Added master server to source, based on dpmasterTim Angus
* Removed gametype, fraglimit and dmflags cvars * Removed CD key authentication stuff * Implemented a means to save and restore cmd context * Bumped protocol version up to 69 (same as 68) * Removed various references to punkbuster * Maps on create server menu now sorted by name * Fixed some warnings
2005-12-23* Crudely removed CD key authenticationTim Angus
* Changed defaults for r_picmip and r_textureMode * Changed internal alien weapon names * Removed playback of the intro movie * Fixed painblend reset bug * Added multiple chat sounds * Player splash wake now uses mark system
2005-12-10* s/Quake III Arena source code/Tremulous/Tim Angus
* De-quaked various bits and pieces * Integrated Tremulous into the ioq3 source * Relicensed Tremulous to be GPL * It compiles!!!!!!!!11111111!!!!1
2005-12-10* Copied ioq3 src to trunkTim Angus