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 ➜ Bug reports ➜ @shutdown bug in MUSHclient v3.17, MUX2.0

@shutdown bug in MUSHclient v3.17, MUX2.0

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


Posted by Irinami   (4 posts)  Bio
Date Sat 16 Feb 2002 10:56 PM (UTC)
Message
I have come across a bug. When I run a TinyMUX2.0 server on my Win98 box, MUSHclient will crash quite a bit more often than not if I issue @shutdown to the server. Whether I'm using the Win32 version or the CygWin version of the server, this happens. I believe it is a timing issue, because MUSHclient doesn't recognize @shutdown the way it recognizes QUIT, and thus tries to reconnect while the TinyMUX server is in the process of terminating. Thus it seems to connect for a fraction of a second, then--when the server program finally terminates--something Bad(tm) happens, and MUSHclient crashes. I believe this would simply be fixed by having MUSHclient recognize @shutdown as saying "don't reconnect!" the same way it does when you use QUIT. I have even tried sending @shutdown and QUIT at the same time on separate lines, to little avail (it helps once in a while, I think).

Thanks!
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 18 Feb 2002 (UTC)
Message
Try doing this ...


  • Make @shutdown an alias
  • Have the alias call a script which sends the "@shutdown" and immediately calls world.disconnect. A scripted disconnection will not attempt to reconnect.


The script might look like this ...


sub Shutdown (strName, strLine, aryWildcards) 
  world.send "@shutdown"
  world.disconnect
end sub



- Nick Gammon

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

Posted by Ioolo   (5 posts)  Bio
Date Reply #2 on Sat 04 May 2002 04:51 PM (UTC)
Message
Why must MUSHClient crash when trying to reconnect like this? I've seen someone @shutdown/reboot like 15 times to make someone elses MUSHClient crash 15 times, it's annoying. Can't this bug just be fixed? :p
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #3 on Sat 04 May 2002 11:20 PM (UTC)
Message
Ah yes, I see it now. There was a serious bug in 'reconnect on disconnect'.

This has been fixed in version 3.19.

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


15,908 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.