kaytaro Posted April 9, 2012 Share Posted April 9, 2012 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 More sharing options...
icekohl Posted April 9, 2012 Share Posted April 9, 2012 could you not just put -dir $[service.UserDirectory]\orangebox\garrysmod\ ? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now