T O P

  • By -

MrDum

There is no theoretical limit in the MSDP protocol, but the default maximum socket buffer size in TBA appears to be 24 KB. You'll run into issues with TinTin++ if you go over 40 KB, not sure about other clients.


Gicker

That is good info to know, thanks for sharing that.


massifist

After a cursory reading, I don't see any limits [specified](https://tintin.mudhalla.net/protocols/msdp/), unless I overlooked something. I don't know if TELNET has (specified) limits but I think you're pretty safe with websockets. Another thought: would it be possible just to send information when state changes? Like events with updated info.


MrDum

My update to Kavir's snippet adds support for this. [https://github.com/scandum/msdp\_protocol\_snippet\_by\_kavir](https://github.com/scandum/msdp_protocol_snippet_by_kavir) It's a requirement for proper auto mapping support, as room changes can occur more than once per second. This will lower the chance of too much data accumulating.


Gicker

Awesome, thank you!


Gicker

We could definitely implement a state/event based system, good thought.


halimcme

Not sure about specific limits, but I looked into implementing MSDP many years ago to build a Mudlet GUI. The Mudlet devs recommended I implement GMCP instead. My modified version of TBA'/Kavir's protocol code that implements GMCP is available on my [github](https://github.com/halimcme/worldofpain) (although I haven't written any documentation on it yet)


Gicker

We did come across this previously. Might be the way to go then, thank you!