Raised This Month: $32 Target: $400
 8% 

[ANY] Automatic Steam Update (v1.1, 2016-06-17)


Post New Thread Reply   
 
Thread Tools Display Modes
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-27-2015 , 12:51   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #21

Quote:
Originally Posted by disawar1 View Post
Here the my Auto-Update Script (tested into csgo)
Maybe you should consider using the English language in things you release to the public.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 04-28-2015 , 08:49   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #22

Isn't there a plugin to translate steamtools natives into steamworks so you don't need to do this kinda thing?
__________________
Chdata is offline
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 04-29-2015 , 17:46   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #23

Sarabveer,
Could we please get a version with a cvar to disable the automatic restart? I want everything else as is, but as my host pushes update w/o m control, I'd rather not restart over and over until they push the update.
__________________
Creampuffyness is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-29-2015 , 18:30   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #24

Quote:
Originally Posted by Creampuffyness View Post
Sarabveer,
Could we please get a version with a cvar to disable the automatic restart? I want everything else as is, but as my host pushes update w/o m control, I'd rather not restart over and over until they push the update.
This plugin is meant to run together with the -autoupdate parameter on the startup line.

If your server doesn't, and your updates is being pushed by your host as you say - then I'd suggest you do not run this plugin, as this plugin is not intended for your kind of use.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Wormy
Senior Member
Join Date: Jan 2013
Location: 2fort
Old 08-20-2015 , 07:29   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #25

My server shut down yesterday so it could download and install an update, but the strange thing is that the server didn't restart, even though I use -autoupdate. I had to update the server manually.

Anyone know why this could happen?
__________________
Wormy is offline
Wormy
Senior Member
Join Date: Jan 2013
Location: 2fort
Old 08-28-2015 , 19:37   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #26

This is still broken for me, any ides? The plugin shuts down the server properly but beyond that nothing happens.
__________________
Wormy is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 08-28-2015 , 20:03   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #27

Quote:
Originally Posted by Wormy View Post
This is still broken for me, any ides? The plugin shuts down the server properly but beyond that nothing happens.
Windows servers doesn't restart automatically, so if you are using Windows, that is most obviously the reason for your issue.

If you are using Linux, you are most likely starting your server using ./srcds_linux [...], where you would be required to use the ./srcds_run [...] script in order to enable auto restarting.

In both cases, it would be your set up which is broken, and not the fault of this plugin.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 08-28-2015 , 21:01   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #28

Quote:
Originally Posted by arne1288 View Post
Windows servers doesn't restart automatically, so if you are using Windows, that is most obviously the reason for your issue.

If you are using Linux, you are most likely starting your server using ./srcds_linux [...], where you would be required to use the ./srcds_run [...] script in order to enable auto restarting.

In both cases, it would be your set up which is broken, and not the fault of this plugin.
Yup, love the quick responses arne1288

Have some bacon!
__________________
Sarabveer is offline
Wormy
Senior Member
Join Date: Jan 2013
Location: 2fort
Old 08-29-2015 , 08:06   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #29

Quote:
Originally Posted by arne1288 View Post
Windows servers doesn't restart automatically, so if you are using Windows, that is most obviously the reason for your issue.

If you are using Linux, you are most likely starting your server using ./srcds_linux [...], where you would be required to use the ./srcds_run [...] script in order to enable auto restarting.

In both cases, it would be your set up which is broken, and not the fault of this plugin.
I am using the Team Fortress 2 Linux Server Manger script made by Daniel Gibbs, so I don't really know how it functions or how to use srcds_run.
I always use the "./tf2server start" command in the terminal in order to start the server, which as you say starts a "srcds_linux" process.

edit: I looked through the script and srcds_run is listed in there so I have no idea why it decides to use srcds_linux instead.

Code:
# Directories
rootdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
selfname="$(basename $0)"
lockselfname=".${servicename}.lock"
filesdir="${rootdir}/serverfiles"
systemdir="${filesdir}/tf"
executabledir="${filesdir}"
executable="./srcds_run"
servercfg="${servicename}.cfg"
servercfgdir="${systemdir}/cfg"
servercfgfullpath="${servercfgdir}/${servercfg}"
servercfgdefault="${servercfgdir}/server.cfg"
backupdir="${rootdir}/backups"
Here is the entire script btw https://raw.githubusercontent.com/dg...ess2/tf2server
__________________

Last edited by Wormy; 08-29-2015 at 08:16.
Wormy is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 08-29-2015 , 09:29   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #30

Quote:
Originally Posted by Wormy View Post
I am using the Team Fortress 2 Linux Server Manger script made by Daniel Gibbs, so I don't really know how it functions or how to use srcds_run.
I always use the "./tf2server start" command in the terminal in order to start the server, which as you say starts a "srcds_linux" process.

edit: I looked through the script and srcds_run is listed in there so I have no idea why it decides to use srcds_linux instead.

Code:
# Directories
rootdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
selfname="$(basename $0)"
lockselfname=".${servicename}.lock"
filesdir="${rootdir}/serverfiles"
systemdir="${filesdir}/tf"
executabledir="${filesdir}"
executable="./srcds_run"
servercfg="${servicename}.cfg"
servercfgdir="${systemdir}/cfg"
servercfgfullpath="${servercfgdir}/${servercfg}"
servercfgdefault="${servercfgdir}/server.cfg"
backupdir="${rootdir}/backups"
Here is the entire script btw https://raw.githubusercontent.com/dg...ess2/tf2server
Don't see -autoupdate.

I dont see why you need that script.
__________________
Sarabveer is offline
Reply


Thread Tools
Display Modes

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 08:07.


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