SRCDS Steam group


Server doesn't accept motd.txt?
#1
Hello,
after the new Server update my motd.txt doesn't work.
I got this simple code:

Quote:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<Html>
<head>
<title>Cstrike MOTD</title>
</head>

<body>
<center>
<b>Welcome to Kevin's CS:S Server</b>
<br>
<br>
This server also supports deathmatch and surf maps!
<br>
<br>
This server is protected through VAC and SteamBans Detox Anti-Cheat
<br>
Please be nice!
<br>
No cheating!
<br>
No spaming!
</center>
</body>

</Html>

But all I see is an empty page.

"Restricted the range of commands that servers can cause clients to execute when closing the MOTD."
I saw this in the release notes of the update.

What do I have to do to make it work?

When I only write simple text without any html codes it works.
Reply
#2
Your html tags are incorrect. Its <html> not <Html>
[Image: b_350x20_CFFAD41-E98100-000000-591F11.png]
Reply
#3
(07-02-2010, 11:46 AM)Encryption Wrote:  Your html tags are incorrect. Its <html> not <Html>

That doesnt matter, i could use <HtMl> if i would like to...

@Kepa132 - Try launching your motd in a web browser. Also, i would recommend you to upload the motd to a website, then you would only need to write the link to the motd file in your motd.txt .
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#4
Just use the original motd.txt from the cstrike folder, and build it out Smile
Reply
#5
If we're talking about a CS source server you must be sure that you launch the right application. On my Linux server i had to remap everything to the orangebox subfolder.

Code:
/home/steam/srcds/orangebox/cstrike/motd.txt
/home/steam/srcds/orangebox/cstrike/motd_text.txt

Users can choose whether they want to see plain or formatted text.
It might take a server restart for the changes to take effect.


In the old HTML 4.01 age developers and browsers didn't care about upper- and lowercase tags, it accepted everything. Modern markup such as XHTML and HTML5 requires all tags to be lower-case and closed.
Furthermore the <center> tag is does not exist, one should use <body align="center"> or <div align="center"> in HTML 4.01 and CSS (That's Cascading Style Sheets, not CS Source here) for XHTML or HTML5 code.
Keep in mind that all of this is rendered in a negligent webbrowser named Internet Explorer.
Steam username for communication: root_admin (but i'm just a regular user)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)