Nukkit icon indicating copy to clipboard operation
Nukkit copied to clipboard

Disconnection bug with /kick or stopping the server

Open Aenoxic opened this issue 3 years ago • 7 comments

Expected Behavior

Delay on disconnection at /kick. (Nukkit Command) and stopping the server when players are online

The selected player (in my testing case it was myself) will get kicked instantly with showing the reason.

Actual Behavior

The player (in my testing case it was myself) will be on the server and get kicked about 5-10 seconds later. "Disconnected from server". Other players on the server see me leaving the server instantly.

Steps to Reproduce

  1. setup nukkit server (no plugins)
  2. Kick youself or another player with or without a reason.
  3. stop the server if players are online (includes yourself)

Debug information

  • Debug link: Cannot paste (Server returned HTTP response code: 500)
  • Timings link (if relevant): https://timings.aikar.co/?id=93683926eb8846ecb3e04836771bc52c

Crashdump, Backtrace or Other Files

Pastebin: https://pastebin.com/iyyrRjxr Sorry, hastebin won't work right now.

Checklist:

  • [X] I included a /debugpaste link
  • [X] I made sure there aren't duplicates of this report (Use Search)
  • [X] I made sure I am using an up-to-date version of Nukkit
  • [X] I Made sure the bug/error is not caused by a plugin

Aenoxic avatar Jan 22 '21 17:01 Aenoxic

Heres a youtube video to show this issue in action: https://youtu.be/-LHpAFmtDLE

I think it will also occur by banning players. every action that will disconnect a player.

Aenoxic avatar Jan 22 '21 17:01 Aenoxic

This is old bug with disconnection reason show, hate this, fixed in PetteriM1Edition

Bestaford avatar Jan 22 '21 20:01 Bestaford

This is old bug with disconnection reason show, hate this, fixed in PetteriM1Edition

Yea, i tested now that it works perfectly with the PetteriM1Edition and i will use it now for my server. But Nukkit needs to fix this issue so i can use Nukkit again.

Aenoxic avatar Jan 23 '21 00:01 Aenoxic

A month ago and nothing happened to this. When should this get fixed?

Aenoxic avatar Feb 23 '21 16:02 Aenoxic

in the russian community this problem is considered critical, it is strange what is wrong here

Bestaford avatar May 24 '21 09:05 Bestaford

in the russian community this problem is considered critical, it is strange what is wrong here

The bug is still there and is not getting fixed anymore. It's a shame that those bugs will not get fixed by the developers. IDK why they ignore it..

Aenoxic avatar May 27 '21 15:05 Aenoxic

in the russian community this problem is considered critical, it is strange what is wrong here

The bug is still there and is not getting fixed anymore. It's a shame that those bugs will not get fixed by the developers. IDK why they ignore it..

This is not the only issue there is that needs to be fixed and anyways nobody is forced to spend their time fixing these. You can as well create a pull request yourself if it's so critical to you.

PetteriM1 avatar May 27 '21 15:05 PetteriM1

Should be fixed in https://github.com/CloudburstMC/Nukkit/commit/98188b9cbdcf25185eb5125435dec1d5cbf7a723

PetteriM1 avatar Sep 24 '22 22:09 PetteriM1