06-08-2009, 05:04 PM
(This post was last modified: 06-08-2009, 05:14 PM by uberleet302.)
YOUVE GOT TO HELP ME! ok... i just got srcds... i got wcs on it
all this stuff... this is how my server.cfg looks like:
The shortcut to my srcds is: D:\srcds\srcds.exe -console -game cstrike -tickrate 33 -ip 76.27.96.152 -port 27015 -maxplayers 12 +map de_dust2
http://www.whatismyip.com tells me my external ip is 76.27.96.152 , but when i put that in the srcds, it gives me an engine error, "Couldn't allocate dedicated server UDP port... what am i supposed to put instead of 76.27.96.152?
all this stuff... this is how my server.cfg looks like:
Quote:// Black-Sky ----- Load Module \\
//---------------------------------\\
//| Made by Drocona |\\
//| ********************** |\\
//---------------------------------\\
// Best viewed wordwrap turned off \\
//------------------------------//**Main Server Config**\\--------------------------------\\
hostname "My servername" //Hostname for server.
sv_password mypassword //Server password for entry into multiplayer games
//ip youriphereifulike //Overrides IP for multihomed hosts (just backup, not needed)
//hostport 27015 //Host game server port (just backup, not needed)
sv_lan 0 //Server is a lan server ( no heartbeat, no authentication, no non-class C addresses, 9999.0 rate, etc. )
motdfile motd.txt //The MOTD file to load
mapcyclefile mapcycle.txt //File to load mapcycle from
//sv_downloadurl "http://mysite.com/cstrike" //Location from which clients can download missing files (don't use if you don't have webspace)
fps_max 500 //Frame rate limiter (FPS is important on the server, this sets the limit higher)
//------------------------------------//**RCon**\\----------------------------------------\\
rcon_password dude //remote console password
sv_rcon_banpenalty 0 //Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures 20 //Max number of times a user can fail rcon authentication before being banned
sv_rcon_minfailures 20 //Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_minfailuretime 20 //Number of seconds to track failed rcon authentications
//----------------------------------------------------------------------------------------\\
//------------------------------//**Main Game Settings**\\--------------------------------\\
mp_restartgame 0 //If non-zero, game will restart in the specified number of seconds
mp_roundtime 3 //How many minutes each round takes.
mp_autokick 0 //Kick idle/team-killing players
mp_timelimit 30 //game time per map in minutes
mp_winlimit 25 //max number of rounds one team can win before server changes maps
mp_maxrounds 0 //max number of rounds to play before server changes maps
mp_fraglimit 0 //max number of kills to get before server changes maps
mp_allowspectators 0 //toggles whether the server allows spectator mode or not
mp_buytime 3 //How many minutes after round start players can buy items for.
mp_freezetime 4 //how many seconds to keep players frozen when the round starts
decalfrequency 20 //Amount of time in seconds a player can spray their decal
mp_friendlyfire 0 //Allow friendly fire
mp_falldamage 1 //Will players be damaged when they fall a certain distance
mp_footsteps 1 //Makes clients hear footsteps of eachother
mp_flashlight 1 //Allow the flashlight to be used
mp_forcecamera 0 //Restricts spectator modes for dead players
mp_fadetoblack 0 //fade a player's screen to black when he dies
mp_chattime 15 //amount of time players can chat after the game is over
mp_startmoney 1000 //amount of money each player gets when they join the game
mp_c4timer 40 //how long from when the C4 is armed until it blows
mp_tkpunish 0 //Will a TK'er be punished in the next round? {0=no, 1=yes}
mp_hostagepenalty 0 //Terrorist are kicked for killing too much hostages
mp_spawnprotectiontime 5 //Kick players who team-kill within this many seconds of a round restart.
mp_playerid 0 //Controls what information player see in the status bar: 0 all names, 1 team names, 2 no names
//----------------------------------------------------------------------------------------\\
//---------------------------------//**Team Settings**\\----------------------------------\\
mp_autoteambalance 1 //Server automatically changes players to even teams
//mp_defaultteam 0 //What is the default team to join?
//mp_humanteam T //Restricts human players to a single team {any, CT, T}
mp_limitteams 2 //Max # of players 1 team can have over another (0 disables check)
mp_teamoverride 1 //Allow server to regulate teams
//----------------------------------------------------------------------------------------\\
//-----------------------------------//**System**\\---------------------------------------\\
sv_contact me@myemail.com //Contact email for server sysop
sv_region 3 //The region of the world to report this server in.0=US East coast, 1=US West coast, 2= South America, 3=Europe, 4=Asia, 5=Australia, 6=Middle East, 7=Africa and 255=world.
sv_cheats 0 //Allow cheats on server
sv_pausable 0 //Is the server pausable.
sv_filterban 0 //Set packet filtering by IP mode
sv_forcepreload 0 //Force server side preloading.
sv_allowdownload 1 //Allow clients to download files
sv_allowupload 1 //Allow clients to upload customizations files
sv_maxrate 10000 //Max bandwidth rate allowed on server, 0 == unlimited
sv_minrate 10000 //Min bandwidth rate allowed on server, 0 == unlimited
sv_maxupdaterate 100 //Maximum updates per second that the server will allow (don't change this)
sv_minupdaterate 20 //Minimum updates per second that the server will allow (don't change this)
sv_unlag 1 //Enables player lag compensation
sv_maxunlag 1 //Maximum lag compensation in seconds
sv_unlag_debug 0 //Debugs lag compensation
sv_alltalk 0 //Players can hear all other players, no team restrictions
sv_footsteps 1 //Play footstep sound for players
sv_voiceenable 0 //Enables voice talking ingame
sv_voicecodec vaudio_miles //Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.
sv_timeout 60 //After this many seconds without a message from a client, the client is dropped
//----------------------------------------------------------------------------------------\\
//------------------------------------//**Bot**\\-----------------------------------------\\
//bot_chatter minimal
//bot_defer_to_human 1
//bot_difficulty 1 // 1- Easy 2- hard 3- Impossible
//bot_join_after_player 0
//bot_prefix "-[Im-A-Bot]- " // Bots get this infront of their name (-[Im-A-Bot]- Shawn)
//bot_quota 20 // Maximum amount of bots that join the game
//bot_quota_mode normal
//bot_auto_vacate 0 // Bots automatically leave the server to make room for players
//bot_auto_follow 1 // Bots follow human players
//bot_allow_rogues 0 // Allow bots to go their own way
//bot_eco_limit 3000 // Bots won't buy anything when cash is below this amount
//bot_all_weapons
//bot_allow_grenades 1
//bot_allow_machine_guns 1
//bot_allow_pistols 1
//bot_allow_rifles 1
//bot_allow_shotguns 1
//bot_allow_snipers 0
//bot_allow_sub_machine_guns 1
//bot_join_team random
//----------------------------------------------------------------------------------------\\
//----------------------------------//**Logging**\\---------------------------------------\\
log on //Creates a logfile (Enable= on Disable= off)
sv_logfile 1 //Log server information in the log file.
sv_logsdir F:\SRCDS\cstrike\logs //Folder in the game directory where server logs will be stored.
sv_logecho 0 //Echo log information to the console.
sv_log_onefile 1 //Log server information to only one file.
sv_logbans 1 //Log server bans in the server logs.
sv_logdownloadlist 1 //Log files to download.
sv_deltaprint 0 //Print accumulated CalcDelta profiling data (only if sv_deltatime is on)
//----------------------------------------------------------------------------------------\\
//----------------------------------//**ManiLoad**\----------------------------- ---------\\
exec mani_server.cfg
The shortcut to my srcds is: D:\srcds\srcds.exe -console -game cstrike -tickrate 33 -ip 76.27.96.152 -port 27015 -maxplayers 12 +map de_dust2
http://www.whatismyip.com tells me my external ip is 76.27.96.152 , but when i put that in the srcds, it gives me an engine error, "Couldn't allocate dedicated server UDP port... what am i supposed to put instead of 76.27.96.152?