Raised This Month: $12 Target: $400
 3% 

client fps_max effect server performance?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
loki_himself
Member
Join Date: Nov 2021
Old 08-04-2022 , 16:12   client fps_max effect server performance?
Reply With Quote #1

...

Last edited by loki_himself; 11-23-2022 at 12:13.
loki_himself is offline
Infamanious
Senior Member
Join Date: Dec 2005
Old 08-08-2022 , 23:00   Re: client fps_max effect server performance?
Reply With Quote #2

No. Client side fps can't effect server performance.
Infamanious is offline
Th3822
Member
Join Date: Jan 2013
Location: Venezuela
Old 08-09-2022 , 22:34   Re: client fps_max effect server performance?
Reply With Quote #3

Client's FPS can affect server performance, as player sends movements updates almost per frame
You shouldn't worry about performance issues unless you have very bad optimized plugins hooking and delaying funcs like CmdStart, Player_(Pre|Post)?Think, Any PM_ func, CmdEnd... And never forget AddToFullPack, that one is a huge performance critical function
Th3822 is offline
loki_himself
Member
Join Date: Nov 2021
Old 08-10-2022 , 08:01   Re: client fps_max effect server performance?
Reply With Quote #4

...

Last edited by loki_himself; 11-23-2022 at 13:13.
loki_himself is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-10-2022 , 23:34   Re: client fps_max effect server performance?
Reply With Quote #5

Quote:
Originally Posted by loki_himself View Post
what is the sv command to limit client cl_cmdrate?
Doesn't exist. There are only the following:

Code:
sv_minrate
sv_maxrate
sv_maxupdaterate
sv_minupdaterate
__________________
fysiks is offline
loki_himself
Member
Join Date: Nov 2021
Old 08-13-2022 , 15:13   Re: client fps_max effect server performance?
Reply With Quote #6

...

Last edited by loki_himself; 11-23-2022 at 13:14.
loki_himself is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 08-14-2022 , 16:08   Re: client fps_max effect server performance?
Reply With Quote #7

Quote:
Originally Posted by loki_himself View Post
is it possible for an amxx plugin to listen to the console output, for example for those strings?
I don't think you can tho, it only reads those that are you've used on `register_srvcmd`. You can use `tail` to read X last lines and loop over them to check if line starts with `WARNING: datagram overflowed for` or `SZ_GetSpace: overflow on`.

Here's an example:
Code:
#!/bin/bash

$webhook="discord-webhook"

send_discord_message () {
    curl -X POST -H "Content-Type: application/json" -d "{\"content\":\"$1\"}" $webhook
}

while [ true ]; do
  tail -n 10 /home/user/server/screenlog.0 | while read line; do
  if [[ $line = "Segmentation faul"* ]]; then
    send_discord_message "Server died: ${line}"
  fi
 sleep 10
done
__________________
bigdaddy424 is offline
Reply


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 13:59.


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