AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Easiest way to update TF2? (https://forums.alliedmods.net/showthread.php?t=334383)

l4dn00b 09-18-2021 20:20

Easiest way to update TF2?
 
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.

PC Gamer 09-18-2021 20:45

Re: Easiest way to update TF2?
 
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.

Bacardi 09-20-2021 08:34

Re: Easiest way to update TF2?
 
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.


All times are GMT -4. The time now is 23:17.

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