If set to 2, the server will force all clietn files to come from steam and not load pure_server_whilelist.txt. Sv_pure 0 //If set to 1, server will force all client files execpt whitelisted ones (in pure_server_whitelist.txt) to match server's files. Otherwise, it will issue a warning to the client. Sv_pure_kick_clients 0 //default 1 If set to 1, the server will kick clients with mismatchng files. Sv_forcepreload 1 //default 0 Force server side preloading Sv_pausable 0 //default 0 is the server pausable Sv_consistency 0 //default 1 Whether the server enforces file consistency for critical files Sv_clearhinthistory 0 //(command)Clear memory of server side hint displayed to the player. Sv_alternateticks 0 //defulat 0 (singleplayer)If set, server only simulates entities on even numbered ticks. Sv_allow_wait_command 0 //default 1 Allow or disalow the wait command on clients connected to this server. Mp_disable_autokick 1 //(command)prevents a userid from being auto-kicked (Usage mp_diable_autokick ) Sm_cvar survivor_friendly_fire_factor_normal 1 Sm_cvar survivor_friendly_fire_factor_hard 1 Sm_cvar survivor_friendly_fire_factor_expert 1 Sm_cvar survivor_friendly_fire_factor_easy 1 Use a search key to find the server in the lobby This states how players should contact you Here [is an example server.cfg file you can download and edit. To calculate this variable we use a formula it’s simple and 90% accurate. As I explained above, this has something to do with the maxplayers of the server. If you don’t have a great connection, you can set this variable to make your server run perfectly. It’s the maximum amount of data sent to one client per second. This variable probably has the most impact on the quality of the server performance. That’s why we set this to 20 just like maxupdaterate, this value fits all servers. During the years I’ve been hosting servers, I’ve found out that when the updates drop below 20 per second, clients start to experience lag. This variable is the opposite of maxupdaterate. Thus, a setting of 100 for this variable is more or less a “one size fits all.” Having a tickrate of 33 will make this variable 33 as well. If you set this to 100, your server will run optimally because the tickrate automatically adjusts this value. This variable sets the maximum amount of updates the server will send to each client per second. Here are some explanations on the most important variables: If you have spaces somewhere (the name of the server for example), be sure to write it between quotes. means the server will ignore everything behind // on that line, so if you want to stop using a variable, put // in front of it - this is commonly referred to as "commenting out" which tells the server to ignore that command/cvar.Įvery variable has to be put on its own line, or else it will not be read/executed and the server console may report an error about it so you can narrow down the issue. Don’t name it anything yet just creat a blank text file.įor a complete list of L4D2 Cvars, see thisįor a text file list of all L4D2 Cvars see this [One of the most important things to keep in mind while writing the server.cfg is the syntax. Port Foward [Check if your Ports are Open [E:\L4D2\left4dead2\cfg\server.cfgĬreate this file using notepad, simply right-click in the folder and select New⇒Text Document. By default the L4D2 port is 27015 however it may have a range from 27015-27020 or more. If you are hosting your server on a game server provider (GameServers, VPS (Virtual Private Server such as NFOServers) or a host that you actually pay for, then you don't need to worry about this as your provider should have all ports forwarded automatically depending on what server you are hosting. For those not familiar with the process, please utilize Google and other resources such as the ones below for assistance in forwarding your ports. Those creating a Listen Server will encounter Port Forwarding issues which if you know how to access your router control panel, is an easy fix. This guide will work for Listen Servers (Listen Servers are servers hosted on the same Computer that you play the game on) This guide is aimed at servers that are hosting on a provider or system other than the game client. There are many resources out there for Port Forwarding.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |