Garry's Mod

Garry's Mod

评价数不足
Netcapture - Analyze your network performance
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 建筑, 角色扮演, 写实
文件大小
发表于
3.097 KB
2023 年 3 月 15 日 上午 5:52
1 项改动说明 ( 查看 )

订阅以下载
Netcapture - Analyze your network performance

描述
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 条留言
Mekphen  [作者] 2023 年 3 月 18 日 上午 11:07 
Oh, thanks, fixed!
>KB> >KEKSQUAD 2023 年 3 月 18 日 上午 10:36 
Hey so the commands are actually net_capture_start and net_capture_stop