Raised This Month: $ Target: $400
 0% 

[TF2] Automatic Steam Update


Post New Thread Reply   
 
Thread Tools Display Modes
Trosty
Member
Join Date: Oct 2011
Location: Romania
Old 06-11-2013 , 02:23   Re: [ANY] Automatic Steam Update
Reply With Quote #211

I useing that plugin but my server don't restart the server to make an update. Simply he stop it... that is my consol messages after server down:

Quote:
Connection to Steam servers lost. (Result = 3)
Connection to Steam servers lost. (Result = 3)
Connection to Steam servers successful.
Public IP is 93.119.24.91.
Assigned anonymous gameserver Steam ID [A-1:1648561154(3461)].
VAC secure mode is activated.
L 06/11/2013 - 02:54:23: [auto_steam_update.smx] Received a master server restart request, and there are no players in the server. Restarting to 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.
L 06/11/2013 - 02:54:23: [META] Loaded 0 plugins (2 already loaded)
L 06/11/2013 - 02:54:24: server_message: "quit"
L 06/11/2013 - 02:54:24: Log file closed
L 06/11/2013 - 02:54:24: server_message: "restart"
L 06/11/2013 - 02:54:24: Log file closed.
L 06/11/2013 - 02:54:24: Error log file session closed.
ue Jun 11 02:54:25 EEST 2013: Server Quit
Any ideea?
__________________


-


You need a WebDesigner? Hire me!
Trosty is offline
Send a message via Skype™ to Trosty
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 06-11-2013 , 04:00   Re: [ANY] Automatic Steam Update
Reply With Quote #212

That is how it is supposed to work. You have to have a restart script in order to get an automatic restart.

Running Linux you can start srcds like this:
./srcds_run -autoupdate -steam_dir /DIR/TO/steamCmd/ -steamcmd_script /DIR/TO/SCRIPT/UPDATEFILE

For Windows... I can't tell you how
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de

Last edited by Sillium; 06-11-2013 at 04:01.
Sillium is offline
Its7up
Junior Member
Join Date: Nov 2013
Location: 127.0.0.1
Old 11-02-2013 , 02:29   Re: [ANY] Automatic Steam Update
Reply With Quote #213

I would say that my .bat file can figure out the problems for SteamCMD and the Windows-doesn't-update-problem for TF2.

Quote:
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
:srcds
echo (%time%) Using SteamCMD to check for updates.
start /wait C:\Path\To\steamcmd.exe +runscript updatetf2.txt
echo (%time%) srcds started.
start /wait C:\Path\To\srcds.exe -console -game tf +sv_pure 0 +randommap +maxplayers 24 -nocrashdialog
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
And +runscript updatetf2.txt should look like this: (updatetf2 should be in the same folder as SteamCMD)
Quote:
login anonymous
force_install_dir C:\Path\To\Game\Server\Root
app_update 232250
quit
Haven't had a cause to test this yet. In theory this should work.
EDIT: Alright tested. Some files/folders have to be Read-only because the updates overwrite them. Addons, maps and cfg are 3 of the folders. But I'm sure there are others.
__________________
I do not help the cause. I am useless.

Last edited by Its7up; 11-02-2013 at 02:39.
Its7up is offline
StayOx
SourceMod Donor
Join Date: Jun 2012
Location: Gliese 581g
Old 11-21-2013 , 19:04   Re: [ANY] Automatic Steam Update
Reply With Quote #214

hello, it would be nice to add support for translations this plugin?

I made a very simple editing and added, now I'll try to replace the cvars below in phrases

Code:
auto_steam_update_kickmessage
auto_steam_update_shutdown_message
EDIT:

Thanks Dr. McKay for the original version

Done, with this version of the cvar mentioned above no longer exist now uses translations
Attached Files
File Type: sp Get Plugin or Get Source (auto_steam_update.sp - 116 views - 8.9 KB)
File Type: smx auto_steam_update.smx (9.1 KB, 135 views)
File Type: txt autosteamupdate.phrases.txt (1.7 KB, 122 views)

Last edited by StayOx; 12-07-2013 at 00:54. Reason: update files
StayOx is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 02-19-2014 , 18:47   Re: [ANY] Automatic Steam Update
Reply With Quote #215

This plugin has been working perfectly for me up until today's TF2 update. Only 1 server restarted itself. I updated all the rest manually (quit in HLSW :p) except for one server to see if it would update itself. Been about an hour or so, still hasn't updated.
__________________

Last edited by Dr_Knuckles; 02-19-2014 at 18:49.
Dr_Knuckles is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 02-19-2014 , 19:12   Re: [ANY] Automatic Steam Update
Reply With Quote #216

Quote:
Originally Posted by Dr_Knuckles View Post
This plugin has been working perfectly for me up until today's TF2 update. Only 1 server restarted itself. I updated all the rest manually (quit in HLSW :p) except for one server to see if it would update itself. Been about an hour or so, still hasn't updated.
The issue isn't with the plugin, if Valve pushes out an update to the updating software or steampipe then you have to make sure its updated first otherwise it won't send out the notification that the server needs the update. I had 15 servers ready for the update today but only one of them I had recently ran thru the update for the updating software prior to and it was the only one that auto updated.

Now I could be wrong here but I do know that this is a normal problem thus far.
Horsedick is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 02-19-2014 , 21:18   Re: [ANY] Automatic Steam Update
Reply With Quote #217

Christ I know im not drunk, im on my first beer, but that was confusing to me. What updating software update came out that needs updating?
__________________
Dr_Knuckles is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 02-20-2014 , 19:13   Re: [ANY] Automatic Steam Update
Reply With Quote #218

Quote:
Originally Posted by Dr_Knuckles View Post
Christ I know im not drunk, im on my first beer, but that was confusing to me. What updating software update came out that needs updating?
Steampipe gets updates of its own from time to time.
Horsedick is offline
cool_myll
SourceMod Donor
Join Date: Aug 2011
Old 02-21-2014 , 11:58   Re: [ANY] Automatic Steam Update
Reply With Quote #219

Same here. 2 servers didnt update in the last update!
__________________
cool_myll is offline
StayOx
SourceMod Donor
Join Date: Jun 2012
Location: Gliese 581g
Old 02-21-2014 , 12:35   Re: [ANY] Automatic Steam Update
Reply With Quote #220

After the last update, my only my linux servers were updated, windows server no.

Last edited by StayOx; 03-01-2014 at 16:55.
StayOx is offline
Reply



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 02:12.


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