Raised This Month: $ Target: $400
 0% 

[L4D2] [REQ] MOTD overwrite


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xibit1987
Junior Member
Join Date: Nov 2009
Old 12-11-2009 , 11:12   [L4D2] [REQ] MOTD overwrite
Reply With Quote #1

Hi every one,

is it possible to make a plugin that is copying my MOTD.cfg from a backup folder on the server to the original file location on my server every time i restart the server.

The reason for this is becaus the server is hosted by gameservers.com and have -autoupdate as startup parameter, and i don't want that to be removed.

Here is a reply from the support from their site:

"The update feature is a command line setting that tells the server to check for an update every restart. With this, every restart on your server overwrites the motd and host.txt files, as steam deems them as different."

and it's a pain, do this every time the server restarts becaus of some bug or becaus I restart my servers.
xibit1987 is offline
pvtschlag
Member
Join Date: Nov 2009
Old 12-11-2009 , 12:47   Re: [L4D2] [REQ] MOTD overwrite
Reply With Quote #2

Just make a copy of host.txt and motd.txt and rename them to something like my_host.txt and my_motd.txt. Then in your server.cfg put the following:
Code:
motdfile "my_motd.txt"
hostfile "my_host.txt"
When the server updates it will only replace the original files not the new ones.
pvtschlag is offline
xibit1987
Junior Member
Join Date: Nov 2009
Old 12-11-2009 , 13:15   Re: [L4D2] [REQ] MOTD overwrite
Reply With Quote #3

Quote:
Originally Posted by pvtschlag View Post
Just make a copy of host.txt and motd.txt and rename them to something like my_host.txt and my_motd.txt. Then in your server.cfg put the following:
Code:
motdfile "my_motd.txt"
hostfile "my_host.txt"
When the server updates it will only replace the original files not the new ones.

Thank you so much! wired my host didn't tell me that, i can't be the first one with that kind of problems.
xibit1987 is offline
BU_DTOX
New Member
Join Date: Apr 2010
Old 04-29-2010 , 10:14   Re: [L4D2] [REQ] MOTD overwrite
Reply With Quote #4

We have Gameservers as well and adding these lines into my server.cfg still doesn't seem to work. Is there anything that need to be added to the URL with in the txt files? Or is a straight copy and rename all you have to do?
BU_DTOX is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 04-29-2010 , 12:58   Re: [L4D2] [REQ] MOTD overwrite
Reply With Quote #5

in my_host.txt:
hxxp://www.my-motd-host.com/motd.html

thats it (replace x's with t's)
dirka_dirka is offline
BU_DTOX
New Member
Join Date: Apr 2010
Old 04-29-2010 , 20:01   Re: [L4D2] [REQ] MOTD overwrite
Reply With Quote #6

Our normal host and motd files work fine, we just have to reload them after every update. Just can't seem to get the add in (motdfile "motd2.txt" &
hostfile "host2.txt" ) to the server config to work.
BU_DTOX is offline
Acextreme
Junior Member
Join Date: Apr 2010
Old 04-30-2010 , 16:46   Re: [L4D2] [REQ] MOTD overwrite
Reply With Quote #7

Yeah, those commands don't work in the server.cfg
Acextreme 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 22:11.


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