summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
AgeCommit message (Collapse)Author
2013-01-03* Fix changemap by moving it in the list so bsearch can find itChristopher Schwarz
* Rename help to adminhelp to be less confusing now that admin commands look the same as regular commands * Rename admin flags "help"->"adminhelp" and "map"->"changemap" for consistency
2013-01-03* And anotherM. Kristall
2013-01-03* Correct some more messagesM. Kristall
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* Stop using numeric constants in logs because they are unreliable (log parsersM. Kristall
will need to be updated)
2013-01-03* Remove unnecessary stuffM. Kristall
2013-01-03* Fix a bug that would prevent banning by name in most casesM. Kristall
* When banning by name and there are multiple matches, do not print every match for a given player * The message indicating a ban hit has been updated * Match namelog entries to players only by GUID, allowing for a single player reconnecting from a different IP address * Remove the remaining GUID stub display
2013-01-03* Fix several broken/segfaulting cases of the !setlevel command (Rezyn)Christopher Schwarz
2013-01-03* Remove a redundant condition (thanks Ensiform)M. Kristall
2013-01-03* Remove arbitrary limitations on admin data by replacing fixed-size arrays withM. Kristall
linked lists This fixes memory leaks with most !readconfig errors
2013-01-03* Fix !help only displaying information about custom commands when it should notM. Kristall
2013-01-03* Prevent new votes from preventing previous votes from executingM. Kristall
2013-01-03* Revert revision 1566 since it is no longer necessaryM. Kristall
2013-01-03* Use binary searching instead of linear searching for many static arraysM. Kristall
2013-01-03* Change team colors in !listplayers to be more consistent with team prefixes inM. Kristall
chat
2013-01-03* Remove GUID stub display from most admin functions (still in !namelog for now)M. Kristall
* Display a hint in !listplayers by players you can target with !setlevel * Fix for incorrect "a.k.a." information displaying for non-admins and incognito admins
2013-01-03* Fix admin log messages + admin command message outputs appearing in the ↵Christopher Schwarz
wrong order in console
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* Better fix for !showbans -10 not working properlyM. Kristall
2013-01-03* Fix uninitialized variable usage gcc did not warn me about beforeM. Kristall
* Fix sudden death votes (thanks Rezyn)
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* !showbans -10 was broken (thanks Rezyn)M. Kristall
2013-01-03* Disallow the name "console" to prevent confusion with dedicated server ↵Christopher Schwarz
console messaging functions
2013-01-03* Fix crash when banning (thanks Rezyn)M. Kristall
2013-01-03* (Bug 3274) Disallow names that are difficult to ban (thanks msk)Christopher Schwarz
- Disallow numbers at the start of a name - All names must contain at least one letter - When matching name strings, ignore all non-alphanumeric characters
2013-01-03* Print a slightly better message when a banned player tries to connectM. Kristall
and use the correct variable this time (thanks Ensiform)
2013-01-03* Remove many unused cvars that don't do anythingChristopher Schwarz
* Remove g_adminNameProtect, force it on * Remove g_chatTeamPrefix, force it on
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* Fix some bugs with banning by client number introduced in revision 1189M. Kristall
2013-01-03* Revert last change... oopsTim Angus
2013-01-03* Fix ADMF_IMMUTABLE using ADMF_IMMUNITY incorrectly (Rezyn)Christopher Schwarz
2013-01-03* Fix ADMF_IMMUTABLE using ADMF_IMMUNITY incorrectly (Rezyn)Christopher Schwarz
2013-01-03* Fix a new formatting issue from revision 1189M. Kristall
* Use client list functions for ready code
2013-01-03* Move some code aroundM. Kristall
* When g_specChat = 0, send global messages by spectators to other spectators * Eliminate g_listEntity. Use entityList instead * Stop seeding the rng all the time
2013-01-03* (bug 3396) Break everyone's admin.dat (a.k.a. multiple character admin flags)M. Kristall
2013-01-03* Refactor some more admin codeM. Kristall
* Let !cancelvote and !passvote accept a team name argument
2013-01-03* (bug 4037) cgame forgets to close buildstat.cfgM. Kristall
* Admin searches now list all matches * !listadmins now properly handles negative numbers * "!ban: too many bans" errors were sometimes wrong * A bit of refactoring * Add %s support to sscanf
2013-01-03* One-line fix admin name formattingBen Millwood
2013-01-03* Partially revert rev 1182 (null deref)M. Kristall
2013-01-03* Require each client to have a unique, valid GUIDM. Kristall
2013-01-03* Fix a small bug in g_adminMaxBan (thanks ben)Christopher Schwarz
2013-01-03* (bug 3993) ban length limits (Rezyn)Christopher Schwarz
2013-01-03* (bug 3992) Add search abilities to !showbans (Rezyn)Christopher Schwarz
2013-01-03* (bug 2803) Tighten some spelling/grammar/typos in various places (Phil ↵Christopher Schwarz
Bordelon, Ben Millwood)
2013-01-03* (bug 3969) Fix overflow warnings in !showbans (Rezyn) Christopher Schwarz
2013-01-03* (bug 3354) Add /clientlist cgame command for listing connected clients (DevHC)Christopher Schwarz
* Remove ADMF_SEESFULLLISTPLAYERS and return !listplayers to the old default value of always listing everything. Servers can now freely disallow !listplayers from non-admins, who can use /clientlist (or the GUI) to obtain the info they need.
2013-01-03* Remove another pointless va()M. Kristall
* g_adminNameProtect is now properly disabled when 0 * Do not remove admins with negative levels (if any such levels exist) * Fix admin level name alignment in !listplayers and !listadmins * Fix some !showbans regressions + !showbans -1 was showing the last two bans + !showbans -1 was not working with only 1 ban * Fix a ptr error message
2013-01-03 * Add BG_EventName and use it to simplify a series of debugging messagesBen Millwood
* Correct crouch check in ClientTimerActions * Ensure animation togglebit on buildables is only used once per frame (bug 3377) * Make G_FloodLimited more robust and with a pointlessly informative return value * Add a brief comment to the G_SayArg* functions to explain their purpose, which wasn't at all clear to me until I experimented with them * Remove more redundant va()s * Remove an unused variable and associated functions that were causing a compiler warning