SRCDS Steam group


Server.cfg dont work,
#1
my server.cfg dont work.. ive putted it in right place but it doesent load so my server name is Counterstrike source not the hostname i have in server.cfg help me out fast!
Reply
#2
terry94 Wrote:my server.cfg dont work.. ive putted it in right place but it doesent load so my server name is Counterstrike source not the hostname i have in server.cfg help me out fast!

Open RCON connection and then write command:

Code:
hostname
You should see your game servers hostname (which is wrong)

Then write command:
Code:
exec server.cfg
You may not see any output, but this loads the server.cfg for sure. If you get error from this message, you know that the server.cfg is not in the right place.

Then write again:
Code:
hostname
You should see your hostname correctly. If this is true, then you probably have installed your game server some funny way so that it doesn't load server.cfg in the startup. You can do workaround by adding startup parameter "+exec server.cfg".

If you still see wrong hostname, then you probably have typo in server.cfg. Verify that you've written hostname correctly and that you have only one hostname definition in the server.cfg.
Reply
#3
One possibility for it not loading is that you probably saved it as a text file when you first made it. Make sure when you make the server.cfg that you save it as "server.cfg". With the quotations when you first make your server.cfg and going to save it. Also like what the guy said above me...to check for any errors. It could be that you added an extre " or misspelled some words.
Earn Points, get Free Rewards with your Amazon Points!
Points2Shop

Reply
#4
You may also paste your CFG file here and I'll check for any errors in it for ya
Reply
#5
did you put it in the cfg folder?
~ 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.
Reply
#6
css Wrote:
terry94 Wrote:my server.cfg dont work.. ive putted it in right place but it doesent load so my server name is Counterstrike source not the hostname i have in server.cfg help me out fast!

Open RCON connection and then write command:

Code:
hostname
You should see your game servers hostname (which is wrong)

Then write command:
Code:
exec server.cfg
You may not see any output, but this loads the server.cfg for sure. If you get error from this message, you know that the server.cfg is not in the right place.

Then write again:
Code:
hostname
You should see your hostname correctly. If this is true, then you probably have installed your game server some funny way so that it doesn't load server.cfg in the startup. You can do workaround by adding startup parameter "+exec server.cfg".

If you still see wrong hostname, then you probably have typo in server.cfg. Verify that you've written hostname correctly and that you have only one hostname definition in the server.cfg.

jesus christe it came couldn't exec server.cfg but i havnt got a cfg. i just made a server.cfg in txt does this matter? im newToungue sry
Reply
#7
This is from my server.cfg in c/cstrike/cfg

// server name
hostname ".ToungueS's:.Server"

// rcon passsword
rcon_password "" // rcon disabled

// server cvars
mp_friendlyfire 0
mp_footsteps 1
mp_autoteambalance 1
mp_autokick 0
mp_flashlight 0
mp_tkpunish 1
mp_forcecamera 0
sv_alltalk 0
sv_pausable 0
sv_cheats 0
sv_consistency 1
sv_allowupload 1
sv_allowdownload 1
sv_maxspeed 320
mp_limitteams 2
mp_hostagepenalty 5
sv_voiceenable 1
mp_allowspectators 1
mp_timelimit 25
mp_chattime 10
sv_timeout 65

// round specific cvars
mp_freezetime 6
mp_roundtime 5
mp_startmoney 800
mp_c4timer 45
mp_fraglimit 0
mp_maxrounds 0
mp_winlimit 0
mp_playerid 0
mp_spawnprotectiontime 5

// bandwidth rates/settings
sv_minrate 4000
sv_maxrate 8000
decalfrequency 60
sv_maxupdaterate 60
sv_minupdaterate 10

// server logging
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0

// operation
sv_lan 0
sv_region 0

// execute ban files
exec banned_user.cfg
exec banned_ip.cfg
Reply
#8
terry94 Wrote:jesus christe it came couldn't exec server.cfg but i havnt got a cfg. i just made a server.cfg in txt does this matter? im newToungue sry
"Couldn't exec..." means you don't have server.cfg in right place. In your first post you said you had it in right place. Turns out it wasn't, was it Big Grin

Create a file <csds install dir>/cstrike/cfg/server.cfg. Make sure that the file is called "server.cfg" and not "server.cfg.txt" or "server.cfg.doc" Wink Then make sure that you have your server.cfg content in that file. It's plain text, so you can edit it with notepad.

If you're on linux, verify the file access rights also. Make sure that it's readable by the game server. The easiest way is to give everybody read access. Refer to your Linux manual how to accomplish this Wink

"exec anything.cfg" should work as long as you've got anything.cfg in the right place. This is for example how match servers can change between practicing settings and match settings. They have practice.cfg and then they have lo3.cfg. When they're practicing and they want to change to match, they just do "exec lo3.cfg" and then they have match settings (+there lo3.cfg contains 3 restarts for the match beginning etc.)
Reply
#9
css Wrote:
terry94 Wrote:jesus christe it came couldn't exec server.cfg but i havnt got a cfg. i just made a server.cfg in txt does this matter? im newToungue sry
"Couldn't exec..." means you don't have server.cfg in right place. In your first post you said you had it in right place. Turns out it wasn't, was it Big Grin

Create a file <csds install dir>/cstrike/cfg/server.cfg. Make sure that the file is called "server.cfg" and not "server.cfg.txt" or "server.cfg.doc" Wink Then make sure that you have your server.cfg content in that file. It's plain text, so you can edit it with notepad.

If you're on linux, verify the file access rights also. Make sure that it's readable by the game server. The easiest way is to give everybody read access. Refer to your Linux manual how to accomplish this Wink

"exec anything.cfg" should work as long as you've got anything.cfg in the right place. This is for example how match servers can change between practicing settings and match settings. They have practice.cfg and then they have lo3.cfg. When they're practicing and they want to change to match, they just do "exec lo3.cfg" and then they have match settings (+there lo3.cfg contains 3 restarts for the match beginning etc.)

isnt this the right place c:srcds:cstrike:cfg?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)