jenz
6255e871d3
now adding cvar to exclude fakeclients, afks and autism bots from being mother zombie, also cvar for how long people must be afk before they cant be mother zombie. also critically a cvar that says fakeclients, autismbots and afks can actually be mother zombie if less than this cvar amount of players are connected. with 3 real players its not good if they constantly are mother zombie, hence at a low player count we still allow afks, fakes and autismbots to be. this update was done by claude AI
2026-10-06 12:41:15 +02:00
jenz
29dc99af0c
removed the tier based infection again, its just randomized again
2026-09-01 17:35:03 +02:00
jenz
29badd3d87
make afk infectable
2026-06-18 16:38:56 +02:00
jenz
ca9f7b0d13
instead of randomly picking eligble clients we sort eligble clients by lowest tier
2026-06-18 11:09:58 +02:00
jenz
3b88ace7f5
fixing endless loop happening when doing testround and alone on team
2024-06-21 06:55:59 +02:00
jenz
a424ccaa39
fixing underscores lost by discord formatting
2024-06-21 06:55:59 +02:00
jenz
111d7a7374
instead of just infecting one left over we keep infecting people until hitting the required amount. We should no longer experience cases of missing main or alt candidates due to updating zombiemanager
2024-06-21 06:55:58 +02:00
jenz
e6304d17a0
when there is max 1 mother zombie to be infected we sometimes have rounds with no mother zombies, this instead just picks one client randomly
2024-06-21 06:55:58 +02:00
dogan
c2c97051fc
Merge branch 'master' of https://git.botox.bz/CSSZombieEscape/sm-zombiereloaded-3
2024-06-21 06:55:58 +02:00
BotoX
bd6530790e
Fix mother zombie infection cycle not saving picked alternative candidates at end of cycle.
2024-06-21 06:55:58 +02:00
hubdom
2f9bd13cb1
add Aura for motherzombies where all zombies have increased health regen
2024-06-21 06:55:58 +02:00
BotoX
005a32ac4e
Add teleport on infect option.
2024-06-21 06:55:57 +02:00
BotoX
577b5d1af5
change KnockbackOnClientHurt to KnockbackOnTakeDamageAlivePost
2024-06-21 06:55:56 +02:00
zaCade
a251f6b755
General: Add in a API call to hide infection timer.
2019-01-23 18:48:00 +01:00
zaCade
811c5ccb72
General: Move some code around.
...
Move the 'human' code back to its original location, and call the
infection function instead when they should be infected, instead of
doing it forcefully. That caused issues whenever there was a situation
of a warmup round ect. blocking infections.
2018-09-06 13:50:30 +02:00
zaCade
c32cda3fc9
General: Apply ZSpawn logic on late spawners.
...
Improvement on `a45be16399`
2018-08-28 14:54:42 +02:00
zaCade
252392c433
Revert "General: Allow auto infection on 'late' spawners."
...
This reverts commit a45be16399 .
2018-08-28 13:22:54 +02:00
zaCade
a45be16399
General: Allow auto infection on 'late' spawners.
...
Catch people that automatically spawn after motherzombie infection, and
make them spawn as zombies. On CSS for example you automatically spawn
if you spawn between round start and 20 seconds after, thus avoiding the
need of zspawn.
2018-08-23 20:07:40 +02:00
zaCade
fa758698c6
General: Woops, forgot this one. xP
2018-07-29 15:14:22 +02:00
zaCade
f5245b0920
General: Clear knife slot entirely instead of once.
...
Since the taser would remain, and would break shit. :P
2018-07-29 15:13:31 +02:00
zaCade
6c35c59b81
GENERAL: Fix consecutive motherzm infections.
2017-10-12 02:18:52 +02:00
zaCade
1b81c27314
GENERAL: Infection update.
2017-10-06 13:49:11 +02:00
zaCade
226619f24b
Fix SteamIDCache not beign created with empty cvar.
2017-08-26 23:55:11 +02:00
BotoX
6478d995b9
Fix rebuy exploit by keeping current clip.
...
Add zr_infect_knife_cooldown
Convert includes to new syntax.
2017-07-05 23:00:50 +02:00
BotoX
b09747346f
Various fixes and additions.
2017-05-01 23:59:38 +02:00
BotoX
e7597639c2
Save recent infections via SteamID.
...
Change SteamID cache to AccountID.
Fix error which broke shotgun knockback.
Add roundend stats to console.
Renamed some global variables to have g_ prefix
2017-01-22 15:09:22 +01:00
BotoX
ab210d531e
fix engine crash bug in 0c0ce1adfc
2016-08-24 23:06:51 +02:00
BotoX
2d1cdf7a36
added SharedPlugin code and SetNTVOptional()
...
added public printing for zr_human, zr_infect and zr_zspawn_force command
fixed zombiereloaded changing player colors
updated sample cfg
updated makefile
2016-04-22 01:24:10 +02:00
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