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

Posted by Irinami on Sat 16 Feb 2002 10:56 PM — 4 posts, 17,651 views.

#0
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!
Australia Forum Administrator #1
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


#2
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
Australia Forum Administrator #3
Ah yes, I see it now. There was a serious bug in 'reconnect on disconnect'.

This has been fixed in version 3.19.