Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disconnecting from server doesn't remove you from the server #302

Open
1 task done
StefanB7 opened this issue Nov 17, 2024 · 1 comment
Open
1 task done

Disconnecting from server doesn't remove you from the server #302

StefanB7 opened this issue Nov 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@StefanB7
Copy link

StefanB7 commented Nov 17, 2024

I've searched existing issues and couldn't find a duplicate.

  • I confirm this is not a duplicate.

Operating System

Ubuntu 24.04

Server Software Version/Commit

0.1.0/00af2b98683b11946cddb4f08de3b0ce04c1fddd

What happened?

The server doesn't remove players when they disconnect (using the disconnect button in the client menu).
This leads to the player not able to join the server again, as the server thinks they are already connected to the server.

2024-11-17 11:23:53 INFO  [pumpkin::world@tokio-runtime-worker] stefan joined the game.
2024-11-17 11:23:54 WARN  [pumpkin::entity::player@tokio-runtime-worker] Failed to handle player packet id 8
2024-11-17 11:24:01 INFO  [pumpkin@main] Accepted connection from: xxx.x.x.x:xxxxx (id 1)
2024-11-17 11:24:14 INFO  [pumpkin@main] Accepted connection from: xxx.x.x.x:xxxxx (id 2)
2024-11-17 11:24:14 INFO  [pumpkin::client@tokio-runtime-worker] Kicking Client id 2 for You are already connected to this server
2024-11-17 11:24:23 INFO  [pumpkin::entity::player@tokio-runtime-worker] Kicked Player stefan (0) for Timeout

After the kick occurs due to the timeout, that player is still not able to join.

To Reproduce

  • join server
  • disconnect (pressing escape and selecting disconnect)
  • try to join server again

Expected behavior

The server should recognize the player has disconnected and remove them from the server, allowing them to join at a later time.

@StefanB7 StefanB7 added the bug Something isn't working label Nov 17, 2024
@Snowiiii
Copy link
Owner

I can't reproduce this. Since you also opened #301. It is maybe an issue with the Auth Server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants