Players do not get disconnected when already logged in #27

Closed
opened 2024-06-02 22:56:09 +03:00 by Exynox · 3 comments
Owner

A player's connection might still be alive, even though the client was disconnected. In this case, and all other cases where players are already connected, they won't be disconnected when a re-log is attempted.

image

A player's connection might still be alive, even though the client was disconnected. In this case, and all other cases where players are already connected, they won't be disconnected when a re-log is attempted. ![image](/attachments/81ac23c3-eeab-4f12-8a07-9cdb43c3f418)
1.8 MiB
Exynox added this to the Ready for public testing milestone 2024-06-02 22:56:09 +03:00
Exynox added the
bug
label 2024-06-02 22:56:09 +03:00
Author
Owner

This only seems to happen in the Docker deploy environment. Might be due to the fact that there are multiple game cores running at the same time. Might also be related to #32.

This only seems to happen in the Docker deploy environment. Might be due to the fact that there are multiple game cores running at the same time. Might also be related to #32.
Author
Owner

The bug seems to happen if the account is connected with a player in map c1 (ID 41). For example, if account is in map c3 (ID 43), the logout message is received and the player is disconnected.

We can see that metin2_map_c3 (ID 43) is handled by ch1_first, whereas metin2_map_c1 (ID 41) is handled by ch1_game2, so there definitely is a communication issue between the cores.

The bug seems to happen if the account is connected with a player in map c1 (ID 41). For example, if account is in map c3 (ID 43), the logout message is received and the player is disconnected. We can see that metin2_map_c3 (ID 43) is handled by ch1_first, whereas metin2_map_c1 (ID 41) is handled by ch1_game2, so there definitely is a communication issue between the cores.
Author
Owner

Duplicate of #32, fixed.

Duplicate of #32, fixed.
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: metin2/server#27
No description provided.