plamzi / MUDPortal-Web-App

Web UI for playing MUD / MUSH / MOO games
http://www.mudportal.com
GNU General Public License v2.0
45 stars 22 forks source link

gmcp command identifying client #4

Open atari2600tim opened 5 years ago

atari2600tim commented 5 years ago

https://github.com/plamzi/MUDPortal-Web-App/blob/78f5fa1cbb67eada3934ea291438d8692eef5fd6/proxy/wsproxy.js#L519

I've been working on adding GMCP to my MUD, going by info I found at https://www.gammon.com.au/gmcp

It has examples where messages are supposed to be Package.Message and a space and then some JSON data. So when I tried connecting the web app, it was sending [client mudportal.com] instead of [client "mudportal.com"]. JSON data is supposed to have quotes around strings to be valid JSON as I understand.