Raised This Month: $32 Target: $400
 8% 

L4D/L4D2 Tickrate Enabler


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-22-2017 , 14:36   L4D/L4D2 Tickrate Enabler
Reply With Quote #1

Tickrate Enabler 1.4 by ProdigySim

Description

Enables the "-tickrate" switch to be used from the command line to set the game's tickrate.

Patches Boomer Vomit behavior to fix an issue where vomit range scaled inversely with tickrate. Supports both Windows and Linux installs.

Removes global upper-limits on the max client data rate (was 30000), and removes the (30k) limits on rate control cvars:


Code:
 - sv_maxrate
 - sv_minrate
 - net_splitpacket_maxrate
Instructions

HTML Code:
 - Place tickrate_enabler folder in your server's addons folder.

 - Place tickrate_enabler.vdf (L4D2) or tickrate_enabler_l4d1.vdf (L4D1) in your server's addons folder.

 - Add "-tickrate <desired_tickrate>" to your server's launch parameters. e.g. -tickrate 100

 - Make sure the following convar settings are properly set in server.cfg or otherwise:
    * sv_maxupdaterate 100 
    * sv_maxcmdrate 100 
    * fps_max 150 
       // higher than 100 recommended, as ticks calculated seems to dip otherwise. sv_maxrate 0 
       // 0 = unlimited, but you can also set this manually. Default is 30k for 30tick, use math. 
       // Setting higher sv_minrate can be used to force users to use higher data rates.

 - Note that fps_max and sv_maxrate are hidden variables on most scenarios.

 - Done. Enjoy 100 tick L4D2 gameplay.

Changelog / TODO

HTML Code:
1.4: No revision, just a recompile.

    Big thanks to Lux for updated offset. 
    Compatible with the June 15, 2021 update.

1.4: Contributed by $atanic $pirit

    Fixed L4D2 CVomit::UpdateAbility Windows offsets.
    Fixed l4d Linux offsets.(Thanks to epzminion.) 

1.3:

    Fixed L4D1 CVomit::UpdateAbility linux offsets.

1.2: thanks to vintik

    Fixed maxrate patching on Windows (L4D1+2)
    Added an extra maxrate patch on Linux that probably does nothing.

1.1:

    Patches 2 hard coded max rate limits
    Removes CVar Max on sv_max/minrate, net_splitpacket_maxrate
    Some code reorganization

1.0:

    Patches boomer vomit to behave properly on modified high tickrates
    Code cleaner perhaps

0.1:

    -tickrate only pseudo-release
TODO:

- Investigate other bugs
- Remove 30K rate limit from HLTV clients.

Credits / License

tickrate_enabler is copyright Michael "ProdigySim" Busby 2012

Parts of this project contain GPLv3 code adapted from SourceMod (Allied Modders L.L.C.) and Left4Downtown2 (Igor Smirnov et. al.).

This entire project is released under the AlliedModders modified GPLv3.



Note: The Hardcode 60 zip contains the hardcoded 60 tickrate. This can be used on servers where direct command line access is not possible. By default this will run the servers at 60.

Note: This is not my plugin, I've just fixed the Windows offset for it. I'm going by V1SoR's previous reply on the topic. If anyone has any problems with it, then feel free to take it down.

Quote:
Originally Posted by V1SoR View Post
I don't know why this needs a separate thread, but if the moderators don't mind, go ahead. You have my permission, just mention somwhere that you're not an author or a contributor, and specify the nicknames of those who are.
Updated Source: https://github.com/Satanic-Spirit/Tickrate-Enabler
Original Source: https://bitbucket.org/ProdigySim/l4d2_tickrate_enabler
Attached Files
File Type: zip tickrate_enabler_hardcode_60.zip (67.9 KB, 3457 views)
File Type: zip Tickrate_Enabler.zip (338.0 KB, 4635 views)
__________________

Last edited by Spirit_12; 06-15-2021 at 20:37.
Spirit_12 is offline
 



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 05:59.


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