Author Topic: L4D1+2 Tickrate Enabler 1.3  (Read 176274 times)

Offline ProdigySim

  • Administrator
  • 20k HP Tank
  • *
  • Posts: 1233
  • Karma: 63
    • View Profile
L4D1+2 Tickrate Enabler 1.3
« on: June 25, 2012, 03:02:28 am »
tickrate_enabler 1.3 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.
  • Removes global upper-limits on the max client data rate (was 30000), and removes the (30k) limits on rate control cvars:
    • sv_maxrate
    • sv_minrate
    • net_splitpacket_maxrate

Instructions

1. Place tickrate_enabler.dll (Windows) or tickrate_enabler.so (Linux) in your server's addons folder.
2. Place tickrate_enabler.vdf (L4D2) or tickrate_enabler_l4d1.vdf (L4D1) in your server's addons folder.
3. Add "-tickrate <desired_tickrate>" to your server's launch parameters. e.g. -tickrate 100
4. 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.

5. Done. Enjoy 100 tick L4D2 gameplay.

Changelog / TODO

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.

Download:
Binaries (L4D1+2): https://bitbucket.org/ProdigySim/l4d2_tickrate_enabler/downloads/l4d_tickrate_enabler_1.3.zip
Source: https://bitbucket.org/ProdigySim/l4d2_tickrate_enabler/
« Last Edit: December 09, 2012, 09:53:46 pm by ProdigySim »


A dedicated community website to competitive L4D and L4D2, ran by the community, for the community. L4DNation supports all continents of play and focuses on bringing together the community as a whole to a central hub of information.