SRCDS Steam group


How to get my motd.txt working peroperly
#1
So, this is semi srcds related, but anyway I have a motd.txt that works quite well ride now here it is
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>3dslice.net</title>
<style type="text/css">
pre     {
        font-family:Verdana,Tahoma;
        color:#FFB000;
        }
body    {
        background:#000000;
        margin-left:8px;
        margin-top:0px;
        }
a    {
        text-decoration:    underline;
    }
a:link  {
    color:  #FFFFFF;
    }
a:visited   {
    color:  #FFFFFF;
    }
a:active    {
    color:  #FFFFFF;
    }
a:hover {
    color:  #FFFFFF;
    text-decoration:    underline;
    }
</style>
</head>
<body scroll="no">
<pre>
<center>
<img src="http://img6.imageshack.us/img6/3643/eurosonic3sonic.png">
You are playing on the 3dslice.net server
<a href="http://www.3dslice.net"> Please visit 3dslice.net to support the server!</a><br>
Email jigglywiggly@3dslice.net if you have questions

</center>
</pre>
</body>
</html>

Works nicely, but now I want to put the forums up first http://forum.3dslice.net/3dslice-obsidian-general-f2/
I wanted to see if it would even work in the source browser, so I made my normal motd redirect to it, and it works nicely... except it's too long of a delay. So how would I just get this running: http://forum.3dslice.net/3dslice-obsidian-general-f2/

I mean I just pasted the source code into the motd and that didn't work. Anyone have any ideas?
Reply
#2
If you want it to open to a URL, simply make your motd.txt only contain the URL of the page you want to display.
Reply
#3
I did that, but when I go ingame it just looks like this

��h

That's all that showed up
I put this in there
Code:
http://forum.3dslice.net/3dslice-obsidian-general-f2
Reply
#4
Nevermind it works, I had accidentally saved the text formatting as unicode.
Thanks for the help Big Grin Big Grin Big Grin
Reply
#5
No problem. Please add [RESOLVED] to the threads title Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)