Raised This Month: $ Target: $400
 0% 

Need help server.cfg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Q-Lined
Member
Join Date: Apr 2009
Old 09-06-2009 , 08:33   Need help server.cfg
Reply With Quote #1

Code:
// Allows players to join as spectator.
allow_spectators 1

// Sets the frequency at which players can spray their logos. Amount is in seconds, 0 means no delay (spray as
// fast as you can).
decalfrequency 30

// This is used to add slowdown when jumping off of an edge. When jumping off of a platform that is 70 units
// from the ground, the effect of edgefriction is greatly increased. When set higher, the force pulling you down
// is greater. (Gravity in a sense)
edgefriction 2

// Sets the name of the server.
hostname "eXoLus.Lt CS 1.6 DM Server (2002-2009)"

// This is used for team restrictions. Set it to "any" to allow all teams (default), to "ct" to only allow
// Counter-Terrorists, and to "t" to only allow Terrorists.
humans_join_team any

// If the connection with steam server can't be make, you'll need to use this variable in the server command
// line specifying the server's ip.
ip ""

// Sets the config file which is loaded when the listen server start.
lservercfgfile listenserver.cfg

// This sets the config file which is loaded at each map change.
mapchangecfgfile ""

// This sets the file which will be used for the map cycle.
mapcyclefile mapcycle.txt

// Sets the file to use as message of the day (welcome screen).
motdfile motd.txt

// Enable automatic team-killer banning and idle client kicking.
mp_autokick 0

// Toggles auto balancing of teams.
mp_autoteambalance 1

// Designate the desired amount of buy time for each round.
mp_buytime 0.25

// C4 timer duration. Minimum of 15, maximum of 90. Value should be 35 sec in matches.
mp_c4timer 35

// When set to 1, player's screen fades to black for the remainder of the round when he dies (hud still works
// normally so player can chat and see the scores, etc.) Overrides mp_forcechasecam
mp_fadetoblack 0

// Set to 1 to enable the use of flashlights, 0 to disable.
mp_flashlight 1

// Set to 1 to enable footsteps, 0 to disable.
mp_footsteps 1

// This cvar seems to be exactly the same as mp_forcechasecam. If mp_forcecamera and mp_forcechasecam are both
// set to an other value than 0, mp_forcecamera will be ignored and mp_forcechasecam value will be used instead.
//
// 0 You can spectate anyone
// 1 You can spectate teammates only + No Free Look
// 2 Only first person mode is allowed
// 3 You can spectate teammates only (Free Look works)
mp_forcechasecam 0

// If set to something other than 0, when anybody’s scored reaches mp_fraglimit the server changes map.
mp_fraglimit 0

// The length in seconds of the Freeze period at the beginning of rounds. Set to 0 to disable.
mp_freezetime 0

// Set to 1 to enable friendly fire, 0 to disable.
mp_friendlyfire 0

// Max. number of hostages you can kill before the server boots you out... setting this to 0 will shut off this
// command.
mp_hostagepenalty 0

// Maximum number of players that one team can have over the other. To entirely disable team limiting, set to 0.
mp_limitteams 1

// Maximum number of rounds to be played on a map, leave at 0 to obey mp_timelimit.
mp_maxrounds 0

// Toggles what information players see in the status bar
// 0 everyone: players see all names listed in the status bar (with appropriate team colors)
// 1 team only: players only see names for their teammates and hostages in the status bar
// 2 off: players do not see any names in the status bar (hostages included)
mp_playerid 0

// Min round time is 1 min. Max round time is 9 min. Supports partial minutes (1.5 is 90 seconds).
mp_roundtime 9

// Sets the amount of money players start with.
mp_startmoney 800

// Period between map rotations.
mp_timelimit 30

// If set to 1, TK'ers will be auto-killed next round.
mp_tkpunish 0

// Will cycle the map after one team reaches this many wins.
mp_winlimit 0

// Allow or not the players to pause the game using the pause command.
pausable 0

// Sets the port to use for your server.
port 27015

// It sets the rcon password on the server for the administrators to be able to use admins commands/cvars. The
// administrators have also to set rcon_password in their client console to be able to use admins
// commands/cvars with the rcon command.
rcon_password "xxx"

// Sets the config file which is loaded when the server start. Only for dedicated servers.
servercfgfile server.cfg

// It sets how fast you accelerate in air. Use 100 for surf_ maps.
sv_airaccelerate 10

// Enables the server from downloading any content to the client (maps, sprays and related)
sv_allowdownload 1

// Allows clients sending custom sprays to the server.
sv_allowupload 1

// Allow dead players to communicate via voice chat to alive players. Also allow players to communicate with
// opposite team/spectators.
sv_alltalk 0

// It's used to set the server's owner e-mail.
sv_contact "Telelanas, Klaipeda"

// Setting this CVAR will allow Clients to download Custom Content via HTTP instead of sourcing the content
// from the game server, much faster.
// Set this to "" (null string) to convert back to normal downloads.
sv_downloadurl ""

// It sets packet filtering by IP mode. If disabled, everybody will be like IP-Banned, but their IP won't be
// added to banlist.
sv_filterban 1

// Sets the gravity. Lower value is lower gravity. You keep being in the air with sv_gravity 0, and can't jump
// with sv_gravity 12000. With negatives values, same effect as sv_gravity 0, but it jumps really faster.
sv_gravity 800

// It enables LAN server mode (no heartbeat, no authentication, class C). Only people from your local network
// can join.
sv_lan 0

// It specifies the rate to use for all clients on a lan server (sv_lan 1), default is 20000. If
// sv_lan_rate < 1001, it will be ignored and "rate" (client side) will be used.
sv_lan_rate 20000

// This set the maximum bytes per seconds the server can send to the client. 0 = unlimited. For internet games
// only (sv_lan 0), except if sv_lan_rate < 1001 on a LAN game (sv_lan 1).
sv_maxrate 0

// Sets the maximum speed. In CS it doesn't change anything after 260, because of the weapon's speed(You go
// faster with scout, which is 260).
sv_maxspeed 320

// Sets the maximum amount of seconds that the netcode compensates for someone's ping (sv_unlag need to be
// enabled). The netcode will compensate for 500ms by default.
sv_maxunlag 0.5

// This is the maximum amount of updates per second the server is able to send to the client (See
// cl_updaterate).
sv_maxupdaterate 33

// This set the minimum bytes per seconds the server can send to the client. 0 = unlimited. For internet games
// only (sv_lan 0), except if sv_lan_rate < 1001 on a LAN game (sv_lan 1).
sv_minrate 0

// This is the minimum amount of updates per second the server is able to send to the client (See
// cl_updaterate).
sv_minupdaterate 33

// Sets the password for the server. People, who want to connect to the server, needs the password.
sv_password ""

// This is to allow HLTV proxy servers to connect to your server. It sets how much HLTV proxies will be able to
// connect to your server. HLTV proxies take up server slots, so make sure you take that into account before
// enabling this.
sv_proxies 0

// This is for the server browser filters, to set in which region the server should be shown.
//
// eastcoast - sv_region 0
// westcoast - sv_region 1
// south america - sv_region 2
// europe - sv_region 3
// asia - sv_region 4
// australia - sv_region 5
// middle east - sv_region 6
// africa - sv_region 7
// world - sv_region 255
sv_region 3

// Enables the server from sending custom sprays to the clients. sv_send_logos 1 requires sv_allowdownload 1
// to work.
sv_send_logos 0

// This cvar controls whether resources are propagated to clients.
sv_send_resources 1

// Determines whether or not to collect server CPU usage stats. Use the command "stats" to view the CPU
// usage data collected by this.
sv_stats 1

// This is used to determine the maximum height of which you can walk up, without jumping. When set to a
// high number, you can walk over very tall objects. When set to a small number you can not walk up the
// littlest step.
sv_stepsize 18

// Controls how long before the server disconnects a client that has stopped responding (He can just be
// AFK).
sv_timeout 60

// It allows the clients to use lag compensation. Leave this ON.
sv_unlag 1

// This how much server slots are visible from the server browser. This is used to keep slots for admins.
// They have to use the connect command to join a hidden slot. But without a mod/plugin, anybody can join
// the hidden slot.
sv_visiblemaxplayers -1

// Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.
// There are two codecs : voice_miles (default) and voice_speex. voice_speex gives the better voice quality.
// See also sv_voicequality.
sv_voicecodec voice_speex

// It enables the voice comms.
sv_voiceenable 1

// If you have voice comms enabled on your server, you can set the quality of voice from here. Keep in mind,
// the better the quality, the more bandwidth voice comms will require. It need the voice_speex codec to be
// enabled (see sv_voicecodec).
//
// sv_voicequality 1 : 2400bps, lowest quality
// sv_voicequality 2 : 6000bps
// sv_voicequality 3 : 8000bps
// sv_voicequality 4 : 11200bps
// sv_voicequality 5 : 15200bps, highest quality
sv_voicequality 5

exec listip.cfg
exec banned.cfg
exec addons/booster/booster.cfg
Internet Info:
Download speed 50mb/s
Upload speed 10mb/s

Pc Info:
AMD Athlon(tm) 64 X2 Dual
Core Processor 4600+
2.41 GHz, 2.00 GB of RAM

Need help server rates and more cvars.
Thanks.
Q-Lined is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 09-06-2009 , 12:17   Re: Need help server.cfg
Reply With Quote #2

You forgot the most important :/

What do you want us to do?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Q-Lined
Member
Join Date: Apr 2009
Old 09-06-2009 , 13:03   Re: Need help server.cfg
Reply With Quote #3

config server rates with http://www.reece-eu.net/drekrates.php , but me can't
Q-Lined is offline
mattisbogus
Senior Member
Join Date: Jun 2009
Location: North Carolina, USA
Old 09-06-2009 , 14:53   Re: Need help server.cfg
Reply With Quote #4

Quote:
Originally Posted by Q-Lined View Post
config server rates with http://www.reece-eu.net/drekrates.php , but me can't

Your Specs
CPU 2.4GHz
RAM 2GB
Upload 10k

Recommeneded Rates (32 slot):
sv_minrate 0 sv_maxrate 39000
sv_maxupdaterate 130

I would recommend you just settings maxrate 25000 maxupdaterate 100, clients won't notice much difference over that anyway.
mattisbogus is offline
TazZ.amxx
Member
Join Date: Jun 2009
Old 09-15-2009 , 03:48   Re: Need help server.cfg
Reply With Quote #5

Quote:
Originally Posted by Q-Lined View Post
config server rates with http://www.reece-eu.net/drekrates.php , but me can't
I used this calculator, but the values which are already entered in my server.cfg are very different!

I calculated now:
Quote:
sv_minrate 0
sv_maxrate 5000
sv_minupdaterate 10
sv_maxupdaterate 17
values in my server.cfg are:
Quote:
sv_minrate "2500"
sv_maxrate "20000"
sv_minupdaterate "20"
sv_maxupdaterate "100"
My Questions:
  • the values have really located into the server.cfg?Right location?
  • Which values should I use now?

Serversystem:
AMD 4400+ X2 (2*2200MHz)
2GB RAM
Internet: VDSL25 Down: ~20000Kbit Up: ~400-500Kbit
10 Slot Server
TazZ.amxx is offline
mattisbogus
Senior Member
Join Date: Jun 2009
Location: North Carolina, USA
Old 09-15-2009 , 13:08   Re: Need help server.cfg
Reply With Quote #6

You should use these settings for your connection speed.

sv_minrate 0
sv_maxrate
5000
sv_minupdaterate
10
sv_maxupdaterate
17

The other settings are way to high for your speed. The maxupdaterate can actually be adjusted by about 4 values down in case you experience any lag or high ping, but going below 13 really isn't recommended.

Also, yes those settings are located in your server.cfg and if not you can put them in there and it will work.
mattisbogus is offline
TazZ.amxx
Member
Join Date: Jun 2009
Old 09-16-2009 , 05:23   Re: Need help server.cfg
Reply With Quote #7


Edit: I think I have an other unexpected temporally error here at the Server PC! I will do more tests now, and inform you later!


my Server is here in my LAN and I have usually a Ping of 8-10ms (with the earlier values "//" !) My friends pings are about 60-70ms over the internet, of course. No lags with this configs.

now I entered ur values:
Code:
//sv_maxrate "20000"
sv_maxrate "5000"
//sv_minrate "2500"
sv_minrate "0"
//sv_maxupdaterate "100"
sv_maxupdaterate "17"
//sv_minupdaterate "20"
sv_minupdaterate "10"
but I get now massive lags! I changed the sv_maxupdaterate to "13" as u told me. But my Ping is about 70ms (LAN) !

What is wrong? Need ur help, thx ! But your values should work?


Last edited by TazZ.amxx; 09-16-2009 at 14:33.
TazZ.amxx is offline
mattisbogus
Senior Member
Join Date: Jun 2009
Location: North Carolina, USA
Old 09-16-2009 , 11:04   Re: Need help server.cfg
Reply With Quote #8

The values I posted are values that should work well with your connection speed. However your upload speed is very low so you are going to have to do more tweaking to find the correct values that work best for you.

There are also things beside your connection speed that could cause you these problems.

*Playing from the same PC the server is running from.
*Someone else using the internet on your network.
*AMX Plugins
*Mods (zombie,bf2,GunGame, etc)
*Server CPU over 50%

Also just to make sure, do a speed test and post your results if you don't mind.

http://www.speedtest.net/
mattisbogus is offline
TazZ.amxx
Member
Join Date: Jun 2009
Old 09-16-2009 , 11:20   Re: Need help server.cfg
Reply With Quote #9

thx for the ideas. My Server is here at home, a standalone Server. My CS Client is another pc.

The problem is the CPU Last, now (because some running programms I need today^^). I will try the config later again.

Speedtest:
DL : 17,95 MB/s
UP : 3,61 MB/s

10 Slot Server, need more details over my Server or else?

I will give feedback over the ping later! Thx again.
TazZ.amxx is offline
mattisbogus
Senior Member
Join Date: Jun 2009
Location: North Carolina, USA
Old 09-16-2009 , 15:02   Re: Need help server.cfg
Reply With Quote #10

Well it looks like now you have a 3 to 4 MB/s upload speed which is very good. I only have 2MB/s upload speed and I run 26 slots without any lag.

I would again try to keep tweaking sv_maxrate and sv_maxupdaterate. I personally have my settings sv_maxrate 8000 sv_maxupdaterate 23. These settings could put a little higher, but I try to have a little room between, and also because I run bots which will take up more CPU.

Try to experiment with your settings because I have misunderstood your connection specs from previous post:
Quote:
Serversystem:
AMD 4400+ X2 (2*2200MHz)
2GB RAM
Internet: VDSL25 Down: ~20000Kbit Up: ~400-500Kbit
10 Slot Server
I gave you settings based on 400-500 KB/s.

With your upload speed 3-4MB/s you should be able to run these settings fine:
sv_minrate "2500"
sv_maxrate "20000"
sv_minupdaterate "20"
sv_maxupdaterate "100"

If any problems, check with your plugins and or mods you are running. Also is your sys_ticrate set higher than 100? Also if you can check your server's CPU usage and close any programs/services the server doesn't need to minimize problems. Also no p2p programs should ever be running on the network at the same time the server is running.
mattisbogus is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode