Kosiko 发表于 2003-6-12 23:06:16

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

我以前看过一下文章说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:

Kosiko 发表于 2003-6-13 11:49:24

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

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

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

金闪闪 发表于 2003-6-13 13:43:47

还有网卡的好坏。:)

ddy 发表于 2003-6-13 13:51:34

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

带宽10KB差不多了.

Kosiko 发表于 2003-6-14 10:10:53

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

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

coolzsb 发表于 2003-6-14 12:08:34

用amx的插件吧

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

wanjh0119 发表于 2003-6-14 12:19:00

Re: 用amx的插件吧

最初由 coolzsb 发表
我记得spacedude有一个带宽调整的插件,可以让外网的玩家平均分配带宽的
找不到~!coolzsb你说的插件我找不到!能帮忙找找吗?

Kosiko 发表于 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:
页: [1]
查看完整版本: [测试] 请问各位高手,一个玩家占的带宽是多少KB啊?