Commit Graph

67 Commits

Author SHA1 Message Date
BotoX a732205f8c properly fixed db0de91a18
added message when zombie cycle ended
2016-03-01 23:36:47 +01:00
BotoX 1bd2fb7354 reworked mother zombie "randomizer"
uses randomized round-robin ensuring that a client will not be infected twice in a row
2016-02-17 09:03:40 +01:00
BotoX db0de91a18 fixed zspawn exploit (spawn as human after infection by suiciding and zspawning) 2016-02-17 00:48:42 +01:00
BotoX 3afde85238 reworked zmarket
fixed kevlar bug
2016-02-12 04:16:59 +01:00
BotoX d88e748f0e remove trailing whitespaces from sourcecode 2016-02-06 00:47:47 +01:00
BotoX b04f25400f added zr_zspawn_force and zr_infect/zr_human logging 2015-10-31 00:41:51 +01:00
Richard Helgeby 1ef060258f Rename ztele functions to use new module prefix naming convention.
The underscore makes it easier to see the real function name because it visualy separates the prefix.
2015-03-29 18:42:04 +02:00
Richard Helgeby 7ce73b4493 Add InfectHasZombieSpawned. 2015-03-22 18:06:40 +01:00
Richard Helgeby 743d17e05a Remove client check when resetting zombie flag on round end.
It doesn't matter whether the client is connected or not, all clients should reset to humans on round start anyways.

This may also fix a bug where mother zombies sometimes are not teleported to spawn, but it's unconfirmed (both the bug and the fix).
2015-02-12 19:01:23 +01:00
Richard Helgeby a8f91d748e Updated copyright year. 2013-01-12 08:47:36 +01:00
Richard Helgeby 3cdebf55b4 Fixed infection coundown not stopping on early infection (admin command). 2013-01-11 10:19:31 +01:00
Richard Helgeby 5b7d1b2ff3 Fixed immunity modes not obeying spawn protection. Implemented "kill" immunity mode. 2013-01-11 10:07:18 +01:00
Richard Helgeby d87138977b Implemented infection modes. Compiles, but not tested. 2013-01-10 06:21:30 +01:00
Richard Helgeby 666ac57836 Implemented delayed infection mode. Fixed immunity_cooldown attribute not loaded properly. 2013-01-05 22:58:43 +01:00
Richard Helgeby e31d867c57 Updated class commands and class editor. Fixed a few compiler warnings. 2013-01-05 21:10:38 +01:00
Richard Helgeby 9096779f53 Disabled more debug messages. 2013-01-05 16:59:53 +01:00
Richard Helgeby 31c727f0a5 Implemented infect immunity mode. Debug messages are still enabled, and some parts aren't updated yet (compiler warnings). 2013-01-05 02:44:46 +01:00
Richard Helgeby 581825829a Replaced RemoveEdict with kill entity input command. 2012-07-01 21:12:43 +02:00
Richard Helgeby 5340e9be58 Fixed memory leak in infection countdown feature. 2012-05-31 12:43:48 +02:00
Richard Helgeby 88bb7f514c Fixed infect timers not properly destroyed when the map is changed. 2012-05-29 23:40:32 +02:00
Richard Helgeby 1a4951ad0c Small cleanup in infect countdown timers. 2012-05-20 21:08:07 +02:00
Richard Helgeby ef175ca488 Small timer fixes. Added cvar zr_roundend_balance_teams. See details.
Added cvar for disabling team balancing on round end (for use with custom team balancer): zr_roundend_balance_teams. Disabling this will cause players to remain on their current team when a new round starts. If zombies win, everyone will remain on the terrorists team.
Fixed invalid handle error after a map change.
Fixed language code typo in translations.
Infection countdown is no longer displayed if the infection delay is just one second.
2011-12-27 09:05:27 +01:00
Richard Helgeby 776f149247 Added infection countdown. Backported from zr-dev:52955b169945 (655). 2011-12-26 17:45:08 +01:00
Richard Helgeby 3776eca312 Added improved random number generator from SMLIB. 2011-06-17 14:44:51 +02:00
Richard Helgeby 57a9ec2d4b Fixed consecutive mother zombie infection prevention not always working. 2011-06-17 14:08:05 +02:00
Richard Helgeby e7478e0a05 Imported some API-features from zr-dev. Added API test plugins in testsuite. 2010-11-14 15:17:19 +01:00
Greyscale d795604978 r634 continued. 2010-07-26 14:31:56 -07:00
Richard Helgeby bac3384520 Imported feature from dev: 688:03dd044dcdd3 - Made scream and moan commands for zombies, with spam protection. 2010-04-05 01:36:32 +02:00
Richard Helgeby 04a8fef584 Imported fix from dev: 649:46c12773c8df - Fixed problems that came up if a client was infected through admin after the round started, but before the freezetime expired. 2010-02-14 17:07:43 +01:00
richard 3794251cc5 Updated all admin console commands to check if client is privileged (so group authentication works), instead of using RegAdminCmd. Minior fixes.
Changed admin teleport command to log target names.
Cached result of privilege check instead of calling function twice (zadmin menu).
Disabled old debug commands. Do not remove, we need them for testing later.
2009-10-26 23:17:22 +01:00
Greyscale 1f09e1d0c7 Fixed not all grenades being stripped when infected. 2009-08-27 12:56:29 -07:00
Greyscale 904edb2594 Added the core of the modifying alltalk feature. WARNING: Untested (but compiles), the cvars to disable it have no effect, and it may be incomplete depending on some questions I have. 2009-08-21 12:47:32 -07:00
Greyscale 5ee1395fb1 Restructured every menu to properly translate into the client's language. 2009-07-27 17:02:49 -07:00
Greyscale b7018e9fe8 Replaced all menu line lengths with defines in menu.inc
*Moved the including of menu.inc up to allow all modules to use its defines.
2009-07-27 13:25:23 -07:00
Greyscale d5e4e89ba5 Fixed various memory leaks. 2009-07-23 17:05:04 -07:00
Greyscale fe5ed637cc Fixed napalm error. Fixed specatators/invalid players showing up in force zspawn/ztele. Fixed knife alpha (untested) 2009-07-21 13:25:11 -07:00
Greyscale 82b3f7dd05 Moved some code around to organize better. 2009-07-06 14:42:25 -07:00
Greyscale 17a24b5df2 Moved strip weapons to after model change, and give a new knife when going from zombie to human. 2009-07-06 14:33:11 -07:00
Greyscale 5497a13dd7 Fixed minor errors, fixed antistick having some false positives, fixed every single Zombie:Reloaded line at top of the file. 2009-07-04 23:49:23 -07:00
Greyscale 03d226ad59 Fixed knife being all screwed up on zombies. 2009-07-02 01:19:54 -07:00
Greyscale 194eb9f2b8 Config options now supports on/off along with yes/no.
Fixed ZMenu and player names in infect menu being truncated.
Added Hitgroup Management to ZAdmin.
2009-06-26 00:00:05 -07:00
Greyscale 061954fdc2 Changed default for suicide intercept, also added an option to only block mother zombies. 2009-06-25 19:38:03 -07:00
Greyscale 3f08d6f72c Added commands zr_zspawn_force, and zr_ztele_force.
Added options to ZAdmin that allow admins to force spawn players, or force teleport players.
2009-06-25 17:03:34 -07:00
Greyscale 1dff60542e Added infect option to ZAdmin.
Fixed bug where manual infecting after the round ending caused the plugin to think their was a zombie next round. (Spawn protect activated)
Updated translations.
2009-06-24 23:57:39 -07:00
Greyscale a0d2f58c35 Added cvar to disable explosion entirely on infect. 2009-06-21 13:08:02 -07:00
Greyscale e14634257c Merged heads. 2009-06-18 15:55:21 -07:00
Greyscale 01653a2636 zr_infect now infects mother zombie if used before it has spawned.
* Fixed a serious bug that could delay the game, the round end checker took dead clients in the count, so 1 dead ct and 9 zombies didn't end the game.
* Small typo fix in anticamp, and got rid of a warning.
2009-06-18 15:53:22 -07:00
richard 4d48cd65de Made a admin command for refreshing class data on one or more players.
Updated infect module to use new reload function.
Fixed typo in command description.
Known issue: Models isn't always restored on zr_human. If "default" is used, there's practically no model change. Possible solution: Store path in a buffer when the player join a team and select a model. Then read from that buffer when "default" is used.
2009-06-18 03:33:09 +02:00
Greyscale 615bc3e860 Fixed another error from infect module. 2009-06-15 21:45:50 -07:00
Greyscale 1530d20308 Added zr_infect/zr_human, all conflicts from official version are fixed. Added feature to ZSpawn to allow to spawn to different team after timelimit is expired. 2009-06-15 12:43:06 -07:00