summaryrefslogtreecommitdiff
path: root/src/cgame/cg_servercmds.c
AgeCommit message (Collapse)Author
2017-03-09make the ignore functionality even transmission-complete, moving the ↵/dev/humancontroller
necessary parts to the game module TODO: implement the vsay-equivalent of G_SayTo()
2017-03-09refactor stuff/dev/humancontroller
2017-03-09remove the abusable levelshot command and related hacks/dev/humancontroller
2017-02-07silence a bunch of compiler warnings/dev/humancontroller
2013-03-12Drop team info if it's for the wrong team's players.Darren Salt
This avoids apparently spurious 'bad client number' messages, caused by the difference in item counts between humans and aliens. Suspected cause is a race between client and server; the effect can (at least in Unvanquished) be observed as spectator when switching between players on opposing teams.
2013-02-16Update copyright noticesTim Angus
2013-01-12Fix a bunch of warningsTim Angus
2013-01-03* Smarter way to check if teamoverlay info should be sent; don't send upgradeM. Kristall
field for aliens
2013-01-03* (bug 5000) refactor: use ARRAY_LEN; remove undefined functions; more size_tM. Kristall
(/dev/humancontroller)
2013-01-03* Remove now unused join-during-warmup errorM. Kristall
2013-01-03* Fix some (most) commands not unregistering when disconnectingM. Kristall
2013-01-03* Unregister commands advertised by the server when disconnectingM. Kristall
Now that builtin commands can't be removed, this should be safe
2013-01-03* Show who received a private message and how to respond againM. Kristall
2013-01-03* (bug 4879) Prevent teamchanges for gameplay exploit reasons by enforcing a ↵Christopher Schwarz
30 second wait before you can change again
2013-01-03* (bug 4760) Display Vote Caller (thanks Brian Teapot Shannon, msk, benmachine)Christopher Schwarz
2013-01-03* (bug 4575) CMD_CHEAT_TEAM gives the wrong error message (thanks Oops)Ben Millwood
2013-01-03* Separate namelog from adminM. Kristall
* Client to namelog mapping * Merge mute, denybuild, ptr in namelog; remove ptr
2013-01-03* Remove hovelM. Kristall
* Require buildable names instead of buildnums in layouts
2013-01-03* Add missing \n in a messageM. Kristall
2013-01-03* Refactor emoticon codeM. Kristall
* Remove some redundant code * Make an error non-fatal * Formatting fixes
2013-01-03* Case correction in a couple of dialogsBen Millwood
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Indent wrapped chat lines to avoid potential imitation exploitsTim 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* Parse IRC-like /me in chat textBen Millwood
* Assorted minor cleanups of CG_Say
2013-01-03* Remove unnecessary counter argument to tinfo and scores since the number ofM. Kristall
arguments is already known
2013-01-03* Fix UI_Text_Paint_Limit() function, which was printing a max of one ↵Christopher Schwarz
character ever, but nothing was using it so nobody noticed (thanks Oopss) * Add ALIGN_NONE and VALIGN_NONE types for CG_Text_Align function * Slightly widen the location item on the default hud, since just a little bit more fits most maps better * Prevent seeing crosshair playername text for players on the other team while in SPECTATOR_LOCKED * Fix formatting nitpick from a few revisions ago
2013-01-03* Don't show locations in teamchats during intermissionChristopher Schwarz
* Fix /destroy (devmap only) to work on marked buildables without having to use it twice
2013-01-03* Add options in the ingame UI to callvote sudden_death and callvote nextmap ↵Christopher Schwarz
(Exclamation) * Prevent up arrow, down arrow, tab, and mouse buttons from unexpectedly sending Say: menu text * Fix a crash introduced by r1813 when using teamsay on a map without location entities
2013-01-03* Use binary searching instead of linear searching for many static arraysM. Kristall
2013-01-03* (bug 2923) Add ability to have a "warmup" time where players cannot join a ↵Christopher Schwarz
team, in order to prevent dretches with fast computers from camping the other base before the humans even load the map. Disabled by default; set g_doWarmup 1 to enable.
2013-01-03* Fix buffer problems in CG_Say preventing locations from showingChristopher Schwarz
* Fix showing your own location in CG_Say
2013-01-03* Various small style fixes/corrections/changes (Undeference, Timbo, benmachine)Christopher Schwarz
* Restore /ignore functionality to a couple message types I forgot (Undeference) * Fix some color bleeds on names (Rezyn) * Fix an uninitialized buffer in featured labels (Rezyn) * Apply team colors to only the letter and not the brackets too, in cg_chatteamprefix (Undeference) * Default cg_drawcrosshairs 2, crosshairs for everything (kevlarman)
2013-01-03* (bug 4306) Fix display formatting between different types of chat textChristopher Schwarz
* Support parsing /say_area out of /say * General cleanups/refactors to messaging code
2013-01-03* (bug 2991) Add teamoverlay, an optional hud display showing names, health, ↵Christopher Schwarz
class/equipment, and locations of teammates - Disable with cg_drawTeamOverlay 0 or remove it from your hud - Control number of teammates to show with cg_teamOverlayMaxPlayers - When teamoverlay is enabled, show health of teammates next to their name when the crosshair is over them - Servers who dislike gameplay effects or want to save on bandwidth use can use g_allowTeamOverlay 0 to disable the feature for players - Special thanks to Risujin for bring this idea and the original patch to Tremulous * Cache teaminfo on the server and send only when needed (Undeference) * Increase frequency of sending updated teaminfo (Undeference)
2013-01-03* Move more things to cgameM. Kristall
* Bring back "teamoverlay" cvar and default it to 1 * Add "cg_chatTeamPrefix" cvar
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-03Remove repeater overlap prevention codeBen Millwood
2013-01-03Zone BP updates, and a minor bug fixBen Millwood
* Add g_humanRepeaterAllowOverlap defaulting to 1 * Add a build error message when building a repeater would cause a power zone to overlap * Lower DC range from 10,000 -> 1,000 * Repeaters will suicide if they are *inside* of another power zone * Unpowered buildables no longer take away BP from the main reactor zone * Repeaters will only power the BP that can be built from them * Repeaters can now be moved * Don't set s.misc anymore since BP is calculated server-side * Fix G_IsDCCBuilt( ) so that it can return true even if a DC is built farther than DC_RANGE units from position 0, 0, 0
2013-01-03Zone BPBen Millwood
2013-01-03* Use the MN_ system for team lock and player limit messagesTim Angus
2013-01-03* Various changes resulting from sanity checking against mgdev HEADTim Angus
2013-01-03* (bug 2803) Tighten some spelling/grammar/typos in various places (Phil ↵Christopher Schwarz
Bordelon, Ben Millwood)
2013-01-03BP Queuing systemBen Millwood
* Remove humanBuildPointsPowered as it isn't used nor is it likely to be * Ensure that alien buildables no longer count for BP after they exploded * Don't restore the BP for a destroyed building as soon as it is destroyed - instead, add them to a global queue and restore them slowly, as determined by g_<team>BuildQueueTime * Remove G_IsOvermindBuilt in favour of level.overmindPresent which did pretty much the same thing This resolves issue #6
2013-01-03* Revert stagedowns (fixes #2)Roman Tetelman
2013-01-03* Fix compiler warning about G_FindOvermindBen Millwood
* Random fixes/rearrangements in deconstruct and PM_Weapon * Merge tremulous r1137 - noclipping specs - other noclip stuff - fix ammo check - maprotation fixes - no taunting when dead - code-level crap
2013-01-03 * Use chat rather than print for adminchat server commandsBen Millwood
* Fixes to ready code: supports MAX_CLIENTS slots without relying on its value * Removing references to an apparently useless escape character in chat
2013-01-03* make the enemy team lose a stage when you reach "stage 4"Roman Tetelman
* pleasedonthurtmenorfmademedoit
2013-01-03* (bug 3379) !adjustban command to change reason and duration of bans (flag b)M. Kristall
* (bug 3746) Lookup table for UI commands (Ben Millwood) * and some other refactoring * Fix a couple null dereferences introduced in 1120