Sasai-Kudasai-BM / Water-Physics-Overhaul

48 stars 17 forks source link

[Question] Time slicing? #1

Closed No3371 closed 3 years ago

No3371 commented 3 years ago

Hey, just came from a reference on FluidPhysics repo, surprisingly found this just release an alpha! And it looks promising😄 !

FluidPhysics is a nice mod but the overall experience is kinda ruined by the fact that it always destroy server tps when a player gets near a submarine canyon or accidentally open up a cave to a river, it will just try to process all the water blocks, which can basically cut down tps to one digit or even kill the server.

I'm wondering does WPO has a solution to this problem like time-slicing or somerthing.

Sasai-Kudasai-BM commented 3 years ago

Great question. This problem was partially solved already in the first version of PhysEx. The main feature of the latest update is the strict time limit for fluid processing. Now the tps cannot fall due to a large amount of processed processing. 2021-04-06_142739 New algorithm uses only remaining tick time.

No3371 commented 3 years ago

Nice, that's better then I expected, using the already existing remaining tick time sounds way better then implementing a extra block counter. 💯