mirror of
https://github.com/srcdslab/sm-ext-cssfixes.git
synced 2025-12-06 18:18:24 +00:00
Patch CS:S bugs
|
Some checks failed
Build AlliedModders Extension / build-release-extension (push) Has been cancelled
Co-authored-by: xen <24222257+xen-000@users.noreply.github.com> Co-authored-by: The Imposter <41658916+headshotz@users.noreply.github.com> Co-authored-by: Rushaway <rushaway@hotmail.fr> |
||
|---|---|---|
| .github | ||
| package/addons/sourcemod | ||
| sm-ext-common@2adde8cc6f | ||
| src | ||
| .gitignore | ||
| .gitmodules | ||
| product.version | ||
| README.md | ||
Counter-Strike: Source bug fixes
Fixes crash in filter_activator_*->TestActivator() when activator isn't valid anymore.
Fixes game_ui lag and player_speedmod turning off your flashlight.
Patchnotes
Thanks to the leaked Source Engine 2007 sourcecode.
File: se2007/game/server/game_ui.cpp
Line 292:
void CGameUI::Think( void )
[...]
pPlayer->AddFlag( FL_ONTRAIN );
[...]
Replaced pPlayer->AddFlag( FL_ONTRAIN ); with NOP to fix prediction issues while having game_ui active.
File: se2007/game/server/player.cpp
Line: 7587
void CMovementSpeedMod::InputSpeedMod(inputdata_t &data)
[...]
// Turn off the flashlight
if ( pPlayer->FlashlightIsOn() )
{
pPlayer->FlashlightTurnOff();
}
[...]
NOP'd out the block.
Configuration
In cstrike/cfg/server.cfg add this
//============================================================================
// Late load support - since multiples things need to be init before load it
// The upcoming extensions can not use autoload file
sm exts load CSSFixes