View Single Post
CookieCrumbler
Senior Member
Join Date: Feb 2013
Location: Australia
Old 04-24-2018 , 01:25   Re: Questions about CPU, Hitbox and pausing plugins.
Reply With Quote #2

Quote:
Originally Posted by GoldNux View Post
I have met so many people telling me that the more plugins you have, the shittier hit registration you will have on your server.
I have tried to explain to them that the number of plugins alone can not have that effect but rather its depending on what types of plugins you are using.
Only if you have ALOT and i mean ALOT of plugins it can slighty impact your server but generally this is only if there heavy duty plugins. Most Administrative or basic functionality plugins won't cause any issues.

Quote:
Originally Posted by GoldNux View Post
I know that using set_task too much will be hard on your CPU, is there any more things you should watch out for when writing plugins or managing a server?
Plugins that use server frames are the worst offender. When writing plugins try to find the best coded method, utilizing the best amxmodx module to achieve the task. Don't write a plugin using 4 -5 modules when it could of been written in a way that only uses 1 or 2


Quote:
Originally Posted by GoldNux View Post
I have a lot of small plugins, that I pause depending on map and .cfg file.
Some of them are kept running and will check a cvar at the start of a round for example.

Is it "bad" to pause plugins? And how much does AMX affect the FPS stability on a server?
Is 1.8.3 a lot more optmized? And what can be done about bad hit reg?
AMXX doesn't really make that much of a tangible difference on your servers performance.

1.8.3 is predominately a build based on things learned over the years being better integrated into the AMXX core. Some plugins require you to use 1.8.3. Personally i use it on all my servers.

You can set up map specific configs and map specific plugin files so that plugins are only loaded on certain maps
https://wiki.alliedmods.net/Configur...p_Config_Files
https://wiki.alliedmods.net/Configur...ecific_Plugins



Quote:
Originally Posted by GoldNux View Post
I rent a server and pay for it each month, (1000fps) with a good connection.
It is working pretty good, but sometimes the fps drops from a stable 950-800 to 400..

My settings:


I'm guessing during these dips is when the hitbox really sucks, but I don't know.
I'm sorry if this does not fit in the general category, maybe it should be in HLDS or scripting help?

Thank you.

For true 1000 FPS flat you want to set ,
sys_ticrate 10000

this will make your server run at 1000FPS Flat out give or take a few digits. At 1000FPS flat out the server renders frames at 1ms which will give you the best hit registration( but at a cost of higher cpu usage), compared to 10ms on a standard 100FPS server.

eg:

998
1043
987
996
1012
999
984
1002


For this to work if its a windows server your game server provider must also be running a high resolution timer on there dedicated server box

If there not running a HRT tell them to download and keep running at all times an executable called srcdsbooster.exe
( I believe there may be a HRT metamod module as well )

------------------------------------------------------------------------------------------
__________________
--------------------------------------------------
C is for cookie ... thats good enuff 4 me

Last edited by CookieCrumbler; 04-24-2018 at 02:02.
CookieCrumbler is offline