April 17, 2014, 01:52:28 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

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

Offline ProdigySim

  • Administrator
  • 20k HP Tank
  • *****
  • Posts: 817
  • Karma: 58
    • 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 »

Offline CircleSquared

  • Community Leader
  • Big Charger
  • *
  • Posts: 250
  • Karma: 12
    • 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 »

Offline ProdigySim

  • Administrator
  • 20k HP Tank
  • *****
  • Posts: 817
  • Karma: 58
    • 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

Offline Tabun

  • Community Leader
  • 20k HP Tank
  • *
  • Posts: 518
  • Karma: 24
    • 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. :~[

Offline CircleSquared

  • Community Leader
  • Big Charger
  • *
  • Posts: 250
  • Karma: 12
    • 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.

Offline ProdigySim

  • Administrator
  • 20k HP Tank
  • *****
  • Posts: 817
  • Karma: 58
    • 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 »

Offline vintik

  • Baby Boomer
  • *
  • Posts: 40
  • Karma: 5
    • 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.

Offline 3yebex

  • 20k HP Tank
  • *****
  • Posts: 623
  • Karma: 3
  • 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

  • Guest
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 »

Offline fig newtons

  • H.N.I.C.
  • L4DNation Staff
  • 20k HP Tank
  • *
  • Posts: 1254
  • Karma: 19
    • 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

Offline Tabun

  • Community Leader
  • 20k HP Tank
  • *
  • Posts: 518
  • Karma: 24
    • 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

  • Guest
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.

Offline Tabun

  • Community Leader
  • 20k HP Tank
  • *
  • Posts: 518
  • Karma: 24
    • 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

  • Guest
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 =/.

Offline CircleSquared

  • Community Leader
  • Big Charger
  • *
  • Posts: 250
  • Karma: 12
    • 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 ;)