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

[Guide][CS:GO] Server Auto Update


Post New Thread Reply   
 
Thread Tools Display Modes
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 04-07-2019 , 23:09   Re: [Guide][CS:GO] Server Auto Update
Reply With Quote #11

Quote:
Originally Posted by almil36 View Post
Could not find a way to solve my problem until now. Does anyone have a solution?
Thanks in advance!
You could possibly make an script or application which checks file's hash and check if its changed and if yes then replace it with an old one (This is the most simple solution that comes to my mind) otherwise if the files ur using like mapcycle.txt have their own convar to be changed then just create a custom one and use ConVar Enforcer to make sure that convar will not change in any case
__________________
ambn is offline
almil36
Member
Join Date: Mar 2019
Old 08-15-2019 , 05:59   Re: [Guide][CS:GO] Server Auto Update
Reply With Quote #12

I come back with this problem as I could not find a permanent solution...
Is it possible to run a script after the update of CS:GO (to copy the new bspconvar_whitelist.txt to the old one)?
If yes, how would you proceed?

Thanks!
almil36 is offline
vegeta1241
AlliedModders Donor
Join Date: Apr 2017
Location: Switzerland
Old 08-24-2019 , 19:24   Re: [Guide][CS:GO] Server Auto Update
Reply With Quote #13

If you need help add me
__________________
IDEAS-GAMING.COM SERVERS ON CSGO :

- HIDE AND SEEK - SUPERHEROES
- BUNNY HOP
- KZ / CLIMB

---------------------------------------------------------------------
My steam link
Donate !
vegeta1241 is offline
bayshades
Member
Join Date: Sep 2019
Old 09-02-2019 , 02:34   Re: [Guide][CS:GO] Server Auto Update
Reply With Quote #14

I have same problem bspconvar_whitelist replaces and im losing added cvars
bayshades is offline
almil36
Member
Join Date: Mar 2019
Old 09-02-2019 , 03:20   Re: [Guide][CS:GO] Server Auto Update
Reply With Quote #15

Hi vegeta1241,

I added you and sent you a private message. Let me know if you have a solution to this problem.
The best would be to have the solution posted here as it seems there are multiple people with this problem.

Last edited by almil36; 09-02-2019 at 03:21. Reason: Added information
almil36 is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 09-02-2019 , 03:24   Re: [Guide][CS:GO] Server Auto Update
Reply With Quote #16

Not the best solution but you can set the file to read only.
TomL. is offline
almil36
Member
Join Date: Mar 2019
Old 09-02-2019 , 09:15   Re: [Guide][CS:GO] Server Auto Update
Reply With Quote #17

Thanks TomL.

This solution works but I am afraid it is not very safe. If by any chance the file permission changes, it might break everything. But thanks, I will use that until I find another solution.
almil36 is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 09-02-2019 , 10:02   Re: [Guide][CS:GO] Server Auto Update
Reply With Quote #18

Creating a script to replace the file seems kinda unnecessary to me when you can make it ready only and basically get the same result with less hassle. Just make a copy to be safe.
TomL. is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 09-02-2019 , 10:11   Re: [Guide][CS:GO] Server Auto Update
Reply With Quote #19

It seems you guys using app_update 740 validate, that validate thing is the reason it replaces your file most cases if the file is not really updated, you could set the file to read only as TomL said
__________________
ambn is offline
bercerobry
Junior Member
Join Date: Nov 2019
Old 11-27-2019 , 14:04   Re: [Guide][CS:GO] Server Auto Update
Reply With Quote #20

Hey guys I have a csgo server with sourcemod and bfg warmod installed.
I have followed all instructions here in regards to auto update.
-adding autoupdate commands in startup
-adding the steamcmd directory in startup
-adding the update script in startup
-tested that steamcmd updates just fine with the update script

The server launches fine on a normal basis. But when a steam update is available srcds_linux goes into a restart loop which has a message that says something like server needs to update, and it just restart in loop. I have to restart the screen so the updates can apply.

So what is auto update in startup does? And is it really possible automate the server to get the update and restart itself when there are no players online?
bercerobry 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 21:15.


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