quitting

Posted by Neves on Mon 25 Feb 2002 07:59 AM — 12 posts, 45,208 views.

USA #0
I find that when a player logs off using the 'quit' command they don't get the %%disconnected from server%% message that you do get if I tell the MUD to shutdown or just close it, is there some reason it isn't disconnecting properly?

Thanks,
-Jay
Australia Forum Administrator #1
Do you mean you type "quit" or use the "quit" command in MUSHclient (or some other client)?

And is the "%%disconnected from server%%" a client or server message?

Knowing this will help explain. :)

USA #2
Well yes, I mean using it in a MUD client like zMud or gMud, since those when you normally quit a MUD they pick it up and either ask if you want to reconnect, or at least show you as disconnected, but for some reason with SMAUG it doesn't do this, and I was wondering if it was a cygwin component or something.

Thanks,
Jay
Australia Forum Administrator #3
Hmmm - I just tested that with SMAUG, freshly recompiled under Cygwin, and I got the message. Here is my log ...


quit
Your surroundings begin to fade as a mystical swirling vortex of colors
envelops your body... When you come to, things are not as they were.

A strange voice says, 'We await your return, Lordrom...'
--- Disconnected on Thursday, February 28, 2002, 8:23 AM ---
--- Connected for 11 seconds ---


The last two lines were output by MUSHclient, which picked up the disconnection.
USA #4
Hmm... I just tested it with MUSHclient, and I am not getting it, you used the version of SMAUG that you can download from this page?

Jay
Australia Forum Administrator #5
I am using the SMAUG from this site with MXP added (not that MXP should make any difference), file http://www.gammon.com.au/files/smaug/smaug1.4a_mxp.tgz.

I compiled under Cygwin and executed on NT 4.

I used MUSHclient 3.17.

After connecting I typed "quit" into SMAUG.
USA #6
As far as I can tell I did the same, could it be a cygwin component I am missing?

Jay
Australia Forum Administrator #7
It might just be a timing thing. After quitting the server will drop the connection. If it does it quickly enough the client will report the dropped connection.
USA #8
So basically since the computer I am running the MUD on is slow, the MUD client isn't picking up that it quit?

Jay
Australia Forum Administrator #9
I'm not saying that exactly, but if it works for me, but not for you, and you are using the same version of everything, it could just be an OS or timing issue.
#10
I have both, the original src and a src modified and translated for me, the original src have the quit perfect, but when i quit whit the file modified give me the same error.

The problem could be whit the translation ?

Sorry for me english.
Thanks for all.
Australia Forum Administrator #11
Probably the modifications, not the translation, but yes.

It is hard to support the code once you have changed it.