SRCDS Steam group


Advanced .bat Files for YOUR srcds!
#1
All right guys I am just gettin into the forums, but I thought I would share my custom bat files that were provided by SRCDS, but have been spiced up a bit!



Now for your regular srcds start up bat here is my version

Quote:@echo off
cls
echo Protecting your Source Dedicated Server From Crashes
title Source Dedicated Server Crash Recovery Utility
:srcds
echo (%date%) (%time%) Source Dedicated Server Started
start /high /wait C:\SRCDS\srcds.exe -console -game cstrike +map de_dust +fps_max 600 -vacbeta -maxplayers 10 -autoupdate -port 27016 -tickrate 100
echo ***************************************************************
echo (%date%) (%time%)
echo WARNING: Source Dedicated Server closed or crashed, restarting.
echo ***************************************************************
goto srcds

That will start up your server for CS:S on map de_dust with Vacbeta running on port 27016 for 10 players at 100 tick


Now I have an updated bat file for updating all your CS:S and HL2DM stuff!

Quote:@echo off
title SRCDS Update Utility
echo (%date%)
echo (%time%)
echo ===================================
echo = Updating Counter-Strike: Source =
echo ===================================
hldsupdatetool.exe -command update -game "Counter-Strike Source" -dir c:\SRCDS
echo (%time%) Counter-Stirke Content is Up to Date
echo *****************************************
echo (%date%)
echo (%time%)
echo ===================================
echo = Updating Half-Life 2 Deathmatch =
echo ===================================
hldsupdatetool -command update -game "hl2mp" -dir c:\SRCDS
echo (%time%) Half-Life 2 Deathmatch Content is Up to Date
echo (%time%) SRCDS is now up to date!
pause

Now I KNOW for a fact that the forums do not display my Text properly, so I will provide some links for the TXT version of them and you just save them with the .bat file extension! The web txt will display them with the right line breaks

srcds start up:

Txt file

update_all files:

Txt File

Comments and suggestions are helpful and nice ^^

If you have any questions please PM me or message me on xfire!

I will also soon post a SRCDS back up and restore utility that you can use for backing up your server with one click. It even makes sure not to back things up that havent changed!
Reply
#2
Seems real good! For the people who aren't familiarized with bat files, I've now made a copy of DarkZealots text and made it so you only update CS:S/HL2Big GrinM.

CS:S update
Code:
@echo off
title SRCDS Update Utility
echo (%date%)
echo (%time%)
echo ===================================
echo = Updating Counter-Strike: Source =
echo ===================================
hldsupdatetool.exe -command update -game "Counter-Strike Source" -dir c:\SRCDS
echo (%time%) Counter-Stirke Content is Up to Date
echo *****************************************
echo (%date%)
echo (%time%)
pause

HL2Big GrinM update
Code:
@echo off
title SRCDS Update Utility
echo ===================================
echo = Updating Half-Life 2 Deathmatch =
echo ===================================
hldsupdatetool -command update -game "hl2mp" -dir c:\SRCDS
echo (%time%) Half-Life 2 Deathmatch Content is Up to Date
pause

Hope it works, folks!

EDIT\ Lol, I just looked at the code and saw that hl2mp is in the same dir as cs:s. Is that because they should be? Or is it just so you can launch either hl2mp or cs:s from the same DS window? :S
Reply
#3
On my server I have them in the samed DIR because I only run DM for showing off custom maps n stuff.

I still need to install mani mod into it
Reply
#4
Ok...
Reply
#5
I was looking for these advanced files for my project work and finally find them through this blog. But I need to get easy essay writing service to learn new tips and ideas to complete our university work. Such a great effort was done by this person to provide us the material and ease us. Looking forward to more files from them.
Reply
#6
犀利士 http://www.zhonghua19.tw/goods.php?id=36
犀利士藥局 http://www.zhonghua19.tw/goods.php?id=35
威而鋼 http://www.zhonghua19.tw/goods.php?id=37
威而鋼藥局 http://www.zhonghua19.tw/goods.php?id=39
艾力達雙效片 http://www.zhonghua19.tw/goods.php?id=15
犀利士20mg http://www.zhonghua19.tw/goods.php?id=36
果凍威而鋼 http://www.zhonghua19.tw/goods.php?id=54
加 賴: twzh99 咨詢瞭解
Reply
#7
The web over the years has allowed for an ever-expanding world of software development. You can choose to use Python, Boo or Ruby on Rails, you can run your own server, or setup a packager to distribute your source code to millions of computers all over the world. However, there are programming languages that are easier to learn than others. You can get bluetooth earphones with microphone to manage their smart watch. The .bat file serves as the basis for launching many software programs on the web, and it's very easy to use.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)