How to get -autoupdate on Windows
As most are aware, the -autoupdate command line parameter is not supported on the Windows version of SRCDS. However, using a simple batch file, the same functionality can be achieved! Combine this with Automatic Steam Update and your server will update itself!
The contents of the batch file are very simple: Code:
@echo off Just something that I've been using for a while and is quite useful. You might find it useful too. |
Re: How to get -autoupdate on Windows
I most defo will. Just switched to Windows Server 2008 on my dedicated and had no idea on how to go about autoupdating. Many thanks :)
|
Re: How to get -autoupdate on Windows
Nice batch.
(of topic ) Tho steam should fix this, we should not rely on batch files. Implying that I use win witch I do not, but still. |
Re: How to get -autoupdate on Windows
Quote:
I believe the fact that Windows doesn't have -autoupdate has something to do with the file system, in that Linux's file system support it, while Windows doesn't. Either way, the batch file also provides automatic crash recovery, so it's the best of both worlds. There's no harm in relying on a batch file. |
Re: How to get -autoupdate on Windows
Quote:
Just FYI. |
Re: How to get -autoupdate on Windows
Quote:
Hey thats my server :P yeah im using this batch system, just finished setting up sourcemod and everything and installed the auto update plugin which i also use on my TF2 server (Linux) But my gmod server is windows and batch works perfectly fine with no problems for me what so ever |
Re: How to get -autoupdate on Windows
What should the encoding be?
|
Re: How to get -autoupdate on Windows
Quote:
|
Re: How to get -autoupdate on Windows
I can't get this to work. This is what mine looks like:
Quote:
**Edit: the first red line works. It updates and checks it just fine, takes like 15-25 seconds. The actually starting the server part does not work, it says "command failed, cannot find '-game'". |
Re: How to get -autoupdate on Windows
Quote:
|
All times are GMT -4. The time now is 21:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.