Re: [hlds_linux] [hlds] TF2 server.cfg motdfile not being respected?
That would be a good explanation for the behavior I've seen. Thanks! Solution: Move motdfile options to autoexec.cfg On 6/2/15 18:54, Ross Bemrose wrote: Is it really new or are you just now noticing it? Hint: It's the latter. motdfile and motdfile_text don't take effect until the map change after you set them. Which means they don't get set for the first map if you set them in server.cfg, because server.cfg gets executed after the map change. If you want to set them before the first map, you need to do so in autoexec.cfg, the server's startup line, or in a file that you +exec from the startup line (also useful for sv_setsteamaccount). On 6/2/2015 9:35 PM, Jesse Molina wrote: Hi all I am using a nonstandard filename for motdfile, but it is not being respected. It is also notable that my motdfile_text is also not being respected in the same way, but that's the same issue. My server.cfg has the following line: motdfile motd.html And then, that file has a single-line http:// reference to the real MOTD. This is on a test server, so I have a lot of room to mess around. I've replaced the entire server.cfg and removed the addons folder to no effect. I don't think I am doing anything else funny which might be related to this issue. It is notable that despite the above command in server.cfg, the server console says: Set motd from file 'cfg/motd.txt' But if I type motdfile to see what the current setting is, it says: motdfile motdfile = motd.html ( def. motd.txt ) So, the command was evaluated by the server, but isn't being respected for some reason. This is on Linux FYI. I know that this was working yesterday, because I was working on a MOTD then. Now, today, after the update, it's not working. Is this something broken today, or did I just not notice this behavior before? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] [hlds] TF2 server.cfg motdfile not being respected?
While we are on the topic and I have some attention, are there any other commands which behave in a similar manner? That they require a map change to take effect. I can think of tf_birthday and tf_medieval. On 6/2/15 18:54, Ross Bemrose wrote: motdfile and motdfile_text don't take effect until the map change after you set them. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] [hlds] TF2 server.cfg motdfile not being respected?
Is it really new or are you just now noticing it? Hint: It's the latter. motdfile and motdfile_text don't take effect until the map change after you set them. Which means they don't get set for the first map if you set them in server.cfg, because server.cfg gets executed after the map change. If you want to set them before the first map, you need to do so in autoexec.cfg, the server's startup line, or in a file that you +exec from the startup line (also useful for sv_setsteamaccount). On 6/2/2015 9:35 PM, Jesse Molina wrote: Hi all I am using a nonstandard filename for motdfile, but it is not being respected. It is also notable that my motdfile_text is also not being respected in the same way, but that's the same issue. My server.cfg has the following line: motdfile motd.html And then, that file has a single-line http:// reference to the real MOTD. This is on a test server, so I have a lot of room to mess around. I've replaced the entire server.cfg and removed the addons folder to no effect. I don't think I am doing anything else funny which might be related to this issue. It is notable that despite the above command in server.cfg, the server console says: Set motd from file 'cfg/motd.txt' But if I type motdfile to see what the current setting is, it says: motdfile motdfile = motd.html ( def. motd.txt ) So, the command was evaluated by the server, but isn't being respected for some reason. This is on Linux FYI. I know that this was working yesterday, because I was working on a MOTD then. Now, today, after the update, it's not working. Is this something broken today, or did I just not notice this behavior before? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux