Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[L4D2] MOTD does not working - semi-transparent window

Open dragokas opened this issue 5 years ago • 12 comments

This is something like client-side bug.

One time, when my game client loaded let's say "successfully" I can join any server and I can see MOTD window correctly, as designed. Other (and most of the time) when client loaded "somehow not correctly" I'm joining any server, and none of them displays MOTD:

image

PS. On test server

motd_enabled "1"
motdfile is set by default = "motd.txt"

It doesn't matter whether it is set to 0 or 1. If we open MOTD in the middle game it is still not displayed. The same goes after loading a new map.

For comparison, in the Left 4 Dead 1 game I have never seen such a situation.

dragokas avatar Oct 16 '20 16:10 dragokas

Multiple reports about this bug are discussed here: https://forum.myarena.ru/index.php?/topic/44810-problema-s-motd/ and here: https://forum.myarena.ru/index.php?/topic/44435-motd-okno/

dragokas avatar Oct 16 '20 18:10 dragokas

Noticed this while trying to customize my own server's motd. Official Valve servers show transparent motd too. I remember motd's worked a couple months back. Something must've happened with the client...

HalalaiMircea avatar Nov 28 '20 20:11 HalalaiMircea

Tried many ways, using iframe to .htm, using img src code etc. Nothing helps at all.

kasparskaufmanis avatar Dec 24 '20 21:12 kasparskaufmanis

Here is an explanation from dr.lex with a possible temporarily solution: https://forums.alliedmods.net/showpost.php?p=2729359&postcount=14

dragokas avatar Dec 24 '20 22:12 dragokas

dragokas you still here? my new server motd url always always doesnt work, it displayed url but looks just plain text, i dont known it is this thread problem or just my wrong motd format, im tried utf-8 , html head redirect, adjust url and etc it always not works

NoroHime avatar Dec 08 '21 10:12 NoroHime

@NoroHime I'm here, but I don't have a source code of Left 4 Dead 2 to fix that.

dragokas avatar Dec 08 '21 11:12 dragokas

@NoroHime I'm here, but I don't have a source code of Left 4 Dead 2 to fix that.

so this is random error or everyone should disabled mods for view html motd?i just need display steam group page :(

NoroHime avatar Dec 20 '21 20:12 NoroHime

They are reports about steam workshop addons conflict. If client doesn't have such addons, he is able to see MOTD.

dragokas avatar Dec 21 '21 08:12 dragokas

This can happen if your link contain https, it should be http.

lunatixxx avatar Jun 03 '22 17:06 lunatixxx

At the moment, it doesn't even work in L4D1. Valve totally broke parsing of html format.

dragokas avatar Jun 03 '22 20:06 dragokas

I have an error on console that appears to be the reason: Unable to access ChromeHTMLController

Looking at some code that I found on internet Half Life 2 SDK I found that a warning is printed when there are no "surface()" or there are no "surface()->AccessChromeHTMLController()".

The code shows that there will no be HTML support from that point. So the result is not showing anything.

I don't know if the problem is "surface()" or "surface()->AccessChromeHTMLController()". We can try searching for some related library if can be replaced for a new one or something. The real solution is that Valve fix or improve the related code.

Of course, more investigation needs to be done.

Anyeos avatar Dec 22 '22 02:12 Anyeos

If you have downloaded sourcemod in client, you need to remove sm for motd enable. I don't know why sm block this command then cause this problem.

Miuwiki avatar Nov 27 '25 16:11 Miuwiki