feather icon indicating copy to clipboard operation
feather copied to clipboard

Blocks Randomly Missing in Survival (Implement Proper Survival Block Break Speed)

Open Supermath101 opened this issue 4 years ago • 3 comments

In commit 4c34e17 on branch main, Cargo target release, Rust toolchain nightly-x86_64-unknown-linux-gnu, when setting the default_gamemode to survival and level to trace with an otherwise default config.toml, and after breaking at least one block, a few randomly positioned block aren't there on login-logout-login. You can logout then log back in as many times as you want and a different set of random blocks are missing. I have no idea how to precisely reproduce this.

Supermath101 avatar Feb 28 '21 01:02 Supermath101

This happens because survival-mode block breaking isn't implemented properly; the server thinks the player has insta-break. As a result, blocks that were clicked at all are considered broken.

You can logout then log back in as many times as you want and a different set of random blocks are missing.

I can't seem to reproduce this part—the set of missing blocks remains the same after relogging.

caelunshun avatar Feb 28 '21 01:02 caelunshun

I'm happy to report this issue is fixed! Because... I removed the temporary block breaking logic :)

There's a more capable block breaking system on my TODO list which should handle everything okay.

ambeeeeee avatar Mar 05 '21 22:03 ambeeeeee

Can confirm this appears to be fixed. The block break speed is still incorrect however

Molive-0 avatar Sep 25 '21 17:09 Molive-0