Thilo Schulz
b509d770a7
- Remove Q_strrchr(), replace with standard, portable strrchr()
...
- Add strrchr() to bg_lib.c, patch by DevHC
2011-05-15 14:08:03 +00:00
Thilo Schulz
86c41d39da
Fix sending reliable commands before being connected, patch by Eugene C. ( #4971 )
2011-05-02 16:03:35 +00:00
Thilo Schulz
d34c6b7e0b
Revert protocol 69 pending further discussion ( #4962 )
2011-04-27 20:17:45 +00:00
Thilo Schulz
a5580d8974
- Harden the client and server protocol against UDP spoofing attacks. This will defend ioquake3 against http://aluigi.altervista.org/papers/q3noclient.txt ( #3041 )
...
- Retains full compatibility to the old but unsecure protocol between clients and servers
- Harden the connection process against DoS attacks, possibly connected to UDP spoofing
2011-04-27 16:03:35 +00:00
Thilo Schulz
9541fca878
Add better support for analog joysticks, patch by use.less01
2011-04-19 13:26:15 +00:00
Thilo Schulz
0a6f873999
Add g_humansplayers (found by server) and g_needpass (cvar) to serverinfo ( #4702 )
2011-03-07 23:12:16 +00:00
Thilo Schulz
c0cca7a0a8
- Fix potential out-of-bounds read in files.c, fix by using new FS_IsExt
...
- Add capability to load demos with com_protocol suffix, partially applied patches from Simon McVittie
- Fix demo loading if protocol number has more digits than 2
- Minor refactoring, replace all occurances of suffix "dm_" with global macro DEMOEXT
2011-03-07 22:08:48 +00:00
Thilo Schulz
0387b8002e
Add cvar "protocol" so user can change protocol version on command line, for standalone games. Most of the patch by Simon McVittie with a few minor modifications by myself
2011-03-05 19:10:23 +00:00
Thilo Schulz
8bb9a261bd
Auto complete demos on not in pk3s while in pure servers. Patch by Zack Middleton ( #4794 )
2011-02-11 14:30:55 +00:00
Thilo Schulz
614f315ce8
Fix console tab autocomplete for exec and condump on pure servers, patch by Zack Middleton
2011-02-10 19:58:20 +00:00
Thilo Schulz
a56e448850
Add minimize command ( #4531 )
2011-02-10 19:21:13 +00:00
Thilo Schulz
44fb8f49b6
Fix adding multiple entries for same server when using globalservers several times, patch by Tequila
2011-02-06 17:59:23 +00:00
Tim Angus
c61ad8a074
* Fix fp literals
2011-02-04 17:22:42 +00:00
Thilo Schulz
31d99e2c4e
Fix division by zero, reported by Simon McVittie
2011-02-04 17:16:53 +00:00
Thilo Schulz
67a8b273c2
- Add cvars cl_gamename, sv_heartbeat, sv_flatline so standalone games can customise their messages to the master server
2011-02-04 13:25:51 +00:00
Thilo Schulz
3148416c04
- Change runtime standalone detection:
...
* com_standalone now read-only
* add new cvars com_basegame, com_homepath
* standalone now automatically detected when com_basegame is set to something different than baseq3 and no id pak pk3s are found
* This fixes https://bugzilla.icculus.org/show_bug.cgi?id=4699
- Replace a few hardcoded string literals with macros
- Add checks for Team Arena PK3s to FS_CheckPak0()
2011-02-04 12:04:56 +00:00
Thilo Schulz
cd3e202fca
- Add parameter checking to CL_*Ping* functions.
...
- Remove unused CL_UpdateServerInfo function
2011-01-27 17:07:07 +00:00
Thilo Schulz
5c0ae99642
Make number of supported master servers tunable via define
2011-01-25 02:04:25 +00:00
Ludwig Nussel
34d616dbef
enable (dummy) cdkey calls in standalone mode to prevents mods from crashing
2010-02-28 08:58:03 +00:00
Tim Angus
005f870ebe
* Sys_Dialog for more user friendly error reporting
...
* (bug #3932 ) Recovery from bad video settings
2010-02-15 16:20:33 +00:00
Ludwig Nussel
6f9b34ef75
avoid setting cvars by name each frame
2010-01-06 13:47:41 +00:00
Ludwig Nussel
42b8b8ecec
make reason for voip disable more visible
2010-01-06 13:47:35 +00:00
Ludwig Nussel
6ebc650542
set default rate to broadband
2010-01-06 13:47:32 +00:00
Tim Angus
3b63c54a24
* Fix demo playback being broken, not entirely sure by what or when
2009-11-11 10:51:33 +00:00
Thilo Schulz
e8ae8f5d3a
Remove leftover stub
2009-11-10 00:25:48 +00:00
Thilo Schulz
258429efe7
- Add unset command for cvars created by the user
...
- Fix crash bug when maximum number of cvars has been reached
- Fix cvar_restart
- Add possibility to cleanly switch mods ingame (#2819 )
2009-11-09 22:41:42 +00:00
Thilo Schulz
018de1dd2e
Added TTimo's QuakeLive-style mouse acceleration, thanks Gabriel Schnoering and TTimo for the patch. ( #3693 )
2009-11-02 16:17:10 +00:00
Thilo Schulz
fd57c987c4
Fix infinite loop in case an invalid pk3 file has been downloaded from the server. Thanks tjw for reporting ( #3074 )
2009-10-19 22:36:17 +00:00
Thilo Schulz
d86dd71327
Fix environment variable handling for Linux, make setenv command added before parsing of configuration files. ( https://bugzilla.icculus.org/show_bug.cgi?id=3626 )
2009-10-12 16:03:18 +00:00
Thilo Schulz
387dc9d6ff
Don't need a call to va() for this
2009-10-12 03:21:02 +00:00
Thilo Schulz
691da05b74
Whoops.. don't make it overwrite cmds in case of recursive error.
2009-10-11 18:34:15 +00:00
Thilo Schulz
fee5a4a157
Fix recursive error for disconnect after reliable client command overflow. Thanks to /dev/humancontroller for reporting. https://bugzilla.icculus.org/show_bug.cgi?id=3616
2009-10-11 18:31:00 +00:00
Tim Angus
64a0a078d2
* Fix warning in cl_main.c
...
* Fix bug #4026 (SDL dx backend doesn't work on some machines)
2009-09-14 12:34:31 +00:00
Ryan C. Gordon
2bd4c89203
Better handling of "voip" console command.
...
Prints usage info and current gain values, and catches a case where we
report an error where no error exists.
Fixes Bugzilla #4018 .
2009-09-14 01:37:59 +00:00
Zachary Slater
d34e91ef68
More 3966 business:
...
http://bugzilla.icculus.org/show_bug.cgi?id=3966
I'm hopeful that the server browser will surrender.
2009-07-07 22:13:06 +00:00
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
02195ea8bd
Make client send a random challenge number in getchallenge requests
2009-06-01 05:29:28 +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
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
Tim Angus
b2d87c4b2a
* Add Com_HexStrToInt
...
* Fixed some whacky indentation in q_shared.c
* Allow single character keys e.g. 'c' to be used in cl_consoleKeys in addition
to ASCII characters
* Experimental code to ignore dead keys
2008-09-05 23:38:35 +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
c0328ab4f6
* Revert 'Handle dead keys more gracefully by taking a "best guess" rather than
...
ignoring completely' from r1459; it can't ever work acceptably, especially on
azerty/qwertz layouts
* Make the ordering of the output from in_keyboardDebug more sensible
* Add cl_consoleKeys cvar, a space delimited list of key names or characters
that toggle the console
2008-08-28 22:05:34 +00:00
Tim Angus
d13269c5bb
* Restrict OpenAL capture support test hack to OS X, where it is required; this
...
fixes a crash on exit with Windows when using OpenAL
2008-08-03 19:31:42 +00:00
Tim Angus
d84d418086
* Remove cl_platformSensitivity as it predates the move to SDL everywhere
2008-07-12 13:31:31 +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
Tim Angus
391bb74c44
* Don't start UI when starting client binary with +set dedicated 1
2008-07-06 15:47:15 +00:00
Tim Angus
9d469692f3
* Fix killserver command for client binary based dedicated server
2008-07-06 10:55:19 +00:00