transhumandesign / kag-base

King Arthur's Gold base folder.
257 stars 119 forks source link

Can't interact with built blobs (online bug) #1537

Open mugg91 opened 1 year ago

mugg91 commented 1 year ago

Description

This rare bug causes you to jump/fall through ladders without grabbing them, fall through your team's team bridges while they are closed, walk through the enemy's closed door, etc.

This bug happens in online and existed before 2022 and still exists in the current build 4234.

Trying to build something over the glitched team bridge, the game previews the tile on top of the team bridge as if it can be built, but it won't actually build anything nor deplete materials. You also cannot pickaxe the team bridge.

Video: https://www.youtube.com/watch?v=YbBTiJHx61A

Reproduction

There are no known reproduction steps. Play CTF online a lot and it will occur from time to time.

Gingerbeard5773 commented 1 year ago

Here's how to reproduce this bug: 1) Setup two kag clients and a dedicated server. 2) Start placing blobs from client 1 at the same time that client 2 is joining the server. 3) There is a certain time frame where those placed blobs won't sync correctly to client 2, which is how the bug happens.

The cause of the problem is an attachment desync. The client believes the blob is attached but the server knows that the blob is not attached.

To my knowledge, the only appropriate fix for this would be engine modification ☹️

Gingerbeard5773 commented 1 year ago

https://user-images.githubusercontent.com/68350259/213889567-58191f0c-0c1d-4166-8b1b-2448f7ae623f.mp4

Gingerbeard5773 commented 1 year ago

This detachment desync messes with anything that can be attached. All of these videos show different attributes of the same bug

https://user-images.githubusercontent.com/68350259/213904048-b1848f44-ffa0-4e6d-bd91-aab3966c761f.mp4

This 'invisible' desync can also happen from seats (like the catapult or a boat)

And here is the desync with mines. The mines can still be picked up even though they are technically primed.

https://user-images.githubusercontent.com/68350259/213903977-05e49390-55a6-48ea-be85-46bcf5356a65.mp4

Here is the desync when picking up a normal item:

https://user-images.githubusercontent.com/68350259/213905278-70c110eb-3e02-4e17-8c7d-921c55902473.mp4

Any blob that can be picked up is subject to this bug. I use a crate in this example, but this bug is most notable when it comes to flags. It can be really disorienting and I've seen it happen in game before. Anyone else?

Here's a flag HUD desync caused by this detachment desync. I've seen this one in game before a few times.

https://user-images.githubusercontent.com/68350259/213905544-20d62238-2b20-4b52-ae46-363f41b4071d.mp4