summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
AgeCommit message (Collapse)Author
2013-01-03* Fix a bug causing duplicate entries in namelogM. Kristall
2013-01-03* (bug 4694) Reallow black in names, map it to inverse in com_ansicolorChristopher Schwarz
2013-01-03* (bug 3495) Add support for message censorship (cue "finally!")M. Kristall
2013-01-03* Fix a 'spawn is NULL' error by disallowing ClientBegin on allreadyJohn Ellis
connected players.
2013-01-03* Fix losing credits when player is already over the cap by selling equipment.John Ellis
2013-01-03* Fix admin /rename by not decrementing namelog->nameChanges, insteadJohn Ellis
add a forceName variable to ClientUserinfoChanged so that admin renames do not have ill-effects on player nameChange count, and players can be renamed while muted. * Make /rename print an error when attempting to rename a connecting player.
2013-01-03* Under certain circumstances, already "disconnected" clients can disconnectM. Kristall
2013-01-03* (bug 4582) Another bad userinfo fixChristopher Schwarz
2013-01-03* Fix handling of invalid userinfoChristopher Schwarz
2013-01-03* Prevent people from reconnecting so they can call more votesM. Kristall
* Remove a few unused variables and an unused function
2013-01-03* Generate "player renamed to ..." messages client-sideM. Kristall
2013-01-03* Prevent reparsing IP addresses for subnet bansM. Kristall
2013-01-03* Revert buggy part of revision 1968M. Kristall
2013-01-03* namelog was not showing name changes when the user's initial name was invalidM. Kristall
2013-01-03* Fix a couple bugs from revision 1966 including a crasherM. Kristall
2013-01-03* Separate namelog from adminM. Kristall
* Client to namelog mapping * Merge mute, denybuild, ptr in namelog; remove ptr
2013-01-03* Refactor emoticon codeM. Kristall
* Remove some redundant code * Make an error non-fatal * Formatting fixes
2013-01-03* Renamed MAX_STAMINA to STAMINA_MAX and moved to tremulous.hAsa Kravets
2013-01-03* Add a EndVote: line to games.log for showing vote results (Rezyn)Christopher Schwarz
* Add additional coloured versions of client names to games.log in ClientConnect and ClientRename lines for use by Tremstats et. al. (Rezyn)
2013-01-03* Fix votes failing when they shouldn't (Rezyn)Christopher Schwarz
* Fix INACTIVITY flag (Rezyn) * Fix being able to call a teamvote for someone not on your team (thanks Rezyn) * Fix IMMUNITY flag (Rezyn) * Fix there being 2 instances of g_dretchpunt in the cvar table (Rezyn)
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Server- and client-side tab completion for commands handled by the game moduleM. Kristall
* Admin commands are just like all other commands now: no more ! ("!map" was renamed to "changemap" since "map" already exists) * Text in the chat ui beginning with / or \ is treated as a command unless ui_chatCommands = 0 (default 1)
2013-01-03* Stamina changes/fixes (kevlarman)Christopher Schwarz
- Restore blacking out when you run out of stamina - Add cg_sprintToggle, allowing the sprint button to act as a toggle between always-sprinting or not - Walk overrides sprint, by popular demand - Modify the stamina "bolt" to better differentiate between states - Allow one to begin a sprint when stamina is negative (even though it is generally a bad idea for them, at least their button presses do something!) * When avilable, use predictedplayerstate for cg_drawSpeed to reduce latency (kevlarman)
2013-01-03* (bug 4310) Rework admin.logChristopher Schwarz
- Remove admin.log and fold its information into games.log because its information is rarely useful without the context that games.log brings - Don't show guid/flags in AdminCmd: log items. Show registered name instead. - Add an AdminAuth: log item that contains this info, occurring at connect, setlevel, and readconfig - Always attach an admin's registered name to bans so the correct people are complained about rather than aliases - General g_admin.c shrinking and refactoring
2013-01-03* (bug 4309) Add options to !restart that allow for keeping/switching player ↵Christopher Schwarz
teams, and optionally also to lock them.
2013-01-03* Make position of "ALLFLAGS" admin flag irrelevantM. Kristall
* Keep track of clients' admin statuses better and refactor large amounts of related admin code
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* Massive refactor of voting codeM. Kristall
* Remove cvar g_suddenDeath since it is no longer needed * "Sudden Death in 0 seconds!" should no longer display on map start when sudden death is disabled
2013-01-03* (bug 4071) subnet bansM. Kristall
Allow banning and namelog searching by IP address in CIDR notation Banning a range of addresses will immediately kick all players in that range Admins with IMMUNITY flag can connect even if their IP address is banned admin.dat files relying on substring matching will have to be updated
2013-01-03* store credits in pers.credit instead of ps.stats[ PERS_CREDIT ]Roman Tetelman
2013-01-03Fix camper creditsRoman Tetelman
* The time clients are alive is recorded in seconds. * Award free funds regardless of death. Funds will be given - when the client is alive every g_freeFundPeriod if g_freeFundPeriod is positive (otherwise no free funds are given).
2013-01-03* spectating teammates no longer copies their credits, borrowed from lakitu7 ↵Roman Tetelman
(fixes #78)
2013-01-03Make humans raise their weapon when they spawnBen Millwood
This is a purely cosmetic change that I thought I'd experiment with. Note that the previous resetting of ps.weapon was redundant.
2013-01-03add cg_disableBlueprintErrors and un-cvarize g_humanRepeaterAllowOverlapBen Millwood
2013-01-03* Various changes resulting from sanity checking against mgdev HEADTim Angus
2013-01-03* Cleanup info_validate function and enforce that connecting clients must ↵Christopher Schwarz
pass it (with thanks to Byron Johnson)
2013-01-03* Require each client to have a unique, valid GUIDM. Kristall
2013-01-03* Prevent changing names while mutedChristopher Schwarz
2013-01-03Smooth regenerationBen Millwood
A regen rate of 4 hp/s now means you regenerate one health point every quarter of a second (fixes #28)
2013-01-03* Change EXEC_NOW to EXEC_APPENDM. Kristall
* Remove cvar based banning in favor of admin system
2013-01-03* Allow boosters to give poison within the first 30 seconds of the gameBen Millwood
* Allow /noclip and /where to be used by spectators * Allow /noclip and /setviewpos to be used by specs even when cheats are off * Run PM_Weapon and set view height while noclipping * Make player speed while spectating or noclipping configurable via cg_flySpeed * Remove requirement for cgame's cvartable to have a non-null vmCvar pointer * Make PM_Paralyzed a macro and add a similar category, PM_Live * Stop dretches from biting dead buildings
2013-01-03* fix for unlagged being turned off for clients who spawn (bob)Roman Tetelman
* fix ui_messagemode2
2013-01-03* Strip nonprinting and console-key characters from player namesChristopher Schwarz
* Disallow player names beginning with '[skipnotify]' because they trigger the ignore system (thanks googles) * Disallow player names including comment-beginning strings for breaking various parsers (thanks Roman "kevlarman" Tetelman) * Slightly more elegant handling of stripping black from player names (thanks Napkin and peoro)
2013-01-03 * Merge STAT_WEAPONS[2] into STAT_WEAPON and dispose of unnecessary STAT_SLOTSBen Millwood
* Testing patch to fix ready mask
2013-01-03* (bug 2965) Strip colour codes from log messages (Ben Millwood)M. Kristall
* (bug 3596) Buying a battlesuit allows player to pass through some map geometry (/dev/humancontroller) * (bug 3679) Remove redundant stage trigger checks (Chris "Lakitu7" Schwartz) * (bug 3761) selling all upgrades removes energy ammo (/dev/humancontroller) * Remove some duplicate code * !showbans did not properly show all valid bans when some bans had expired * Log renames between ClientConnect and ClientBegin
2013-01-03 * Right-align location fieldBen Millwood
* Default teamoverlay off * Make generate-diff.sh slightly more portable
2013-01-03* add cg_unlagged to allow clients to disable backward reconcilliation for ↵Roman Tetelman
their own attacks only
2013-01-03* (bug 3719) IP address fields in admin system are not large enough for IPv6M. Kristall
(Amanieu) * Prevent the host player on a non-dedicated server from being disconnected
2013-01-03* (bug 3631) Macro safety for MIN() and MAX() (Ben Millwood)M. Kristall
* (bug 3645) Lag correction field in server info menus is always empty (Ben Millwood) * (bug 3653) stack corruption in G_SendGameStat() (/dev/humancontroller) * (bug 3662) Players who fall of the edge of the world can block the spawn queue (/dev/humancontroller) * Remove unused argument to G_ClientNumberFromString() * Remove unused variables in G_admin_setlevel() * Remove a number of superfluous va()s * Shut up erroneous warnings about uninitialized variables
2013-01-03* UI_Text_* emoticon drawing support (e.g. [dretch] draws Tony J. White
/emoticons/dretch.tga inline with text) * emoticons are square .tga images placed in the /emoticons dir of fs_game * emoticons should probably be 64x64 to look nice * g_emoticonsAllowedInNames (default ON) is an optional server setting to prevent players from using them in names * emoticons can be escaped by prefixing with an additional [ * cvars ui_emoticons and cg_emoticons can be set to 0 to disable drawing of emoticons in ui or cgame contexts respectively * fix color code continuation on wrapped lines * prefix all wrapped lines with a space to prevent chat shenanigans