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

Bleeding branch v3.3.0 alpha.18a #265

Merged
merged 4 commits into from
Jul 3, 2024
Merged

Conversation

rbluer
Copy link
Collaborator

@rbluer rbluer commented May 22, 2024

Prison 3.3.0-alpha.18a 2024-05-21

But fix: There was a bug that surfaced that was being triggered by new player joins to the prison server.
The symptom was the spamming of new player join messages.
This was actually happening only if there were rank commands that would be ran for the initial rank assignment if it used rank related placeholder. The resolution of the placeholders were triggering another new player cycle.
This was a classic chicken or the egg situation.
It is unknown when this problem was first "setup", but it's only recently that it's been reported. It may have been there in the code for a few years, so not sure how many times this was encountered without being reported.

rbluer added 4 commits May 21, 2024 21:00
…failed and corrupted the markdown. I did not realize it was corrupted since it was still showing the correct content, but when restarting the IDE and loading the files, they were missing the first characters.
…lders being used in the rank commands for either the default ladder, or the first rank, the resolution of the placeholders was triggering a new player on-join processing within prison.

This happed because the new RankPlayer object was not being added to the PlayerManager before ranking the player... now the player's object will be there when the rank commands are processed.
Honestly have no idea why this has not been an issue in the past....
Releasing this alpha.18a because the fix of the of the new player bug was crippling servers.
@rbluer rbluer requested a review from TheMadog24 May 22, 2024 01:23
@rbluer rbluer self-assigned this May 22, 2024
@rbluer rbluer merged commit c296518 into master Jul 3, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants