Patch CS:S bugs
Go to file
Rushaway 69c8dbba2c
Some checks failed
Build AlliedModders Extension / build-release-extension (push) Has been cancelled
feat(cvars): conditionally enable logs (#12)
2025-03-28 10:53:07 +01:00
.github feat: updated build system (#8) 2025-03-09 18:17:49 +01:00
package/addons/sourcemod fix: signatures for CS:S 18.2.25 update, broken bsp pakfile (#9) 2025-03-09 18:36:41 +01:00
sm-ext-common@2adde8cc6f feat: updated build system (#8) 2025-03-09 18:17:49 +01:00
src feat(cvars): conditionally enable logs (#12) 2025-03-28 10:53:07 +01:00
.gitignore feat: updated build system (#8) 2025-03-09 18:17:49 +01:00
.gitmodules feat: updated build system (#8) 2025-03-09 18:17:49 +01:00
product.version feat(cvars): conditionally enable logs (#12) 2025-03-28 10:53:07 +01:00
README.md fix: signatures for CS:S 18.2.25 update, broken bsp pakfile (#9) 2025-03-09 18:36:41 +01:00

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