b09747346f
Various fixes and additions.
2017-05-01 23:59:38 +02:00
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
d88e748f0e
remove trailing whitespaces from sourcecode
2016-02-06 00:47:47 +01:00
Richard Helgeby
7ce73b4493
Add InfectHasZombieSpawned.
2015-03-22 18:06:40 +01:00
Richard Helgeby
447240fb8d
Revert changeset: 9d97c210c634
2013-11-11 01:03:23 +01:00
Richard Helgeby
1e7b0e6267
Moved team balancing to round start in stead of round end. Fixes issue with maps or plugins inspecting player teams in round end event; being unable to detect which players that are zombies when the round has ended. Thanks to "Neuro Toxin".
...
Possible side effect: After round end, but before restart, zombies may not be able to pick up weapons to use in the next round. This might be ok, it's just dumb zombies. But it should be possible to fix this in the weapon restrict module if there's a need for it.
2013-10-31 22:36:04 +01:00
Richard Helgeby
a8f91d748e
Updated copyright year.
2013-01-12 08:47:36 +01:00
Richard Helgeby
cf73c6c52e
Fixed round draw when round ends in CS: GO. Thanks to Jargon.
2013-01-10 09:09:25 +01:00
Richard Helgeby
4e68b52301
Updated to use new natives in cstrike extension instead of SDK calls. Requires SourceMod 1.4.0 or newer.
2012-01-28 19:12:33 +01: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
Andrew
dcc02a44f2
Fixed signatures and round end defines that were updated in CSS:OB.
2010-06-24 19:51:01 -07:00
Greyscale
d5e4e89ba5
Fixed various memory leaks.
2009-07-23 17:05:04 -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
351e17cc91
Team scores are now updated.
2009-06-27 12:17:34 -07:00
Greyscale
0c75482eb8
Fixed memory leak, and timer error.
2009-06-22 13:07:19 -07:00
Greyscale
ff7528f09f
OMG FINALLY FIXED OVERLAYZ. I almost killed myself over this one.
2009-06-21 14:59:18 -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
Greyscale
9af3fec738
Changed ragdoll.inc to LF, removed anticamp.inc, and added copywrite notice to all files.
2009-06-11 20:51:26 -07:00
Greyscale
0f8206596a
Recoded weapon restrictions, and made new way of storing data. (Arrays)
...
* Removed ZMarket as an external plugin (to be integrated next commit)
* Updated weapon configs, removed weapongroups.txt and moved weapons.txt to root zr config folder.
* Moved offset finding to respective module, made new forward *OnOffsetsFound.
* Updated weapons&hitgroups config file format to match playerclass.txt
* Updated translations.
* Recoded weapon restrict menu, commented out all zadmin options that don't quite work.
* Added weaponammo module (not finished but existent)
* Started zmarket module.
2009-05-28 23:43:15 -07:00
Greyscale
e051b7bdaa
Created overlay module to unify class overlays and round end overlays, removed unused class overlay functions, fixed invalid hookid error, allow client to toggle class overlay if allowed in cvar and made toggle cmds configurable, cleaned up translations file.
2009-05-14 02:28:26 +02:00
Greyscale
2ac56b1969
Updated all file headlines, and added phrases for zspawn abuse.
2009-05-06 02:28:09 +02:00
richard
fcd3a2e48e
Added blank lines on the end of all files to get rid of warning from diff tool.
2009-05-01 11:22:45 +02:00
Greyscale
0404230fc8
Fixed humans winning on round end when no humans present, removed classes file cvar and made it use the config module, replaced SetFailState with LogMessageFormatted with fail flag, made the base config manipulator function.
2009-05-01 07:09:18 +02:00
Greyscale
8da309e4f4
Made config module, recoded models.inc and added validations, added a cvar to flag any sayhook as quiet to hide from chat, hooked mp_limitteams, fixed menu handle function, moved file paths into cvars and updated all modules but classes to use it
2009-04-30 07:36:57 +02:00
test
fd129e561b
test
2009-04-29 01:58:41 +02:00
Greyscale
abd38ee033
Hooked autobuy/rebuy, added fog to visual effects, create effect functions in visualeffects.inc, fixed ambience, hooked mp_restartgame, mother count is rounded to nearest instead of ceiling, recoded cvars.inc and added logging, recoded event.inc, killed respawn timers on round end.
2009-04-27 04:00:38 +02:00
Greyscale
b99d253477
Put infection handling in its own core module, added infect sound to downloads table, updated cvars, made an account module (handles cash), zombies now drop weapons on infect (all of them), removed RemoveAllItems, weapon api can handle it and its unneeded now.
2009-04-22 04:53:19 +02:00
Greyscale
f35d8cb381
Fixed memory leak, fixed disconnect bug.
2009-04-21 03:10:14 +02:00
Greyscale
41153af5f4
Reorganized cvars.inc, organized all cvars into module groups (to be updated later), removed unused cvars, made classes and weapons core modules (event forwarding priority), updated spawn protect cvars, added cvars to disable weapons, restrict, and hitgroups
2009-04-20 02:56:26 +02:00
Greyscale
858cfe4079
Recoded damage module, moved around translations, removed old one, removed old classmenu code, moved BalanceTeams to roundend.inc
2009-04-19 19:54:21 +02:00
Greyscale
c34e32097d
Fixed admin infect bug (I think), made roundend core module, handles all round end events, modified ClassApplyOverlay, removed mp_restartgame hook, recoded PlayerLeft and BalanceTeam functions. And added comments.
2009-04-18 01:44:41 +02:00