MXP Snippet Problems

Posted by Kris on Fri 10 May 2002 10:04 AM — 2 posts, 15,014 views.

USA #0
I impelemented MXP into my source, using the snippet contained on your site, and checking my work against the smaug source files that already had MXP installed. After a bit of work, it finally compiled. However, when I attempted to test it, it dumped a whole bunch of mxp tags and telnet negotiation junk on the screen. For example:

<!ELEMENT Ex '<send>' FLAG=RoomExit><!ELEMENT rdesc '<p>' FLAG=RoomDesc><!ELEMENT Get "<send href='get &#39;&name;&#39;|examine &#39;&name;&#39;|drink &#39;&name;&#39;' hint='RH mouse click to use this object|Get &desc;|Examine &desc;|Drink from &desc;'>" ATT='name desc'><!ELEMENT Drop "<send href='drop &#39;&name;&#39;|examine &#39;&name;&#39;|look in &#39;&name;&#39;|wear &#39;&name;&#39;|eat &#39;&name;&#39;|drink &#39;&name;&#39;' hint='RH mouse click to use this object|Drop &desc;|Examine &desc;|Look inside &desc;|Wear &desc;|Eat &desc;|Drink &desc;'>" ATT='name desc'><!ELEMENT Bid "<send href='bid &#39;&name;&#39;' hint='Bid for &desc;'>" ATT='name desc'><!ELEMENT List "<send href='buy &#39;&name;&#39;' hint='Buy &desc;'>" ATT='name desc'><!ELEMENT Player "<send href='tell &#39;&name;&#39; ' hint='Send a message to &name;' prompt>" ATT='name'>

was dumped on the screen at my password prompt. Also, here is an example from one of my rooms:

Obvious exits: <Ex>north</Ex> <Ex>east</Ex> <Ex>south</Ex> <Ex>west</Ex>


<Get 'quill pen' 'A quill pen'>A quill pen lies here.
</Get>
<Get 'board' 'Shanbar Message Board'>Shanbar Message Board sits here (type 'help boards' and 'help notes')'
</Get>


I checked the code several times, and confirmed that this is exactly what was specified in the snippet. I went onto imc, and heard a few other people saying the exact same things happened to them when they tried to install this snippet. It also seems that the snippet does however work great for people using MUSH Client; but it totally chokes in zMUD.

Are you using some sort of different protocol, or is there just some little bug in the snippet itself that was overlooked? I'd like to get MXP installed on my mud, but obviously this dumping stuff isn't gonna work. I'd prefer to have it so I'm compatible with users of both zMUD and MUSH Client, and still be able to use MXP.

Any thoughts on how this could be fixed to work on both clients?
Australia Forum Administrator #1
The nice thing about this forum is you can solve problems yourself by doing a search. For instance, in your case, you are having a problem with MXP and zMUD. A search for 'MXP zMUD' will find the solution.

To save you the trouble, look at this link: Zmud, MXP, and Smaug .