AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HL1 Servers (HLDS) (https://forums.alliedmods.net/forumdisplay.php?f=131)
-   -   client fps_max effect server performance? (https://forums.alliedmods.net/showthread.php?t=338945)

loki_himself 08-04-2022 16:12

client fps_max effect server performance?
 
...

Infamanious 08-08-2022 23:00

Re: client fps_max effect server performance?
 
No. Client side fps can't effect server performance.

Th3822 08-09-2022 22:34

Re: client fps_max effect server performance?
 
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

loki_himself 08-10-2022 08:01

Re: client fps_max effect server performance?
 
...

fysiks 08-10-2022 23:34

Re: client fps_max effect server performance?
 
Quote:

Originally Posted by loki_himself (Post 2786090)
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


loki_himself 08-13-2022 15:13

Re: client fps_max effect server performance?
 
...

bigdaddy424 08-14-2022 16:08

Re: client fps_max effect server performance?
 
Quote:

Originally Posted by loki_himself (Post 2786368)
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



All times are GMT -4. The time now is 19:13.

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