Half-Life Deathmatch: Source

Half-Life Deathmatch: Source

Help creating a server?
Hey, noob here. I used the Half Life Deathmatch Source Dedicated Server to make a server for only me and my friend to play on. When I try to enter my own server, I get "STEAM validation rejected." Is there any way to fix this?
< >
Showing 1-7 of 7 comments
*1157* Jan 27, 2020 @ 3:59pm 
A dedicated server needs correct start-up parameters and a start up .bat file below is the file as text you would need to edit to your ip, derver name ect and set file ext as .bat then it will turn into a gear icon
And your server machine set as a static ip and a web space to host any custom content maps ect. The "create a server" (listen server will work fine with much less hassle.

::=======================::
:: SRCDS Guardian 3.0 ::
:: Mooga ::
:: SRCDS.com ::
::=======================::

::=========================================================::
:: Thanks To Black-Sky & Drocona for making SRCDS Guardian ::
:: This script is open source. Feel free to edit at will. ::
:: ::
:: This script was writen for the use of the srcds.com ::
:: online community. If you are interested in running a ::
:: Source Dedicated Server or need help, drop by our ::
:: forums at... http://forums.srcds.com ::
::=========================================================::

::=======================::
:: SET YOUR VARIABLES! ::
::=======================::

::=======================::
:: Window and Log name ::
:: Replace "My Server" ::
::=======================::
set servername=MY Server

::=======================::
:: Your start command ::
:: Replace after = ::
::=======================::
set runcmd=C:\hds\srcds.exe -game hl1mp -port 27015 -maxplayers 16 -debug -console -nocrashdialog -norestart -tickrate 66 +map YOUR_MAP_NAME

::=======================::
:: End of variables ::
::=======================::

:: This will keep the window clean and easy to read
@echo off

:: Sets the title of the window
title SRCDS Guardian 3.0 %servername%

:: Clears the window incase there is anything there
cls

:: Prints to the window what we are doing
echo SRCDS Guardian 3.0 has been started!
echo.
echo *************************************************************************
echo To close the server, close this window and type exit in the server window
echo *************************************************************************
echo.
echo.
echo %servername% is now starting...
>> "%servername%.log" echo.
>> "%servername%.log" echo.
>> "%servername%.log" echo (%date%)(%time%) SRCDS Guardian 3.0 has been started!
>> "%servername%.log" echo (%date%)(%time%) %servername% is now starting...

:: This is a return point in case the server crashes or is closed
:restart

echo.
echo (%date%)(%time%) %servername% is now ONLINE
echo Watching %servername% for crashes...
>> "%servername%.log" echo.
>> "%servername%.log" echo (%date%)(%time%) %servername% is now ONLINE
>> "%servername%.log" echo (%date%)(%time%) Watching %servername% for crashes...

::Start the actual server
start /wait %runcmd%

echo.
echo (%date%)(%time%) Crash or Close detected!
echo %servername% is now restarting...
>> "%servername%.log" echo.
>> "%servername%.log" echo (%date%)(%time%) Crash or Close detected!
>> "%servername%.log" echo (%date%)(%time%) %servername% is now restarting...

::Server crashed or closed, so we point it to the return point to start the server again
goto restart
Last edited by *1157*; Apr 6, 2023 @ 6:27pm
The Kingslayer Jan 27, 2020 @ 4:27pm 
Woah, this seems super useful! Two questions, though,
1) Where does the .bat file go?
2) Should I replace YOUR_MAP_HERE with the server map?
Thanks!
*1157* Feb 2, 2020 @ 12:02pm 
On your desktop.
yes with the map you want the server to start on.
Gabriel_ Mar 1, 2020 @ 2:19pm 
i tried doing that but it dosen't work , it says that there is no "server.cfg" , where do i find it and where do i place it?

*1157* Mar 2, 2020 @ 8:02pm 
This is MotorCity's server cfg it goes in a vanilla server at hl1mp/cfg


hostname "YOUR_SERVER_NAME_HERE"

rcon_password ""

exec autoexec.cfg
exec listip.cfg
exec banned_ip.cfg
exec banned.cfg
exec banned_user.cfg

sv_password ""
sv_cheats 0
host_timescale 1.0

sv_voiceenable 1

sv_downloadurl "http://www.YOUR_FILE_SERVER_HERE"
sv_allowdownload 1
sv_allowupload 1
sv_region 255


mp_flashlight 1 // Enables the flashlight
mp_footsteps 1 // Enables footsteps
mp_friendlyfire 1 // Allow teammates to deal damage to eachother
mp_timelimit 20 // Map length in minutes
mp_fraglimit 20 // Map length in kills
mp_allowspectators 1 // Allows spectators if 1
mp_weaponstay 1
mp_forcerespawn 0


// Physics settings that can vary depending on the game
sv_accelerate 5
sv_airaccelerate 10
sv_friction 4
sv_gravity 750
sv_maxspeed 300
phys_pushscale 1
sv_bounce 0

mp_teamplay 0
mp_teamlist ""

sk_plr_dmg_grenade 150
sk_plr_dmg_crowbar 200
sk_plr_dmg_9mm_bullet 16
sk_plr_dmg_357_bullet 200
sk_plr_dmg_buckshot 12
sk_plr_dmg_mp5_grenade 50
sk_plr_dmg_rpg 120
sk_plr_dmg_xbow_bolt_npc 5
sk_plr_dmg_hornet 2
sk_plr_dmg_egon_narrow 15
sk_plr_dmg_egon_wide 15















I did this, and I get this string of text:

(Tue 06/13/2023)(13:22:47.63) My Server is now ONLINE
Watching My Server for crashes...

(Tue 06/13/2023)(13:22:47.72) Crash or Close detected!
My Server is now restarting...

Infinitely repeating. What do I do to fix this, and when it's done how do I join the server.
*1157* Jun 15, 2023 @ 7:03pm 
That is the server start up bat. you also need the Steam cmd, and server files

https://developer.valvesoftware.com/wiki/Dedicated_Servers_List

https://developer.valvesoftware.com/wiki/SteamCMD

A file server to host the custom content and the servers ports fowarded on the router

a fair amount of stuff to get running you could also only forward your ports on the pc you use now and use the built in "create a server" this will run a listen server
< >
Showing 1-7 of 7 comments
Per page: 1530 50