Raised This Month: $51 Target: $400
 12% 

Easiest way to update TF2?


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
l4dn00b
New Member
Join Date: Oct 2009
Old 09-18-2021 , 20:20   Easiest way to update TF2?
#1

I recently setup a TF2 server but do not have an update.bat script or any other way of updating. What the easiest way to update the servers? It's a vanilla TF2 server with no 3rd party maps.

♥MasterRequestRestart
Your server needs to be restarted in order to receive the latest update.
Your server needs to be restarted in order to receive the latest update.
♥MasterRequestRestart
Your server needs to be restarted in order to receive the latest update.
Your server needs to be restarted in order to receive the latest update.

Last edited by DarkDeviL; 09-25-2021 at 14:43. Reason: Restore to previous version.
l4dn00b is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 09-18-2021 , 20:45   Re: Easiest way to update TF2?
#2

Great question!

Here's what I do to update my Windows TF2 Dedicated Server. I have a folder called "C:\STEAMCMD" that has all of my STEAMCMD files, including these two below:

I made a file called "update.bat" that contains this info:
PHP Code:
steamcmd +runscript tf2update.txt 
I made a file called tf2update.txt that has this info:
PHP Code:
login anonymous 
force_install_dir C
:\TF2Server 
app_update 232250 validate
quit 
When I want to update, or validate an update, I go to a command prompt and type:
PHP Code:
cd\steamcmd
update 
That's it.

I hope this helps.
PC Gamer is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-20-2021 , 08:34   Re: Easiest way to update TF2?
#3

I use same method like PC Gamer.

steamcmd.exe set into G:\server\steamcmd\ folder

Using batch file steamcmd_run.bat
Code:
@echo off
echo.
echo SteamCMD started!
echo.

steamcmd +runscript update.txt

echo.
echo SteamCMD finished!
echo.

timeout /T 5 /nobreak
And update.txt looks now like this
Code:
login anonymous

@sSteamCmdForcePlatformType windows

force_install_dir "../Counter-Strike Global Offensive"
app_update 740 validate

//force_install_dir "../Counter-Strike Source"
//app_update 232330 validate

exit
...you can change "platform type" to Linux and download Linux srcds files. For searching signatures and else.
__________________
Do not Private Message @me
Bacardi is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode