Raised This Month: $ Target: $400
 0% 

Solved HTML not rendered in MOTD


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 04:38.


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