Bypassing the "disconnected from the <name here> server" notification

Posted by Silverwood on Thu 31 Dec 2009 10:48 PM — 3 posts, 13,611 views.

#0
Recently I've been having problems with my wireless, which makes some MUD servers randomly disconnect me due whenever the signal gives out.

This normally wouldn't be a problem as I've created triggers that automatically log myself in on disconnection. But for idling purposes, it does become a bit frustrating as the only thing keeping me from being online when I'm away is the "you have been disconnected from the <name here> server" notification popup that keeps on appearing whenever I'm disconnected. It requires me to press <Enter> or click <OK>, neither of which I'm able to do when I'm away. MUSHclient also pauses for my response when this happens.

My question is: are there any ways I can bypass this notification, perhaps by changing view or notification settings in the client? As always, thank you very much for your help!
USA #1
Sure; go to File -> Global Preferences -> General tab, and uncheck the "Notify me when connection broken" box.

You may also want to look into setting the "send_keepalives" option, only accessible via script. It'll send TCP keepalives over the connection, protocol-level packets with no data that simply assure both sides that the connection wasn't somehow severed. Normally, if the server doesn't send you any data and you don't send any commands, for an extended period of time, then the connection will automatically time out and become severed; the typical timeframe is thirty minutes if I recall correctly. You can enable it with this (Lua) code, which only needs to be run once; just before to save your world file (Ctrl+S) afterwards, and disconnect/reconnect to make it effective:

SetOption("send_keepalives", 1)
Australia Forum Administrator #2
Actually:


SetOption("send_keep_alives", 1)