Open dragokas opened 4 years ago
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/
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...
Tried many ways, using iframe to .htm, using img src code etc. Nothing helps at all.
Here is an explanation from dr.lex with a possible temporarily solution: https://forums.alliedmods.net/showpost.php?p=2729359&postcount=14
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 I'm here, but I don't have a source code of Left 4 Dead 2 to fix that.
@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 :(
They are reports about steam workshop addons conflict. If client doesn't have such addons, he is able to see MOTD.
This can happen if your link contain https, it should be http.
At the moment, it doesn't even work in L4D1. Valve totally broke parsing of html format.
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.
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:
PS. On test server
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.