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, 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.
 Entire forum ➜ MUSHclient ➜ General ➜ Autologin - ExileMud

Autologin - ExileMud

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


Posted by Rhymes   (2 posts)  Bio
Date Mon 21 Nov 2022 03:07 AM (UTC)
Message
Hi,
I am very new to this software and I am having trouble using the autologin feature.
Under 'Game' -> 'Configure' -> 'Connecting' I have put my user name and password, and in the 'Connect Text' box I have
%name%
%password%

However, the mud I play requires a few seconds to initially detect the client I use. Is there a way to apply an initial pause for either a period of time or until a particular string is recognized before sending my username and password?

Thanks,
R
Top

Posted by Nick Gammon   Australia  (23,070 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 21 Nov 2022 07:40 AM (UTC)
Message
You could make a trigger that detects the string sent when it is time to login.

That could send the login name and password.

It could also disable itself if necessary to stop people finding your password by simulating that login string.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Rhymes   (2 posts)  Bio
Date Reply #2 on Tue 22 Nov 2022 01:27 AM (UTC)

Amended on Tue 22 Nov 2022 09:41 AM (UTC) by Rhymes

Message
Thank you for your response, it was very helpful. I'm now in the process of figuring out how to write a little script to handle my issue.

Is it possible to re-use the %name% or %password% variables that are defined in the world configuration via a script? Or is there a best practice for how to include this information aside from plain text in my script file? Disabling the trigger after a single use does keep everything pretty secure, but just want to make sure I'm not missing something or approaching this the wrong way.

Thanks for your help,
R

EDIT: nevermind, I found what I was looking for by searching the forum. Thanks.
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.


4,511 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.