maldorne / mud-web-client

Web client for playing MUD / MUSH / MOO games.
https://www.maldorne.org
Other
12 stars 4 forks source link

Configure for direct connection to fluffos wss with TLS #1

Open evilmog opened 1 year ago

evilmog commented 1 year ago

Hi There,

Is it possible to configure this client to completely ignore the proxy and connect direct to a muds exposed WSS with Native TLS such as with fluffos?

neverbot commented 1 year ago

Hi! Haven't tried, but I think with the right configuration should be possible:

Copied from the readme:


In src/config.js you can change the following options, among others:

  debug: param('debug') || 0,
  host: param('host') || 'muds.maldorne.org',
  port: param('port') || '5010',
  name: param('name') || 'House of Maldorne',
  ...
  proxy: 'wss://play.maldorne.org:6200/',
  ...

These are the default values used when the client does not receive specific parameters. You have to specify:

I think there was some problem about the urls used, as they seem that need to be a real dns url, not an IP, but I'm not sure.

Also, I think the client sends some extra information to the proxy, like the port and address of the real mud server, so probably your mud should ignore that info.

I could take a look, trying to use an empty fluffos server and see what happens, but I can't promise when I'll be able to do that, as I have little available time near christmas.