This tutorial is to how to reduce your lagging a bit and reduce loss and choke etc..
Client side settings
Important Client CVARS
cl_cmdrate
cl_updaterate
cl_rate
cl_lc
ex_interp
cl_cmdrate is the number of game packets per second, you the client will try to send to the server. Again this should not be set higher than your frames per second and not any lower than 20.
cl_updaterate is the number of game packets per second the client will attempt to request off the server. This should be no higher than 100 or the maximum number of frames per second you are getting, and should be no lower than 20.
cl_rate is exactly the same as rate, except that it is the number that determines how much bandwidth the client can send to the server in bytes per second.3
cl_lc is for lag compensation set it to 1 for good gameplay.
ex_interp calculates all possible player positions that said player could be. Now, you control how much your client interpolates by using ex_interp.
So basically: The higher the interp setting, the more cs "guesses" where the other player is. That's why a long time ago, you could set ex_interp very high and see a player before they were actually there.
.01 - Very little "guessing"
.1 - Somewhat more "guessing" if you use this it decreases the disappear and appear effect of players. But guessing might not be always correct.
rate bytes/sec limit FROM the server, Sets how much data/information you receive from the server that you are connected to - for a 14.4 connection, set your rate to 1500 - 33.6k connection use 3000 - 56k modem use 3500 - ISDN should be 5000 - all connections faster than that should be between 5000 and 9999.
IMPORTANT
Press tilde"~" to get the console. Type "netgraph 3" in the console to see choke and loss data. Type "rate" to see the current rate. Type "rate=10000" to set the rate. All without quotes.
Definitions:
Choke: server too slow - you need to ask for less data or find better server.
When you are alone on the map and not doing anything, then the server only needs to send about 1000 bytes a second. When you are in a firefight, the server can end up wanting to send 10,000 bytes a second.
So if you set your rate above the sv_maxrate you can expect choke when things get busy and you are asking for more data than the server will let you have. There is no point having a rate above sv_maxrate.
Loss: you too slow - you need a better computer, or send less data, or have lower fps_max and graphics settings. May vary map to map.
Packet: A discrete piece of data for network transmission. Size of packet varies depending on how much is going on. Thus the need for an upper limit for bytes/sec (rate and cl_rate).
Ping: Time in milliseconds for your connection to reach the server. Broadband might be 40 to 100, dial up around 200, LAN 0 to 40. Busy servers with overloaded connections will make ping worse (higher).
Errors
cl_FlushEntityPacket - This error can be caused by having your cl_cmdrate and cl_updaterate set too high for the current rate. Your ping will go crazy and CS will hardly update at all causing weird problems. Try lowering the cl_updaterate and cl_cmdrate to 50, or 40. You might also try increasing the rate if you have a fast enough connection (as you increase the rate watch your loss, once your rate is too high you will get loss - lower the rate till you get no loss). With a frame rate of 60 and cl_cmdrate of 40 is still very playable. Down to 30 and you will start to notice a delay between you instruction and the result, ie when buying weapons for instance. The optimal cl_cmdrate and cl_updaterate would match the frame rate (what you set fps_max and fps_modem too).
choke - You'll probably experience some choke when things get busy, small amounts for a small time under 10 is ok. If it is consistently going too high and effecting play, or it is present when there is nothing much happening then your cl_cmdrate and cl_updaterate are too high. Experiment and bring them down by 5, see how you like it and see how the choke goes. You'll notice your ping goes down as you lower the cl_updaterate and cl_cmdrate because you are taking the load off your connection, which is not necessarily a good thing if you don't get updated quickly enough!
To Improving choke and decrease the loss
1. Change your rate setting to be similar or equal to what the servers is, if possible. This enables you to have as much bandwidth as the server can provide.
2. Lower your cl_updaterate so you are requesting less game packets per second. Try reducing it to 20 and then keep increasing till you start to get choke, now decrease a bit and leave it.
IMPORTANT
If you do this for every server and save it in a cfg file ex: for server kkkkSTRIKE after finding out the optimum configs to reduce loss and choke save the settings in kkkkSTRIKE.cfg and place it in cstrike folder so that when ever you join the server you don't have to type all the cvars for kkkkSTRIKE you just execute kkkkSTRIKE.cfg . Go to console and type "exec kkkkSTRIKE.cfg" without quotes. You can do this for servers in which you play regularly and as soon as you join a particular server you just execute that servers cfg file.
Sunday, February 1, 2009
How to unlag yourself from a laggy server [ Client side settings ]
Labels:
choke,
client settings,
lag compensation,
loss,
ping,
rates
How to make a lag free server
This tutorial is to make your server lag free
Server Side Settings
IMPORTANT
If your server doesn't lag don't use this method, if you want u may.
If your server lags you can use this method.
I can't guarantee that your server will stop lagging 100% but it will lessen for sure.
Things you need to know before getting started
Every server is unique.
Server settings are different in different server.
It depends on your server settings and your internet speed and even your computer capability.
Three things to tweak
1. Operating system configuration.
2. Internet configuration in OS.
3. Server settings.
Operating system tweaks
1. While you run the server no other processes should be running, close all unnecessary applications (tasks) using task manager especially messenger, browsers and music players even your antivirus. You can even close explorer.exe to bring it back got to taskmanager (alt+ctrl+del) and select file->new task(run)-> type explorer.exe -> ok.
2. Open windows media player and don't play any music this will make the use of high resolution timers don't open any other music player.
3. Reduce the visual effects, right click my computer->properties->advanced->performance settings->visual effects->custom->unmark all and select only, fade or slide tooltips, show shadows under menu, use common tasks in folders, use drop shadows for icon, use visual styles in windows.
4. Got to advanced in performance settings and in virtual memory change-> select a drive which have more than 1gb free hdd space and type initial size 1024 maximum size 1200 click on set then apply -> ok.
5. Right click my computer select properties-> system restore-> click on turn off system restore. apply-> ok .
6. You have to stop some unwanted services or you can disable them go to control panel->Administrative Tools->services->select the service and select stop which is to left of screen or right click select stop.
The services that have to be stopped are, I have just stopped it and made it manual you can even disable it.


Internet Tweak
Download this tcp optimizer
http://www.speedguide.net/files/TCPOptimizer.exe
before you use it read how to use it.
Important: Back up current settings and then do as the procedure in the site says.
This will tweak internet speed and optimize it.
Or you can use auslogic boostspeed.
Defragment your hard drive this is also an important factor.
Server settings tweak
This is only for a dedicated server not listen server. To know how to create a dedicated server read the PREVIOUS POSTS.
If you run a dedicated server its better if you run it in console mode cause it speeds up the loading of a game by not loading up the background 3D graphics on the main menu and instead loading up a blurry background picture and the command console is open.
To start a server in console mode, make a shortcut of hlds.exe then right click the shortcut file select properties->shortcut and paste this line in the target window after hlds.exe.
-console -game cstrike +port 27016 +hostname "Counter strike 1.6" +map de_minidust2 +maxplayers 10


server.cfg this is the most important one
It has cvars = console variables also called as commands .
There are many cvars of those the very important ones that depends on your server performance are
sv_maxrate
sv_minrate
sv_maxupdaterate
sv_minupdaterate
sys_ticrate
rate
sv_unlag
tickrate
Configuring these settings
sv_maxrate is the highest number of bytes per second that the server will transfer to each player.
sv_minrate is the smallest number.
sv_maxupdaterate which is the max number of packets per second sent to clients.
sv_minupdaterate is the smallest number.
To calculate settings for your particular server go to this url.
http://www.reece-eu.net/drekrates.php
Here you can find out optimum rates for your server depending on your comp specification and internet speed. I tested it and it worked out well.
Here it almost always specifies sv_minrate to be set to "0".
But if you want to allow dialup players, If yes, set it to 4000 or 5000, and set the sv_minupdaterate to 15 or 20.
If bandwidth is no limit, I would set the maxrate to 15000 and the maxupdaterate to 60.
sys_tickrate
Here's the big CVAR that impacts gameplay more than anything else. Sys_ticrate is a measure of how fast commands execute on the server and it DIRECTLY VARIES with the server's fps rating. The more FPS the server handles, the better the registry and gameplay. The HL Engine is limited to 1000fps max. To achieve high-ticrates your system must be using a high-resolution timer. (can be achieved by idling something like windows media player) For match servers and private servers your ticrate should be at the very least 500 (about 250 fps).
Rule of thumb for sys_ticrate:
sys_ticrate 500 = 250fps
sys_ticrate 1000 = 512 fps
sys_ticrate 10000 = 1000fps (Max)
High ticrate servers eat processing power, but they are worth it.
rate : bytes/sec limit FROM the server, Sets how much data/information you receive from the server that you are connected to - for a 14.4 connection, set your rate to 1500 - 33.6k connection use 3000 - 56k modem use 3500 - ISDN should be 5000 - all connections faster than that should be between 5000 and 9999.
sv_unlag and cl_lc are for lag compensation
but sv_unlag is for server and cl_lc is for client set it to 1 for good gameplay.
Tickrate
The tickrate of a game server is a measure of how often a server will update the game world. For example, a server running with a tickrate of 33 will update the world 33 times a second. This may seem like a lot, but in precision games such as Counter Strike Source a higher tickrate is essential. The downside of tickrate however is that more bandwidth and CPU is consumed by the server, if you want a smooth server though a higher tickrate is essential. Tickrate can be anything from 33 to 100, however the most common values are:
* 33 Tick
* 66 Tick
* 100 Tick
Most Source games run at 33 or 66 tick by default. Counter Strike Source for example runs at a default of 33 tick.
to apply a tick rate u have to run the dedicate server in console mode and add the command -console -tickrate 33 -hostname "kkkkSTRIKE"
Command Line Commands
There are some commands which can only be used in the Target box of your HL2 icon, or in the 'Set Launch Options' box of Steam. They cannot be used in the game's console or in your autoexec.cfg file. These are referred to as 'Command Line' commands, and the most useful of these commands are provided below
-heapsize [Kilobytes]: This command tells the Source Engine to allocate more RAM to the system heap, where it can be accessed by the game to improve performance by caching more game information in RAM and hence reducing loading pauses. The default heapsize varies, but can be 256MB or less. If you have 2GB of RAM you may wish to increase this to 512MB (a heapsize of 524288). You can use higher values if you wish, but I don't recommend exceeding half your physical RAM (e.g. for 2GB RAM, don't set heapsize higher than 1024000). You can't force the game to load completely into RAM, that's not what this command does.
-console: Speeds up the loading of a game by not loading up the background 3D graphics on the main menu and instead loading up a blurry background picture and the command console is open. Note you can close this console using the '~' key or clicking the x at the top right of the box.
Server Side Settings
IMPORTANT
If your server doesn't lag don't use this method, if you want u may.
If your server lags you can use this method.
I can't guarantee that your server will stop lagging 100% but it will lessen for sure.
Things you need to know before getting started
Every server is unique.
Server settings are different in different server.
It depends on your server settings and your internet speed and even your computer capability.
Three things to tweak
1. Operating system configuration.
2. Internet configuration in OS.
3. Server settings.
Operating system tweaks
1. While you run the server no other processes should be running, close all unnecessary applications (tasks) using task manager especially messenger, browsers and music players even your antivirus. You can even close explorer.exe to bring it back got to taskmanager (alt+ctrl+del) and select file->new task(run)-> type explorer.exe -> ok.
2. Open windows media player and don't play any music this will make the use of high resolution timers don't open any other music player.
3. Reduce the visual effects, right click my computer->properties->advanced->performance settings->visual effects->custom->unmark all and select only, fade or slide tooltips, show shadows under menu, use common tasks in folders, use drop shadows for icon, use visual styles in windows.
4. Got to advanced in performance settings and in virtual memory change-> select a drive which have more than 1gb free hdd space and type initial size 1024 maximum size 1200 click on set then apply -> ok.
5. Right click my computer select properties-> system restore-> click on turn off system restore. apply-> ok .
6. You have to stop some unwanted services or you can disable them go to control panel->Administrative Tools->services->select the service and select stop which is to left of screen or right click select stop.
The services that have to be stopped are, I have just stopped it and made it manual you can even disable it.
Internet Tweak
Download this tcp optimizer
http://www.speedguide.net/files/TCPOptimizer.exe
before you use it read how to use it.
Important: Back up current settings and then do as the procedure in the site says.
This will tweak internet speed and optimize it.
Or you can use auslogic boostspeed.
Defragment your hard drive this is also an important factor.
Server settings tweak
This is only for a dedicated server not listen server. To know how to create a dedicated server read the PREVIOUS POSTS.
If you run a dedicated server its better if you run it in console mode cause it speeds up the loading of a game by not loading up the background 3D graphics on the main menu and instead loading up a blurry background picture and the command console is open.
To start a server in console mode, make a shortcut of hlds.exe then right click the shortcut file select properties->shortcut and paste this line in the target window after hlds.exe.
-console -game cstrike +port 27016 +hostname "Counter strike 1.6" +map de_minidust2 +maxplayers 10


server.cfg this is the most important one
It has cvars = console variables also called as commands .
There are many cvars of those the very important ones that depends on your server performance are
sv_maxrate
sv_minrate
sv_maxupdaterate
sv_minupdaterate
sys_ticrate
rate
sv_unlag
tickrate
Configuring these settings
sv_maxrate is the highest number of bytes per second that the server will transfer to each player.
sv_minrate is the smallest number.
sv_maxupdaterate which is the max number of packets per second sent to clients.
sv_minupdaterate is the smallest number.
To calculate settings for your particular server go to this url.
http://www.reece-eu.net/drekrates.php
Here you can find out optimum rates for your server depending on your comp specification and internet speed. I tested it and it worked out well.
Here it almost always specifies sv_minrate to be set to "0".
But if you want to allow dialup players, If yes, set it to 4000 or 5000, and set the sv_minupdaterate to 15 or 20.
If bandwidth is no limit, I would set the maxrate to 15000 and the maxupdaterate to 60.
sys_tickrate
Here's the big CVAR that impacts gameplay more than anything else. Sys_ticrate is a measure of how fast commands execute on the server and it DIRECTLY VARIES with the server's fps rating. The more FPS the server handles, the better the registry and gameplay. The HL Engine is limited to 1000fps max. To achieve high-ticrates your system must be using a high-resolution timer. (can be achieved by idling something like windows media player) For match servers and private servers your ticrate should be at the very least 500 (about 250 fps).
Rule of thumb for sys_ticrate:
sys_ticrate 500 = 250fps
sys_ticrate 1000 = 512 fps
sys_ticrate 10000 = 1000fps (Max)
High ticrate servers eat processing power, but they are worth it.
rate : bytes/sec limit FROM the server, Sets how much data/information you receive from the server that you are connected to - for a 14.4 connection, set your rate to 1500 - 33.6k connection use 3000 - 56k modem use 3500 - ISDN should be 5000 - all connections faster than that should be between 5000 and 9999.
sv_unlag and cl_lc are for lag compensation
but sv_unlag is for server and cl_lc is for client set it to 1 for good gameplay.
Tickrate
The tickrate of a game server is a measure of how often a server will update the game world. For example, a server running with a tickrate of 33 will update the world 33 times a second. This may seem like a lot, but in precision games such as Counter Strike Source a higher tickrate is essential. The downside of tickrate however is that more bandwidth and CPU is consumed by the server, if you want a smooth server though a higher tickrate is essential. Tickrate can be anything from 33 to 100, however the most common values are:
* 33 Tick
* 66 Tick
* 100 Tick
Most Source games run at 33 or 66 tick by default. Counter Strike Source for example runs at a default of 33 tick.
to apply a tick rate u have to run the dedicate server in console mode and add the command -console -tickrate 33 -hostname "kkkkSTRIKE"
Command Line Commands
There are some commands which can only be used in the Target box of your HL2 icon, or in the 'Set Launch Options' box of Steam. They cannot be used in the game's console or in your autoexec.cfg file. These are referred to as 'Command Line' commands, and the most useful of these commands are provided below
-heapsize [Kilobytes]: This command tells the Source Engine to allocate more RAM to the system heap, where it can be accessed by the game to improve performance by caching more game information in RAM and hence reducing loading pauses. The default heapsize varies, but can be 256MB or less. If you have 2GB of RAM you may wish to increase this to 512MB (a heapsize of 524288). You can use higher values if you wish, but I don't recommend exceeding half your physical RAM (e.g. for 2GB RAM, don't set heapsize higher than 1024000). You can't force the game to load completely into RAM, that's not what this command does.
-console: Speeds up the loading of a game by not loading up the background 3D graphics on the main menu and instead loading up a blurry background picture and the command console is open. Note you can close this console using the '~' key or clicking the x at the top right of the box.
Labels:
counter strike,
lag free,
os config,
rates,
server settings,
services,
tcp config,
tickrate
Monday, January 19, 2009
Counter Strike 1.6 CVARs
CVAR = Console Variable
These are used to control the server configurations.
CVARs are written in two places, In the .cfg file or in the console of the game(server).
Here are the lit of CVARs available for server, these CVARs are to be written in server.cfg file which is present in cstrike direct
http://www.cstrike.ro/server-config-generator.php
You can go to the above link and create the CVARs or check below.
Add the last few CVARs given in this blog which are not provided in the config generator.
Server Cvars
// default server name. Change to "Bob's Server", etc.
hostname "Counter-Strike"
//sv_lan <0/1> 0=Public/LAN, 1=LAN Default: 0
sv_lan 0
// sv_contact Contact email for server admin
sv_contact "a@a.com"
// sv_region <1-7> - The region of the world to report the server in.
// -1 World
// 0 US East coast
// 1 US West coast
// 2 South America
// 3 Europe
// 4 Asia
// 5 Australia
// 6 Middle East
// 7 Africa
sv_region 0
//ROUND
// mp_buytime - The amount of time to allow purchasing weapons/equipment on round start
mp_buytime 0
// mp_c4timer - How long before the c4 explodes
mp_c4timer 35
// mp_timelimit - How long each map should be played before switching levels
mp_timelimit 30
// mp_freezetime - How long players are unable to move during round starts
mp_freezetime 0
//mp_roundtime <1-9> How much time in minutes does a round last. Default: 5
mp_roundtime 2
// mp_startmoney - Specify how much money players start off with
mp_startmoney 16000
//mp_friendlyfire <0/1> Turn on/off friendlyfire. Default: Off
mp_friendlyfire 0
//mp_footsteps <0/1> Turn on/off footsteps. Default: On
mp_footsteps 1
//mp_flashlight <0/1> Turn on/off the ability for clients to use flashlight. Default: Off
mp_flashlight 1
//mp_fraglimit <##> Amount of frags a player can exceed before changing maps. Default: 0
mp_fraglimit 0
//mp_maxrounds <##> Amount of round to play before server changes maps. Default: 0
mp_maxrounds 0
//mp_winlimit <0-20> Max number of rounds one team can win before server changes maps. Default: 0
mp_winlimit 0
// mp_spawnprotectiontime Time in seconds to Kick players who team-kill after round restart. Default: 5
mp_spawnprotectiontime 5
// mp_autoteambalance <0/1> Force clients to auto-join the opposite team if they are not balanced. Default: On
mp_autoteambalance 1
//mp_limitteams <0-20> Max # of players 1 team can have over another. Default: 2
mp_limitteams 2
//mp_autokick <0/1> Kick idle/team-killing players. Default Off
mp_autokick 0
//mp_tkpunish <0/1> Punish TK'ers on next round? Default: On
mp_tkpunish 1
//mp_hostagepenalty <##> How many hostages a Terrorist can kill before being kicked, 0 to disable. Default: 5
mp_hostagepenalty 5
// disable autoaim
sv_aim 0
// sv_cheats <0/1> - Whether to allow game cheat commands to be used by clients. 0 = off | 1 = on
sv_cheats 0
//VOICE-CHATTING
//sv_voiceenable <0/1> Allow clients to use mic. Default: 1
sv_voiceenable 0
//sv_alltalk <0/1> Players can hear all other players, no team restrictions. Default: Off
sv_alltalk 0
//sv_voicecodec Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.. Default:voice_speex
sv_voicecodec voice_speex
//sv_voicequality <1-5> the bps of the voice.
//1-2400bps
//2-6000bps-DEFAULT
//3-8000bps
//4-11200bps
//5-1520bps
sv_voicequality 1
//mp_chattime <0-120> amount of time in seconds players can chat after the game is over. Lower value = faster map load change. Default: 10
mp_chattime 10
//RATES-SPEEDS
//sv_gravity World Gravity Default: 800
sv_gravity 800
//sv_maxvelocity Maximum speed any ballistically moving object is allowed to attain per axis. Default: 3500
sv_maxvelocity 3500
//sv_maxspeed Maximum speed a player can move. Default: 320
sv_maxspeed 320
//CLEINT CVARS
//decalfrequency Amount of time in seconds a player can spray their decal. Default: 10
decalfrequency 10
//sv_consistency <0/1> Force cleints to pass consistency check for critical files before joining server? Default: 0
sv_consistency 0
//sv_timeout <##> After this many seconds without a message from a client, the client is dropped. Default: 65
sv_timeout 65
//mp_playerid <0/1/2> Controls what information player see in the status bar: 0 all names; 1 team names; 2 no names. Default: 0
mp_playerid 0
// sv_pausable <0/1> - Whether to allow clients to pause the server. 0 = off | 1 = on
sv_pausable 0
//sv_allowupload <0/1> Allow clients to upload their custom decals to the server. Default: 1
sv_allowupload 1
//sv_allowdownload <0/1> Allow clients to downnload files. Default: 1
sv_allowdownload 1
//sv_unlag <0/1> Enables player lag compensation. Default: 1
sv_unlag 1
//SPECTATING
//mp_allowspectators <0/1> Allow spectators on the server. Default: 1
mp_allowspectators 0
//mp_forcecamera <0/1> Force dead players to first person mode, effectively disabling freelook. Default: Off
mp_forcecamera 0
//sv_hltv <0/1> Enables HLTV on the server. Default: 0
sv_hltv 0
//BANDWIDTH RATES
//sv_minrate <0-25000> Min bandwidth rate allowed on server. Default: 0 (unlimited)
sv_minrate 0
// sv_maxrate <1000-25000> - The maximum bandwidth rate the server is allowed to transmit to clients
sv_maxrate 10000
//sv_maxupdaterate Maximum updates per second that the server will allow. Default: 60
sv_maxupdaterate 60
//sv_minupdaterate Minimum updates per second that the server will allow. Default: 10
sv_minupdaterate 20
//sys_ticrate Max FPS (1000 Max) the server is to render
sys_ticrate 1000
//SERVER LOGGING
// log Enable server logging? Default: Off
log off
//sv_logbans <0/1> Log server bans in the server logs. Default: 0
sv_logbans 0
// sv_logecho <0/1> Echo log information to the console. Default: 1
sv_logecho 0
// sv_logfile <0/1> Log server information in the log file. Default: 1
sv_logfile 0
//sv_log_onefile <0/1> Log server information to only one file. Default: 0
sv_log_onefile 0
//sv_logsdir Folder in the game directory where server logs will be stored.
//RECON
//rcon_password Set rcon passsword. Leave blank to disable rcon
rcon_password "abcd"
//sv_rcon_banpenalty Number of minutes to ban users who fail rcon authentication. Default: 0
sv_rcon_banpenalty 0
//sv_rcon_maxfailures <0-20> Max number of times a user can fail rcon authentication before being banned. Default: 10
sv_rcon_maxfailures 10
//sv_rcon_minfailures <0-20> Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned. Default: 5
sv_rcon_minfailures 5
//sv_rcon_minfailuretime <1-seconds> Number of seconds to track failed rcon authentications. Default: 30
sv_rcon_minfailuretime 30
// disable autoaim
sv_aim 0
// disable clients' ability to pause the server
pausable 0
setmaster add 69.28.151.162
setmaster add 72.165.61.189
setmaster add 207.173.177.11
setmaster add 68.142.72.250
setmaster add hlmaster.jolt.co.uk
setmaster add 65.73.232.251:27040
setmaster add 65.73.232.253:27040
setmaster add 207.173.177.12:27010
setmaster add 207.173.177.11:27010
// load ban files
exec listip.cfg
exec banned.cfg
You can use this cvar and modify it according to your choice.
Dont forget add your server name.
These are used to control the server configurations.
CVARs are written in two places, In the .cfg file or in the console of the game(server).
Here are the lit of CVARs available for server, these CVARs are to be written in server.cfg file which is present in cstrike direct
http://www.cstrike.ro/server-config-generator.php
You can go to the above link and create the CVARs or check below.
Add the last few CVARs given in this blog which are not provided in the config generator.
Server Cvars
// default server name. Change to "Bob's Server", etc.
hostname "Counter-Strike"
//sv_lan <0/1> 0=Public/LAN, 1=LAN Default: 0
sv_lan 0
// sv_contact
sv_contact "a@a.com"
// sv_region <1-7> - The region of the world to report the server in.
// -1 World
// 0 US East coast
// 1 US West coast
// 2 South America
// 3 Europe
// 4 Asia
// 5 Australia
// 6 Middle East
// 7 Africa
sv_region 0
//ROUND
// mp_buytime
mp_buytime 0
// mp_c4timer
mp_c4timer 35
// mp_timelimit
mp_timelimit 30
// mp_freezetime
mp_freezetime 0
//mp_roundtime <1-9> How much time in minutes does a round last. Default: 5
mp_roundtime 2
// mp_startmoney
mp_startmoney 16000
//mp_friendlyfire <0/1> Turn on/off friendlyfire. Default: Off
mp_friendlyfire 0
//mp_footsteps <0/1> Turn on/off footsteps. Default: On
mp_footsteps 1
//mp_flashlight <0/1> Turn on/off the ability for clients to use flashlight. Default: Off
mp_flashlight 1
//mp_fraglimit <##> Amount of frags a player can exceed before changing maps. Default: 0
mp_fraglimit 0
//mp_maxrounds <##> Amount of round to play before server changes maps. Default: 0
mp_maxrounds 0
//mp_winlimit <0-20> Max number of rounds one team can win before server changes maps. Default: 0
mp_winlimit 0
// mp_spawnprotectiontime Time in seconds to Kick players who team-kill after round restart. Default: 5
mp_spawnprotectiontime 5
// mp_autoteambalance <0/1> Force clients to auto-join the opposite team if they are not balanced. Default: On
mp_autoteambalance 1
//mp_limitteams <0-20> Max # of players 1 team can have over another. Default: 2
mp_limitteams 2
//mp_autokick <0/1> Kick idle/team-killing players. Default Off
mp_autokick 0
//mp_tkpunish <0/1> Punish TK'ers on next round? Default: On
mp_tkpunish 1
//mp_hostagepenalty <##> How many hostages a Terrorist can kill before being kicked, 0 to disable. Default: 5
mp_hostagepenalty 5
// disable autoaim
sv_aim 0
// sv_cheats <0/1> - Whether to allow game cheat commands to be used by clients. 0 = off | 1 = on
sv_cheats 0
//VOICE-CHATTING
//sv_voiceenable <0/1> Allow clients to use mic. Default: 1
sv_voiceenable 0
//sv_alltalk <0/1> Players can hear all other players, no team restrictions. Default: Off
sv_alltalk 0
//sv_voicecodec Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.. Default:voice_speex
sv_voicecodec voice_speex
//sv_voicequality <1-5> the bps of the voice.
//1-2400bps
//2-6000bps-DEFAULT
//3-8000bps
//4-11200bps
//5-1520bps
sv_voicequality 1
//mp_chattime <0-120> amount of time in seconds players can chat after the game is over. Lower value = faster map load change. Default: 10
mp_chattime 10
//RATES-SPEEDS
//sv_gravity World Gravity Default: 800
sv_gravity 800
//sv_maxvelocity Maximum speed any ballistically moving object is allowed to attain per axis. Default: 3500
sv_maxvelocity 3500
//sv_maxspeed Maximum speed a player can move. Default: 320
sv_maxspeed 320
//CLEINT CVARS
//decalfrequency Amount of time in seconds a player can spray their decal. Default: 10
decalfrequency 10
//sv_consistency <0/1> Force cleints to pass consistency check for critical files before joining server? Default: 0
sv_consistency 0
//sv_timeout <##> After this many seconds without a message from a client, the client is dropped. Default: 65
sv_timeout 65
//mp_playerid <0/1/2> Controls what information player see in the status bar: 0 all names; 1 team names; 2 no names. Default: 0
mp_playerid 0
// sv_pausable <0/1> - Whether to allow clients to pause the server. 0 = off | 1 = on
sv_pausable 0
//sv_allowupload <0/1> Allow clients to upload their custom decals to the server. Default: 1
sv_allowupload 1
//sv_allowdownload <0/1> Allow clients to downnload files. Default: 1
sv_allowdownload 1
//sv_unlag <0/1> Enables player lag compensation. Default: 1
sv_unlag 1
//SPECTATING
//mp_allowspectators <0/1> Allow spectators on the server. Default: 1
mp_allowspectators 0
//mp_forcecamera <0/1> Force dead players to first person mode, effectively disabling freelook. Default: Off
mp_forcecamera 0
//sv_hltv <0/1> Enables HLTV on the server. Default: 0
sv_hltv 0
//BANDWIDTH RATES
//sv_minrate <0-25000> Min bandwidth rate allowed on server. Default: 0 (unlimited)
sv_minrate 0
// sv_maxrate <1000-25000> - The maximum bandwidth rate the server is allowed to transmit to clients
sv_maxrate 10000
//sv_maxupdaterate Maximum updates per second that the server will allow. Default: 60
sv_maxupdaterate 60
//sv_minupdaterate Minimum updates per second that the server will allow. Default: 10
sv_minupdaterate 20
//sys_ticrate Max FPS (1000 Max) the server is to render
sys_ticrate 1000
//SERVER LOGGING
// log
log off
//sv_logbans <0/1> Log server bans in the server logs. Default: 0
sv_logbans 0
// sv_logecho <0/1> Echo log information to the console. Default: 1
sv_logecho 0
// sv_logfile <0/1> Log server information in the log file. Default: 1
sv_logfile 0
//sv_log_onefile <0/1> Log server information to only one file. Default: 0
sv_log_onefile 0
//sv_logsdir Folder in the game directory where server logs will be stored.
//RECON
//rcon_password Set rcon passsword. Leave blank to disable rcon
rcon_password "abcd"
//sv_rcon_banpenalty
sv_rcon_banpenalty 0
//sv_rcon_maxfailures <0-20> Max number of times a user can fail rcon authentication before being banned. Default: 10
sv_rcon_maxfailures 10
//sv_rcon_minfailures <0-20> Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned. Default: 5
sv_rcon_minfailures 5
//sv_rcon_minfailuretime <1-seconds> Number of seconds to track failed rcon authentications. Default: 30
sv_rcon_minfailuretime 30
// disable autoaim
sv_aim 0
// disable clients' ability to pause the server
pausable 0
setmaster add 69.28.151.162
setmaster add 72.165.61.189
setmaster add 207.173.177.11
setmaster add 68.142.72.250
setmaster add hlmaster.jolt.co.uk
setmaster add 65.73.232.251:27040
setmaster add 65.73.232.253:27040
setmaster add 207.173.177.12:27010
setmaster add 207.173.177.11:27010
// load ban files
exec listip.cfg
exec banned.cfg
You can use this cvar and modify it according to your choice.
Dont forget add your server name.
Subscribe to:
Comments (Atom)