Garry's Mod

Garry's Mod

Not enough ratings
Netcapture - Analyze your network performance
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Build, Roleplay, Realism
File Size
Posted
3.097 KB
15 Mar, 2023 @ 5:52am
1 Change Note ( view )

Subscribe to download
Netcapture - Analyze your network performance

Description
Analyze the network load of your Garrys Mod server and find bottlenecks

General Purpose
Garry's Mod NetCapture is an addon for Garry's Mod server that allows administrators to monitor network traffic in real-time and capture information for analysis and debugging purposes.

Note
Please note that this script will temporarly modify the net receiver on your client and can lead to unexpected behaviour. However since this is only client-side, it will not break anything for other players and it will always be resetted after reconnecting.

Usage
To use the GMod NetCapture addon, follow these steps:

1. Start your Garry's Mod server.
2. As an administrator, open the console when you are on the server.
3. Type the following command to start capturing network traffic:
net_capture_start

4. To stop capturing network traffic, type the following command in the server console:
net_capture_stop

The captured network data will be printed out to your console and also saved to your local /garrysmod/data folder (in your local game, not the server).
You can analyze the captured data to troubleshoot any network-related issues or optimize your server performance.

GitHub Repository: https://github.com/fabianzimber/gmod-netcapture
2 Comments
Mekphen  [author] 18 Mar, 2023 @ 11:07am 
Oh, thanks, fixed!
>KB> >KEKSQUAD 18 Mar, 2023 @ 10:36am 
Hey so the commands are actually net_capture_start and net_capture_stop