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 scrambling bugs #104 #105

Merged
merged 2 commits into from
Apr 6, 2024
Merged

Conversation

kraigher
Copy link
Contributor

@kraigher kraigher commented Apr 6, 2024

  • Ensures ScrambleTeams() is not automatically called if IsScrambleEnabled is False
  • Fix almost scamble message to take roundsToScramble configuration into account.
  • Fix admin team scramble only done on T-win and not if more than 3 rounds in a row have been won.

@kraigher kraigher force-pushed the fix_scrambling_bugs branch from 5155981 to 27b3dbb Compare April 6, 2024 08:58
Copy link
Owner

@B3none B3none left a comment

Choose a reason for hiding this comment

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

Thanks for your first contribution 🚀

Overall it looks good, just some styling tweaks.

Are you also able to provide evidence that it was tested with a server full of players before I make the release?

If not I can merge it and ask people to test it for you. I've created a branch called scramble-updates so you can just point it there and I'll ask one of the server owners running the plugin if they would like to test it out for us. We send them the artifacts from the latest PR build.

RetakesPlugin/Modules/Managers/GameManager.cs Outdated Show resolved Hide resolved
RetakesPlugin/RetakesPlugin.cs Show resolved Hide resolved
RetakesPlugin/Modules/Managers/GameManager.cs Outdated Show resolved Hide resolved
RetakesPlugin/Modules/Managers/GameManager.cs Show resolved Hide resolved
RetakesPlugin/Modules/Managers/GameManager.cs Outdated Show resolved Hide resolved
@kraigher kraigher force-pushed the fix_scrambling_bugs branch from 27b3dbb to 9fac625 Compare April 6, 2024 10:42
@B3none
Copy link
Owner

B3none commented Apr 6, 2024

@kraigher merge the latest master, fix your conflicts and I'll see about finding someone to test it 👍

- Ensures ScrambleTeams() is not automatically called if IsScrambleEnabled is False
- Fix almost scamble message to take roundsToScramble configuration into account.
- Fix admin team scramble only done on T-win and not if more than 3
  rounds in a row have been won.
@kraigher kraigher force-pushed the fix_scrambling_bugs branch from 9fac625 to be9895b Compare April 6, 2024 11:03
@kraigher
Copy link
Contributor Author

kraigher commented Apr 6, 2024

I rebased on master now

@B3none
Copy link
Owner

B3none commented Apr 6, 2024

I've bumped the version and asked people to test it to ensure it's good. Once we've got confirmation I'll merge the changes and make a release.

https://canary.discord.com/channels/1160907911501991946/1187531929831096391/1226126922816163902

@kraigher
Copy link
Contributor Author

kraigher commented Apr 6, 2024

Great I will make a new PR after this is merged which implements the AutoTeamBalance flag described in #104

@B3none B3none self-requested a review April 6, 2024 18:49
@B3none B3none merged commit a56b400 into B3none:master Apr 6, 2024
3 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.

2 participants