Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005848opensim[REGION] Script Functionspublic2012-01-12 07:132012-07-27 09:42
Assigned To 
PlatformWindowsOSWindows 7 64-bitsOS VersionOpenSim 0.7.2
Product Version 
Target VersionFixed in Version 
Summary0005848: Timer problem
DescriptionWhen I run a timer for a certain time, it has a bug in its accuracy and runs on longer than they should, for example if I run it for 1 second event actually happens every 1.001 or 1.01 or 1.003 seconds, in this way every 90 seconds will have a second rest.
Steps To ReproduceDrop the following script into any prim and let it run for about 2 minutes.

        llOwnerSay( llGetTimestamp( ));
Additional InformationI attached a screenshot with the prints of the timestamp.
TagsllSetTimerEvent, timer
Git Revision or version number0
Run Mode Standalone (Multiple Regions)
Physics EngineBasicPhysics
Script Engine
Environment.NET / Windows64
Mono VersionNone
ViewerAstra Viewer
Attached Filespng file icon timerPeroblem.png [^] (894,272 bytes) 2012-01-12 07:13

- Relationships

-  Notes
SignpostMarv (reporter)
2012-07-27 09:42

I don't believe this is a bug; see [^]

"The key guarantee – and you can test it yourself – of llSetTimerEvent() has always been that it absolutely never triggers a timer event sooner than the appointed time-interval. The timer event always triggers either at (or after) the specified interval. This is in common with the way timer events are handled in pretty much all multi-user systems. You specify the earliest time to be notified, and you get your notification at that time or (more commonly) some short time later.

If it then matters to you just how much time has really elapsed, you check the clock."

- Issue History
Date Modified Username Field Change
2012-01-12 07:13 diegoriofrio New Issue
2012-01-12 07:13 diegoriofrio File Added: timerPeroblem.png
2012-01-12 07:15 diegoriofrio OS Version 7.0.2 => OpenSim 0.7.2
2012-01-12 07:17 diegoriofrio Tag Attached: timer
2012-01-12 07:17 diegoriofrio Tag Attached: llSetTimerEvent
2012-07-27 09:42 SignpostMarv Note Added: 0021917

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker