Commit Graph

755 Commits

Author SHA1 Message Date
s1lentq
f63ad678c2 Hostage minor fixes
Minor cleanup
2024-12-15 05:21:34 +07:00
s1lentq
1579273f62 Add target_cdaudio in fgd (Closes #1030) 2024-12-12 02:08:00 +07:00
s1lentq
17ae24e012 fix build 2024-12-12 01:31:05 +07:00
Vaqtincha
1a17ef4e45
Reset bot morale on new match(game) (#1025) 2024-12-11 23:33:26 +07:00
s1lentq
6f0d17bb74 fixed issues reported by static analyzer 2024-12-11 23:30:27 +07:00
s1lentq
8a77bba94d always consider all human players on the server to use bot_auto_vacate correctly 2024-12-11 03:50:44 +07:00
s1lentq
3efc5ad166 AUG/SG552: Reset maxspeed when zooming 2024-12-11 02:33:12 +07:00
s1lentq
942f2e6637 Removed -bots and -host-improve command line params in favor of using CVars 2024-12-11 02:33:10 +07:00
s1lentq
df7944ab88 Disable broken angle adjustment with throw direction in Killed to avoid player model visual artifacts 2024-12-10 20:46:00 +07:00
s1lentq
476b5f7afd fix typo 2024-12-09 22:10:03 +07:00
Sergey Shorokhov
7738142c69
CI Workflow Refactor and Fixes (#1016)
chore(ci): standardize and update CI workflows for compatibility and consistency

- Updated action versions (`checkout@v4`, `upload-artifact@v4`, `download-artifact@v4`) for enhanced compatibility and security
- Removed unsecure Node.js version allowance to align with *-latest OS requirements
- Migrated test demos to `rehldsorg/testdemos:latest` container with a streamlined testing approach via matrix strategy and `runTest.sh`
- Standardized Linux dependency installation for consistent build environment across jobs
- Unified CI workflow structure with `rehlds` and `regamedll` repositories for better consistency
- Optimized artifact deployment steps and removed unnecessary cleanup operations

Co-authored-by: s1lentq <s1lentsk@yandex.ru>
2024-10-29 09:22:24 +03:00
Nord1cWarr1or
535ea846a9
client.cpp: Use macros for pfnPrecacheEvent (#1019) 2024-10-23 23:08:29 +07:00
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