I at one time had found... how to add mxp to a smaug server here on the website, I cant seem to find it now however. I was wondering if it was removed or if it was still here I just cant find it? Orginally I though it was, mushclient.com/mxp.htm?
Didn't know where to put this.
Posted by Metsuro on Sun 24 Sep 2006 03:34 AM — 15 posts, 53,666 views.
Alright, I installed it correctly, now for the fun part... Making the mxp stay after a hotboot... I am not exactly sure how to go about doing so.
What do you mean stay? Stay enabled on the player? If so, just write a variable to the pfile like other player variables are done.
The problem with that what if the player used a client that supports mxp, then no longer does so? Well then I could set a varible I guess to be turned on and of during the checks to see if they can use mxp, but I'm not quiet sure how to change hotboot to do so.
You could just have it be a config option to toggle MXP on or off for the pfile.
Not sure how exactly that would fix the problem, if they set it then disconnected and reconnected with another client. I dont want to have it set a pfile option that will have to be changed because of client.
So you're going to force MXP to be on if their client supports it?
Dont see why it shouldn't be on, but thats a good point I guess... Hrm... I cant see why people wouldn't want it on?
Personally, I'd want to be able to toggle MXP on the MUD and not via the client. I don't always want MXP on, since it's not really a complete design anyways.
Quote:
Hrm... I cant see why people wouldn't want it on?
Hrm... I cant see why people wouldn't want it on?
Some MXP implementations are bugged (at the server end) - there has been quite a bit of discussion about this. Things like maps with > signs in them come up with half of it missing.
I'm not familiar with hotboot code, but don't see why you can't renegotiate MXP after a hotboot.
Seems like a strange worry, hotboots occur when you want to reboot the server don't they? Why would someone switch clients while the hotboot takes place?
Well thats not exactly what I meant by it. Saving the option in a pfile will then mess with things somewhat if they switch clients... But I am unsure how to renegotate during the hotboot.
I have to admit that I'm baffled as to how/why someone would change clients during a hotboot. Even if your hotboot managed to take a full minute or so, why would someone suddenly decide to change clients?
For that matter, if they changed client wouldn't they need to reconect at which point the connection could be renegotiated just like it was when they first connected, right?
For that matter, if they changed client wouldn't they need to reconect at which point the connection could be renegotiated just like it was when they first connected, right?
Grrrr... I said I didn't mean it that way. The fact of the matter is if you store the MXP true in the pfile and they DO SWITCH then its broken sending mxp to a client that doesn't want mxp... Now want I am trying to do is to get it to renegotitate AFTER a hotboot but I cant figure it out *sigh*
But I dont know how to change hotboot to do the feat... and I just cant think of how to do it... *sigh*