You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brief summary of issue / Description of requested feature:
tempTimer does not fire at exactly the specified time, in my testing it is routinely off by up to a half of a second.
Steps to reproduce the issue / Reasons for adding feature:
Capture the current time with getEpoch().
Create a tempTimer.
When the tempTimer fires, compare the current time with the captured timestamp. This should be pretty close to the duration specified for your tempTimer, within a few milliseconds I would expect?
I also tried capturing the timestamp in step 1 after creating a timer, but the discrepancies were about the same, so I don't think its the actual time spent creating the timer which is the issue here.
Extra information, such as the Mudlet version, operating system and ideas for how to solve / implement:
Linux, Mudlet 4.18.5
The text was updated successfully, but these errors were encountered:
deliberatelycomposed
changed the title
tempTimer does not fire at exactly specified time
tempTimer does not fire at exactly the specified time
Sep 20, 2024
Brief summary of issue / Description of requested feature:
tempTimer
does not fire at exactly the specified time, in my testing it is routinely off by up to a half of a second.Steps to reproduce the issue / Reasons for adding feature:
getEpoch()
.tempTimer
.tempTimer
fires, compare the current time with the captured timestamp. This should be pretty close to the duration specified for yourtempTimer
, within a few milliseconds I would expect?Here is a short script I wrote to reproduce the issue.
I also tried capturing the timestamp in step 1 after creating a timer, but the discrepancies were about the same, so I don't think its the actual time spent creating the timer which is the issue here.
Error output / Expected result of feature
Example results from the script linked above.
Extra information, such as the Mudlet version, operating system and ideas for how to solve / implement:
Linux, Mudlet 4.18.5
The text was updated successfully, but these errors were encountered: