Raised This Month: $ Target: $400
 0% 

Variable timing sys_ticrate


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
RaZ_HU
Senior Member
Join Date: May 2015
Location: Hungary
Old 01-29-2020 , 13:36   Re: Variable timing sys_ticrate
Reply With Quote #10

As far as I know changing sys_ticrate on a live server does literally nothing than changing the cvar's value, but maximum FPS is still the value that the server was started with if the command line contains -sys_ticrate.

But if you have access to the starting line that actually launches the hlds process, you can change the -sys_ticrate to +sys_ticrate (yes, change the hyphen to a plus symbol), after that you can change the sys_ticrate value that will really change the server FPS maximum limit.

To test this, for example:
Start server with -sys_ticrate 300, then type stats in the console
You will get the following:
Quote:
stats
CPU In Out Uptime Users FPS Players
58.51 0.00 0.00 3 0 300.70 0
Type in console sys_ticrate 150, but you will still get 300 as current server FPS if you type stats again.

Now stop your server and start it with +sys_ticrate XYY and the command's value will directly affect the server FPS as you set it.

In the case you don't have access to your server's startup line, then you can't change the real FPS, but the cvar's value only.

Why do you use AMXX_VERSION_STR as your plugin's version?
This isn't an official plugin that comes with the package, you should do normal versioning.

Last edited by RaZ_HU; 01-29-2020 at 13:39.
RaZ_HU 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 08:59.


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