kami-blue / client

ARCHIVED - KAMI Blue: a continuation of 1.12.2 KAMI
https://kamiblue.org
GNU Lesser General Public License v3.0
361 stars 384 forks source link

NoGlitchBlocks feature request #725

Open Props69420 opened 4 years ago

Props69420 commented 4 years ago

Requested feature NoGlitchBlocks

How should it work Prevent block desynchronization between client and server whenever you place it or break

Why is it useful Sometimes I had this problem: when I broke blocks with Eff5 diamond pickaxe under me in Nether I usually got stuck mid-air because of block desynchronization, after reconnect I saw that there were some blocks and I had to break them again EDIT And yes, there is some other clients like Future, Impact, Rusherhack and they have this feature, but a lot of people use KAMI Blue without any other clients

5HT2 commented 4 years ago

Enable TpsSync, it's already a module.

Props69420 commented 4 years ago

It says "Synchronizes some actions with the server TPS", which actions exactly?

5HT2 commented 4 years ago

Block breaking and placing.

5HT2 commented 4 years ago

I updated the description.

Props69420 commented 4 years ago

So is you changed the description, how about to rename module to something like "NoGlitchBlocks" or "AntiDesync"?

5HT2 commented 4 years ago

Anti Desync is about as useful as Tps Sync, in terms of naming, and the module description describes it well enough that I don't feel it warrants a module rename.

Props69420 commented 4 years ago

Ok then

x4e commented 4 years ago

TPS sync != no glitch blocks

5HT2 commented 4 years ago

That's what 086 called it, even though it has the functionality of the former.

x4e commented 4 years ago

No it doesn’t. No glitch blocks doesn’t remove the block client side upon breaking it, it will wait for the server to confirm the block removal. TPS sync just makes you break the block at the same rate as the server

5HT2 commented 4 years ago

I see, I misunderstood what it did. I'm not sure how NoGlitchBlocks would get the confirmation or prevent the removing however.

5HT2 commented 3 years ago

on a lot of clients i have seen noglitchblocks will send a use item packet on a block when you break it

I was trying to do it by updating all blocks around you. I'll try this

5HT2 commented 3 years ago

To add to the last comment, you can update the blocks your body fits inside (round up for head Y pos and round down for feet Y pos), so it would be about 8 + 2 blocks being updated for movement, which should be fine on 2b?