Jump to content

Garry's Mod + Updates


kaytaro

Recommended Posts

is it possible to make a batch file that automatically executes after the server is created? I found this but it has set path which I don't use.

 

@echo off

cd c:\srcds\

echo This will take a long time, I would recommend you go do something else.

echo Updating/installing CS:S

hldsupdatetool -command update -game "Counter-Strike Source" -dir C:\srcds

echo Updating/installing L4D/L4D2

hldsupdatetool -command update -game "left4dead" -dir C:\srcds

echo Updating/installing Episode 1

hldsupdatetool -command update -game "episode1" -dir C:\srcds

echo Updating/installing dods

hldsupdatetool -command update -game "dods" -dir C:\srcds

echo Updating/installing hl2mp

hldsupdatetool -command update -game "hl2mp" -dir C:\srcds

echo Updating/installing tf

hldsupdatetool -command update -game "tf" -dir C:\srcds

echo Updating/installing Orange Box

hldsupdatetool -command update -game orangebox -dir C:\srcds

echo Updating/installing Garrysmod

hldsupdatetool -command update -game garrysmod -verify_all -retry -dir C:\srcds

echo Update/installation Complete

echo Installed to c:\srcds\

echo Your server is now ready to use!

echo To add extra addons or maps etc. place them in c:\srcds\orangebox\garrysmod\

echo This installer can also update necessary server files, so it is recommended that you run it often.

pause

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 26 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use