[1.0.0.0] Timers that count up are inaccurate

Summary of bug here.
Many people have in their condos an uptime counter, or a counter to see who can do a surf or parkour map the fastest. Unfortunately, these counters will not be accurate.

TL;DR, these counters are affected by the host’s FPS, and when a host has low FPS these counters will count slower than usual. Much slower depending on what the frames are.

People usually have them to measure milliseconds, where every 0.01s, 10ms is added to a counter. This is where the issue arrises, it is likely that too many updates are being done every frame if i were to guess. Having an uptime counter that does not do milliseconds and instead just counts in seconds is fine. Even at 24fps it seems to be normal, albeit, i think there may be a bit of variance over a long period of time.

Steps to Reproduce

Best way to test this is to build a normal uptime counter with milliseconds and switch between capping your FPS to 60 and 24 and you will immeadiately see the effect.

I understand that this was never supposed to be a way to count up in condos since such an IO item is yet to exist, but it was the best we had. So now, i think more than ever, such an IO item is very much needed.

9 Likes

This is how slow the timers are when the host is at 24fps

3 Likes