Raised This Month: $ Target: $400
 0% 

[ANY] Improve Latency


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
000
Member
Join Date: Jul 2022
Old 09-19-2022 , 11:10   [ANY] Improve Latency
Reply With Quote #1

Well, it should be a controversial topic.

Anyway, I would like to share with current and future server operators a little trick(?) I discovered when I was younger and still had game servers for Counter-Strike: Source.

Improve player latency:

I had noticed that when default rates of clients were lower then those of the server, latency decreases.

This can be achieved as follows:

PHP Code:
#include <sourcemod>

public void OnClientPutInServer(int iClient)
{
    
ClientCommand(iClient"cl_cmdrate 30");
    
ClientCommand(iClient"cl_updaterate 20");
    
# OR
    
FakeClientCommand(iClient"cl_cmdrate 30");
    
FakeClientCommand(iClient"cl_updaterate 20");

Since I'm not an expert on this subject (and I lack a lot of knowledge about it), I can't explain anything meaningful.

Last edited by sneaK; 05-31-2023 at 10:58. Reason: Restore to previous version.
000 is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode