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
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
1) Where does the .bat file go?
2) Should I replace YOUR_MAP_HERE with the server map?
Thanks!
yes with the map you want the server to start on.
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
(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.
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