Raised This Month: $79 Target: $400
 19% 

[ANY?] Timescale Windows Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bakugo
Junior Member
Join Date: Nov 2012
Plugin ID:
7097
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    8 
    Plugin Description:
    Fixes host_timescale without sv_cheats on Windows servers
    Old 05-10-2020 , 19:09   [ANY?] Timescale Windows Fix
    Reply With Quote #1

    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.


    Installation
    • Put timescale_win_fix.smx in the plugins folder
    • Put timescale_win_fix.txt in the gamedata folder
    Attached Files
    File Type: sp Get Plugin or Get Source (timescale_win_fix.sp - 78 views - 1.2 KB)
    File Type: smx timescale_win_fix.smx (3.0 KB, 36 views)
    File Type: txt timescale_win_fix.txt (274 Bytes, 65 views)

    Last edited by bakugo; 05-10-2020 at 19:28.
    bakugo is offline
    XGAK
    Junior Member
    Join Date: May 2018
    Old 05-14-2020 , 04:19   Re: [ANY?] Timescale Windows Fix
    Reply With Quote #2

    Nice work. Thanks for the fix!

    Last edited by XGAK; 05-14-2020 at 04:23.
    XGAK is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 00:48.


    Powered by vBulletin®
    Copyright ©2000 - 2020, vBulletin Solutions, Inc.
    Theme made by Freecode