From: havoc Date: Mon, 11 Jun 2007 15:25:16 +0000 (+0000) Subject: increase default sv_maxrate from 10KB/s to 1MB/s, this makes X-Git-Tag: xonotic-v0.1.0preview~3060 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=b9f9f6cec9709da91cdc8dd63c14a931c0423995;p=xonotic%2Fdarkplaces.git increase default sv_maxrate from 10KB/s to 1MB/s, this makes unconfigured servers far more useful, especially for LAN games increase default rate from 10KB/s to 20KB/s, this makes downloads go faster and anyone who can handle 10KB/s is usually on broadband that can handle 20KB/s (dialup and ISDN users will want to lower it) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7401 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index 62d08241..bcdd0cf3 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -1248,7 +1248,7 @@ void Host_BottomColor_f(void) Host_Color(-1, atoi(Cmd_Argv(1))); } -cvar_t cl_rate = {CVAR_SAVE | CVAR_NQUSERINFOHACK, "_cl_rate", "10000", "internal storage cvar for current rate (changed by rate command)"}; +cvar_t cl_rate = {CVAR_SAVE | CVAR_NQUSERINFOHACK, "_cl_rate", "20000", "internal storage cvar for current rate (changed by rate command)"}; void Host_Rate_f(void) { int rate; diff --git a/sv_main.c b/sv_main.c index 69a3cd0f..c105bebb 100644 --- a/sv_main.c +++ b/sv_main.c @@ -91,7 +91,7 @@ cvar_t sv_idealpitchscale = {0, "sv_idealpitchscale","0.8", "how much to look up cvar_t sv_jumpstep = {CVAR_NOTIFY, "sv_jumpstep", "0", "whether you can step up while jumping (sv_gameplayfix_stepwhilejumping must also be 1)"}; cvar_t sv_jumpvelocity = {0, "sv_jumpvelocity", "270", "cvar that can be used by QuakeC code for jump velocity"}; cvar_t sv_maxairspeed = {0, "sv_maxairspeed", "30", "maximum speed a player can accelerate to when airborn (note that it is possible to completely stop by moving the opposite direction)"}; -cvar_t sv_maxrate = {CVAR_SAVE | CVAR_NOTIFY, "sv_maxrate", "10000", "upper limit on client rate cvar, should reflect your network connection quality"}; +cvar_t sv_maxrate = {CVAR_SAVE | CVAR_NOTIFY, "sv_maxrate", "1000000", "upper limit on client rate cvar, should reflect your network connection quality"}; cvar_t sv_maxspeed = {CVAR_NOTIFY, "sv_maxspeed", "320", "maximum speed a player can accelerate to when on ground (can be exceeded by tricks)"}; cvar_t sv_maxvelocity = {CVAR_NOTIFY, "sv_maxvelocity","2000", "universal speed limit on all entities"}; cvar_t sv_newflymove = {CVAR_NOTIFY, "sv_newflymove", "0", "enables simpler/buggier player physics (not recommended)"};