summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
AgeCommit message (Collapse)Author
2017-04-06implement the option to make evolution and equipment free/dev/humancontroller
when the new g_freeStuff cvar is true, alien evolution and human equipment is free, with the exception of grenades; furthermore, aliens constantly have 9 evos, as a hack to allow clients to fully use the evolution menu at all times
2017-03-09synchronize ent->health with ent->client->ps.stats[STAT_HEALTH]/dev/humancontroller
when healing, keep the health untouched if the health is already above the "maximum"
2017-03-09allow calling for specific layouts in votes, where applicable/dev/humancontroller
2017-03-09begin rewriting the voting code to be structured in the representation of votes/dev/humancontroller
with this, at least, the "vote action will restart the map" check can be performed in a non-hacky way
2017-03-09drop the use of the origin and angles fields of entityState_t in the game module/dev/humancontroller
clear the r.currentAngles field for brushmodel-related entities using the ''angle'' spawn var
2017-03-09always bring up a blueprint, but always print an error if appropriate/dev/humancontroller
2017-03-09clamp funds at +-30000, not SHRT_MIN/MAX/dev/humancontroller
2017-03-09remove trailing '\n' characters from error strings/dev/humancontroller
2017-03-09implement the range marker functionality, use it to create buildable range ↵/dev/humancontroller
markers use the entity 64-bit client-masking extension when available
2017-03-09fix noclipping players affecting other players/dev/humancontroller
notably, other players were able to stand on the "center" of a noclipped player set an r.contents value of 0 for noclipping clients, backing up the r.contents value in the new ent->client->cliprcontents field
2017-03-09improve the usability of noclip, notarget, give and godmode:/dev/humancontroller
- godmode protects against everything (except suicides via the kill command) - godmode can also be toggled when dead or spectating - noclip, notarget, and godmode retain their status until explicitly toggled (except when outside of devmode, or when reconnecting), notably, they are not turned off when switching teams or suiciding - funds can be given also when dead - noclipping players do not activate any triggers - map geometry does not interfere with noclipping players when it comes to changing classes
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-09make buildable placement precise/dev/humancontroller
2017-03-09when stopping follow mode, keep the view origin and stop/dev/humancontroller
2017-03-09change setviewpos to work as it sounds like/dev/humancontroller
setviewpos now precisely puts the player's view origin to the specified coordinates, and does not spit the player forward; it now optionally takes yaw and pitch arguments for this, setviewpos takes ps->viewheight into account when teleporting the player; TeleportPlayer() now takes an additional float argument specifying the spitting speed of the player; currently, TeleportPlayer() is called with a non-0 argument only from the setviewpos function
2017-03-09refactor stuff/dev/humancontroller
2017-03-09fix weapons remaining held and usable after selling them/dev/humancontroller
by WoGoMo
2017-03-09remove the abusable levelshot command and related hacks/dev/humancontroller
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