Commit graph

914 commits

Author SHA1 Message Date
Zachary Slater
20c374e87b Fix for bad ping times, see bug 3966 but note that this patch is different, got a fresh one from
Amanieu in irc.
2009-07-04 19:43:13 +00:00
Thilo Schulz
9b2b9abd25 - Add error handling for Opensolaris f***ing up a numeric getnameinfo() call.
- Fix memory leak in getaddrinfo() call
Many thanks to Ben Millwood for reporting this.
2009-06-26 18:11:45 +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
78254a626f Move these definitions over for other files to use in preparation of the next commit 2009-06-23 00:45:07 +00:00
Thilo Schulz
fb5f2a40ad minor cleanup 2009-06-23 00:19:08 +00:00
Thilo Schulz
0d6741fb23 Fix setsockopt so that setting the IPV6ONLY flag really works. 2009-06-22 23:32:11 +00:00
Zachary Slater
fa3f044257 This patch from Monk fixes the q3asm help screen
Bugzilla bug 3986 
http://bugzilla.icculus.org/show_bug.cgi?id=3986
2009-06-14 21:45:55 +00:00
Zachary Slater
95060e4fb6 See here:
http://bugzilla.icculus.org/show_bug.cgi?id=4064
2009-06-13 22:00:28 +00:00
Zachary Slater
49a2e1913e < sg_Tequila> says that this is busted. Thilo will hopefully be pleased. 2009-06-10 19:47:45 +00:00
Thilo Schulz
5e108751f2 fix code cleanup 2009-06-10 10:41:11 +00:00
Thilo Schulz
a7417a4bde minor code cleanup 2009-06-10 09:00:31 +00:00
Thilo Schulz
b9bcf3da94 How did this happen? 2009-06-10 08:25:01 +00:00
Thilo Schulz
3dddabcc52 Fix highest file descriptor for select(), thanks to Ben Millwood for reporting 2009-06-05 18:54:47 +00:00
Thilo Schulz
02195ea8bd Make client send a random challenge number in getchallenge requests 2009-06-01 05:29:28 +00:00
Thilo Schulz
18cc7c1ed3 Make servers echo challenge codes from client getchallenge commands 2009-06-01 05:28:47 +00:00
Thilo Schulz
eaaaa6f5fc Replace a few sprintf with Com_sprintf 2009-06-01 00:18:02 +00:00
Thilo Schulz
e0a2100df5 Fix warning in Sys_RandomBytes() usage 2009-05-31 20:31:56 +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
7aed7e8861 Make command net_restart work so that port/ip settings can be changed without server restart 2009-05-29 03:14:49 +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
1f779efbb8 Minor fix for server infostring. Thanks to slacker 2009-05-22 00:34:37 +00:00
Thilo Schulz
09d9e5e19b Minor code cleanups 2009-05-21 21:10:25 +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
40e4a2e5c4 fix name compare in 'follow' command (#4013) 2009-05-08 09:31:26 +00:00
Ludwig Nussel
6b4f3aaed2 add missing trap_RealTime prototype (#4015) 2009-05-08 09:17:06 +00:00
Ludwig Nussel
31ae3826ae make Cvar_Command use all arguments just like Cvar_Set_f (#4063) 2009-05-08 09:13:16 +00:00
Ludwig Nussel
68fa0b55a9 cvarlist: also display systeminfo and user created flags 2009-05-08 09:13:13 +00:00
Ludwig Nussel
abda6d984a whitespace correction 2009-05-08 09:13:09 +00:00
Ludwig Nussel
b35c63f37a don't modify s_alDevice and add fallback to let openAL choose the device 2009-05-08 09:13:06 +00:00
Ludwig Nussel
de19303320 mark s_alDriver CVAR_LATCH 2009-05-08 09:13:03 +00:00
Ludwig Nussel
ec846d23b2 define STRING and XSTRING in q_shared.h (#4054) 2009-05-05 18:19:29 +00:00
Ludwig Nussel
799150ffc1 fix dedicated server stdin console (#4009) 2009-05-03 20:05:16 +00:00
Ludwig Nussel
ad06af3d8f make some functions static (#4014) 2009-05-02 18:01:02 +00:00
Ludwig Nussel
84fbc2252f align stack before re-entering engine to make sse work (#4051) 2009-05-02 17:15:51 +00:00
Tim Angus
53adde9fb2 * Fix leaking OpenAL buffers (Amanieu) 2009-03-15 12:39:53 +00:00
Tim Angus
18b27806bc * Remove unexplainable ( tr.overbrightBits > 0 ) condition when correcting
gamma in screenshots
2009-03-12 19:20:20 +00:00
Tim Angus
1bd63e59e5 * Remove superfluous comments committed with fix to bug #3999 2009-03-02 22:26:36 +00:00
Ludwig Nussel
1072b25ce8 initialize Sys_Milliseconds early (#3999) 2009-03-02 18:08:21 +00:00
Ludwig Nussel
35a27638fe initialize qport with random value instead of time (#3999) 2009-03-02 18:08:13 +00:00
Ludwig Nussel
ae612721a3 fix STANDALONE challengeResponse (#4000) 2009-03-02 17:29:51 +00:00
Ludwig Nussel
844ee46627 qcommon: vm: Add sparc JIT compiler.
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-02 17:29:40 +00:00
Ludwig Nussel
30c44b1a87 qcommon: vm: sparc, like 386, doesn't need var-args conversion.
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-02 17:29:35 +00:00
Ludwig Nussel
17a81ff7c9 qcommon: Add idsparc and set when __sparc__ && !C_ONLY
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-02 17:29:30 +00:00