搜索
查看: 2554|回复: 7

[测试] 请问各位高手,一个玩家占的带宽是多少KB啊?

[复制链接]
发表于 2003-6-12 23:06:16 | 显示全部楼层 |阅读模式 来自 中国–广东–深圳–南山区
我以前看过一下文章说CS的玩家一个只占3~5KB左右
而我通过抓包,发现平均下来,一个玩家占10KB左右,幅度在8~14KB

我的参数如下:
sv_maxrate 5000
sv_minrate 1000
booster_minsleepms 5

其他参数都是CS和HL-BOOSTER默认的,装AMX 0.9.3+CD2.12.1

请问怎么样能够减少每个CS玩家占用的带宽呢?该怎么调整这些参数?

各位大哥要多多帮忙啊。。。:yeah:
 楼主| 发表于 2003-6-13 11:49:24 | 显示全部楼层 来自 中国–广东–深圳–福田区

奇怪,在另外一个服务器上的结果是5KB

CS的软件配置一样,参数也一样
但服务器和线路不同,测得的结果是每个玩家占5KB左右
为什么有这样的差别?

解决这样的问题很重要,因为卡的原因就是带宽不足~!!!
回复

使用道具 举报

发表于 2003-6-13 13:43:47 | 显示全部楼层 来自 中国–福建–龙岩
还有网卡的好坏。:)
回复

使用道具 举报

发表于 2003-6-13 13:51:34 | 显示全部楼层 来自 中国–广东–深圳–宝安区

10KB正常.还有是地图影响也大.

带宽10KB差不多了.
回复

使用道具 举报

 楼主| 发表于 2003-6-14 10:10:53 | 显示全部楼层 来自 中国–广东–深圳–南山区

问题我的另外一个服务器的带宽只占5KB啊

现在带宽吃紧,想调整参数,使得用户速度保证的前提下减低带宽的消耗,请高手们多多帮忙!该改那些参数啊。。。
回复

使用道具 举报

发表于 2003-6-14 12:08:34 | 显示全部楼层 来自 中国–福建–厦门

用amx的插件吧

我记得spacedude有一个带宽调整的插件,可以让外网的玩家平均分配带宽的
回复

使用道具 举报

发表于 2003-6-14 12:19:00 | 显示全部楼层 来自 中国–云南–红河哈尼族彝族自治州–个旧市

Re: 用amx的插件吧

最初由 coolzsb 发表
我记得spacedude有一个带宽调整的插件,可以让外网的玩家平均分配带宽的

找不到~!coolzsb你说的插件我找不到!能帮忙找找吗?
回复

使用道具 举报

 楼主| 发表于 2003-6-14 13:40:46 | 显示全部楼层 来自 中国–广东–深圳–南山区

我找到了,提供下载

我先测试一下,但不知道能否解决问题,多谢COOLZSB。

下面是client_rate插件的说明:
Client Rate   
Author
: SpaceDude
Date
: Jan 13 2003 - 22:58
Last update
: Jan 14 2003 - 13:06

This plugin will set the rate of clients connected to your server to reduce lag. You can set the maximum bandwidth of your server and have it split between clients. You can also give more bandwidth to players who are alive, and less to dead players. remember though that the minimum rate and maximum rate that players can have is governed by sv_minrate and sv_maxrate.

Server Commands:

rate_max - set this to the total rate you want split between players (default 16000)
rate_ratio - set this to the ratio of rate you want to give to dead players (default 0.5, this means that dead players get half as much as alive players. 1 would give the same amount of rate for everyone, 0 would give no rate at all to dead players.)
rate_localping - set the maximum ping of local players. if you have players on a lan then they will not be using up internet bandwidth, any players with a ping lower or equal to this setting will not be taken into acount for rate calculations (default 0).
rate_showmessage - if set to 1, a message will be displayed in the console when rates are changed. use only for testing new settings otherwise leave at 0.
rate_force - turns the plugin on and off (default 1, on)

for listen servers, rate_localping 0 means that the host will not be taken into acount. if for some reason you want to be taken into acount in the calculations set rate_localping -1.


:yeah:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表