FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
554 stars 107 forks source link

(Enhancement) Adding HTML MOTD Support for Xash? #126

Closed CrusoeDaWolf closed 6 years ago

CrusoeDaWolf commented 8 years ago

It would be interesting to see HTML support for MOTD and would add a bit more variety and customization to multiplayer servers. c;

mittorn commented 8 years ago

You may use touch menu instead of MOTD for android clients.

CrusoeDaWolf commented 8 years ago

No, no. I mean like being able to use HTML inside motd.txt, similar to how you could use it in CS 1.6

mittorn commented 8 years ago

I understand, but it need some html parser and renderer. And all of them are very heavy. Using system web browser plugins is unsafe. Maybe, it is better to just add http links support?

CrusoeDaWolf commented 8 years ago

Well, since that won't work, how would I get the MOTD to show up for Android users?

fuzun commented 8 years ago

I think it is possible to integrate qhtm project (http://gipsysoft.com/qhtm/) to xash3d like valve did for hl2. But It is not that time to do that.

a1batross commented 8 years ago

@CrusoeDaWolf MOTD is disabled for cs16-client completely.

But in HL and other mods you can just send plain text. :)

2016-04-17 15:43 GMT+03:00 fuzun notifications@github.com:

I think it is possible to integrate qhtm project ( http://gipsysoft.com/qhtm/) to xash3d like valve did for hl2. But It is not that time to do that.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/SDLash3D/xash3d/issues/126#issuecomment-211013008

CrusoeDaWolf commented 8 years ago

Alright. But it seems like Android clients don't see the MOTD at all. Is it disabled in Android or is there something I have to do to make it show up for Android clients?

a1batross commented 8 years ago

In CS16Client there is a cvar "cl_hide_motd".

It's done due to incomability with touch menus and my laziness to fix it. On May 4, 2016 3:18 AM, "CrusoeDaWolf" notifications@github.com wrote:

Alright. But it seems like Android clients don't see the MOTD at all. Is it disabled in Android or is there something I have to do to make it show up for Android clients?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/SDLash3D/xash3d/issues/126#issuecomment-216705689

CrusoeDaWolf commented 8 years ago

Alright, and how about Half-Life?

a1batross commented 8 years ago

Just fill your motd txt On May 4, 2016 2:08 PM, "CrusoeDaWolf" notifications@github.com wrote:

Alright, and how about Half-Life?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/SDLash3D/xash3d/issues/126#issuecomment-216830029

CrusoeDaWolf commented 8 years ago

Well, will it show up for Android clients however if I simply fill up motd.txt or is it disabled on Android?

a1batross commented 8 years ago

Yes.

I connected to HL1 Xash3D server and got motd. :) On May 4, 2016 2:26 PM, "CrusoeDaWolf" notifications@github.com wrote:

Well, will it show up for Android clients however if I simply fill up motd.txt?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/SDLash3D/xash3d/issues/126#issuecomment-216833057

CrusoeDaWolf commented 8 years ago

Alright. I think this can be closed for now! Thanks c:

a1batross commented 8 years ago

I think it should be moved to cs16-client repo. Half-Life doesn't have HTML MOTD, while the Counter-Strike have it.

CrusoeDaWolf commented 8 years ago

Alright, but I have another problem not related to the MOTD. So, with the new 3366 build from moddb, the textures in Stalkyard are all missing but in the newer release from github, all the textures are there, so I think there may be a problem with the moddb release. This is on WON version of HL by the way. I can send screenshots later if you want.

EDIT: Also, because of this problem, in some mods like Half-Quake, the textures end up missing, which I didn't have this problem in earlier builds and builds from AppVeyor/Visual Studio.

a1batross commented 8 years ago

We are not switched to 3366 branch yet. It's on testing, because many code was been changed by Uncle Mike and it must be properly tested and adopted to our fork. On May 5, 2016 12:29 AM, "CrusoeDaWolf" notifications@github.com wrote:

Alright, but I have another problem not related to the MOTD. So, with the new 3366 build from moddb, the textures in Stalkyard are all missing but in the newer release from github, all the textures are there, so I think there may be a problem with the moddb release. This is on WON version of HL by the way. I can send screenshots later if you want.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/SDLash3D/xash3d/issues/126#issuecomment-217009556

CrusoeDaWolf commented 8 years ago

Alright. I'll be using the release from here then or either build it myself for now. c:

a1batross commented 6 years ago

Not engine enhancement. You may write in client.dll.