Thilo Schulz
b179fb087c
Make sure status reply always has at least one space between address and qport, important for ipv6 addresses.
2011-01-25 15:16:50 +00:00
Thilo Schulz
5c0ae99642
Make number of supported master servers tunable via define
2011-01-25 02:04:25 +00:00
Thilo Schulz
bf07014b1d
Make this change so standalone developers will know to change the HEARTBEAT game string for their versions, too.
2011-01-24 18:09:20 +00:00
Thilo Schulz
8243a77c0e
Revert changes because dpmaster doesn't work that way.
2011-01-24 01:24:07 +00:00
Thilo Schulz
7861cde4a2
Make it use the correct game name in getserversExt queries
2011-01-24 00:21:33 +00:00
Zachary Slater
df758ba6c2
Bugzilla #4629
...
commands sent to client when disconnecte
2010-10-25 06:43:55 +00:00
Thilo Schulz
5fe2a61910
Second batch of bug fixes reported and patched by Zack "ZTurtleMan" Middleton:
...
#4740
#4741
#4742
#4743
#4744
2010-08-29 18:08:29 +00:00
Ludwig Nussel
1434fd1845
fix typo
2010-06-21 07:11:52 +00:00
Tim Angus
fc05ba7f46
* Fix some compiler warnings
2010-01-03 22:37:14 +00:00
Tim Angus
4056c90358
* Rate limit getstatus and rcon connectionless requests
2010-01-03 22:12:20 +00:00
Tim Angus
37598962f5
* Actually that can be more precise...
2009-10-16 19:21:31 +00:00
Tim Angus
b539a87e72
* (bug #4232 ) Avoid "cl.snap.serverTime < cl.oldFrameServerTime" for slow
...
loading clients combined with short g_warmups
2009-10-15 23:39:19 +00:00
Thilo Schulz
186f30a74f
Fix netcode inconsistency, thanks to /dev/humancontroller for the patch, see http://bugzilla.icculus.org/show_bug.cgi?id=4060
2009-10-12 17:17:15 +00:00
Thilo Schulz
9b7543a905
Fix circumventing sv_maxping restriction, thanks to Amanieu for reporting. http://bugzilla.icculus.org/show_bug.cgi?id=3423
2009-10-08 20:03:25 +00:00
Tim Angus
5c62c95c64
* Fix incorrect comment
2009-10-05 22:07:01 +00:00
Thilo Schulz
5fec4498f1
Add received rcon command string to server log, see https://bugzilla.icculus.org/show_bug.cgi?id=3748
2009-09-17 16:54:01 +00:00
Ryan C. Gordon
d56a093317
Removed more unused variables.
...
Partially fixes Bugzilla #3782 .
2009-09-15 03:19:43 +00:00
Ryan C. Gordon
815026072a
Removed unused variables.
...
CM_LeadArea() has no side effects, so those could go, too.
Partially fixes Bugzilla #3782 .
2009-09-15 02:58:38 +00:00
Ryan C. Gordon
8d0f212521
When dropping bots, don't move to CS_ZOMBIE. Go straight to CS_FREE.
...
They aren't a real network connection, so you don't want to waste time before
opening the slot for humans.
Fixes Bugzilla #4243 .
2009-09-15 01:11:09 +00:00
Ryan C. Gordon
df13db2b64
Fixed triggering Com_Error() when kicking a large number of bots at once.
...
Fixes Bugzilla #3418 .
2009-09-14 23:12:54 +00:00
Thilo Schulz
948f7a6015
- fix typo in previous commit to net_ip.c
...
- Make servers send heartbeats to master servers in ipv4 as well as ipv6 if master server has both protocols
2009-06-23 00:59:47 +00:00
Thilo Schulz
18cc7c1ed3
Make servers echo challenge codes from client getchallenge commands
2009-06-01 05:28:47 +00:00
Thilo Schulz
4e8a181073
I'll retain the new way seeding the random number generator.. these calls are therefore redundant
2009-05-31 20:30:37 +00:00
Thilo Schulz
e4d0c14f70
Revert changes of rand() to random() as random() was redefined in quake3.
2009-05-31 20:24:10 +00:00
Thilo Schulz
b40f1507ea
- Introduce seeding of the random number generator at startup
...
- Replaced all engine-side occurances of rand() with random()
2009-05-31 19:48:28 +00:00
Thilo Schulz
0693f0c1b3
This could never have worked in the first place. Duh.
2009-05-28 07:52:09 +00:00
Thilo Schulz
50ca55702f
- Introduce new NET_CompareBaseAdrMask for easy comparison of ip address ranges
...
- Overhaul of the new banning functions:
* basic check for redundant bans/exceptions
* introduction of sv_banFile to make it possible to configure the file where to read bans and exceptions from
* bans can now be deleted by giving address ranges, too.
2009-05-24 16:58:08 +00:00
Thilo Schulz
f2d63c1633
More commentary to source code
2009-05-21 20:52:35 +00:00
Ludwig Nussel
10aca2387f
whitespace fixes
2009-05-08 09:50:52 +00:00
Ludwig Nussel
eff87e9524
SV_ReplacePendingServerCommands is unused
2009-05-08 09:48:49 +00:00
Ludwig Nussel
bbd9f02d08
mark functions static ( #4010 )
2009-05-08 09:48:45 +00:00
Ludwig Nussel
f0e24f9a46
msg->oob is actually qboolean ( #4010 )
2009-05-08 09:48:40 +00:00
Ludwig Nussel
ae612721a3
fix STANDALONE challengeResponse ( #4000 )
2009-03-02 17:29:51 +00:00
Ludwig Nussel
f5aae78481
security fix: prevent command injection via callvote
2009-01-17 23:09:58 +00:00
Ludwig Nussel
8536a42dd5
gamename is already a cvar with CVAR_SERVERINFO
...
do not set gamename to different values in getstatus and getinfo responses
2009-01-11 18:42:50 +00:00
Ludwig Nussel
c754d6fdfb
fix strict aliasing issues
...
Patch by Przemysław Iskra (#3805 )
2008-11-03 17:03:54 +00:00
Tim Angus
130c0c6575
* Move command argument completion from being hard coded to being associated
...
with the individual commands to be completed
2008-09-16 21:05:22 +00:00
Tim Angus
47ee177430
* Supply specific identifier to the master server (Mathieu Olivier)
2008-09-15 20:24:04 +00:00
Thilo Schulz
9dd887b2ea
- Add scope id to ipv6 addresses.
...
- Clean up a few other ipv6 issues like removing the seemingly unnecessary MacOSX workaround.
- Bring ipv6 master server up to speed for dpmaster
Thanks go out to Mathieu Olivier for this work.
2008-08-31 19:54:29 +00:00
Tim Angus
de8131938c
* Fix server info string voip setting
2008-07-08 16:23:06 +00:00
Tim Angus
37d664d4b2
* Rename voip cvar to cl_voip
...
* s/#if USE_VOIP/#ifdef USE_VOIP/
* Add generalised runtime cvar range checking, currently on [sv|cl]_voip,
dedicated and a bunch of r_ variables
2008-07-07 22:31:39 +00:00
Ryan C. Gordon
809c361744
Reverted svn revision #1410 to sv_init.c
...
sv_voip is a protocol version number, not a boolean, so this check is
reasonable and correct.
2008-07-06 20:07:43 +00:00
Tim Angus
6b572920a9
* Remove silly range check on sv_voip during initialisation
...
* Changed dedicated binary dedicated cvar to CVAR_INIT and remove runtime check
2008-07-06 01:35:01 +00:00
Tim Angus
7fe9a02d91
* In the dedicated binary, prevent setting dedicated cvar to 0
2008-07-06 01:00:00 +00:00
Tim Angus
2c0861c1ce
* (bug 3610) Server sending unnecessary newline with SV_ConSay_F (Tyler Schwend
...
<TylerSchwend@gmail.com>)
* (bug 3623) COMMAND is mapped to the ALT key (Matthias <Kapffer@macbay.de>)
* (bug 3665) Typo error in FS_FOpenFileByMode function (TsT <tst2006@gmail.com>)
* (bug 3669) Some files left out of Solaris Packages (Vincent Cojot
<vincent@cojot.name>)
* (bug 3680) server quit messages (Ben Millwood)
* (bug 3682) Maps with >1024 models cause a segfault (misantropia
<bnoordhuis@gmail.com>)
* (bug 3683) R_FindShader(): negative lightmap indexes cause stray pointers
(misantropia <bnoordhuis@gmail.com>)
* (bug 3688) q3asm potential segfault fix and other changes (TsT
<tst2006@gmail.com>)
* (bug 3695) Not allowing to write file with lib extention (.dll/.so/...) (TsT
<tst2006@gmail.com>)
* (bug 3696) make-macosx-ub.sh outdated by revision 1340; test for Tiger not
working (Matthias <Kapffer@macbay.de>)
* (bug 3698) #error reported as warning in q3cpp (and no #warning support)
(Ben Millwood)
* (bug 3703) restoring the valued pre-SDL window behaviour (/dev/humancontroller
<devhc97@gmail.com>)
2008-07-05 23:50:38 +00:00
Ryan C. Gordon
8ab3f7af8d
Changed the protocol for VoIP packets to support legacy clients.
...
Previously, a legacy client wouldn't get a VoIP packet, but if they did,
they'd panic and disconnect. Now they ignore them and continue on. This also
gives us the framework to add other features legacy clients can ignore.
Oh, this also has the benefit of allowing us to store incoming VoIP for
playback in recorded demos. They'll play the chatter on VoIP clients, and
be ignored on legacy ones. Huge win.
2008-06-03 02:32:52 +00:00
Ryan C. Gordon
0403ca2260
More VoIP work: treat voip/sv_voip cvars as protocol version numbers.
2008-06-02 19:52:13 +00:00
Ryan C. Gordon
1e4fa5a54c
Treat sv_voip cvar as a version number (0 == off, 1 == version 1 protocol).
...
Don't publish it to server's info string if set to zero.
2008-06-02 19:41:09 +00:00
Ryan C. Gordon
953e9ec287
sv_voip cvar should be latched.
2008-06-02 19:37:05 +00:00
Ryan C. Gordon
12326a9eac
Initial patch for in-game VoIP support!
2008-06-01 07:51:23 +00:00