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 ➜ General ➜ World Connection Problem

World Connection Problem

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


Posted by Binkly   (2 posts)  Bio
Date Fri 22 Jan 2010 07:06 PM (UTC)
Message
Hello, there is probably an easy fix for this issue, but I can't seem to find the solution anywhere. What I'm trying to do... when I connect to a world, a small window box appears saying, "The connection to (WorldName) is not open. Attempt to reconnect?" Then you select either yes or no. What I'm trying to do is skip that window and have it automatically just try to connect. I have a timer activating the world to connect but I want to avoid having that window pop up so it will just connect right away without having to select the yes or no option. Please tell me this is possible?
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #1 on Fri 22 Jan 2010 07:18 PM (UTC)
Message
It sounds like you're trying to send commands rather than just connect to the world. Try using ctrl+K to connect if you're doing it manually, or use the Connect() script function in your timer (make sure to set "Send to" to Script).

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Binkly   (2 posts)  Bio
Date Reply #2 on Fri 22 Jan 2010 07:38 PM (UTC)
Message
I was doing world.activate('worldname'). The connecting function fixed the problem though. Thanks for your help :) Appreciate it.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Fri 22 Jan 2010 08:24 PM (UTC)
Message
The Connect function initiates a connect. Because of the way TCP works, it may take a second or so to complete.

You may find if you send something immediately after Connect then it is discarded.

Template:function=Connect Connect

The documentation for the Connect script function is available online. It is also in the MUSHclient help file.



The dialog box you mention pops up if you attempt to send something to the world, and it is not connected yet.

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


16,701 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.