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 ➜ SMAUG ➜ Running the server ➜ MXP Help.... Not working

MXP Help.... Not working

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


Posted by Creeper386   USA  (62 posts)  Bio
Date Fri 02 Nov 2001 11:02 PM (UTC)
Message
Alright. I downloaded the Smaug with MXP and it has tags and everything but they show up literally. As in your see

Exits: <Ex>North</Ex>

Or similar.

I'm just figuring out what I am doing with the rest of the code so not worrying too much about this just wondering if anyone knows the answer...


Thanks ahead of time.

Creeper
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 04 Nov 2001 08:59 AM (UTC)
Message
Which client program are you using? Some clients won't detect the MXP tags, and earlier versions of zMUD (if you are using that) need a slightly modified version of the code to make it work properly.

- Nick Gammon

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

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #2 on Mon 05 Nov 2001 05:23 AM (UTC)
Message
I'm using the newest one I could download 6.16 I think Yeah thats right.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 05 Nov 2001 08:15 PM (UTC)
Message

My SMAUG server changes use the new 'mode changes' in the MXP spec. The first version of zMUD that supports that is 6.20. From their site I see this change under 6.20:

  • Support for new modes: ESC[3z,4z,5z,6z,7z

There are three things you can do...

  1. Wait for the newer version of zMUD.
  2. Use MUSHclient which correctly supports these modes
  3. Patch the SMAUG server slightly to make it work with zMUD 6.16.

The patch is described in this post: Zmud, MXP, and Smaug


- Nick Gammon

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

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #4 on Thu 08 Nov 2001 11:09 PM (UTC)
Message
Okay I figured I'd just take out MXP from it for now with still giving the choice of putting it back in easily. Would that be hard to get out that code or not? I thought it might be the area files but found out it obviously itn't after getting new area files. Don't really want to get new code although getting it to compile isn't hard it's some busy work I don't have time for.

Creep
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #5 on Fri 09 Nov 2001 02:28 AM (UTC)
Message
The MXP stuff is only in the source code, not the area files.

I suppose you could take it out, but the patch to fix the problem is only half-a-dozen lines, which is simpler than removing a few hundred.

If you want to remove it the simplest thing is to download the version of the server without the MXP patches.

- Nick Gammon

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

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #6 on Fri 09 Nov 2001 03:10 AM (UTC)
Message
So there isn't an easy way to at least stop the MXP from working? Because in order it to compile on an older cygwin I have to make quite a few changes though not hard it takes awhile. And when I won't always be using a newer zMUD or even on as new as 6.16 I also know alot of the people that are going to play it or at least help me with it aren't going to be using a newer zMUD thats why just patching it won't help too well.

Guess if all else fails I'll have to go back through and and change the code without MXP hopefully I haven't forgot anything I did though. Good thing I haven't done anything major.

Creep
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #7 on Fri 09 Nov 2001 03:59 AM (UTC)
Message
Probably you can take MXP out temporarily by adding one line to comm.c.

Add the extra "return" to turn_on_mxp which should leave it turned off.


void turn_on_mxp (DESCRIPTOR_DATA *d)
  {
  return;   /* no MXP for now */  
  d->mxp = TRUE;  /* turn it on now */

... and the rest ...

  }





Maybe also comment out the line that asks the client if it wants MXP:




  /* telnet negotiation to see if they support MXP */

 /*    write_to_buffer( d, will_mxp_str, 0 );  */  




- 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.


29,179 views.

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.