SRCDS Steam group


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Team Fortress 2 - guide server.cfg
#61
Should be this:
Code:
mp_forcecamera 1
// force dead clients to first person mode disabling freelook. 0 is off 1 is on
The config I used to use is posted HERE
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
#62
Thanks, thats it! =)
#63
I was wondering how im supposed to add this to my server.CFG and what section

log 1
logaddress_delall
logaddress_add logs05.hlstatsx.comSadnumber removed)

im trying to add HLstatsx (paid version) to my server but I have only had a server for 1 day now

I already have sourcemod and metamod source installed (and rtd + quake plugin)

Call me noob I know I am one

the email I got says I have to add this to autoexec.cfg (which I cant find) but a friend of mine told me it was supposed to be in server.cfg

this is for a TF2 server btw which is not using SRCDS but is hosted by a Game server hoster

I was thinking this is supposed to be somewhere under server logging.

(this is part of the email I was given)

The following settings are required at your Source server!
Within the file autoexec.cfg in the appropriate directory (e.g. cstrike/cfg):

log 1
logaddress_delall
logaddress_add logs05.hlstatsx.comSadnumber removed)

You need to set the three lines above in the config and you also need to restart your gameserver. Additionally check your configuration files like server.cfg for all "log 0", "log off" and "logaddress_delall" entries and remove them!
#64
Alright i just made one check it out.
Code:
//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*               SRCDS Team Fortress 2 SERVER CONFIGURATION              *\\
//*                              VERSION 1.0                              *\\
//*                                                                       *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

say "Loading SRCDS Team Fortress 2 SERVER CONFIGURATION"

//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*                          Miscellaneous                                *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

// Define your ServerName, this is the name there'll be displayed in the Internet tab.
// Defualt: Counter-Strike: Source
hostname "SRCDS SERVER CONFIGURATION"


// Define your RCon(Remote Console) password, this is mostly used for match servers.
// I'll recommend you to set one, incase you suddenly needs it.
// Default: Just don't make it easy to quess! Use big and small letters and numbers!
// Look at the example I've set for this one. No one will quess that, only 1 out of ten billion times.
// Defualt: None.
rcon_password "W55aO1bL9"

// Number of minutes to ban users who fail rcon authentication
sv_rcon_banpenalty 5

// Max number of times a user can fail rcon authentication before being banned
sv_rcon_maxfailures 10

// Define your Server password, so only people who knows it can connect.
// Defualt: None.
sv_password ""

// Define your website for FastDownload.
// Extra: Are you looking for a free webhost to FastDownload?
// If so, goto this thread at http://forums.srcds.com/viewtopic/9366
// Or this is if the other one doesn't work: www.downloadurl.net
// Defualt: None.
sv_downloadurl ""


// Allow clients to upload their custom decals to the server.
// Default: 1
sv_allowupload 1


// Allow clients to downnload files.
// Default: 1
sv_allowdownload 1      


// Define your servers MAX Frame Per Second(FPS).
// To recieve 1000FPS on Windows, try to use "fps_max 0".
// Defualt: ?
fps_max "300"

// This controls your server framerate.
// Default: 0
//host_framerate 60


// Amount of time in seconds a player can spray their decal.
// Default: 10
decalfrequency 60
      

// If this CVAR is 0, both Internet and LAN players will be able to join.
// If this CVAR is 1, ONLY LAN PLAYERS ON YOUR OWN NETWORK WILL BE ABLE TO JOIN NOMATTER IF YOU HAVE DONE PORTFORWARING!
// Default: 0
sv_lan 0  


// This will define your location in the world, if somebody as Europe ONLY in their filtes and you have USA - then wouldn't be able to find your server.
// Default: 3
// 0 - Us Eastcoast.
// 1 - US Westcoast.
// 2 - South America.
// 3 - Europe.
// 4 - Asia.
// 5 - Australia.
// 6 - Middle East.
// 7 - Africa.
// 255 - World
sv_region 255

// This could be your own email or another email who do business withing this server.
// Defualt: None.        
sv_contact http://forums.srcds.com

// Enables or disables whether the server can be paused. 0 is off 1 is on
sv_pausable 0

// Forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure 1

// Kicks clients that do not have content that matches what is on the server
sv_pure_kick_clients 1

// Max download file size. Default is 15
net_maxfilesize 15


//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*                          Brandwidth Rates                             *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

// Maximum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_maxrate 30000


// Minimum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_minrate 15000  


// Maximum updates per second as the server will allow.
// Default: 60
// Note: If you're using less than 100Tick, change this CVAR to a lower value.
// For 100TICK: sv_maxupdaterate 100
// For 66TICK: sv_maxupdaterate 66
// For 33TICK: sv_maxupdaterate 33
sv_maxupdaterate 33


// Minimum updates per second as the server will allow.
// Default: 10
// Note: If you're using less than 100Tick, change this CVAR to a lower value than "sv_maxupdaterate xx"
// For 100TICK: sv_minupdaterate 75
// For 66TICK: sv_minupdaterate 45
// For 33TICK: sv_minupdaterate 15
sv_minupdaterate 15


// This controls your cleints maximum cmdrate.
// Do the same with this one like: sv_maxupdaterate
// Default: 40
sv_maxcmdrate 100


// This controls your cleints minimum cmdrate.
// Do the same with this one like: sv_minupdaterate
// Default: 0
sv_mincmdrate 75


// Enables player lag compensation.
// Default: 1
sv_unlag 1


// Sets the maximum ammount of seconds that the netcode compensates for someone's ping.
// Default: 0.5
sv_maxunlag 1


//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*                            Game Settings                              *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

//*Team Auto Balancing*\\

// 0 is off and 1 is on. if 1 then should be used in conjunction with the following 3 commands
mp_autoteambalance 1

// Time (in seconds) after the teams become unbalanced to attempt to switch players
mp_autoteambalance_delay 60

// Time (in seconds) after the teams become unbalanced to print a balance warning
mp_autoteambalance_warning_delay 30

// Teams are unbalanced when one team has this many more players than the other (0 disables)
mp_teams_unbalance_limit 2

//*Ending Team Auto Balancing*\\



//*Round & Game Times*\\

// Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_enableroundwaittime 1

// Time after round win until round restarts (in seconds)
mp_bonusroundtime 20

// Time the current round will restart (in seconds)
mp_restartround 20

// Timelimit (in seconds) of the stalemate round
mp_stalemate_timelimit 120

// Game time per map in minutes
//Default is 0
//0=unlimited
mp_timelimit 30

// Max number of rounds to play before server changes maps
mp_maxrounds 1

// Max number of rounds one team can win before a server changes maps
mp_winlimit 3


//*Ending Round & Game Times*\\



//*Client Specific CVARS*\\

// Force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_forcecamera 0

// Enable or disable spectators on the server. 0 is off 1 is on
mp_allowspectators 1

// 0 is off and clients can do harm to team mates. 1 is on and players can kill or injure team mates
mp_friendlyfire 0

// Footsteps on or off. 0 is off and 1 is on
mp_footsteps 1

// Allow cheats to be used by the client. 0 is off 1 is on
sv_cheats 0

// The amount of time in seconds that a client is booted for no input
sv_timeout 300

// The maximun speed a client can move at
sv_maxspeed 320

// Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
sv_consistency 1

// The pause in seconds between a decal being sprayed
decalfrequency 10

//*End Client Specific CVARS*\\


//*Communication*\\

// Allow players to use a microphone. 0 is off 1 is on
sv_voiceenable 1

// Toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
sv_alltalk 0

// Players can chat for this amount of time (in seconds) after a game is over
mp_chattime 10

//*End Communication*\\

//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*                             Log Settings                              *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

// Enable or disable server logging. on is on off is off
log off

// Log server bans in the server logs
sv_logbans 0

// Echo log information to the console. 0 is off 1 is on
sv_logecho 1

// Log server information in the log file. 0 is off 1 is on
sv_logfile 0

// Log everything in one file
sv_log_onefile 0


//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*                          EXECUTING CONFIGS                            *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip

//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*               SRCDS Team Fortress 2 SERVER CONFIGURATION              *\\
//*                              VERSION 1.0                              *\\
//*                                                                       *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\


Attached Files
.zip   server.zip (Size: 2.77 KB / Downloads: 145)
#65
Just like mine in: http://forums.srcds.com/viewtopic/8433

Hehe, nice job, Ferman!
#66
I am like the Chinese take whats good and make it better. Toungue
#67
FERMAN Wrote:I am like the Chinese take whats good and make it better. Toungue

HAHAHAHA Big Grin
#68
it wont execute ctf_2fort.cfg please help
#69
LeetGasm Wrote:it wont execute ctf_2fort.cfg please help

Normal bug. You just don't have you. Don't worry, you don't need one Toungue
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
#70
Hi folks, been going over the posts today and have found them most helpful.
Unfortunately I am still having major problems.

I have tried to use the provided server.cfg files on here as well as others, and my own edited one. I have found a few errors on load that seem to be common and have either dealt with them or learned to ignore them.

The biggest problem I am having currently is it will not load the map I have specified in the command line.

My command line looks like this;
-game tf -console +ip 69.65.25.116 -port 27019 +maxplayers 24 +map ctf_2fort +exec server.cfg -tickrate 66 +fps_max 128

Now all seems to load correctly in the console...I get the usual "exec: couldn't exec skill1.cfg " creating a blank one doesn't make this go away on my end.
But the killer is the "exec: couldn't exec tc_hydro.cfg"
Please see below the console load:
=======================================================
114.0 fps 0/24 on map tc_hydro
Console initialized.
Game.dll loaded for "Team Fortress"
maxplayers set to 24
maxplayers set to 24
--------------------------------------------------------
sv_pure set to 1.
--------------------------------------------------------
exec banned_user.cfg: file size larger than 1 MB!
exec banned_ip.cfg: file size larger than 1 MB!
Network: IP 69.65.25.116, mode MP, dedicated Yes, ports 27019 SV / 27007 CL
Caching file CRCs for pure server...
Finished caching file CRCs for pure server in 0 seconds.
exec: couldn't exec skill1.cfg
Executing dedicated server config file
--------------------------------------------------------
sv_pure value unchanged (current value is 1).
--------------------------------------------------------
exec banned_user.cfg: file size larger than 1 MB!
exec banned_ip.cfg: file size larger than 1 MB!
exec: couldn't exec tc_hydro.cfg
Adding master server 68.142.72.250:27011
Adding master server 69.28.140.247:27011
Connection to Steam servers successful (SU).

=======================================================

Why? I read that these are called on from the valve.rc and to edit or delete it. Those 2 things are not called on in that file and removing it makes no change.

Have been making my eyes bleed all day messing with this, please someone slap me side the head and show me what I am missing here.


Thanks in advance....
#71
Ok, so I get same parameters/error and skill1.cfg

The next line I get says "Executing server config," but then the console reboots and just continually repeats this. Every time it does it, it writes a STEAM <stamp> MDMP file into the main folder

Help?
#72
Question 
The stuff have been removed, since we don't support illegal, cracked servers.


- Moderator,
realchamp.
#73
Hi guys!

I figure this is the right thread to ask:

I'm noticing on my cp and pl maps that after 3 points are captured/won, the server decides to change maps.

What's the cvar that i need to change to fix this? And how are 'points' determined? Are they rounds? Are they the winlimit?

Thanks for the help!!
#74
Points: (I think) is when you take a base or something. (ingame events)

Isn't it:

Code:
mp_maxrounds 10
#75
There are three ways to have the server determine when to change maps. I find it best to have a specific map config for each pl_, and for the attack/defend cp_ maps.

The cvars are:

Code:
// Game time per map in minutes
//Default is 0
//0=unlimited
mp_timelimit 60

// Max number of rounds to play before server changes maps
mp_maxrounds 1000

// Max number of rounds one team can win before a server changes maps
mp_winlimit 1000

That configuration will play a map for 60 minutes regardless of points. I use it in PLs because each point that the payload passes counts as a point for blue.

You just need to play your maps to learn how many points a victory is and then decide if you want a best of 7 or something or just go by timelimit.

Hope that helps


Forum Jump:


Users browsing this thread: 1 Guest(s)