Day of Defeat: Source

Day of Defeat: Source

View Stats:
Day of Defeat:S Server creater.
Is there someone here who got an updated version on how creating a dedicated DOD:S server?
Whatever I do, nothing semse to work.
< >
Showing 1-8 of 8 comments
Easy mode for windows is using SteamCMD Gui,
https://developer.valvesoftware.com/wiki/SteamCMD#SteamCMD_GUI

There are a couple tutorials provided on their page on how to use it, but it's pretty straight forward to install everything.

Once installed, create a batch file to launch the game in the folder containing steamcmd. You can find plenty of examples online of launching scripts to put in the file.

For server ID #, get it from here https://developer.valvesoftware.com/wiki/Dedicated_Servers_List

Example is DoD:S dedicated server id is 232290




For linux, download steamcmd.sh. go to it's directory and use

./steamcmd +login anonymous +force_install_dir ../dods +app_update 232290 +quit

Depending on the version of linux, the './' might be something else.

To launch a server, typically don't do it from the admin login, make a new user for it, and use

./srcds_run -game dod

you can add cvars to the command to it to set the server to start a specific way

example

./srcds_run -game dod +map dod_donner +maxplayers 32 -port 27015

use 'tmux' to detatch the pane so you can switch tasks and not kill the server. plenty of resources out there on it's functionality.

You can also create scripts which do essentially the same thing.
Honored Peasant Feb 12, 2020 @ 1:34am 
Hi Devious Toast!

I'm happy that someone answer my post in this glorious old game!

The way you explain it is the way I already done it, the problem is that it refuse to work.
All the guides I use to try to check for a solution refuse to work too and all I can think of is that the problem is due to old age of the posts.

I start by downloading Steamcmd and run it.
1.force_install_dir "path"
2.app_update 232290 validate
3.After that I creat a bat file, but still no sucess.

what I've noticed is that my srcds.exe won't even run.
I've been an administrator.
which OS are you using?
Honored Peasant Feb 12, 2020 @ 7:35am 
Windows 10 Pro
force_install is a linux thing.

This is a very simple, and ugly bat file content, but it should work.



@echo off
title SRCDS Watchdog/Updater DoDS
cls
echo (%date% %time%) Now starting SRCDS Watchdog/Updater
echo (%date% %time%) Now starting SRCDS Watchdog/Updater >> watchdog.log
:begin
echo (%date% %time%) Checking for SRCDS updates
echo (%date% %time%) Checking for SRCDS updates >> watchdog.log
steamcmd +login anonymous +app_update 232290 +quit -verify_all
echo (%date% %time%) Starting server
echo (%date% %time%) Starting server >> watchdog.log
start /high /wait c:\serverfolder\srcds.exe -console -game dod +map dod_donner +maxplayers 32 -verify_all | echo N
echo (%date% %time%) WARNING: SRCDS quit or crashed, restarting
echo (%date% %time%) WARNING: SRCDS quit or crashed, restarting >> watchdog.log
goto begin




Copy that into notepad, change the directory to where you have srcds.exe at. Save it as a .bat in the srcds.exe folder making sure that notepad is set to all files and not .txt.

server.bat not server.bat.txt

once saved, make a shortcut by right clicking it > send to > desktop(create shortcut). now the icon will appear on your desktop, double click it. A console window will appear with a bunch of stuff, it will verify and download missing server content and launch the server.

The server pops up in a second console screen. This bat file will monitor the server, and any time it crashes, will re-launch it.

To kill the server, close the bat console which will be called 'updater dods', and then close the server.
Honored Peasant Feb 13, 2020 @ 9:48am 
I tried it, in the end the batfile sent me into an eternal loop of trying to open the file.
the problem Ive got is that the SRCDS.exe won't even start, nothing happens.
Devious Toast [SAC] Feb 13, 2020 @ 10:46am 
what error is being logged? /bootstrap_log and watchdog.log
Honored Peasant Feb 13, 2020 @ 1:59pm 
there is no error, it just won't start. like something is missing.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Feb 11, 2020 @ 10:04am
Posts: 8