Jump to content

Is the Timer event subject to lag?


Monica Balut
 Share

You are about to reply to a thread that has been inactive for 4371 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

From my general observations, it's my impression that the timer event is triggered by comparison with the server's system clock.  So, although time dilation may affect how rapid the script can execute something in response to the timer, the timer event itself is not that affected by time dilation although I would expect some delay if the system is thrashing from memory overload.

 

Am I correct in this view?  If not, could someone set me straight?

Link to comment
Share on other sites

Hi, yes that is basically it. Timers use the system clock to make sure the event triggers no more often than the requested interval. If it takes longer than the requested interval to get there, no extra events are added, the script "loses a turn". Because of the way the scheduler works, even in the most optimistic case, a timer won't get more than one chance per server frame to run.

See https://lists.secondlife.com/pipermail/secondlifescripters/2012-May/006509.html for reference.

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4371 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...