AutoSwitch [Fabric]

AutoSwitch [Fabric]

137k Downloads

Ghost blocks again

DanShu15 opened this issue · 12 comments

commented

Got another one of these for you in case it helps :) Disabling is a perfectly acceptable work around in my opinion tho.
Got a video of it happening
https://cdn.discordapp.com/attachments/714124655597715517/720445783198924848/20200610_191308.mp4

and the console warning
https://pastebin.com/Je0HLxdK

If you want an actual log I can get that too, but I figured this was enough and it seems like you're aware that it happens. Nbd in my opinion tbh, but it was reported to me so I'm reporting it to you :)
Have a nice day and thanks for the sweet mod!

commented

Multiplayer or single player?
Which version of autoswitch are you using?

commented
commented

hey dexman545
some server use a security that cancel your last action if you are switching tools too fast right after mining a block.
ie: when you are using a shovel for gravel and then you are hiting somes rocks, you will switch to the pickaxe, this is normal, but if it's too fast the server will just canceling that.
you can avoid part of the bug by setting switchbackBlocks = false
but it will not solve your main problem ( i.e dirt to rock )
so I highly recommend using a delay between mining and switching tool in preference adjustable into autoswitch.cfg.

commented

Thanks for the info. I'll see about adding a delay in a few days.

commented

This will go on the backburner for a bit as it wasn't as trivial to add as I hoped (the attack block events only fire at the start of attacking the block). Had a harddrive fail, so busy fixing that stuff.

commented

sure, can't wait for your update
good job and good luck

commented

autoswitch-2.6.0-rc.3.jar.zip
Here is a test of the delay system - let me know if it works. Hardcoded delay at this time, not functioning for switchback either.

commented

sorry for the late reply, I haven't tested yet, I'm playing on a 1.15.2 server

commented

1.15 is not focused for development, features and fixes get backdated from 1.16 to 1.15.
The backdate for these features will happen in a few days.

commented

@shagone 1.12.0 should have the delays in place, though the values may need tweaking to prevent ghost blocks.

commented

everything works like a charm on 1.12.2
the default delays did the job, nice work !
I just had to update my fabric loader to the latest version ( 0.9.0 )

commented

@shagone Glad it worked for you! I'm more stringent about bumping required version for things like loader since it tends to only be updated when something important has changed, so best to keep it updated anyways.