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
➜ General
➜ How to auto-connect world without interactive prompt
How to auto-connect world without interactive prompt
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Zhenzh
China (68 posts) Bio
|
Date
| Tue 12 Jun 2018 01:48 PM (UTC) |
Message
| Each time I start a MCL script, mush always prompt a dilog asking yes/no before doing connecting.
Is it possible to get rid of such interactive prompt?
What I want is the mush can auto connect to the mud server so that I can type my game id. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 12 Jun 2018 10:04 PM (UTC) |
Message
| Under the Connect menu you can check "Auto Connect" which will automatically connect whenever you open the world file.
If you are disconnected (but the file is open) you can press Ctrl+K to connect (with no dialog). |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Zhenzh
China (68 posts) Bio
|
Date
| Reply #2 on Wed 13 Jun 2018 08:21 AM (UTC) Amended on Wed 13 Jun 2018 08:22 AM (UTC) by Zhenzh
|
Message
| The connecting menu lists some options for auto-connect with name/passwd. While what I want is just connecting to the mud server without login user id as I'd like to decide which id to be login at the time staring MCL.
The ctrl+k solution is also an interactive operation which depends on manual behavior. It can not be used by automation robot.
Suppose I'm running automation script to do some job in mud game. The mush suddenly disconnected for network issue. How can I get the mush reconnect to the mud server once the network is recovered without manual operation? | Top |
|
Posted by
| Zhenzh
China (68 posts) Bio
|
Date
| Reply #3 on Wed 13 Jun 2018 11:56 PM (UTC) |
Message
| I check the auto-connect and it do works if not plugin used.
But the yes/no dialog will prompt when status bar plugin is enabled. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #4 on Thu 14 Jun 2018 05:10 AM (UTC) |
Message
| There is a reconnector plugin on the plugins page:
http://www.gammon.com.au/plugins/
Basically a plugin can check for a disconnect in the OnPluginDisconnect function, and then do a reconnect. That plugin enables a timer which keeps attempting to reconnect. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Zhenzh
China (68 posts) Bio
|
Date
| Reply #5 on Thu 14 Jun 2018 04:42 PM (UTC) |
Message
| |
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #6 on Sat 16 Jun 2018 06:48 AM (UTC) |
Message
| It's a plugin file. RH-click and download the XML file to your disk - that is the plugin. |
- 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.
19,517 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top