Commit Graph

731 Commits

Author SHA1 Message Date
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
s1lentq
1ae0091947 Added CVar mp_location_area_info for display location area info in HUDs radio chat and below radar 2024-04-07 16:41:56 +07:00
s1lentq
f711276d8a ignore kill assist when victim killed himself while changing team 2024-04-04 19:31:27 +07:00
s1lentq
a546997723 CWeaponBox::Touch: Fixed a hang when touching a weaponbox if multiple items are packed in a slot 2024-03-31 22:46:06 +07:00
s1lentq
92775824e6 IsWalkableTraceLineClear: Fixed deadlock (mutual collisions in traces leading to hang) 2024-02-29 06:52:48 +07:00
s1lentq
5d2174fbbf CWeaponBox::Touch: Reworked dropped grenade pickup 2024-02-05 02:21:49 +07:00
s1lentq
4d90a5f4fa CWeaponBox::Touch: Fix grenade pickup (Resolves #923, Closes #931) 2024-02-01 18:20:11 +07:00
s1lentq
f4c4e891ac CBasePlayerWeapon::ExtractAmmo: Fixed reverse-engineering mistake 2024-02-01 16:38:16 +07:00
s1lentq
2489213127 Resetable g_weaponSlotInfo 2024-02-01 12:21:23 +07:00
Francisco Muñoz
fb9eb0db55
Fix excessive punchangle when getting shield shot (#919) 2024-01-31 19:38:35 +07:00
Rafflesian
0bc4ff1d40
Support for secondary ammo and extra EF_ flags (#934)
Support for secondary ammo and extra EF_ flags
2024-01-31 19:35:26 +07:00
s1lentq
5287f2a415 Do not reduce points for bot suicide due bot_kill command 2024-01-31 19:16:37 +07:00
s1lentq
0bbc4bd55d Do not reduce points for suicide due to a fatal fall 2024-01-31 19:14:04 +07:00