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

ProdigySim

  • *
  • Posts: 886
    • 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 »

CircleSquared

  • *
  • Posts: 251
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.0
« Reply #1 on: June 25, 2012, 03:04:44 am »
I love you.

Shit Just Got Real HD
« Last Edit: June 25, 2012, 03:11:36 am by CircleSquared »

ProdigySim

  • *
  • Posts: 886
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.0
« Reply #2 on: June 25, 2012, 03:08:41 am »
I love you.
Thanks. I think you're swell :3

Tabun

  • *
  • Posts: 519
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.0
« Reply #3 on: June 25, 2012, 03:23:15 am »
Swell-zoned.

Also, I think it is amazing.

And I hate my server hoster, because apparently I cannot add or change launch switches. :~[

CircleSquared

  • *
  • Posts: 251
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.0
« Reply #4 on: June 25, 2012, 03:25:37 am »
Swell-zoned.

Also, I think it is amazing.

And I hate my server hoster, because apparently I cannot add or change launch switches. :~[

I can see this being an issue. I submitted a request to NFO to add it, will see how that goes.

ProdigySim

  • *
  • Posts: 886
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.0
« Reply #5 on: June 25, 2012, 03:34:32 am »
It's possible that they will want to charge more. I thought I was going to have someone using NFO test but they never got around to it I guess.

I'll try to post some IPs here that have >30tick enabled. pWg (eu) is setting up servers right now.

the-pWg 51-60 are running tickrate_enabler. They are 100tick now from what I see, but he will likely be testing different tickrates over time.

80.82.209.110:27015
80.82.209.110:27016
80.82.209.110:27017
80.82.209.110:27018
80.82.209.110:27019
80.82.209.110:27020
80.82.209.110:27021
80.82.209.110:27022
80.82.209.110:27023
80.82.209.110:27024
« Last Edit: June 25, 2012, 03:51:02 am by ProdigySim »

vintik

  • *
  • Posts: 40
    • View Profile
    • SteamProfile
Re: L4D1+2 Tickrate Enabler 1.0
« Reply #6 on: June 25, 2012, 04:43:03 am »
Next fix should be for doors. They open slowly.

3yebex

  • *****
  • Banned!
  • Posts: 656
  • All of the above!
    • View Profile
    • Steam Profile
Re: L4D1+2 Tickrate Enabler 1.0
« Reply #7 on: June 25, 2012, 05:32:40 am »
I got a general idea of what this is. Just for clarification, how will this affect normal gameplay? Will this decrease the amount of laggy common at lower-lerps or am I thinking of something else entirely?


Huuwap

Re: L4D1+2 Tickrate Enabler 1.0
« Reply #8 on: June 25, 2012, 09:57:39 am »
I have a request in to NFO as well.  We'll see where it goes.

And an answer:
Quote
If you were to apply this modification, we could modify your startup line to enable it.

 Cheers,
 Cody
« Last Edit: June 25, 2012, 10:45:46 am by Huuwap »

fig newtons

  • H.N.I.C.
  • *
  • Posts: 1340
    • View Profile
    • configs
Re: L4D1+2 Tickrate Enabler 1.0
« Reply #9 on: June 25, 2012, 11:15:27 am »
I got a general idea of what this is. Just for clarification, how will this affect normal gameplay? Will this decrease the amount of laggy common at lower-lerps or am I thinking of something else entirely?
https://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking

Tabun

  • *
  • Posts: 519
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.0
« Reply #10 on: June 25, 2012, 11:54:17 am »
Damn, my server host is pretty dense.

Quote
The tickrate setting is locked by Valve due to all the issues it has been causing on orangebox engine. We will not be enabling at this time on L4D servers. We will be testing it but there is no guaranty we will be offering to change it.

There is no guarantee they will be offering to change a (normally harmless, because ignored) command line switch, because I'm not allowed to test this myself. If this ends up working well for others, I guess it's time to switch host.

Huuwap

Re: L4D1+2 Tickrate Enabler 1.0
« Reply #11 on: June 25, 2012, 11:59:46 am »
NFO is fantastic.  Monthly rate is $14.99 for an L4D2 server, 15 slot mumble and webhosting.  Pretty sure I paid $78 for 6 months.

Tabun

  • *
  • Posts: 519
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.0
« Reply #12 on: June 25, 2012, 12:13:58 pm »
I believe you. Too bad they only host in the US of A. Still looking for the best Euro-side host. :]

Edit: LOL Huu, stop making it sound like non-American-ness is an affliction. ;]
« Last Edit: June 25, 2012, 12:30:57 pm by Tabun »

Huuwap

Re: L4D1+2 Tickrate Enabler 1.0
« Reply #13 on: June 25, 2012, 12:23:27 pm »
Ohhhhh, you're one of those.  Damn.  Sorry mate =/.

CircleSquared

  • *
  • Posts: 251
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.0
« Reply #14 on: June 25, 2012, 12:53:46 pm »
NFO agreed to my request as well. Gravy.

Enjoying the 100tic servers ;)

 

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.