Commit Graph

743 Commits

Author SHA1 Message Date
Vaqtincha
9b626b1d82
add desc to readme (#1014) 2024-09-18 07:49:24 +07:00
Vaqtincha
9b7b1695a9
escape feature for bots (#1012) 2024-09-17 16:35:21 +07:00
s1lentq
3f628ea970 DeathSound: Don't interrupt pain sounds with death sound, use any available channel instead 2024-09-17 02:49:27 +07:00
s1lentq
19714af6e6 get rid of unsafe string functions
minor refactor
2024-09-13 06:43:27 +07:00
Vaqtincha
3cf66de905
fix mp_kill_filled_spawn (#1011) 2024-09-13 04:22:08 +07:00
s1lentq
dc16b12d79 [skip ci] VisualStudio: Add auto visualizer for some structures/classes 2024-08-25 05:45:09 +07:00
s1lentq
12f4e9bc79 remove unnecessary version consistency for some player movement code 2024-08-17 04:55:17 +07:00
s1lentq
a8fd512dad Fix linux build 2024-08-16 10:05:39 +07:00
s1lentq
8b6d659077 Implemented simple player movement version control to avoid desync
Bump minor API version
2024-08-16 09:53:11 +07:00
Vaqtincha
4e1cb1091f fix Deagle animation (#985) 2024-08-14 12:35:00 +03:00
Francisco Muñoz
b6c2c62e8b
Added mp_vote_flags and mp_votemap_min_time cvars (#990)
* Added mp_vote_flags cvar
* Added mp_votemap_min_time cvar
* Cvars on README
* game.cfg cvars
* Ensure timers check before new restrictions
2024-08-12 13:45:54 +07:00
Francisco Muñoz
c7bd4af9b6
Cache ObjectCaps call inside PlayerUse (#991)
Not really useful, discovered while testing on 3rd party plugins that ObjectCaps was being called unnecessarily more than once per entity
2024-08-12 13:45:21 +07:00
Francisco Muñoz
fee10d8ba8
Fix Shotguns reload flag not getting reset on weapon changing (#993) 2024-08-12 13:40:09 +07:00
Francisco Muñoz
c48be87474
Extend KickBack functionalities (#980) 2024-08-06 08:11:59 +07:00
s1lentq
77a3f2b25b try fix a crash due to the deletion of an item in an unusual way
related #870, #752, #924, #957
2024-08-06 07:19:58 +07:00
s1lentq
279799bff9 Add support IN_RUN key for +speed button in spectator/noclip and walk moves
Add cheat impulse for enable Noclip with air accelerate
2024-08-06 05:03:10 +07:00
s1lentq
17386acac4 Update build.yml 2024-08-06 04:26:00 +07:00
s1lentq
11638cbb21 Fixed a bug in spectator move with no apply friction when stopped 2024-08-06 03:54:56 +07:00
s1lentq
a47d55823f Fix compiler warnings 2024-08-06 03:26:10 +07:00
s1lentq
ff843fe478 Update workflows/build.yml
Fix temporarily testdemos
2024-08-06 03:19:31 +07:00
Sergey Shorokhov
9d9c2de1ff
Feature: ConVars for weapon/item/ammo respawn time (#983)
* `CBasePlayerAmmo`: check spawnflags on `Spawn()`

* `CBasePlayerItem`: check spawnflags on `Materialize()`

* `CBasePlayerItem`: Add `Respawn()` item when hasn't specific spawnflags

* `CBasePlayerItem`: remove `SF_NORESPAWN` flag on `Respawn()`

* Use forgotten `AMMO_RESPAWN_TIME`

* new ConVars: `mp_item_respawn_time`, `mp_weapon_respawn_time`, `mp_ammo_respawn_time`
2024-08-03 20:17:52 +03:00
Sergey Shorokhov
a202425dd7
Fix: ammo/weapons respawn behavior (#982)
* `CBasePlayerAmmo`: check spawnflags on `Spawn()`

* `CBasePlayerItem`: check spawnflags on `Materialize()`

* `CBasePlayerItem`: Add `Respawn()` item when hasn't specific spawnflags

* `CBasePlayerItem`: remove `SF_NORESPAWN` flag on `Respawn()`

* Use forgotten `AMMO_RESPAWN_TIME`
2024-08-03 20:11:08 +03:00
s1lentq
576e967cbd Workflows: Downgrade linux distro 2024-07-27 20:35:54 +07:00
s1lentq
1991434301 [skip ci] Fixed typo version 2024-07-15 20:28:49 +07:00
s1lentq
79cfd7103a Linking against legacy libc <= 2.15 2024-07-15 02:18:23 +07:00
s1lentq
30572ef0b6 Change compiler to Clang, instead of ICC 2019 2024-07-14 23:27:44 +07:00
Vaqtincha
8005dd9ca3
Fix bot_kill command (killed already dead bots) (#974) 2024-07-09 00:53:21 +07:00
s1lentq
a94c7bd728 Fix crouch bot 2024-06-09 15:46:50 +07:00
s1lentq
ad1c58cef5 Add bot_mimic 2024-06-03 01:57:21 +07:00
s1lentq
fef9bf3a87 mp_defuser_allocation: Send a message with a hint instead of the text in the center 2024-06-03 00:29:00 +07:00
s1lentq
bdc96d26d9 Minor rework bot_quota_mode fill 2024-06-03 00:28:57 +07:00
s1lentq
c7be8bfe7c MULTIDAMAGE: make check entity safe
ApplyMultiDamage: Fixed potential crash when in TakeDamage hook causes another additional damage
2024-05-31 23:21:37 +07:00
s1lentq
7372573c89 Add UTIL_IsValidPlayer
Ignore dormant players
Minor refactoring
2024-05-29 00:23:28 +07:00
Sergey Shorokhov
c08e6d0180
CNavArea::ComputeApproachAreas(): fix hang on *.nav generating (#913) 2024-05-12 17:17:02 +03:00
s1lentq
9f66264562 KillOfRarity: Add feature in-air kill 2024-05-09 02:38:12 +07:00
s1lentq
8706cc5a10 KillRarity Domination: Don't consider suicides to be unanswered killing 2024-05-09 00:30:57 +07:00
s1lentq
cabdc254c7 ActiveGrenade: Fixed a potential leak by checking entities smokegrens life if RemoveGrenade call is somehow missing or blocked 2024-05-09 00:20:22 +07:00
s1lentq
8ff1bf1232 Fix typo 2024-05-08 23:01:02 +07:00
Federico Matías
8ec5b6cd0f
Fix SendDeathMessage kill rarity flags and transform to VFUNC (#943)
* implement VFUNC to `SendDeathMessage`
* fix use KILLRARITY_HEADSHOT flag instead of member
* fix rare crash when pAssister is nullptr
* fix KILLRARITY_DOMINATION_BEGAN flag
This flag was never valid in "SendDeathMessage" hook
* set iDeathMessageFlags before call function
2024-05-08 22:59:40 +07:00
Francisco Muñoz
4ecf42799d
Fix ApplyMultiDamage duplicated call on MultiDamage routine (#946) 2024-05-08 22:18:36 +07:00
肯定龙
d7f22ae3ec
Restart trigger_multiple (#935) 2024-05-08 22:18:24 +07:00
Lê Hàn Minh Khang
75f142e18a
Add trigger_teleport landmark (#952)
* Add trigger_teleport landmark
2024-05-08 21:52:41 +07:00
肯定龙
8cd9086937
Implement game_round_end and game_round_freeze_end triggers (#949)
* Implement `game_round_end` and `game_round_freeze_end` triggers
2024-05-08 20:59:27 +07:00
s1lentq
2a0e54bbf7 Bump minor version up to 27 2024-05-08 14:55:21 +07:00
Javekson
0626800fbb
Implement RemoveAllItems hook (#960) 2024-05-08 14:50:53 +07:00
Vaqtincha
d5eb9c34d2
don't send radio message to teammate (if freeforall 1) (#958)
* don't send radio message to teammate (if freeforall 1)
* don't send message zero length
2024-04-15 15:49:44 +07:00
s1lentq
f24cccfe73 Fix linux build 2024-04-08 16:47:02 +07:00
s1lentq
5117374a27 Separate mp_location_area_info from chat and radar
Add fallback location message for chat
2024-04-08 16:42:08 +07:00
s1lentq
279bd6421b Fix crash 2024-04-08 12:41:22 +07:00
s1lentq
8c14d05168 Add fallback place names if BotChatter.db is missing 2024-04-07 18:49:08 +07:00