Water is not infinite


Makes water a finite resource. Uses a depth map: each water tile has a depth based on its type. Pumps drain lakes; depleted tiles become land. Refill with outfall pipes and rain

Tweaks
5 hours ago
2.0
1.03K
Environment Fluids Power

b Character entity lag

18 days ago

Hello! Thank you for the mod! My friends and I have really been enjoying it in our Exotic Industries run. It's a funny little mod and seeing the ponds dry up is entertaining. Today we had to disable the mod though, as we were getting terrible lag with it enabled. Whenever I, the host, would start running, the UPS would tank. Using the f4 debug window to view the game update times and entity times, I found the culprit was the Character entity. Whenever I would move, the calculation time would start to increase. The longer I moved, the larger that calculation time for Character would get. It would keep growing and growing, and while it isn't noticeable at first, once the game tick time went over the 16 ms calculation window the UPS would quickly start to drop.

We did disable and enable a variety of mods and we can confirm that it was the Water is not inifinite mod that is causing the problem. Not sure why this water tile mod is being affected by characters running. If you need me to test some more, I would gladly help. We'd love to be able to enable this mod again for later in our run!

16 days ago
(updated 16 days ago)

Hello! Thank you for the feedback.

Could you upload your save zip for me? I'd like to test it

15 days ago

Here ya go: https://drive.google.com/file/d/1MHpZ63YYUixo6Q4dDdW91Z5FoeZe7ln_/view
This is actually not our latest save, as the latest save doesn't have the water mod enabled anymore. I did load the latest save with the water mod on but it doesn't experiences the increasing calculation time. When we first removed your water mod, part of our pond was turned from the mod water tiles to grass tiles, so maybe it's something related to the water tiles the mod adds? That would explain why loading the latest save fresh doesn't cause problems, since there's no special water tiles yet. For encountering the calculation leak though, this shared save does experience it.

15 days ago

Doing some further testing, it seems like the faster your character is, the greater the calculation time increase is. Running on the concrete (which has a running speed increase of 180% from who knows what mod) causes a greater character calculation time than walking on grass. We also have the Doing Things By Hands mod which makes our characters faster over time, which makes the calculation leak more noticeable. I have tested with the DTBH mod removed just to be sure and the leak still happens. It's only when removing your water mod that the calculation time increase while running stops.

14 days ago
(updated 14 days ago)

Thank you for your help!

I was able to reproduce the issue using your map and fix it

13 days ago

Perfect! Thank you so much! Happy New Year!

13 days ago

Happy New Year! 🙂

This thread has been locked.