Commit Graph

156 Commits

Author SHA1 Message Date
Bitl
db05fc9904 [TF] Allow TFBots to use the Wrap Assassin's alt-fire 2025-10-23 23:04:04 -07:00
Bakugo
5fe202c549 Fix Vaccinator icons persisting when changing displayed team 2025-10-23 22:16:29 -07:00
rabscootle
00a414105f Updated collection checklist behavior to account for cases where decorated weapons shared same paintkit index number
Resolved issue where collections would report some items as 'owned' when player did not actually have them. Issue mainly affected collections from Tough Break Update.
2025-10-23 22:07:49 -07:00
megascatterbomb
adb82c7831 Allow null caller on team_control_point's SetOwner input 2025-10-23 21:07:59 -07:00
Hunter Kvalevog
38fd28f96c CTFPlayerModelPanel: Replace lerp magic number with macro 2025-10-22 23:55:41 -07:00
Hunter Kvalevog
6ca522ca8b CTFPlayerModelPanel: Clamp negative choreo scene time
When reusing the shared CTFPlayerModelPanel in the class select screen,
SetupFlexWeights would incorrectly calculate a large negative
m_flSceneTime. This would result in class select animations freezing
when going back and forth in the class select menu.

-0.1s start times are allowed to give the system time to lerp to the
looping animation. This constant is already used in neighboring code.
2025-10-22 23:55:41 -07:00
EricS-Valve
139d53e7eb Sync'd with manual changes 2025-10-22 22:42:33 -07:00
Liam Stone
fc3bd77fa6 Updated armory controls to mimic December 2021 Workshop dialog QOL update
Allows for wrapping around, skipping by 10 (controlled by tf_armory_page_skip), and skipping to start/end
2025-10-22 22:38:24 -07:00
Herobrine0412
30d284f4ba Update Footprint Coloring 2025-10-22 21:42:54 -07:00
Bradasparky
936446ad77 Improve join_class's random algorithm to reduce the chance of failure 2025-10-22 21:32:08 -07:00
CosminPerRam
954d02e42c chore: add empty space for formatting 2025-10-20 22:19:22 -07:00
CosminPerRam
e8e0fdbcd4 feat: use KeyValuesAD instead 2025-10-20 22:19:22 -07:00
CosminPerRam
64ab46fbf0 fix: KeyValues memory leak in birds 2025-10-20 22:19:22 -07:00
Bradasparky
d0120a68d3 Fix CHealthAccountPanel not using NegativeColor for negative values 2025-10-20 21:58:31 -07:00
Marioiscool246
5fc78cee82 Fix Minigun barrel movement velocity being updated multiple times per tick 2025-10-20 21:45:16 -07:00
Dmitry Tsarevich
6fc04f827a client: Do not leak event text in CTFHudPasstimeBallStatus (thanks LeakSanitizer) 2025-10-20 21:40:49 -07:00
treacherousfiend
70e325908b Fix Vaccinator charge sounds playing 2+ times/tick
Due to prediction, the PrimaryAttack() function runs multiple times every tick.
Every time the function runs on a tick where the player gains another charge, it will stack a copy of the sound that plays, which quickly becomes extremely loud. Commonly this will play 2 or 3, but in testing I've seen upwards of 7 or 8 playing at the same time.
2025-10-20 21:28:54 -07:00
Bitl
f4536119bb [TF] Fixed a bug where Gas Passer gas can cover players with gas in spawn rooms. 2025-10-19 14:41:42 -07:00
Bitl
1a20bc8363 [TF] Add null pointer checks for recent casual doors fix. 2025-10-19 14:21:30 -07:00
Jori Kos
7334729130 Fixed on-hit attributes not triggering on friendly disguises 2025-10-19 12:58:30 -07:00
LizardOfOz
bed952208d [TF2] Map prefix check bug on Workshop maps 2025-10-19 12:48:49 -07:00
Jori Kos
cdc2c6c808 Fixed Widowmaker not giving metal on friendly disguises 2025-10-19 12:29:02 -07:00
FlaminSarge
68c8b82fdc Fix CVoiceStatus::UpdateServerState not sending the correct vban state from the client 2025-08-04 17:57:31 -07:00
ficool2
4111c27ed7 Fix point_camera transmit state in multiplayer 2025-08-04 17:52:37 -07:00
ficool2
57a8b644af Fix Wrangler shield not moving with sentrygun 2025-07-24 17:01:07 -07:00
Autumn Ashton
39f6dde8fb Sync latest code from Team Fortress 2
- Latest code as of 2025/05/14

- Include matsys_controls code to avoid vgui_controls changes being ABI.

Closes: #1249
2025-05-14 01:48:29 +01:00
Dmitry Tsarevich
ba5fe6853d client: Do not leak particles.txt | maps/xxx_particles.txt KeyValues during map load 2025-05-12 10:43:11 -07:00
Dmitry Tsarevich
ebe866322d shared: Do not leak activity remap (scripts/actremap.txt) KeyValues (found by random KV allocations review) 2025-05-12 10:43:11 -07:00
Dmitry Tsarevich
a70e797ea5 shared: Do not leak GameState (GameState.txt) KeyValues in achievement manager 2025-05-12 10:43:11 -07:00
Dmitry Tsarevich
f824c74768 client: Do not leak ECON whitelist (item_whitelist.txt) KeyValues 2025-05-12 10:43:11 -07:00
Dmitry Tsarevich
b2a7d26493 client: Do not leak vgui slideshow material KeyValues 2025-05-12 10:43:11 -07:00
Dmitry Tsarevich
32c857f7a0 client: Do not leak GameMenu (Resource/GameMenu.res) and motd_entries (cfg/motd_entries.txt) KeyValues 2025-05-12 10:43:11 -07:00
Dmitry Tsarevich
f28577b94b client: Do not leak medieval game mode autoreplace dictionary (scripts/autorp.txt) KeyValues 2025-05-12 10:43:11 -07:00
FlaminSarge
ad6c996c2e Restore functionality to tf_parachute_maxspeed_onfire_z but set its value to match tf_parachute_maxspeed_z
This allows servers to restore the original functionality with a value of '10.0f' (or whatever other value they desire)
2025-05-12 10:25:04 -07:00
FlaminSarge
92ee92f9dd Update tf_gamemovement.cpp 2025-05-12 10:19:44 -07:00
FlaminSarge
8f2a056d6b Update tf_player_shared.cpp 2025-05-12 10:19:44 -07:00
FlaminSarge
464724334c Don't allow activating parachute on ground (as the conditions will get removed on Think) 2025-05-12 10:19:44 -07:00
FlaminSarge
a32d24df73 Fix player not being able to deploy parachute after landing and becoming airborne without jump button 2025-05-12 10:19:44 -07:00
Mentrillum
43d8767c30 Update tf_item_powerup_bottle.cpp 2025-05-12 10:01:39 -07:00
Mentrillum
6257ffe46f Init 2025-05-12 10:01:39 -07:00
Mentrillum
ca896d8ffa Update tf_gamemovement.cpp 2025-05-12 09:33:38 -07:00
rabscootle
61ca3f7254 Added hotfix for recently added fix; Added check for if the versus doors model hasn't been initialized yet 2025-05-09 22:34:32 -07:00
EricS-Valve
18ea5ed7cc Update tf_hud_scope.cpp 2025-05-06 12:29:38 -07:00
mastercoms
1eba26f518 fix: block HUD scope animation exploit 2025-05-06 12:25:52 -07:00
mastercoms
52e568b374 gameplay: automatically collect MvM money in respawn room
MvM money is automatically collected in various
cases where its position is unfair for players to
collect themselves.

there is a case where robots can drop money in their
own spawn, which can prove hard or impossible to acquire

so add an additional check for money which is
in a spawn room, just like trigger_hurt
2025-05-06 09:36:57 -07:00
SanyaSho
0565403b15 game: client: fix pointer size mismatch
ulong/long is 4 bytes on Windows and 8 bytes on Linux/macOS
2025-04-02 12:08:38 -07:00
Thomas Kain
d539dff450 Fix uninitialized field use in CParticleEffectBinding 2025-04-02 11:56:06 -07:00
Thomas Kain
ed11b204b2 Fix organs spawning due to non-Vita-Saw damage
With this commit, organs only spawn when the weapon dealing damage is the Vita-Saw - not just when the Medic deals damage and is holding the Vita-Saw.
2025-04-02 11:26:01 -07:00
AwfulRanger
65aa7c910e Fix engineer bots softlocking on ctf 2025-03-31 16:24:05 -07:00
Dmitry Tsarevich
3ae4d44b00 shared: Missed break in logging character field save data causing incorrect logging
Closes #869
2025-03-31 16:17:36 -07:00