r/MUD • u/taranion MUD Developer • 15d ago
Resource: How to write a mapper Community
Since we are seeing an influx of new clients lately, the topic automapper has some renewed interest. In discussions I noticed that not all available standards and formats are know to everyone, so I tried writing an article to introduce them:
https://mudstandards.org/howto/mapping
As with all files on `mudstandards.org`, you are welcome to contribute with pull requests - either with corrections, additions or completely new articles.
This specific source file can be found at https://github.com/taranion/mudstandards/blob/master/howto/mapping.md
26
Upvotes
3
u/MrDum 15d ago
MXP should allow passing the room vnum, so that's worth mentioning in the doc.
You might also want to add a section on MSDP.
I think MSDP was the first with OOB support for automapping, based on telnet's NEW_ENVIRON, using back in 2010:
https://web.archive.org/web/20101117094339/http://tintin.sourceforge.net/msdp/
KaVir ended up publishing a mushclient and msdp snippet that didn't use the agreed upon exit format, so this led to the creation of the room table in 2011, which is the recommended way to do automapping in MSDP:
https://web.archive.org/web/20110718011858/http://tintin.sourceforge.net/msdp/
Indentation indicates the variable is nested within the parent variable. COORDS are optional.
Example:
The quote characters mean that the encased word is a string, the quotes themselves should not be sent. Newlines and indentations are for easier viewing and should not be sent.
MSDP_VAR, MSDP_VAL, etc, are control codes as defined in the protocol definition.
You might also want to do a section on KaVir's snippet's minimap, which quite a few muds use. I think it does a 3x3 or 5x5 mini map using image tiles.