summaryrefslogtreecommitdiff
path: root/src/server
AgeCommit message (Collapse)Author
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-09drop the use of the origin and angles fields of entityState_t in the server/dev/humancontroller
2017-03-09default to 0 delay in map_restart/dev/humancontroller
2017-03-09remove the crappy "argument sanitization" workaround/dev/humancontroller
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-09stop using PERS_SCORE from the server component/dev/humancontroller
because score is a game-specific thing also, this prevents (Aasimar's hack) the use of server status queries to determine who is spectating whom
2017-03-09remove the default setting of sv_dlUrl/dev/humancontroller
downloads.tremulous.net is dead anyway
2017-03-09do not publish gamestats/dev/humancontroller
TODO: remove the remnants
2017-02-08add missing trailing '\n's from strings to execute; add double quotes around ↵/dev/humancontroller
substituted argument strings also transform trailing ';'s to '\n's
2017-02-08protect the server against division by 0 in case of certain client rate and ↵/dev/humancontroller
server timescale settings
2017-02-07protect the server against the game module passing OOB passEntityNum values ↵/dev/humancontroller
(ie. -1 instead of ENTITYNUM_NONE) in trace calls
2016-04-09Merge branch 'master' into gppTim Angus
2016-04-07Make it compileTim 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.)
2016-04-07sayto cmd with player name completionPan7
2015-06-08change the serverlist-querying methods to be compatible with the current ↵/dev/humancontroller
deployment of master servers
2015-03-17Fix case where interval overflows (thanks jackeri)Tim Angus
[17:58] <Jacker> hey, you might be interested in checking out this https://github.com/etlegacy/etlegacy/commit/4da5a397b5994bfe5fddb9dad35bef5ddbea64c9#diff-acaedc9d8b492f9af8966ae68597392cR615 [17:58] <Jacker> its related to the ddos protection code you wrote [17:59] <Jacker> in continuation to: ab9b08e5845b0ff19814c996ad0cfb1dccab2790 [17:59] <Jacker> in a case if the client has in the past connected to the server days/weeks earlier and time wraps the client wont be able to connect [18:00] <Jacker> since in that case if the bucket of that clients ip still exists it wont get checked correctly
2014-06-17Fix sending pk3 download error messages to clientsZack Middleton
Disabled in e52a492f615e1245d6d22a84d2cc100c6d2f9f88.
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.
2014-06-17Remove unused models from server_tZack Middleton
2014-06-17Rate limit getchallengeTim Angus
2013-05-31reduce the amount of compiler warnings for variable shadowing/dev/humancontroller
2013-02-16Update copyright noticesTim Angus
2013-02-16Unify/cleanup max snapshot entities on client and serverZack Middleton
2013-01-15Remove a bunch of LEGACY_PROTOCOL blocksTim Angus
2013-01-12Fix clients being able to reset their player state and respawn using donedl.Zack Middleton
2013-01-12Fix server ignoring client move commands if voip data is included.Zack Middleton
2013-01-12Add length check here as well, thanks EnsiformThilo Schulz
2013-01-12Change more operator commands to require sv_running to be usable. Patch by ↵Zack Middleton
Ensiform.
2013-01-12prevent using getinfo as an amplifier for DDOS attacks (#5678). Patch by DevHCThilo Schulz
2013-01-12Fixed comment in server.h (ent->v.absmax to ent->r.absmax).Zack Middleton
2013-01-12fix some typosZack Middleton
From /dev/humancontroller.
2013-01-12add a missing '\n', remove some unwanted onesZack Middleton
From /dev/humancontroller.
2013-01-12Add the new ioquake3 master server as standard for sv_master2Thilo Schulz
2013-01-10<Ensiform> Thilo: http://pastebin.com/2UUmSCQK fixes point contents on the ↵Thilo Schulz
server side related to the cg fix with moving water. Dunno why s.origin and s.angles was ever used, the rest of sv_world.c always uses r.currentOrigin and r.currentAngles [18:58:10] <Thilo> mhm [18:58:15] <Thilo> Ensiform: it doesnt break anything? [18:59:20] <Ensiform> nah
2013-01-10Allow VM_Restart to load unpure qagame.qvm so that local server won't crash ↵Thilo Schulz
after map_restart if server operator has qagame.qvm residing outside pak file (#5196) Thanks to "rg3" for providing a shell account
2013-01-10Require gamename if not supporting legacy protocol.Zack Middleton
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-10Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes ↵Thilo Schulz
unused-but-set gcc warnings
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-10Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions ↵Thilo Schulz
etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton
2013-01-10Fix delta compression breaking due to packet queuingThilo Schulz
2013-01-10Fix legacy protocol with new packet queueingThilo Schulz
2013-01-10Fix compile for USE_VOIP=0Thilo Schulz
2013-01-10Move rate limiting / queued packet sending logic from Com_Frame() to sv_main.cThilo Schulz
2013-01-10Have server send protocol version in challengeResponse so protocol ↵Thilo Schulz
negotiation works. (Where did this one get lost?)
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