Skip to content

Conversation

@yellowberryHN
Copy link

I noticed there was an issue with how the flood rate was calculated, it is now correctly calculated as ±changeAmount every UPDATE_RATEms. The client doesn't need to have the rate hardcoded because the it only gets sent changes by the server at the rate of the server.

This does however change how the speed is scaled, so for example, a speed of 0.65 will change the elevation by 0.65 units every UPDATE_RATEms, but I think that's what you initially intended anyway.

I have tested these changes on my private server and they appear to be working properly, even with different update rates.

Also, fixed an issue with the automod script that prevented the file watcher from working on network drives.

@daniel-w0
Copy link
Owner

Thank you for the pull request, I checked it out and it seems to be working, but I can't say for certain whether it's perfectly synced or not. I'll have to test it with some others when I have the time, I just want to be sure there's no issues with it and that everyone is synced

@daniel-w0 daniel-w0 self-assigned this Apr 3, 2024
@yellowberryHN
Copy link
Author

Sounds good! Let me know if you run into any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants