Commit Graph

678 Commits

Author SHA1 Message Date
zaCade
431b444e1f ZMarket: Only grab 'zmarket' name on CSGO.
CSS doesnt fuck up capitalization, unlike CSGO...
2019-03-09 13:54:06 +01:00
zaCade
10461e8ba4 ZMarket: Rework display name system, it applies to all menus now. 2019-03-09 13:44:42 +01:00
zaCade
96c640b58d General: Fix random csgo extra slots not being stripped propperly.
Yeah this couldve been written cleaner, this way its atleast slightly future proof. Since slot 13 is currently the last slot.
2019-03-09 12:40:29 +01:00
zaCade
e3e06792c5 General: Add include update. 2019-01-23 18:53:59 +01:00
zaCade
a251f6b755 General: Add in a API call to hide infection timer. 2019-01-23 18:48:00 +01:00
zaCade
0c6b863c00 General: Doh, 'player_spawn' fires for spectators.
Who knew? I totally didn't.
2018-09-08 16:03:32 +02: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
c8f7964a0c General: Hande another case, and change some stuff.
Forgot to change these when i copied it, and didnt think about the case
what would happen w/e zspawn is blocked.
2018-08-29 16:21:27 +02:00
zaCade
c32cda3fc9 General: Apply ZSpawn logic on late spawners.
Improvement on `a45be16399`
2018-08-28 14:54:42 +02:00
zaCade
9f157e14e9 General: Clean up some stupid stuff. 2018-08-28 13:25:24 +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
ced7d3c352 General: Dont apply model if not precached. 2018-08-13 16:07:04 +02:00
zaCade
dc8ea3be56 General: Fix regen issue introduced in 870ef51197
Woops, didnt think about players that have more then the limit, when the
regen would kick in.
2018-07-31 23:53:57 +02:00
zaCade
9676fb9852 General: Convert TABs to spaces.
Some files appeared to not follow their own rules, check codestyle.txt
2018-07-30 21:53:45 +02:00
zaCade
651dd9921a CSGO: Add 'zmarketname' to fix keyvalues case bug.
https://forums.alliedmods.net/showpost.php?p=2220583&postcount=5, for
explanation.
2018-07-30 14:50:58 +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
870ef51197 General: Clamp health regen to max instead.
Cause before it wouldnt apply if the health + regen > max health regen.
Now it clamps instead :>
2018-07-29 15:05:33 +02:00
neon
9b2dc6f721 'src/zr/roundend.inc' ändern 2018-07-23 02:10:30 +02:00
zaCade
997f2d2071 General: Fix neon's indents. (╯°□°)╯︵( .o.) 2018-07-22 16:25:36 +02:00
neon
2753ac3da7 ZR is dumb 2018-07-22 16:16:55 +02:00
neon
908766a551 added cvar to determine winning team when time runs out 2018-07-22 16:14:39 +02:00
neon
a095fc67e7 me derp 2018-07-22 16:13:28 +02:00
neon
3a0106ed93 added cvar to determine winning team when time runs out 2018-07-22 16:12:34 +02:00
zaCade
b883273e77 ZombieReloaded: Double MaxHealth for MotherZM.
They spawn with more HP, but don't regen it? Defaq?
2018-06-28 15:39:17 +02:00
zaCade
6aeb1950a2 Oops 2018-02-22 15:33:35 +01:00
zaCade
b594a074fc Merge branch 'master' of https://gogs.botox.bz/CSSZombieEscape/sm-zombiereloaded-3 2018-02-22 15:32:24 +01:00
zaCade
fd8893ae6c GENERAL: Allow napalm scaling, depending on damage. 2018-02-22 15:32:17 +01:00
Obuss
4f7e711af5 Allow multiple weapon commands (comma delimited) 2018-02-10 13:40:22 -06:00
BotoX
134ca810d0 zmarketpurchasemax = 0 -> no rebuys instead of infinite 2018-01-15 00:37:00 +01:00
zaCade
6c35c59b81 GENERAL: Fix consecutive motherzm infections. 2017-10-12 02:18:52 +02:00
zaCade
f58e0091dd CSGO: Default CSGO weapon for CT's 2017-10-06 13:49:40 +02:00
zaCade
1b81c27314 GENERAL: Infection update. 2017-10-06 13:49:11 +02:00
zaCade
bd10d160c4 CSGO: Fix that molotov/incendiary damages humans 2017-09-10 18:05:34 +02:00
zaCade
b4e0e11d0c CSGO: Fix (knife) skins not beign able to infect.
They use diffrent weapon entities for some reason. (Bless volvo)
2017-09-07 20:11:27 +02:00
zaCade
226619f24b Fix SteamIDCache not beign created with empty cvar. 2017-08-26 23:55:11 +02:00
zaCade
c06ddc3fcd CSGO, give more weapons on spawn. 2017-08-23 17:23:43 +02:00
zaCade
853c8b68f5 Fix CSGO sounds, wrong filetype 2017-08-23 17:17:55 +02:00
zaCade
13fff1f8bc CSGO fixes & no longer spawn with restricted stuff 2017-08-07 23:50:39 +02:00
BotoX
0f6b46a962 Add new forward ZR_OnClientMotherZombieEligible for excluding clients from mother zombie eligible list. 2017-08-07 16:31:20 +02:00
zaCade
1e90596ddc Forgot adding cvar to cfg. ;-; 2017-08-03 21:21:56 +02:00
zaCade
7d2a16e2f6 CSGO Support & No refill cvar. 2017-08-03 21:15:54 +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
dd1ba186eb fix infection issue for 65th client on server. 2016-09-25 22:00:29 +02:00
BotoX
ab210d531e fix engine crash bug in 0c0ce1adfc 2016-08-24 23:06:51 +02:00
BotoX
21c2ac40a8 random ztele: improve bfcaca166f 2016-08-23 16:12:32 +02:00
BotoX
bfcaca166f fix entity detection for random ztele 2016-08-23 15:44:08 +02:00
BotoX
0c0ce1adfc added game_playerdie and game_playerkill output to ZR as described here: https://developer.valvesoftware.com/wiki/Trigger_brush 2016-08-18 06:52:00 +02:00
BotoX
f987a534f2 fix random ztele feature: exception and no zombie when there are no spawnpoints found
which was caused by maps using renamed logic entities for spawnpoints (also fixed detecting those)

removed deprecated cvar flag
2016-08-18 06:50:29 +02:00
BotoX
37a7224d6c ignore z-axis for anti-longknife, lagcompensation is really needed here. 2016-08-18 06:47:48 +02:00
BotoX
b286de5ce0 fixed napalm not disappearing and stop napalm from overlaying
removed weaponalpha completly
replaced CBaseEntity::SetAbsVelocity with CBaseEntity::m_vecAbsVelocity
2016-08-08 10:20:23 +02:00
BotoX
73a72d37da Enable protobuf checks for CS:GO 2016-06-12 14:16:24 +02:00
BotoX
f177f78fe7 cleaned up last commit
removed unnecessary dos2unix from make all
2016-06-12 14:07:44 +02:00
BotoX
266896491c Merge pull request #5 from olegtsvetkov/fileexists-case-sensitive
Don't use Valve file system when calling a FileExists.
2016-06-12 13:54:45 +02:00
BotoX
fc9ed45650 Merge pull request #4 from olegtsvetkov/handles
Fixed memory leak, caused by not closed handle
2016-06-12 13:54:32 +02:00
BotoX
d6b6e9cdb0 Merge pull request #3 from olegtsvetkov/random-ztele
Random !ztele
2016-06-12 13:54:23 +02:00
Oleg Tsvetkov
efeec511c4 Removed accidentally added Timer call inside a ZTele_TeleportClient function. 2016-06-12 02:06:24 +03:00
Oleg Tsvetkov
16de1d1a9f Set several timers variable value to the INVALID_HANDLE after KillTimer call. 2016-06-12 01:31:08 +03:00
Oleg Tsvetkov
25eaa7ade3 Fixed memory leak. 2016-06-12 01:30:11 +03:00
Oleg Tsvetkov
678ad2ef0c Added support for a random !ztele. 2016-06-12 01:23:07 +03:00
Oleg Tsvetkov
4f460baa9b Don't use Valve file system when calling a FileExists. 2016-06-12 00:31:15 +03:00
Oleg Tsvetkov
6a5ad3ef4b Removed mention of ZRTools in the comments. 2016-06-11 21:42:16 +03:00
Richard Helgeby
daa461fee6 Use damage defines from SDK Hooks directly.
Removes redundant defines. DMG_CSS_HEADSHOT was never used.
2016-06-11 21:41:36 +03:00
Richard Helgeby
6550dd9e02 Remove unused legacy ZRTools code. 2016-06-11 21:22:53 +03:00
BotoX
71d5c297d3 added anti longknife feature 2016-05-08 22:27:57 +02:00
BotoX
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
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
6f9558373d Fix issue in @98dfd22c9b21571d76dbf655184fdbceb3f7c312 2016-01-06 03:37:28 +01:00
BotoX
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
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
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