thomaswp / BeaverBuddies

GNU General Public License v3.0
18 stars 3 forks source link

Floodgates and changing water levels may cause desyncs #7

Closed thomaswp closed 5 months ago

thomaswp commented 9 months ago

Describe the bug

My guess is that when water dynamics are changing, it intersects with trees reproducing, which alters the random state. As a result it doesn't happen all the time and doesn't always happen immediately (e.g. if a tree reproduces in one game but not the other, or is able to in one game but not the other, it may take a minute for the state to get desynced). But it could be something else.

Logs: The logs show nothing out of the ordinary - just a random state mismatch with nothing out of the ordinary preceding it. Would need more fine-grained debugging and a directly reproducible issue.

To Reproduce:

  1. Build a levee + floodgate system.
  2. Mess with it a bunch until desync occurs.

Desktop (please complete the following information for both Host and Client):

thomaswp commented 5 months ago

Should be fixed in v1.1.8