shqke / sourcetvsupport

Fixes broadcasting/demo recording features in Left 4 Dead
GNU General Public License v3.0
47 stars 8 forks source link

how to higher sourceTV tick? #16

Closed Lxeon closed 3 years ago

Lxeon commented 3 years ago

seems only 16tick in record and watch via sourceTV port, how can i higher that? tv_maxrate no work my server using tickrate_enabler and set it to 100tick.

justin-chellah commented 3 years ago

post values of these convars of your server:

also, tv_maxrate is only for broadcasts. type plugin_print into your server console and post resuslts here as well as your command-line parameters

Lxeon commented 3 years ago

post values of these convars of your server:

* sv_maxrate

* sv_minrate

* sv_maxupdaterate

* sv_minupdaterate

* sv_maxcmdrate

* sv_mincmdrate

* sv_client_cmdrate_difference

also, tv_maxrate is only for broadcasts. type plugin_print into your server console and post resuslts here as well as your command-line parameters

already set it, and still low tick.. 图片 unknown command : sv_maxupdaterate, sv_minupdaterate, sv_maxcmdrate, sv_mincmdrate, sv_client_cmdrate_difference

justin-chellah commented 3 years ago

Use sm_cvar to see values of update rate and client cmd rate difference cvars, they're hidden or something

Lxeon commented 3 years ago

Use sm_cvar to see values of update rate and client cmd rate difference cvars, they're hidden or something

图片 ye its work, but it is default set when server start, i think maybe its because sourceTV hard-coded and force it to 16tick?

justin-chellah commented 3 years ago

nah, theres nothing like that. i'm running a 60 tick server and it's working fine for me. however, i did also change tv_snapshotrate (which is 16 by default) and set it to 32. i'm not sure whats best for your server, though. also, i've set my tv_maxrate to my sv_maxrate value (which is 80000 and it basically forces tv clients' rate to be whatever tv_maxrate has set). Try to change snapshotrate and tv maxrate and see if there's any improvement.

also, can you do plugin_print and post results, just to make sure that tickrate enabler is actually loaded?

Lxeon commented 3 years ago

nah, theres nothing like that. i'm running a 60 tick server and it's working fine for me. however, i did also change tv_snapshotrate (which is 16 by default) and set it to 32. i'm not sure whats best for your server, though. also, i've set my tv_maxrate to my sv_maxrate value (which is 80000 and it basically forces tv clients' rate to be whatever tv_maxrate has set). Try to change snapshotrate and tv maxrate and see if there's any improvement.

also, can you do plugin_print and post results, just to make sure that tickrate enabler is actually loaded?

omg, i miss the command "tv_snapshotrate", the default value is 16, and i change it. its work now ! thanks you bro~