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 ➜ Timers resetting when reconnecting to a world.

Timers resetting when reconnecting to a world.

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


Posted by Leudoberct   (4 posts)  Bio
Date Mon 18 Mar 2019 07:27 PM (UTC)
Message
Using Version 4.94.

I currently have some aliases set up on a world that I connect to, to create some timers and to display the time left on said timers.

Here is an example of the alias to create a timer:

AddTimer ("Climb_timer", 1, 32, 0, "Climb fail reset!",
timer_flag.Enabled + timer_flag.OneShot + timer_flag.TimerNote + timer_flag.ActiveWhenClosed + timer_flag.Temporary, "")

And here is an example of the alias to show the time remaining on a timer:

Note(GetTimerInfo ("Climb_timer", 13))

However, I have a bit of an issue. If I disconnect from a world, the timer will keep on ticking, going down and down etcetera, which is perfectly fine, and is working as intended. However, if I then reconnect to that world by pressing enter and clicking yes, it automatically resets the timer. This is not something I want it to do. Is there a way to disable this?
Top

Posted by Fiendish   USA  (2,558 posts)  Bio   Global Moderator
Date Reply #1 on Mon 18 Mar 2019 08:40 PM (UTC)
Message
What you're doing seems ok to me. Is it possible that you have an automated trigger that fires on reconnect that is causing this?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Leudoberct   (4 posts)  Bio
Date Reply #2 on Mon 18 Mar 2019 08:41 PM (UTC)
Message
Nope, the only triggers I have are ones that recognise specific lines of text and colour them.
Top

Posted by Fiendish   USA  (2,558 posts)  Bio   Global Moderator
Date Reply #3 on Mon 18 Mar 2019 11:12 PM (UTC)

Amended on Mon 18 Mar 2019 11:14 PM (UTC) by Fiendish

Message
I don't see anything relevant in the release notes since 4.94, but just in case I missed something, could you try updating MUSHclient executable to the latest release? http://www.gammon.com.au/forum/?id=13918

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Leudoberct   (4 posts)  Bio
Date Reply #4 on Mon 18 Mar 2019 11:14 PM (UTC)
Message
Isn't the 4.94 the latest stable? And is there a way to update without losing all my aliases and triggers?
Top

Posted by Fiendish   USA  (2,558 posts)  Bio   Global Moderator
Date Reply #5 on Mon 18 Mar 2019 11:15 PM (UTC)

Amended on Mon 18 Mar 2019 11:23 PM (UTC) by Fiendish

Message
5.05 is the latest release.

As for not losing your aliases and triggers, those are stored in your world (.mcl) file, which you can backup before updating.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Leudoberct   (4 posts)  Bio
Date Reply #6 on Mon 18 Mar 2019 11:30 PM (UTC)
Message
Thanks, this seems to have fixed it. Didn't know 5.05 was the stable release, as the downloads page still says 4.94 was the stable version.
Top

Posted by Fiendish   USA  (2,558 posts)  Bio   Global Moderator
Date Reply #7 on Mon 18 Mar 2019 11:32 PM (UTC)
Message
What does stable mean anyway? :)

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #8 on Tue 19 Mar 2019 06:45 AM (UTC)
Message
It looks like that is by design:

https://github.com/nickgammon/mushclient/blob/master/doc.cpp#L7007

Therefore I’m not sure why upgrading fixed it.

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #9 on Wed 20 Mar 2019 02:35 AM (UTC)
Message
Leudoberct said:

Isn't the 4.94 the latest stable? And is there a way to update without losing all my aliases and triggers?


See http://gammon.com.au/forum/index.php?bbtopic_id=1 for news about newer releases.

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


31,298 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.