[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  timer's problem for mushclient running on a cloud computer(VPN)
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

timer's problem for mushclient running on a cloud computer(VPN)

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

Posted by Lxhd   (27 posts)  [Biography] bio
Date Tue 04 Jul 2017 11:17 AM (UTC)
my mushclient is running on a remote cloud computer, I made a timer with interval of 3 seconds, but it found that the timer's next time running is remaining exceed 3 seconds, sometimes "next" showed 8s, even sometimes it's more than 20 seconds. What's cause the timer's interval automatically changed?

<timer name="pfm" second="3.00" offset_second="0.00" send_to="10"
group="pfm" >
[Go to top] top

Posted by Fiendish   USA  (1,775 posts)  [Biography] bio   Global Moderator
Date Reply #1 on Thu 06 Jul 2017 01:56 AM (UTC)
Could it be related to this?


[Go to top] top

Posted by Nick Gammon   Australia  (21,669 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Fri 07 Jul 2017 05:15 AM (UTC)
Timers are implemented using Windows timers which are a low priority event. Possibly your cloud computer is servicing other things (eg. comms) which is deferring it noticing the timer expiry.

If there is a lot of activity on the MUD you could possibly work around it by building in a time-elapsed check on a "catch-all" trigger, and using that to do things after a certain number of seconds elapses.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] 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.


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

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]