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

fix: clone exit and not removing the player on the death screen #1117

Merged

Conversation

beats-dh
Copy link
Collaborator

@beats-dh beats-dh commented May 22, 2023

Description

Fixes:

  • Force Exit then log in with another client.
  • Force exit death screen and log in with another client.
  • Getting afk on the death screen
  • Die, stay on the death screen, then very quickly log in with a 2nd client on top of the char

Test Ctrl + Q "cannot be a clone of the player".

Test Ctrl + C, "there can be no player clone".

Exit the client with the player online, and log in again "there cannot be a clone of the player".

Die with the player and see if it will log out after spending time configuring it in config.lua, change the variable "kickIdlePlayerAfterMinutes" to a shorter time in config.lua.

@beats-dh beats-dh requested a review from dudantas May 22, 2023 01:08
@beats-dh beats-dh marked this pull request as ready for review May 22, 2023 01:28
@dudantas dudantas force-pushed the fix-clone-exit-and-not-removing-the-player-on-the-death-screen- branch from 83a3f23 to 9c8b3a7 Compare May 22, 2023 18:25
@dudantas dudantas force-pushed the fix-clone-exit-and-not-removing-the-player-on-the-death-screen- branch from ffb5e3f to 18d8746 Compare May 22, 2023 19:25
@dudantas
Copy link
Member

Tested, apparently everything is ok.

@dudantas dudantas force-pushed the fix-clone-exit-and-not-removing-the-player-on-the-death-screen- branch from d8428c5 to 647e9b4 Compare May 22, 2023 21:42
@jacksonie
Copy link
Contributor

jacksonie commented May 23, 2023

Tested:

  • Clone (player and items)
  • Crash (/c player on death screen)
  • Force Exit then log in with another client.
  • Force exit death screen and log in with another client.
  • Getting afk on the death screen
  • Die, stay on the death screen, then very quickly log in with a 2nd client on top of the char

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@carlospess0a carlospess0a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working at the moment. No reports.

@dudantas dudantas merged commit 1f2f19b into main May 23, 2023
@dudantas dudantas deleted the fix-clone-exit-and-not-removing-the-player-on-the-death-screen- branch May 23, 2023 13:13
@aokisama aokisama mentioned this pull request May 29, 2023
5 tasks
luan pushed a commit that referenced this pull request Jul 11, 2023
Fixed:
• Force exit then log in with another client;
• Force exit death screen and log in with another client;
• Getting idle on the death screen;
• Die, stay on the death screen, then very quickly log in with a 2nd client on top of the char;
• Get pk, exit and wait to die, then cannot login, get message "You already login".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants