Personally, I would be hesitant to overwrite files that are part of the update 
file list; what if they get updated to address a bug or implement a new 
feature? Obviously this doesn't apply to a motd.txt, but for files that 
essentially define fame behavior I would be a little more skeptical. 

Just my two cents, take it for what it's worth.


-----Original Message-----
From: Collin Howard
Sent: 2/23/2013 10:17 PM
To: [email protected]
Subject: Re: [Csgo_servers] About gamemode_(gametypehere).cfg files?

on my server, I have noticed that gamemodes.txt does not get replaced with each 
update anymore. It still will get replaced sometimes though so before each 
update, I ALWAYS backup the gamemodes.txt. Its just the smart thing to do. The 
files that matter most are gamemodes.txt and the gamemode_gametype.txt files. 
If you rename or create a new file with _server at the end, then those will not 
get replaced. So, gamemodes_server.txt and gamemode_gametype_server.txt will 
not get replaced.

Do not that when you use app_update 740 validate, it will replace everything, 
so just dont add validate in the end. For me motd.txt or server.cfg etc have 
not been replaced in a while.







 



From: Absurd Minds <[email protected]>
 To: [email protected] 
Sent: Saturday, February 23, 2013 7:48:47 PM
 Subject: Re: [Csgo_servers] About gamemode_(gametypehere).cfg files?
 



The easiest way to answer your question is to check the last modified dates on 
the files. See if they are from before or after the most recent update. 

On Feb 23, 2013 7:43 PM, "Charalampos Galanis" <[email protected]> wrote:

 Ok , to clarify things out and keep things calm...

In the early days of the server (beta era) , when valve made updates , the 
gamemodes.txt file was being replaced. So , you had to first back it up , and 
restore it after the update was done from you. And that's the reason valve 
implemented the gamemodes_server.txt file. However , people (server operators 
like me and you and everybody on this mailing list) later notice that there 
were also some files , like motd.txt , pure_server_whitelist.txt  which were 
replaced too after an update (and that pissed us off too), so they were forced 
to back them up too. Same apllied to the gamemode_(gametypehere).cfg files. 

All the above are depicted in the following .sh script for linux :

cp /root/csgo/csgo_ds/csgo/mapcycle.txt /root/csgo_updates/pub
cp /root/csgo/csgo_ds/csgo/motd.txt /root/csgo_updates/pub
cp /root/csgo/csgo_ds/csgo/pure_server_whitelist.txt /root/csgo_updates/pub
 cp /root/csgo/csgo_ds/csgo/cfg/gamemode_competitive.cfg 
/root/csgo_updates/pub/cfg
cp /root/csgo/csgo_ds/csgo/cfg/gamemode_armsrace.cfg /root/csgo_updates/pub/cfg
cp /root/csgo/csgo_ds/csgo/cfg/gamemode_demolition.cfg 
/root/csgo_updates/pub/cfg
 cp /root/csgo/csgo_ds/csgo/cfg/gamemode_deathmatch.cfg 
/root/csgo_updates/pub/cfg



STEAMEXE=steamcmd ./steam.sh +login anonymous +force_install_dir csgo_ds/ 
+app_update 740 +quit



cp /root/csgo_updates/pub/mapcycle.txt /root/csgo/csgo_ds/csgo
 cp /root/csgo_updates/pub/motd.txt /root/csgo/csgo_ds/csgo
cp /root/csgo_updates/pub/pure_server_whitelist.txt /root/csgo/csgo_ds/csgo
cp /root/csgo_updates/pub/cfg/gamemode_competitive.cfg 
/root/csgo/csgo_ds/csgo/cfg
 cp /root/csgo_updates/pub/cfg/gamemode_armsrace.cfg /root/csgo/csgo_ds/csgo/cfg
cp /root/csgo_updates/pub/cfg/gamemode_demolition.cfg 
/root/csgo/csgo_ds/csgo/cfg
cp /root/csgo_updates/pub/cfg/gamemode_deathmatch.cfg 
/root/csgo/csgo_ds/csgo/cfg

sleep 5

cd csgo_ds

screen -S pub -d -m nice -n -10 ./srcds_run -game csgo -console -tickrate 128 
-usercon ........(and so on)

which just back up these kind of files , runs a csgo server update and then 
restore the files. ( it is still used by me).

So , my question is simple , are these files still replacable today? What other 
files you know that are replacable every csgo update?  Because I have a friend 
owning a csgo windows server and helping him out with that stuff, in windows 
you can't automate everything..


And for people saying that it could be easy to just create a 
gamemode_competitive_server.cfg file , well it was not yet that way when it was 
first time implemented...so I just create the script for backing them up.

_______________________________________________
 Csgo_servers mailing list
 [email protected]
 https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

 
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

 
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to