Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.
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.
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.
the problem Ive got is that the SRCDS.exe won't even start, nothing happens.