Thread: [Solved] HTML not rendered in MOTD
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-13-2018 , 22:35   Re: HTML not rendered in MOTD
Reply With Quote #9

Quote:
Originally Posted by instinctpt1 View Post
Yes u misunderstood ...

I meant this :

Suppose u got a site : example.com
Post your HTML ( Motd) there .. ex : - example.com/motd.html

Now add this to motd.txt ( server side )
HTML Code:
<html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="refresh" content="0;URL=http://example.com/motd.html">
    </head>
    <body>
    </body>
</html>
Now with this meta refresh .. client's MOTD will surely refresh contents from your site (example.com ) to his motd and will surely work ... as i have my MOTD on my site with html + CSS and it works
Since the MOTD is not a web browser in Half-Life, it can't render HTML and obviously can't access the internet for grab web-based files that won't run it the MOTD anyways.

Quote:
Originally Posted by naz7 View Post
would all of this be VAC-safe, or a client with these modifications could be VAC-banned?
Any modification to the client binaries of a game that supports VAC has the potential to cause a VAC ban since Valve doesn't tell you what VAC actually checks.
__________________
fysiks is offline