This plugin allows host_timescale changes to work on Windows servers without having to turn on sv_cheats. This has always worked fine on Linux servers, but there is some extra engine code that only exists on Windows for some reason that prevents the value from being applied if cheats are disabled.
Keep in mind that you will still need to set a fake sv_cheats 1 value on the client using SendConVarValue for timescale to work without desync issues. This will not
allow the client to use server-side cheat commands like noclip, but they will be able to use clientside cheats such as mat_wireframe. These clientside cheats will automatically disable themselves if you set the fake sv_cheats value back to 0.
An example of an existing plugin that benefits from this fix is Freak Fortress 2. Ninja Spy's slowmo rage normally does not work properly on Windows servers, but with this, it will.
This has only been tested in TF2, but in theory it should work for other games with the same/similar engine.
- Put timescale_win_fix.smx in the plugins folder
- Put timescale_win_fix.txt in the gamedata folder