ID:2961708
 
Resolved
Animation start time was being set incorrectly by the server when animations were done during server startup. This caused any such animations to think they were starting later when rebooting the world.
BYOND Version:515.1647
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 132.0.0.0
Applies to:Dream Daemon
Status: Resolved (516.1653)

This issue has been resolved.
Descriptive Problem Summary:

As of 1647, rebooting the server will break any running animations, causing them to need to slowly correct themselves before starting to properly animate, if they ever do at all.

Numbered Steps to Reproduce Problem:

1. Download https://discord.com/channels/725444629172060262/ 725458744711839873/1332881034722934794

2. Run project, you can do this in Dream Seeker, but using Daemon shows it off better.

3. Observe proper animation the first time the server starts and the client connect.

4. Reboot the server.

5a. On 1647 you'll see the star moving from the south of the map into place before it starts to animate.

5b. On 1652 you'll see the star just sitting there, not animating for a bit before it starts to animate. The time it takes is the same as it would have taken for it to "move into place" on 1647.

6. Reboot again, notice the time it takes becomes steadily longer each time.

7. Close the server entirely, close DD, reopen, issue starts again from 0.

Code Snippet (if applicable) to Reproduce Problem:
Test case provided on Discord.

Expected Results:

Animations to start and run properly.

Actual Results:

Delayed start of the animation, or the object moving into place from somewhere it doesn't belong before the animation begins, depending on the version.

Does the problem occur:
Every time? Or how often? Every time
In other games? Yes
In other user accounts? Yes
On other computers? Yes

When does the problem NOT occur?

Using 1646 doesn't have the issue, and you can sleep(1) just before the call to make things work, I'm not sure if it's due to the animate() being initiated from New(), but it seems to trigger every way I'm calling the animation.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

1646 doesn't have the issue.

Workarounds:

sleep(1) before the animate, pointing at the issue that was fixed in 1647 with animates initiated by a client verb.
Lummox JR resolved issue with message:
Animation start time was being set incorrectly by the server when animations were done during server startup. This caused any such animations to think they were starting later when rebooting the world.

Login to reply.