SRCDS Steam group


New to SRCDS, Setting up DOD:S Server - Assistance for basic configs
#1
Question 
[/code]I've found countless out of date walkthroughs for CS and CS:S, found the how-to here in these forums for DOD:S specifically, but am needing a bit more clarity. Here's the situation: I've been handed a free server (dual xeon 2.4 with 4gb of ram in a local datacenter/ CentOS 5) and having really nothing else to do with it, I've decided to run a DOD:S server because of love playing. So far I have both CS:S and DOD:S installed, but I'm going to stick with DOD:S for now. I know linux, but know nothing about Steams cfgs and setup. I have now managed to get the dedicated server install and updated with little to no trouble, but the config is where I'm running into issues. My initial questions are: Do I need to place anything in the game and start.cfgs? And also, are any of the errors in my below postings to be concerned about? Thanks for your help

Starting script
Code:
#!/bin/sh
echo "Starting DoD Source Server"
./srcds_run -console -game dod -pingboost 3 +maxplayers 16 +map dod_anzio +exec server.cfg -autoupdate

Starting output
Code:
Starting DoD Source Server
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
Could not locate steam binary:./steam, ignoring.

Console initialized.
Game.dll loaded for "Day of Defeat"
Particles: Missing 'particles/error.pcf'
Particles: Missing 'particles/fire_01.pcf'
Particles: Missing 'particles/burning_fx.pcf'
maxplayers set to 16
maxplayers set to 16
Unknown command "("
Unknown command "dod_playrivalrysounds"
Unknown command "mat_bloom_scalefactor_scalar"
Network: IP 192.168.30.34, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Unknown command "sv_rollangle"
Unknown command "mp_facefronttime"
ConVarRef room_type doesn't point to an existing ConVar
exec: couldn't exec skill1.cfg
ConVarRef sk_suitcharger doesn't point to an existing ConVar
Executing dedicated server config file
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/models/player/american//american_gear.vmt
VertexLitGeneric,
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/models/player/american//american_gear.vmt
VertexLitGeneric,
Error reading weapon data file for: weapon_ifm_steadycam
Unknown command "("
Unknown command "dod_playrivalrysounds"
exec: couldn't exec dod_anzio.cfg
Adding master server 68.142.72.250:27011
Adding master server 69.28.151.162:27011
Connection to Steam servers successful.
   VAC secure mode is activated.

Server.cfg (copy paste from the walkthrough here on the forums)
Code:
hostname "Test DOD:S Server"
sv_password "testserverpw"
sv_cheats 0
mp_allowrandomclass 1
mp_allowspectators 0
mp_autocrosshair 1
mp_autokick 0
mp_cancelwarmup 1
mp_decals 200
mp_defaultteam 0
mp_falldamage 20
mp_flashlight 1
mp_footsteps 1
mp_forcecamera 1
mp_forcerespawn 1
mp_fraglimit 0
mp_friendlyfire 1
mp_limit_allies_assault -1
mp_limit_allies_mg 1
mp_limit_allies_rifleman -1
mp_limit_allies_rocket 0
mp_limit_allies_sniper 1
mp_limit_allies_support -1
mp_limit_axis_assault -1
mp_limit_axis_mg 1
mp_limit_axis_rifleman -1
mp_limit_axis_rocket 0
mp_limit_axis_sniper 1
mp_limit_axis_support -1
mp_limitteams 10
mp_restartwarmup 1
mp_timelimit 15
mp_warmup_time 1
mp_weaponstay 0

(New DODS CVARs)
dod_freezecam 0 (Disables "killcam")
dod_playrivalrysounds 0 (Disables "Nemisis/Revenge" sounds)

mapcyclefile "mapcycle.txt"

Game.cfg
Code:
sv_rollangle 0
mp_facefronttime 600
mp_flashlight 1
sv_turbophysics 1
sv_stopspeed 50
sv_friction 8

Start.cfg
Code:
cl_hudenable 0
developer 0
disp_modlimit_up 512

r_anamorphic 1
snd_surround 1

rem remember to do this in your regular config!!!!
rem bind f2 "exec e3demo.cfg"

cl_mouseenable 0

rem unbind these in config.cfg!!!
rem unbind uparrow
rem unbind downarrow
rem unbind leftarrow
rem unbind leftarrow
rem unbind a
rem unbind s
rem unbind d
rem unbind w


startdemos e3_hl2logo


The game.cfg was found on another site, and the start.cfg...well I'm not sure where that came from...autogenerated? Are either of these necessary to run a server? Thanks for any and all help guys.
Reply
#2
these likes in the server.cfg
Code:
(New DODS CVARs)
dod_freezecam 0 (Disables "killcam")
dod_playrivalrysounds 0 (Disables "Nemisis/Revenge" sounds)

should be:
Code:
dod_freezecam 0
dod_playrivalrysounds 0

Somebody pls correct me if im wrong but I think that's right
~ trewq
Reply
#3
Yes I did clean those and a few other errors up by placing // in front of the descriptions. Also, in messing around somemore with it and watching Top when people join, my proc goes up to 24% at times while running nothing but the game. I found out that its using the i486 version and not the i686, so I'm assuming its not benefiting from the dual processors. How can I force it to use the i686 version?

Also, the server seems to be dieing shortly after people connect and then empty it out. Is there a known bug with that? Or a keep alive command I can enter into the config?
Reply
#4
Yes, I would like to know as well, mine seems to be running the i486 version as well, and I want to get the most out of the dual core.
Reply
#5
srcds won't use the dual processors or dual cores under any circumstances. if you have the ram (which it looks like you do), you can run an extra server on the second core/cpu, or you can tie apache and everything else to the second core and tie srcds to the first.

but for running a single process, srcds benefits only from a really really big fast core, it gains nothing from multiple cores.

i might be wrong here, but DoD:S might only use the i486 version. i seem to recall TF2 doing this, and valves explanation was that there's a new compiler that optimizes equally well in a single binary - no need for multiple binaries.

CPU's going to be the #1 thing that srcds is going to use, and i don't think 24% cpu is anything to complain about. if you have hyperthreading on, you might consider turning it off, but if you're not experiencing frame rate drops i really don't think 24% is anything to moan about.

hope that helps.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)