Commit Graph

876 Commits

Author SHA1 Message Date
Richard Helgeby
f9aaf97580 Extract function ZTeleGetClientDelay. 2015-03-22 19:09:49 +01:00
Richard Helgeby
99f0bfef7b Extract function ZTeleClientInProgress. 2015-03-22 18:57:44 +01:00
Richard Helgeby
387f59e2cb Simplify pre-check logic in ZTeleClient. 2015-03-22 18:52:31 +01:00
Richard Helgeby
f323ca2768 Use new syntax in ZTeleMustBeHuman and ZTeleCanHumanTeleport. 2015-03-22 18:42:01 +01:00
Richard Helgeby
5b59f20858 Extract function ZTeleHasReachedLimit. 2015-03-22 18:39:45 +01:00
Richard Helgeby
fcb4fdcab6 Extract function ZTeleCanHumanTeleport. 2015-03-22 18:21:17 +01:00
Richard Helgeby
7ce73b4493 Add InfectHasZombieSpawned. 2015-03-22 18:06:40 +01:00
Richard Helgeby
583984489b Extract function ZTeleMustBeHuman. 2015-03-22 17:55:16 +01:00
Richard Helgeby
918dd3100b Add ZTeleStopTimer to reduce duplicated code.
This change also requires that timers are stopped when clients disconnects.
2015-03-22 17:42:02 +01:00
Richard Helgeby
8e6d4f0f35 Fix compile error in class.api.inc.
Old code referenced non-existing function. We should have a getter function for selected classes, but I'm not doing this yet.
2015-03-21 15:52:56 +01:00
Richard Helgeby
542d3d345e Do not use deprecated GetClientAuthString native. 2015-03-21 15:45:29 +01:00
Richard Helgeby
5ec3694535 Update compiler and includes to version 1.7.0. 2015-03-21 15:43:24 +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
jargon-au
de8faa02ac Merge pull request #2 from jargon-au/master
Push new class API natives to master branch
2014-10-15 09:27:10 +11:00
jargon-au
7a842771c8 Add new class natives
Adding ZR_GetHumanClass and ZR_GetZombieClass natives to expose external plugins to more than just the clients active class.
2014-10-15 09:25:07 +11:00
jargon-au
0edae8772e Add new class natives
Adding ZR_GetHumanClass & ZR_GetZombieClass natives to expose external plugins to more than just the clients current active class.
2014-10-15 09:22:26 +11:00
jargon-au
96d5670b18 Merge pull request #1 from rhelgeby/master
Pulling latest commits
2014-10-15 09:20:11 +11:00
Richard Helgeby
8cf314bebf Fix typo in timer handle fix. 2014-09-14 14:05:40 +02:00
Richard Helgeby
8d6819c75c Fix invalid timer handle error when ambient sounds are disabled. 2014-09-14 14:03:53 +02:00
Richard Helgeby
42a2037f30 Add code guidelines document. 2014-07-30 19:00:46 +03:00
Richard Helgeby
3430e82b57 Normalize line endings. 2014-07-30 12:23:47 +03:00
Richard Helgeby
f084dab794 Update compilers and includes to version 1.6.0. 2014-07-30 12:03:42 +03:00
Richard Helgeby
105a23bf32 Add .gitattributes to set correct line ending style on various files. 2014-07-27 11:46:02 +03:00
Richard Helgeby
cd1d2d5723 Update build.sh script to use Git. 2014-07-27 11:09:33 +03:00
Richard Helgeby
0e6c2dc909 Add .gitignore. 2014-07-23 15:20:27 +02:00
Richard Helgeby
a773746181 Fix updateversion.sh. Now using Git. 2014-07-23 14:40:48 +02:00
Richard Helgeby
a5d9c66c42 Added missing changes for commit 25d99bc1280c (748). 2014-01-16 18:53:14 +01:00
Richard Helgeby
b92cd30fa1 Don't set weapon transparency if weapon entity has children (that may not have the m_nRenderMode attribute). 2014-01-16 18:52:40 +01:00
Richard Helgeby
4464e46d37 Fixed fog controller not recreated when existing controller is deleted. 2013-12-24 14:32:28 +01:00
Richard Helgeby
4c5363d73e Removed hard coded fog enabled-state. 2013-12-24 13:03:33 +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
d286d29652 Added note about duplicate hitgroup cvars. 2013-08-20 19:37:04 +02:00
Richard Helgeby
c61d29fd63 Fixed respawn module ignoring zr_respawn_team_zombie_world cvar. Improved description of zr_respawn_team_zombie_world. 2013-07-14 12:35:09 +02:00
Richard Helgeby
28e54c36a7 Added support for model with multiple skins (model_skin_index class attribute). Compiles, but not tested. 2013-04-25 09:50:08 +02:00
Richard Helgeby
7e72ede0ca Added support for resource files in Valve's file system. Thanks to Kyle. 2013-04-16 02:43:29 +02:00
Richard Helgeby
5269107303 Added extra notes about LMV speed values. 2013-04-14 02:37:12 +02:00
Richard Helgeby
884c2b001a Fixed attacker not getting credit for delayed infection. 2013-04-14 02:36:10 +02:00
Richard Helgeby
a3a9748131 Added support for using protocol buffers (currently disabled and untested). 2013-01-23 22:48:31 +01:00
Richard Helgeby
6de9b9de13 Implemented optional support for the ConfigList plugin. It will execute the "zr_post_exec" list right before post map configs if it exists. Example usage in randommode.cfg and swarm.cfg. 2013-01-17 09:36:54 +01:00
Richard Helgeby
b5291329c9 Added tag zr-3.1 for changeset d57da587271c 2013-01-12 11:37:18 +01:00
Richard Helgeby
9747038317 Backed out changeset: 64c76b1d96b7 2013-01-12 11:37:06 +01:00
Richard Helgeby
6f82da666c Bumped plugin version. 2013-01-12 10:16:14 +01:00
Richard Helgeby
6e6dcf7fb4 Typo fix in release notes. 2013-01-12 09:32:52 +01:00
Richard Helgeby
68d4e2ca63 Fixed incorrect build name. 2013-01-12 09:07:26 +01:00
Richard Helgeby
378b19df61 Added tag zr-3.1 for changeset b12e4a88de3d 2013-01-12 08:59:28 +01:00
Richard Helgeby
9ce7e00943 Cleaned patch list. 2013-01-12 08:50:12 +01:00
Richard Helgeby
a8f91d748e Updated copyright year. 2013-01-12 08:47:36 +01:00
Richard Helgeby
99cd5e6a3f Added 3.1 release notes. 2013-01-12 08:36:01 +01:00
Richard Helgeby
b07dcb0452 Reorganized documents. 2013-01-12 06:45:10 +01:00