LimboAPI icon indicating copy to clipboard operation
LimboAPI copied to clipboard

[BUG] Limbo leave causes client exception

Open frafol opened this issue 3 years ago • 5 comments

Describe the bug Limbo, when it has to send several players simultaneously to the same server, kicks out some clients (not all players are kicked out) due to a packet compression error.

To Reproduce Steps to reproduce the behavior:

  1. Trying to simultaneously connect several players connected to a limbo in a specific server.

Screenshots https://i.imgur.com/VJC0Fw4.png https://i.imgur.com/4JHG9FT.png

Server Info (please complete the following information):

  • [e.g. LimboAPI 1.0.6-SNAPSHOT, downloaded from https://github.com/Elytrium/LimboAPI/releases/download/1.0.6/limboapi-plugin-1.0.6-jdk17.jar]

frafol avatar Nov 22 '22 19:11 frafol

also tried with latest dev build, complete class is here https://github.com/sasi2006166/Fallback-Server/blob/velocity/src/main/java/me/candiesjar/fallbackserver/handler/FallbackLimboHandler.java

frafol avatar Nov 22 '22 19:11 frafol

@frafol Try on the latest release (1.0.8)

hevav avatar Jan 03 '23 16:01 hevav

The problem is not solved, same error by upgrading LimboAPI to version 1.0.8 (the new packets saving option is enabled).

https://i.imgur.com/4JHG9FT.png

I would like to point out that I have this problem when I try to send players to limbo, not at join but at a specific time.

frafol avatar Jan 05 '23 09:01 frafol

@frafol do you use LimboPlayer#disconnect method to disconnect the player from Limbo and send to another server?

hevav avatar Jan 05 '23 12:01 hevav

Yes, that's my class, i use all limboplayers methods.

sasi2006166 avatar Jan 06 '23 20:01 sasi2006166