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

[Unstable] Vote kicking a player then removing the ban via lobby settings results in an immediate re-ban on rejoin #9761

Closed
1 of 2 tasks
NilanthAnimosus opened this issue Aug 25, 2022 · 4 comments
Assignees
Labels
Bug Something isn't working Code Programming task Networking Issue related to multiplayer or networking Severe An issue that causes severe problems and occurs consistently/frequently Unstable Tickets that are included and being tested in the current Unstable build.

Comments

@NilanthAnimosus
Copy link
Collaborator

NilanthAnimosus commented Aug 25, 2022

Disclaimers

  • I have searched the issue tracker to check if the issue has already been reported.
  • My issue happened while using mods.

What happened?

I votekicked a client in my server. then used the settings button as a client with all permissions and commands in the lobby to unban the player. however upon joining they are simply banned again automatically.

Reproduction steps

  1. Start a server (In my case I used a dedicated)
  2. Get 3 clients or more to join
  3. use two clients to vote kick the third
  4. With one of the two clients, access the settings menu in the lobby on the banlist tab
  5. Due to another issue, you may need to open this twice to show the ban
  6. use the "Remove" button for the third clients ban that was vote kicked.
  7. have the third client rejoin - Find they are given an error or a notification they are banned.
  8. the ingame chat for other clients indicates they are banned again.
  9. the entry will reappear in the banlist (after opening it twice due to another issue)

Bug prevalence

Happens every time I play

Version

0.19.1.0 (unstable)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

Error message that sometimes appears (Instead of X is banned):
image

Messages after being unbanned (all shown are a single rejoin after the unban):
image

@NilanthAnimosus NilanthAnimosus added Bug Something isn't working Code Programming task Networking Issue related to multiplayer or networking labels Aug 25, 2022
@Regalis11 Regalis11 added the Severe An issue that causes severe problems and occurs consistently/frequently label Aug 25, 2022
@juanjp600
Copy link
Contributor

@Regalis11 Regalis11 added the Unstable Tickets that are included and being tested in the current Unstable build. label Sep 3, 2022
@NilanthAnimosus
Copy link
Collaborator Author

NilanthAnimosus commented Sep 5, 2022

Tested against dev commit https://github.com/Regalis11/Barotrauma-development/commit/7f3f6c800271e4dbdc682bb79cdd4e7e6c074a11

Players are still immediately banned upon rejoining after the ban has been removed from a votekick, and the fix does appear to be in the branch so it appears something else is still causing this.

@Regalis11 Regalis11 self-assigned this Sep 8, 2022
@Regalis11
Copy link
Collaborator

@NilanthAnimosus
Copy link
Collaborator Author

NilanthAnimosus commented Sep 8, 2022

Tested against dev commit https://github.com/Regalis11/Barotrauma-development/commit/f60a2ad003be4fcf1fd3e7d6c675a3f0dbcce861, works correctly. closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Code Programming task Networking Issue related to multiplayer or networking Severe An issue that causes severe problems and occurs consistently/frequently Unstable Tickets that are included and being tested in the current Unstable build.
Projects
None yet
Development

No branches or pull requests

3 participants