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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Problem of Timer

Problem of Timer

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


Posted by Cocobear   (10 posts)  [Biography] bio
Date Mon 08 Aug 2011 11:26 AM (UTC)
Message
<timers>
<timer enabled="y" second="1.00" offset_second="0.00" send_to="12"
temporary="y"
one_shot="y" active_closed="y" >
<send>Execute("sa")</send>

</timer>
</timers>


<timers>
<timer enabled="y" minute="4" second="9.00" offset_second="0.00" send_to="12"
group="connect" active_closed="y" >
<send>Connect()</send>

</timer>
</timers>


First Timer is a temporary timer. but it doesn't fired. at the same time second timer left time become to 17 minutes, but you can see minute still is 4 minutes(I saw this in Tree View)

I'm using V 4.73


This world(MCL) file work very well for days.
I stop the mushclient this morning on my computer. then I copy world file to another computer, then start it, after sometimes it doesn't work, just happend what i mentioned above. but a fewer minutues later first timer fired.(I saw it on output.

the two computer have different time.

Did I describe it clear?
[Go to top] top

Posted by Cocobear   (10 posts)  [Biography] bio
Date Reply #1 on Mon 08 Aug 2011 11:59 AM (UTC)
Message
I uploaded some pictures in flickr, hope it will helped.
http://www.flickr.com/photos/cocobears/tags/mushclient/
[Go to top] top

Posted by Cocobear   (10 posts)  [Biography] bio
Date Reply #2 on Mon 08 Aug 2011 03:49 PM (UTC)
Message
When I use this mcl file on my laptop, it works well too.

btw, this problem happened on my virtual Box running XP SP3.
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Mon 08 Aug 2011 10:05 PM (UTC)
Message
What operating system does it *not* work on?

Make sure timers are enabled.

Check File -> Global Preferences -> Timers. Make sure Timer Interval is 0 seconds.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Cocobear   (10 posts)  [Biography] bio
Date Reply #4 on Tue 09 Aug 2011 02:14 AM (UTC)

Amended on Tue 09 Aug 2011 02:23 AM (UTC) by Cocobear

Message
Windows XP SP3

I'm running this OS in VirtualBox.


timer is enabled, you can see this pic http://www.flickr.com/photos/cocobears/6021221501/

I didn't change the value of Timer Interval, and it's 0

First, my second timer' left time become 22m(from above pic).
It's really strange.
[Go to top] top

Posted by Cocobear   (10 posts)  [Biography] bio
Date Reply #5 on Tue 09 Aug 2011 02:30 AM (UTC)
Message

btw, from http://www.flickr.com/photos/cocobears/6021808210/in/photostream/

you can see a lot of words didn't show completely.

Like Label(show as able), Script(show as cript)
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #6 on Tue 09 Aug 2011 06:50 AM (UTC)
Message
Cocobear said:

Windows XP SP3

I'm running this OS in VirtualBox.


Sounds like an artifact of VirtualBox. Is this running under Ubuntu or similar? Have you tried Wine? I haven't had any problems reported about timers that I can recall.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Cocobear   (10 posts)  [Biography] bio
Date Reply #7 on Tue 09 Aug 2011 07:42 AM (UTC)
Message
Nick Gammon said:

Cocobear said:

Windows XP SP3

I'm running this OS in VirtualBox.


Sounds like an artifact of VirtualBox. Is this running under Ubuntu or similar? Have you tried Wine? I haven't had any problems reported about timers that I can recall.


It running on Fedora 8. I haven't try wine. I have to run it on virtual machine.

You mean it may be a problem of VirtualBox? It happened days before. How can I supply more helpful information?

Perhaps you can try run mushclient on an OS running in VirtualBox, I think it will appeared again.

[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #8 on Tue 09 Aug 2011 07:47 AM (UTC)
Message
Wine is not an emulator. I suggest you try that.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Cocobear   (10 posts)  [Biography] bio
Date Reply #9 on Thu 11 Aug 2011 05:48 AM (UTC)
Message
Nick Gammon said:

Wine is not an emulator. I suggest you try that.


I knew wine, but it not suit in my situation.

My host and guest have differen time, so "time sync problem" appeared.


http://rickguyer.com/virtualbox-disable-time-sync-between-host-and-client/


I disable time sync of virtual, and now it works fine.

Thanks for your help.
[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.


17,971 views.

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.

[Home]


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 HostDash]