Commit Graph

847 Commits

Author SHA1 Message Date
cea1b84965 fixed trigger OnStartTouch/OnEndTouch bug caused by TeleportEntity
fixed reloading zombiereloaded plugin
reset player velocity on respawn (high speed in spec -> zspawn)
2016-05-08 03:10:25 +02:00
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
a732205f8c properly fixed db0de91a18
added message when zombie cycle ended
2016-03-01 23:36:47 +01:00
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
db0de91a18 fixed zspawn exploit (spawn as human after infection by suiciding and zspawning) 2016-02-17 00:48:42 +01:00
3afde85238 reworked zmarket
fixed kevlar bug
2016-02-12 04:16:59 +01:00
d88e748f0e remove trailing whitespaces from sourcecode 2016-02-06 00:47:47 +01:00
6f9558373d Fix issue in @98dfd22c9b21571d76dbf655184fdbceb3f7c312 2016-01-06 03:37:28 +01:00
b579a38d89 disabled potentially broken weaponalpha functionality (black sprites) 2016-01-05 02:50:34 +01:00
BotoX
8fcbe6ab85 Merge branch 'master' of https://github.com/rhelgeby/sm-zombiereloaded-3 2015-11-15 00:45:19 +01:00
Richard Helgeby
e3ce8ad558 Fix ZTele_GetClientDelay not returning the value.
Thanks to BotoX.
2015-10-31 21:42:27 +01:00
BotoX
b2f4176f51 fixed infinite ammo exploit in zmarket (item_kevlar -> SetEntProp m_ArmorValue) 2015-10-31 00:45:13 +01:00
BotoX
b04f25400f added zr_zspawn_force and zr_infect/zr_human logging 2015-10-31 00:41:51 +01:00
BotoX
98dfd22c9b added support for flags to playerclasses 2015-10-31 00:22:46 +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
400856e554 Add notes about cvars in code style guidelines. General updates. 2015-03-29 17:23:06 +02:00
Richard Helgeby
18a348178f Add cvars component for ZTele.
This reduces coupling between cvars and ZTele logic.
2015-03-29 17:11:03 +02:00
Richard Helgeby
345fb1f7f7 Replace INVALID_HANDLE with null in ztele module. 2015-03-29 16:01:29 +02:00
Richard Helgeby
f4a2f151af Extract function ZTelePlayerWalkedTooFar. 2015-03-29 15:57:14 +02:00
Richard Helgeby
c149549540 Move ztele into its own module folder. 2015-03-29 15:15:21 +02:00
Richard Helgeby
694df0e908 Use new declaration syntax in ztele.inc. 2015-03-28 17:45:38 +01:00
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