|
Bypassing the "disconnected from the <name here> server" notification
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Silverwood
(10 posts) bio
|
| Date |
Thu 31 Dec 2009 10:48 PM (UTC) [ quote
] |
| Message |
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! | top |
|
| Posted by |
Twisol
USA (1,476 posts) bio
|
| Date |
Thu 31 Dec 2009 11:02 PM (UTC) [ quote
] |
| Message |
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)
|
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | top |
|
| Posted by |
Nick Gammon
Australia (15,744 posts) bio
|
| Date |
Fri 16 Jul 2010 09:41 PM (UTC) [ quote
] Amended on Fri 16 Jul 2010 09:42 PM (UTC) by Nick Gammon
|
| Message |
Actually:
SetOption("send_keep_alives", 1)
|
- 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.
703 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )