graywolf336 / BestViewDistance

A view distance plugin for Paper. Created to boost ping/tps and view distance.
1 stars 0 forks source link

View distance stuck after teleporting cross worlds a few times. #7

Open mibby opened 5 years ago

mibby commented 5 years ago

Paper dev 624 (Spigot 1.13.2) BestViewDistance dev 18

Config https://paste.ubuntu.com/p/qSqcHh6KtJ/

Spigot View Distance Setting: 4

I re-enabled UseAFKView and UseLoginView since it is enabled by default and raised the max view distance to 32 for testing. After teleporting from spawn to a player and back to spawn (in a different world), my view distance got stuck on 5 for current & supported in /vdist.

It did not refresh on world change or re-calculate best distance after a while. Only after relogging did it re-calculate. I'm wondering if you teleport across worlds while it is calculating the supported distance (before setting current distance), it breaks and sticks to that value?

mibby commented 5 years ago

Managed to break it even with UseAFKView & UseLoginView disabled. (stuck on 4/4/16) So I'm wondering if it is caused by teleporting across worlds while it is still calculating / sending distance.

graywolf336 commented 5 years ago

Huh, that is interesting. I will attempt to reproduce this issue and see what I can do