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

vintik

  • *
  • Posts: 41
    • View Profile
    • SteamProfile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #240 on: July 10, 2013, 02:27:58 pm »
It works, but seems it have some rate issues. Client rate can't be higher than 30000 even if its forced by sv_minrate to higher values.

My server net settings (tickrate 60):
Code: [Select]
sm_cvar fps_max 70
sm_cvar net_splitpacket_maxrate 60000
sm_cvar sv_minrate 60000
sm_cvar sv_maxrate 100000
sm_cvar sv_mincmdrate 30
sm_cvar sv_maxcmdrate 60
sm_cvar sv_minupdaterate 30
sm_cvar sv_maxupdaterate 60
sm_cvar sv_client_min_interp_ratio 0
sm_cvar sv_client_max_interp_ratio 2
sm_cvar nb_update_frequency 0.024

My client net settings:
Code: [Select]
rate 60000
cl_updaterate 60
cl_cmdrate 60

"status" command shows 30000 rate:
Code: [Select]
# userid name uniqueid connected ping loss state rate adr
# 1473 1 "Quattros" STEAM_x:x:xxxxxxx 10:23 32 0 active 30000 xxx.xxx.xxx.xxx:27005

As result many "chokes" during panic events and boomer hordes. Anyway thanks for the fix, it's much better than 30 tickrate.

Existing maxrate patches are fine, but also ClampClientRate() appeared on windows. Gonna add patch for it.


UPD:
Done.
« Last Edit: July 10, 2013, 03:23:32 pm by vintik »

ProdigySim

  • *
  • Posts: 1233
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #241 on: July 10, 2013, 03:56:32 pm »

Quattros

  • *
  • Posts: 13
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #242 on: July 10, 2013, 11:45:09 pm »
Existing maxrate patches are fine, but also ClampClientRate() appeared on windows. Gonna add patch for it.


UPD:
Done.

Played with this version about 3 hours, it works just fine. Correct rates, stable fps, nice hit registration. Chokes appear really rarely and never get higher than 3. Everything seems to be ok. Nice work! Thanks.

eX

  • *
  • Posts: 11
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #243 on: July 11, 2013, 04:56:07 am »
http://boner.prodigysim.net/tickrate_enabler-1.4-dev.tar.gz latest linux test bin
http://boner.prodigysim.net/tickrate_enabler-1.4-dev2.7z  latest windows test bin

I've tried your latest linux test binary, but im getting the same error under linux as before, i've tried it over startup commandline and after servers are started. Do i need more then Metamod & Sourcemod? Is SDK Hooks enough or do i need Stripper or other Plugins?

Code: [Select]
11:25:14 meta version
11:25:14 Metamod:Source version 1.10.0-dev
         Build ID: 848:ac037b3e3dcd-dev
         Loaded As: Valve Server Plugin
         Compiled on: Jul  6 2013
         Plugin interface version: 15:14
         SourceHook version: 5:5
         http://www.metamodsource.net/
11:25:22 meta list
11:25:22 Listing 2 plugins:
           [01] SourceMod (1.6.0-dev+3936) by AlliedModders LLC
           [02] SDK Tools (1.6.0-dev+3936) by AlliedModders LLC
11:25:22 L 07/11/2013 - 12:26:02: rcon from "*:11527": command "meta list"
11:25:40 meta load addons/tickrate_enabler
11:25:40 Failed to load plugin addons/tickrate_enabler (~/4d2/left4dead2/addons/tickrate_enabler.so: undefined symbol: g_pMemAlloc).
11:25:40 L 07/11/2013 - 12:26:20: rcon from "*:11527": command "meta load addons/tickrate_enabler"
11:40:40 HLSW Information: Verbindung getrennt
11:59:16 sm version
11:59:16  SourceMod Version Information:
             SourceMod Version: 1.6.0-dev+3936
             SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.6.0-dev+3936)
             SourcePawn API: v1 = 4, v2 = 4
             Compiled on: Jul  8 2013 13:12:28
             Build ID: 3936:47835546d849
             http://www.sourcemod.net/
11:59:16 L 07/11/2013 - 12:59:56: rcon from "*:41999": command "sm version"
11:59:53 sm plugins list
11:59:53 [SM] Listing 20 plugins:
           01 "Round Start Bot Stop" (1.8) by EHG
           02 "Sound Commands" (1.6.0-dev+3936) by AlliedModders LLC
           03 "Fun Commands" (1.6.0-dev+3936) by AlliedModders LLC
           04 "Anti-Flood" (1.6.0-dev+3936) by AlliedModders LLC
           05 "Basic Comm Control" (1.6.0-dev+3936) by AlliedModders LLC
           06 "Admin Help" (1.6.0-dev+3936) by AlliedModders LLC
           07 "Fun Votes" (1.6.0-dev+3936) by AlliedModders LLC
           08 "Survivor Bot Takeover" (0.8) by Mikko Andersson (muukis)
           09 "Basic Ban Commands" (1.6.0-dev+3936) by AlliedModders LLC
           10 "Basic Votes" (1.6.0-dev+3936) by AlliedModders LLC
           11 "Client Preferences" (1.6.0-dev+3936) by AlliedModders LLC
           12 "Basic Commands" (1.6.0-dev+3936) by AlliedModders LLC
           13 "Basic Info Triggers" (1.6.0-dev+3936) by AlliedModders LLC
           14 "Admin Menu" (1.6.0-dev+3936) by AlliedModders LLC
           15 "Admin File Reader" (1.6.0-dev+3936) by AlliedModders LLC
           16 "Basic Chat" (1.6.0-dev+3936) by AlliedModders LLC
           17 Disabled: "Nextmap" (1.6.0-dev+3936) by AlliedModders LLC
           18 "Player Commands" (1.6.0-dev+3936) by AlliedModders LLC
           19 "Reserved Slots" (1.6.0-dev+3936) by AlliedModders LLC
11:59:53 L 07/11/2013 - 13:00:33: rcon from "*:41999": command "sm plugins list"
« Last Edit: July 11, 2013, 05:02:14 am by eX »

Visor

  • *
  • Posts: 1149
    • View Profile
    • Steam Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #244 on: July 11, 2013, 05:51:26 am »
Code: [Select]
11:25:40 Failed to load plugin addons/tickrate_enabler (~/4d2/left4dead2/addons/tickrate_enabler.so: undefined symbol: g_pMemAlloc).

Are you sure you're using the binary PS posted? By the looks of it, the binary you're trying to use is either old or has been compiled against an outdated(pre-EMS update) Metamod/L4D2 SDK.
$10 says you aren't anywhere near a controlling position of the L4D3 scene in any continent when it happens.

Thing is he does what he wants, cause his able to and we are letting him do that. He abuses hes place and power in this community and people like me get banned for no reason. Only thing visor wants is more and more control so he can do what ever he wants.

eX

  • *
  • Posts: 11
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #245 on: July 11, 2013, 06:31:54 am »
Hello

Yes i used ProdigySim's latest build of linux binary

Code: [Select]
-rwxr----- 1 service mun  928585 Jul  7 18:23 mmsource-1.10.0-hg848-linux.tar.gz*
-rw-r--r-- 1 service mun 8309877 Jul  8 23:16 sourcemod-1.6.0-hg3936-linux.tar.gz
-rw-r--r-- 1 service mun  355567 Jul 10 18:53 tickrate_enabler-1.4-dev.tar.gz
-rwxr-xr-x 1 service mun 1279152 Jul 10 18:52 tickrate_enabler.so*

Is it possible that i must use sourcemod-1.6.0-hg3935-linux.tar.gz? At the moment i use sourcemod-1.6.0-hg3936-linux.tar.gz!

A grep of my startup protocol from commandline:

Code: [Select]
service@posteritas:~/srcds/l4d2> grep tickrate screenlog.0
 failed to dlopen ~/srcds/l4d2/left4dead2/addons/tickrate_enabler.so error=~/srcds/l4d2/left4dead2/addons/tickrate_enabler.so: undefined symbol: g_pMemAlloc
Unable to load plugin "addons/tickrate_enabler"
service@posteritas:~/srcds/l4d2>

UPDATE:
Now i tested with sourcemod-1.6.0-hg3935-linux.tar.gz

Code: [Select]
13:39:13 meta list
13:39:13 Listing 2 plugins:
           [01] SourceMod (1.6.0-dev+3935) by AlliedModders LLC
           [02] SDK Tools (1.6.0-dev+3935) by AlliedModders LLC

Still the same error :(
« Last Edit: July 11, 2013, 06:40:30 am by eX »

ProdigySim

  • *
  • Posts: 1233
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #246 on: July 11, 2013, 12:21:57 pm »
It's possible that I linked it against the wrong binary. I used the .so files available in the hl2sdk-l4d2 repo. I'll try to look into it this weekend when I (hopefully) have time to fix l4d2-direct and recording_helpers as well.

eX

  • *
  • Posts: 11
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #247 on: July 14, 2013, 06:19:12 am »
Hopefully yes! I've tried it again yesterday with a complete fresh install. Same error!
« Last Edit: July 15, 2013, 01:30:31 am by eX »

CooL

  • ***
  • Posts: 123
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #248 on: July 14, 2013, 08:42:39 pm »
Same error here.

Code: [Select]
failed to dlopen /home/wwywwy/l4d2/SteamApps/left4dead2/addons/tickrate_enabler.so error=/home/wwywwy/l4d2/SteamApps/left4dead2/addons/tickrate_enabler.so: undefined symbol: g_pMemAlloc
Unable to load plugin "addons/tickrate_enabler"

But i dun know if tickrate is working coz i found that the cvar configs seem to be working:-

Code: [Select]
[SM] Changed cvar "fps_max" to "150".
[SM] Changed cvar "net_splitpacket_maxrate" to "60000".
[SM] Changed cvar "sv_minrate" to "60000".
[SM] Changed cvar "sv_maxrate" to "100000".
[SM] Changed cvar "sv_mincmdrate" to "30".
[SM] Changed cvar "sv_maxcmdrate" to "60".
[SM] Changed cvar "sv_minupdaterate" to "30".
[SM] Changed cvar "sv_maxupdaterate" to "60".
[SM] Changed cvar "sv_client_min_interp_ratio" to "0".
[SM] Changed cvar "sv_client_max_interp_ratio" to "2".
[SM] Changed cvar "nb_update_frequency" to "0.024".

eX

  • *
  • Posts: 11
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #249 on: July 15, 2013, 01:33:24 am »
Yes, same here! But with "net_graph 5" you see that the settings have no effect! :-[

eX

  • *
  • Posts: 11
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #250 on: July 16, 2013, 05:07:15 am »
Hello together, i found a working tickrate_enabler on the-pwg.com forum, but something is different since 1.4...

Since tickrate_enabler 1.4 (after l4d2 update) is see chokes in my net_graph. With tickrate 60 and normal gameplay 0-5 choke and on events 5-15 chokes. With tickrate 100 i get 10-50 chokes instantly. With tickrate_enabler 1.3 i got 0 chokes with tick 60 or 100.

Can we doublecheck my Settings?

My Server Settings for tickrate 60:
Code: [Select]
sm_cvar nb_update_frequency 0.024
sm_cvar sv_removehumanlimit 1
sm_cvar l4d_maxplayers 12
sm_cvar sv_maxcmdrate 60
sm_cvar sv_mincmdrate 30
sm_cvar sv_maxupdaterate 60
sm_cvar sv_minupdaterate 30
sm_cvar sv_maxrate 60000
sm_cvar sv_minrate 30000
sm_cvar fps_max 500
sm_cvar sv_unlag 1
sm_cvar sv_maxunlag 1.0
sm_cvar net_splitpacket_maxrate 60000
sm_cvar sv_client_min_interp_ratio 0
sm_cvar sv_client_max_interp_ratio 2

My Server Settings for tickrate 100:
Code: [Select]
sm_cvar nb_update_frequency 0
sm_cvar sv_removehumanlimit 1
sm_cvar l4d_maxplayers 12
sm_cvar sv_maxcmdrate 100
sm_cvar sv_mincmdrate 30
sm_cvar sv_maxupdaterate 100
sm_cvar sv_minupdaterate 30
sm_cvar sv_maxrate 100000
sm_cvar sv_minrate 60000
sm_cvar fps_max 500
sm_cvar sv_unlag 1
sm_cvar sv_maxunlag 1.0
sm_cvar net_splitpacket_maxrate 100000
sm_cvar sv_client_min_interp_ratio 0
sm_cvar sv_client_max_interp_ratio 2

Client Settings are the same as Serverconfig (rate 60000/100000, update and cmdrate 60/100, cl_interp 0, 0.03, 0.06 or 0.1). Some players without netsettings and lerp 0.1 reporting that server is "laggy" somehow. I can't feel any lag with interp or without...Somehow i can't feel lags with choke over 40 but it displays this choke, loss is alway 0! Can i force some settings to make it smoother for everyone?
« Last Edit: July 16, 2013, 05:09:20 am by eX »

Sir

  • *
  • Posts: 919
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #251 on: July 16, 2013, 05:21:46 am »
Hello together, i found a working tickrate_enabler on the-pwg.com forum, but something is different since 1.4...

Since tickrate_enabler 1.4 (after l4d2 update) is see chokes in my net_graph. With tickrate 60 and normal gameplay 0-5 choke and on events 5-15 chokes. With tickrate 100 i get 10-50 chokes instantly. With tickrate_enabler 1.3 i got 0 chokes with tick 60 or 100.

Can we doublecheck my Settings?

My Server Settings for tickrate 60:
Code: [Select]
sm_cvar nb_update_frequency 0.024
sm_cvar sv_removehumanlimit 1
sm_cvar l4d_maxplayers 12
sm_cvar sv_maxcmdrate 60
sm_cvar sv_mincmdrate 30
sm_cvar sv_maxupdaterate 60
sm_cvar sv_minupdaterate 30
sm_cvar sv_maxrate 60000
sm_cvar sv_minrate 30000
sm_cvar fps_max 500
sm_cvar sv_unlag 1
sm_cvar sv_maxunlag 1.0
sm_cvar net_splitpacket_maxrate 60000
sm_cvar sv_client_min_interp_ratio 0
sm_cvar sv_client_max_interp_ratio 2

My Server Settings for tickrate 100:
Code: [Select]
sm_cvar nb_update_frequency 0
sm_cvar sv_removehumanlimit 1
sm_cvar l4d_maxplayers 12
sm_cvar sv_maxcmdrate 100
sm_cvar sv_mincmdrate 30
sm_cvar sv_maxupdaterate 100
sm_cvar sv_minupdaterate 30
sm_cvar sv_maxrate 100000
sm_cvar sv_minrate 60000
sm_cvar fps_max 500
sm_cvar sv_unlag 1
sm_cvar sv_maxunlag 1.0
sm_cvar net_splitpacket_maxrate 100000
sm_cvar sv_client_min_interp_ratio 0
sm_cvar sv_client_max_interp_ratio 2

Client Settings are the same as Serverconfig (rate 60000/100000, update and cmdrate 60/100, cl_interp 0, 0.03, 0.06 or 0.1). Some players without netsettings and lerp 0.1 reporting that server is "laggy" somehow. I can't feel any lag with interp or without...Somehow i can't feel lags with choke over 40 but it displays this choke, loss is alway 0! Can i force some settings to make it smoother for everyone?

Might want to lower your net_splitpacket_maxrate to: Tickrate / 2 * 1000
Not sure if it'll help you, but it's better for the server in general.
Group Owner of :| SirPlease
Config Dev :| Zonemod 1.8

eX

  • *
  • Posts: 11
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #252 on: July 16, 2013, 07:56:48 am »
Might want to lower your net_splitpacket_maxrate to: Tickrate / 2 * 1000
Not sure if it'll help you, but it's better for the server in general.

Awwww, thank you, i know i forgot something. Dont remeber that, i installed all new and i made no comments to my config.
tick 60 -> 60/2*1000=30000
tick 100 -> 100/2*1000=50000

I'll try it this evening. All other settings are okay?

Sir

  • *
  • Posts: 919
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #253 on: July 16, 2013, 08:34:28 am »
Awwww, thank you, i know i forgot something. Dont remeber that, i installed all new and i made no comments to my config.
tick 60 -> 60/2*1000=30000
tick 100 -> 100/2*1000=50000

I'll try it this evening. All other settings are okay?

The rest seems fine to me :]
Keep in mind that your CPU might not be handling the tickrate well. I recommend monitoring sv by using net_graph 5.
« Last Edit: July 16, 2013, 08:36:07 am by Sir »
Group Owner of :| SirPlease
Config Dev :| Zonemod 1.8

eX

  • *
  • Posts: 11
    • View Profile
Re: L4D1+2 Tickrate Enabler 1.3
« Reply #254 on: July 16, 2013, 04:59:12 pm »
I tried the settings but chokes are between 0-20 on tick 60. I think CPU Usage is fine, rootserver with 8 cores, 32gbram. net_graph 5 shows 28-35ms of ping on scoreboard all players between 20 and 30ping. One fork server from five with 8 players stays between 20 and 30% cpu usage and 500fps stable. Before update i got no problems with same settings on tick60, everytime choke 0, sometimes 1 or 2, never 10 and more. Linux Kernel is compiled for tickrate. When i turn of tickrate enabler, all is fine, no choke. Somehow choke is a joke!

Code: [Select]
%Cpu0  : 10.5 us,  1.7 sy,  0.0 ni, 87.5 id,  0.0 wa,  0.0 hi,  0.3 si,  0.0 st
%Cpu1  :  8.1 us,  1.4 sy,  0.0 ni, 89.5 id,  1.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  9.8 us,  1.4 sy,  0.0 ni, 88.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  :  8.8 us,  1.7 sy,  0.0 ni, 89.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu4  :  0.3 us,  0.3 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu5  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu6  :  0.3 us,  0.3 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu7  :  0.0 us,  0.3 sy,  0.0 ni, 99.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:  32702864 total, 30258240 used,  2444624 free,   441064 buffers
KiB Swap: 12581812 total,     4716 used, 12577096 free, 28129640 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
27074 service   20   0  400m 191m  12m S  26.6  0.6   7:59.80 srcds_linux
31881 service   20   0 91552  69m 7948 S   3.7  0.2  45:47.58 hlds_i686
27048 service   20   0  384m 173m  12m S   3.3  0.5   0:56.74 srcds_linux
27055 service   20   0  384m 173m  12m S   3.3  0.5   0:55.85 srcds_linux
27058 service   20   0  384m 173m  12m S   3.0  0.5   0:56.62 srcds_linux
27066 service   20   0  384m 173m  12m S   3.0  0.5   0:56.17 srcds_linux
 2298 service   20   0  909m  11m 5328 S   1.7  0.0 125:14.49 ts3server_linux
15687 service   20   0  200m 126m  17m S   1.0  0.4   4:52.36 srcds_linux
32188 service   20   0  297m 149m  20m S   1.0  0.5  10:20.66 srcds_linux
32200 service   20   0  233m 162m  21m S   1.0  0.5  32:51.74 srcds_linux
   22 root      20   0     0    0    0 S   0.3  0.0  17:01.41 ksoftirqd/2
   32 root      20   0     0    0    0 S   0.3  0.0   1:06.81 ksoftirqd/4
27024 service   20   0  240m  57m 9332 S   0.3  0.2   0:00.82 srcds_linux
27799 root      20   0 17920 1608 1140 R   0.3  0.0   0:00.15 top
« Last Edit: July 16, 2013, 05:12:25 pm by eX »

 

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.