Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ MXP and Pueblo ➜ Ending MXP tag support.

Ending MXP tag support.

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by Eos   USA  (52 posts)  Bio
Date Reply #15 on Sat 24 Jan 2004 10:29 AM (UTC)
Message
Ages later I stumbled on the answer while looking for something else.

else if (!str_cmp(argument, "on"))
{
send_to_char("Initalizing MXP.\n\r", ch);
SET_BIT(ch->act,PLR_MXP);
send_mxp_stylesheet( ch->desc);
}
else if (!str_cmp(argument, "off"))
{
send_to_char("Terminating MXP.\n\r", ch);
REMOVE_BIT(ch->act,PLR_MXP);
ch->desc->mxp = FALSE;
}
Right after:

send_to_char("Terminating MXP.\n\r", ch);
Should be:
send_to_char( MXPTAG("MXP OFF"), ch);

And that tells the client to stop processing what the server sends as MXP. I thought I saw that in there somewhere, just wasn't a telnet negotiation, was an MXP tag.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #16 on Sat 24 Jan 2004 06:32 PM (UTC)
Message
Ah yes, I had forgotten about that. However that is a non-standard MXP tag I think. I don't believe you can turn MXP off for zMUD.

But, it is better than nothing, and would work for MUSHclient users.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Eos   USA  (52 posts)  Bio
Date Reply #17 on Sat 24 Jan 2004 07:36 PM (UTC)
Message
Ironically it's in your first post on MXP and telnet negotiation.

The telnet negotiation suggestion that we worked is non-standard too, I'm just happy to have found a solution that already works.

Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #18 on Sat 24 Jan 2004 08:03 PM (UTC)
Message
Yes, you are right, it is on the page:

http://www.gammon.com.au/forum/?bbsubject_id=221

I have amended the main MXP section of this forum to have some useful links, so questions like this get answered more quickly in future. See:

http://www.gammon.com.au/forum/?bbtopic_id=33

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


69,110 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.