AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CS:GO] Collecting statistics (https://forums.alliedmods.net/showthread.php?t=327873)

teynec 10-14-2020 09:33

[CS:GO] Collecting statistics
 
Is it possible to redirect output of net_graph to file? Or is there a way to save fps/ping stats to file, so for example in 1min of play I get 60 entries in fps row, so I can calculate variance, deviation etc?

Bacardi 10-16-2020 07:42

Re: [CS:GO] Collecting statistics
 
...are we talking client side net_graph ?

Because server doesn't have it, next option is stats command, which print in console.
And it calculate all players together.
Server also doesn't know players fps.

You either take screenshot every second or take a video record last 60 seconds (nVidia have Instant Replay feature).

You can try play in your game, load map: map de_dust2
Then log console output to log file: con_timestamp 1; con_logfile myfile.log
Bind command in key: bind p stats
Hit p key every second.
stop logging: con_logfile ""


You have file in your game csgo folder, myfile.log.
Code:

10/16/2020 - 14:39:07:  CPU  NetIn  NetOut    Uptime  Maps  FPS  Players  Svms    +-ms  ~tick
 296.4  6840.1  9153.1      25    0  220.51      3    4.44    0.38    0.38
10/16/2020 - 14:39:08:  CPU  NetIn  NetOut    Uptime  Maps  FPS  Players  Svms    +-ms  ~tick
 296.4  6849.9  9145.5      25    0  191.05      3    5.15    0.53    0.54
10/16/2020 - 14:39:08:  CPU  NetIn  NetOut    Uptime  Maps  FPS  Players  Svms    +-ms  ~tick
 304.5  6851.9  9134.0      25    0  178.27      3    5.51    0.52    0.53
10/16/2020 - 14:39:08:  CPU  NetIn  NetOut    Uptime  Maps  FPS  Players  Svms    +-ms  ~tick
 304.5  6855.1  9127.1      25    0  213.66      3    4.58    0.53    0.55
10/16/2020 - 14:39:56:  CPU  NetIn  NetOut    Uptime  Maps  FPS  Players  Svms    +-ms  ~tick
 255.8  5197.9  9534.9      26    0  165.95      3    5.86    0.55    0.56
10/16/2020 - 14:39:56:  CPU  NetIn  NetOut    Uptime  Maps  FPS  Players  Svms    +-ms  ~tick
 255.8  5197.9  9687.3      26    0  196.48      3    4.99    0.55    0.56
10/16/2020 - 14:39:56:  CPU  NetIn  NetOut    Uptime  Maps  FPS  Players  Svms    +-ms  ~tick
 255.8  5188.3  9740.8      26    0  205.83      3    4.75    0.45    0.48
10/16/2020 - 14:39:56:  CPU  NetIn  NetOut    Uptime  Maps  FPS  Players  Svms    +-ms  ~tick
  255.8  5182.5  9723.7      26    0  165.95      3    5.94    0.52    0.55




*edit
From server, you can create SM plugin which collect some data stream of specific player.
I had one bad example for now.
SM Data Rates

teynec 10-16-2020 11:33

Re: [CS:GO] Collecting statistics
 
Yes, I was talking about client side net_graph. Your solution gets what I wanted done, thanks a lot :)


All times are GMT -4. The time now is 03:58.

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