summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
AgeCommit message (Collapse)Author
2017-02-08fix a sizeof() error in Cmd_CallVote_f()/dev/humancontroller
2017-02-07in the vote calling functions, protect against the dreaded exploit of ↵/dev/humancontroller
'\n'-interpretation inside quotes
2013-02-16Update copyright noticesTim Angus
2013-01-12Fix a bunch of warningsTim Angus
2013-01-03* Simplify some weapon-related code (re r1431)M. Kristall
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* Allow joining teams during warmupM. Kristall
2013-01-03* (bug 5004) use current player origin in G_RoomForClassChange()M. Kristall
(/dev/humancontroller)
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* (bug 3781) Improve randomness in some cases (Lakitu7 made me do it)M. Kristall
2013-01-03* (bug 5039) Fix buildables to initialize with the correct normal vector, ↵Christopher Schwarz
which should improve falsely self-destructing eggs (/dev/humancontroller)
2013-01-03* (bug 5092) Improve ckit repair targeting direction (/dev/humancontroller/)Christopher Schwarz
2013-01-03* Fix broken vote display strings, when reasons are used, broken in the ioq3 ↵Christopher Schwarz
merge. If other things use Com_Sprintf with a string inside itself, they are probably broken too, so be on the lookout
2013-01-03* (bug 5012) Fix camera shake after unfollowing players on movers ↵Christopher Schwarz
(/dev/humancontroller)
2013-01-03* (bug 4948) Nextmap vote can be overwrittenM. Kristall
2013-01-03* Show who received a private message and how to respond againM. Kristall
2013-01-03* Properly censor private messagesM. Kristall
2013-01-03* Mess with /give funds again to try to finally make everyone happy with how ↵Christopher Schwarz
this incredibly unimportant function is implemented
2013-01-03* Add usage statment when /give is used without argumentsChristopher Schwarz
* Further protect /give funds against overflows/underflows (thanks /dev/humancontroller/)
2013-01-03* Prevent overflow in /give fundsBen Millwood
2013-01-03* (bug 4906) Notify admins of attempted votes called against immune adminsChristopher Schwarz
2013-01-03* (bug 4904) Notify admins of callteamvotes on the opposing teamChristopher Schwarz
2013-01-03* (bug 4896) Put quotes around multi-word parameters to admin commands in ↵Christopher Schwarz
the logs, so it is clear whether "kick a b c" was kicking "a b" for "c" or "a" for "b c" (with thanks to /dev/humancontroller for pointing out a buffer safety thing) * (bug 4897) Add a server command "pr" to print raw text to a user or all users (with thanks to /dev/humancontroller for pointing out a small mistake)
2013-01-03* Fix uninitialized variable usage after failed name match in some casesM. Kristall
2013-01-03* Fix not giving score/stage credits to aliens when humans decon dead ↵Christopher Schwarz
buildables before the explosion (thanks Teapot)
2013-01-03* Three minor cleanups (/dev/humancontroller)Christopher Schwarz
- Properly initialize cvartable entry for g_teamforcebalance - Properly remove the "which" command on shutdown - Clear all SS_ flags on stopping spectating instead of just wallwalk so free spectators don't get stuck with slowblob or whatever
2013-01-03* Fix OB1M. Kristall
* Prevent name matches when the search term contains only ignored characters * Strings are not likely to have lengths less than 0
2013-01-03* Prevent spawn is NULL by ignoring commands from connecting clients (Lakitu7)M. Kristall
Code in tremded already does this, but that is expected to be changed in the future
2013-01-03* (bug 4883) Fix ability to build 0-BP structures in SD if the blueprint is ↵Christopher Schwarz
active at the transition by clearing blueprints upon entering SD (thanks Menace13) * Print SD warning/beginning to the client console text in addition to the CP * Change a couple STAT_BUILDABLE = 0 to = BA_NONE (code tidying with no effect)
2013-01-03* Do not enforce the teamchange timer when cheats are enabled (devmap)Christopher Schwarz
2013-01-03* Allow mute and denybuild to target players who are no longer connectedM. 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* Refactor code handling player name matchingM. Kristall
2013-01-03Nothing to see hereM. Kristall
2013-01-03* (bug 4815) Add /pause admin commandChristopher Schwarz
2013-01-03* Clean up one line of code from ages ago. Nothing to see here.Christopher Schwarz
2013-01-03* (bug 4268) Disable vote bind instructions when tutorial mode is offChristopher Schwarz
* (bug 4811) Fix colour bleed in vote reasons (Brian "Teapot" Shannon) * Decolour vote caller for consistency with the other vote elements
2013-01-03* (bug 4760) Display Vote Caller (thanks Brian Teapot Shannon, msk, benmachine)Christopher Schwarz
2013-01-03* (Bug 4649) Require reasons for votes (WilliamH, Chris "Lakitu7" Schwarz)M. Kristall
2013-01-03* (bug 3495) Add support for message censorship (cue "finally!")M. Kristall
2013-01-03* Fix /me in teamsay menuBen Millwood
2013-01-03* Cancel ghost buildables upon selling weapons to prevent minor bugs when ↵Christopher Schwarz
people switch weapons more quickly than pmove can keep up with
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* (bug 4090) fix G_ClientNumbersFromString on an empty argumentBen Millwood
* faff about with const in strtol and strtod (see bug 4598)
2013-01-03* Queue BP according to the proportion of damage that came from ↵Christopher Schwarz
not-friendly-fire (e.g. things killed entirely by FF have their BP returned instantly, and those killed by enemies/other have their BP queued, and others split accordingly) * Human buildings dying from no power now uses MOD_NOCREEP instead of MOD_SUICIDE * Attribute deaths caused by nopower, nocreep, and human buildable blowup-chain-reactions to the person that killed the egg/power/original building that started the chain * Minor cleanups of unused functions/variables
2013-01-03* (bug 4573) Use markdecon (instant of instant-decon) when buildings are ↵Christopher Schwarz
unpowered but are about to be powered by a currently-building
2013-01-03* (bug 4575) CMD_CHEAT_TEAM gives the wrong error message (thanks Oops)Ben Millwood
2013-01-03* Revert revision 1965 and parts of revisions 1962 and 1966 since muted playersM. Kristall
should be allowed to join/switch teams
2013-01-03* No-votes were not being handled properlyM. Kristall