PDA

View Full Version : Server Rates


fezh
02-15-2009, 20:34
Hi guys, I have a question.
Which are the best server rates for this connection?

http://www.speedtest.net/result/411757633.png

P4rD0nM3
02-15-2009, 22:17
How many slots?

DumbServerWontWork
02-16-2009, 03:25
Nothing, the upload is atrocious

fezh
02-16-2009, 08:05
Nothing, the upload is atrocious

Haha, I know, but the ping isn't more than 120 with 12 players, so I think that's enough..

EDIT: Who can explain this?

http://www.speedtest.net/result/411999381.png

Sn!ff3r
02-16-2009, 19:10
Your connection is too low to host any game server.

fezh
02-16-2009, 19:15
Your connection is too low to host any game server.

My dedicated server is only for play with friends.. Well, that's it enough.
Somebody can close this thread please?

Sn!ff3r
02-17-2009, 07:40
15KB/s = 2-3 slots ?

Cuz
02-17-2009, 20:14
128K uplink = 2 players
256k uplink = 4 players
320k uplink = 6 players
512k uplink = 9 players
768k uplink = 14 players
1024k uplink = 19 players
1140k uplink = 21 players
1708k uplink = 32 players

fezh
02-18-2009, 07:56
128K uplink = 2 players
256k uplink = 4 players
320k uplink = 6 players
512k uplink = 9 players
768k uplink = 14 players
1024k uplink = 19 players
1140k uplink = 21 players
1708k uplink = 32 players

0.o Thank you :)
Now I'm interested in hosted servers.

MeRcyLeZZ
02-19-2009, 14:49
Back when I had my 128kbps internet at home, I managed to play a lagless zombiemod with 8 players and this settings

Server side:
sys_ticrate 33
sv_minupdaterate 10
sv_maxupdaterate 10
sv_minrate 0
sv_maxrate 3000

Client side (forced with a plugin, maybe considered slowhacking, but this reduced bandwidth usage a lot though)
cl_cmdrate 10

triplebug
02-19-2009, 15:43
This is madness, never imagine that 128kbps with 8 players lagfree...

Can you give me the plugin?

fysiks
02-19-2009, 16:12
This is madness, never imagine that 128kbps with 8 players lagfree...

That's only because he changed everybodys cl_cmdrate to 10 (extremely low).

triplebug
02-19-2009, 16:26
Yeah I know, that's why I want that plugin to force change client side's cl_cmdrate.

Mlk27
02-19-2009, 19:38
doesn't cl_cmdrate determine rates at which clients send data to server? which also means your server will use the download bandwidth to accept the updates. if you have plenty of download bandwidth i dont think its necessary to force low cmdrates on all clients. You just need to play around with m*updaterates cause this is the rates that will be chocking most of your server upload bandwidth

MeRcyLeZZ
02-26-2009, 13:58
doesn't cl_cmdrate determine rates at which clients send data to server? which also means your server will use the download bandwidth to accept the updates.
That's right, but it also uses some amount of upload to acknowledge those extra command packets.

As for the code, it's pretty basic:
public client_putinserver(id) set_task(5.0, "set_cmdrate", id)
public set_cmdrate(id) if is_user_connected(id) client_cmd(id, "cl_cmdrate 10")
The delay is needed because the client may lag a bit while entering the server and not receive the command properly.

martin623
03-03-2009, 17:15
Back when I had my 128kbps internet at home, I managed to play a lagless zombiemod with 8 players and this settings

Server side:
sys_ticrate 33
sv_minupdaterate 10
sv_maxupdaterate 10
sv_minrate 0
sv_maxrate C000Client side (forced with a plugin, maybe considered slowhacking, but this reduced bandwidth usage a lot though)
cl_cmdrate 10


Hmm, im interested in that, because im running a zombie mod server and i have also 128kbps internet. should i use these rates?

How do you force client to have cl_cmdrate 10 ?

martin623
03-03-2009, 17:33
I mean what's the plugin's name that can change client's cl_cmdrate ?
http://www.speedtest.net/result/422368879.png (http://www.speedtest.net)

P4rD0nM3
03-04-2009, 10:36
Let them change it themselves. Just put up an ad on the server reminding them to change their rates.

bmann_420
03-04-2009, 19:32
Changing their rate = if their somewhat smart, would tell you to fuck off and never join again.

Rate Calculator (http://www.reece-eu.net/drekrates.php)

MeRcyLeZZ
03-07-2009, 16:04
I don't think it's that bad of a thing to change it without their permission (this particular setting I mean).

Source games include a sv_maxcmdrate server side cvar just for that. It's just missing in HL1, so it's either making it our way or expect VALVe to add one...

MeRcyLeZZ
03-21-2009, 17:04
Here's the plugin I used to run to reduce bandwidth:

/*
* -----------------------------
* -*- Bandwidth Reducer 0.1 -*-
* -----------------------------
*
* #1. Add these to your server.cfg.
*
* sys_ticrate 33
* sv_minupdaterate 10
* sv_maxupdaterate 10
* sv_minrate 0
* sv_maxrate 0
* sv_voiceenable 0
*
* Note: this settings are meant for Zombie-Mods. For
* normal CS you'll probably want faster response times.
*
* #2. Set one or more of the following to 1 (enabled) to reduce bandwidth.
* Note: Each has its own side effect you should be aware of.
*
* Settting // Side effect when enabled
* -------- // -------------------------*/
#define CD_DONT_SEND_STEPSOUND 0 // Players won't hear their own footstep sounds.
#define CD_DONT_SEND_PUNCHANGLE 0 // Players won't see the actual weapon's recoil if using cl_lw 1.
#define CD_DONT_SEND_NEXTATTACK 0 // Players may see weapons fire when they shouldn't if using cl_lw 1.
#define CD_DONT_SEND_VELOCITY 0 // Players may experience sloppy movements.
#define ES_DONT_SEND_ORIGIN_SELF 1 // None that I can see.
#define ES_DONT_SEND_ANGLES_SELF 0 // If using 3rd person view, players will see themselves looking at an odd direction.
#define ES_DONT_SEND_FRAME_SELF 0 // If using 3rd person view, players will see their own weapon animations incorrectly.
#define ES_DONT_SEND_ANIMTIME_SELF 0 // If using 3rd person view, players will see their own weapon animations incorrectly.
#define ES_DONT_SEND_BLENDING_SELF 1 // None that I can see.
#define ES_DONT_SEND_ANGLES_OTHERS 0 // Players will see others looking at an odd direction
#define ES_DONT_SEND_FRAME_OTHERS 0 // Players will see others' weapon animations incorrectly.
#define ES_DONT_SEND_ANIMTIME_OTHERS 0 // Players will see others skipping around.
#define ES_DONT_SEND_BLENDING_OTHERS 1 // None that I can see.

// #3. You're done. That's the best you'll get out of your connection.


#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
register_plugin("Bandwidth Reducer", "0.1", "MeRcyLeZZ")
register_forward(FM_UpdateClientData, "fw_UpdateClientData", 1)
register_forward(FM_AddToFullPack, "fw_AddToFullPack", 1)
}

public client_putinserver(id) set_task(5.0, "set_cmdrate", id)
public set_cmdrate(id) client_cmd(id, "cl_cmdrate 10")

public fw_UpdateClientData(player, sendweapons, handle)
{
#if CD_DONT_SEND_STEPSOUND
set_cd(handle, CD_flTimeStepSound, 999 )
#endif
#if CD_DONT_SEND_PUNCHANGLE
set_cd(handle, CD_PunchAngle, Float:{ 0.0, 0.0, 0.0 } )
#endif
#if CD_DONT_SEND_NEXTATTACK
set_cd(handle, CD_flNextAttack, 0.0 )
#endif
#if CD_DONT_SEND_VELOCITY
set_cd(handle, CD_Velocity, Float:{ 0.0, 0.0, 0.0 } )
#endif
}

public fw_AddToFullPack(handle, e, ent, host, hostflags, player, pset)
{
if (!player) return;

if (host == ent)
{
#if ES_DONT_SEND_ORIGIN_SELF
set_es(handle, ES_Origin, Float:{ 0.0, 0.0, 0.0 })
#endif
#if ES_DONT_SEND_ANGLES_SELF
set_es(handle, ES_Angles, Float:{ 0.0, 0.0, 0.0 })
#endif
#if ES_DONT_SEND_FRAME_SELF
set_es(handle, ES_Frame, 1.0 )
#endif
#if ES_DONT_SEND_ANIMTIME_SELF
set_es(handle, ES_AnimTime, 1.0 )
#endif
#if ES_DONT_SEND_BLENDING_SELF
set_es(handle, ES_Blending, { 0, 0, 0, 0} )
#endif
}
else
{
#if ES_DONT_SEND_ANGLES_OTHERS
set_es(handle, ES_Angles, Float:{ 0.0, 0.0, 0.0 })
#endif
#if ES_DONT_SEND_FRAME_OTHERS
set_es(handle, ES_Frame, 1.0 )
#endif
#if ES_DONT_SEND_ANIMTIME_OTHERS
set_es(handle, ES_AnimTime, 1.0 )
#endif
#if ES_DONT_SEND_BLENDING_OTHERS
set_es(handle, ES_Blending, { 0, 0, 0, 0} )
#endif
}
}

Speed!
03-22-2009, 11:21
Here's the plugin I used to run to reduce bandwidth:

/*
* -----------------------------
* -*- Bandwidth Reducer 0.1 -*-
* -----------------------------
*
* #1. Add these to your server.cfg.
*
* sys_ticrate 33
* sv_minupdaterate 10
* sv_maxupdaterate 10
* sv_minrate 0
* sv_maxrate 0
* sv_voiceenable 0
*
* Note: this settings are meant for Zombie-Mods. For
* normal CS you'll probably want faster response times.
*
* #2. Set one or more of the following to 1 (enabled) to reduce bandwidth.
* Note: Each has its own side effect you should be aware of.
*
* Settting // Side effect when enabled
* -------- // -------------------------*/
#define CD_DONT_SEND_STEPSOUND 0 // Players won't hear their own footstep sounds.
#define CD_DONT_SEND_PUNCHANGLE 0 // Players won't see the actual weapon's recoil if using cl_lw 1.
#define CD_DONT_SEND_NEXTATTACK 0 // Players may see weapons fire when they shouldn't if using cl_lw 1.
#define CD_DONT_SEND_VELOCITY 0 // Players may experience sloppy movements.
#define ES_DONT_SEND_ORIGIN_SELF 1 // None that I can see.
#define ES_DONT_SEND_ANGLES_SELF 0 // If using 3rd person view, players will see themselves looking at an odd direction.
#define ES_DONT_SEND_FRAME_SELF 0 // If using 3rd person view, players will see their own weapon animations incorrectly.
#define ES_DONT_SEND_ANIMTIME_SELF 0 // If using 3rd person view, players will see their own weapon animations incorrectly.
#define ES_DONT_SEND_BLENDING_SELF 1 // None that I can see.
#define ES_DONT_SEND_ANGLES_OTHERS 0 // Players will see others looking at an odd direction
#define ES_DONT_SEND_FRAME_OTHERS 0 // Players will see others' weapon animations incorrectly.
#define ES_DONT_SEND_ANIMTIME_OTHERS 0 // Players will see others skipping around.
#define ES_DONT_SEND_BLENDING_OTHERS 1 // None that I can see.

// #3. You're done. That's the best you'll get out of your connection.


#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
register_plugin("Bandwidth Reducer", "0.1", "MeRcyLeZZ")
register_forward(FM_UpdateClientData, "fw_UpdateClientData", 1)
register_forward(FM_AddToFullPack, "fw_AddToFullPack", 1)
}

public client_putinserver(id) set_task(5.0, "set_cmdrate", id)
public set_cmdrate(id) client_cmd(id, "cl_cmdrate 10")

public fw_UpdateClientData(player, sendweapons, handle)
{
#if CD_DONT_SEND_STEPSOUND
set_cd(handle, CD_flTimeStepSound, 999 )
#endif
#if CD_DONT_SEND_PUNCHANGLE
set_cd(handle, CD_PunchAngle, Float:{ 0.0, 0.0, 0.0 } )
#endif
#if CD_DONT_SEND_NEXTATTACK
set_cd(handle, CD_flNextAttack, 0.0 )
#endif
#if CD_DONT_SEND_VELOCITY
set_cd(handle, CD_Velocity, Float:{ 0.0, 0.0, 0.0 } )
#endif
}

public fw_AddToFullPack(handle, e, ent, host, hostflags, player, pset)
{
if (!player) return;

if (host == ent)
{
#if ES_DONT_SEND_ORIGIN_SELF
set_es(handle, ES_Origin, Float:{ 0.0, 0.0, 0.0 })
#endif
#if ES_DONT_SEND_ANGLES_SELF
set_es(handle, ES_Angles, Float:{ 0.0, 0.0, 0.0 })
#endif
#if ES_DONT_SEND_FRAME_SELF
set_es(handle, ES_Frame, 1.0 )
#endif
#if ES_DONT_SEND_ANIMTIME_SELF
set_es(handle, ES_AnimTime, 1.0 )
#endif
#if ES_DONT_SEND_BLENDING_SELF
set_es(handle, ES_Blending, { 0, 0, 0, 0} )
#endif
}
else
{
#if ES_DONT_SEND_ANGLES_OTHERS
set_es(handle, ES_Angles, Float:{ 0.0, 0.0, 0.0 })
#endif
#if ES_DONT_SEND_FRAME_OTHERS
set_es(handle, ES_Frame, 1.0 )
#endif
#if ES_DONT_SEND_ANIMTIME_OTHERS
set_es(handle, ES_AnimTime, 1.0 )
#endif
#if ES_DONT_SEND_BLENDING_OTHERS
set_es(handle, ES_Blending, { 0, 0, 0, 0} )
#endif
}
}

Hey mercy, that's awesome. +k of course