Geyser icon indicating copy to clipboard operation
Geyser copied to clipboard

Fix server switching with larger render distances

Open Camotoy opened this issue 5 years ago • 4 comments

The server only started sending its render distance during 1.14. ViaVersion compensates by sending 64 as the render distance, always - but this can choke up Bedrock in various ways. This PR fixes two separate issues related:

  • In some instances, the client would be stuck on Building Terrain during server switch. This is solved by fake-decreasing the render distance during server transfer. Zero issues have been found thus far.
  • When switching servers, chunks could be dropped. While not pretty, if the client is not spawned, they are teleported to near the chunks so they cannot be unloaded.

Camotoy avatar Apr 23 '21 20:04 Camotoy

May I ask when it will be merged?

jungwuk-ryu avatar May 16 '21 19:05 jungwuk-ryu

I've been meaning to get some more testing going and possibly clean up the PR a bit - this feels hacky but hackiness is better than unworkable behavior.

Camotoy avatar May 16 '21 19:05 Camotoy

Is this pr going to be merged? Or is it solved by other means?

hasankayra04 avatar Oct 01 '23 18:10 hasankayra04

Is this still on the work?

PedroMPagani avatar Jun 15 '24 21:06 PedroMPagani

Closing as stale - this would need to be re-made anyways

onebeastchris avatar Feb 05 '25 23:02 onebeastchris