Skip to content

Draft: Implement Team autobalance code (Waiting for proper faction changing support)#34

Draft
jmarmstrong1207 wants to merge 2 commits intoMaxWasUnavailable:feature/dedicated_reworkfrom
jmarmstrong1207:autobalance
Draft

Draft: Implement Team autobalance code (Waiting for proper faction changing support)#34
jmarmstrong1207 wants to merge 2 commits intoMaxWasUnavailable:feature/dedicated_reworkfrom
jmarmstrong1207:autobalance

Conversation

@jmarmstrong1207
Copy link
Copy Markdown

@jmarmstrong1207 jmarmstrong1207 commented Dec 27, 2025

This PR implements the required team autobalancing algorithm that calculates how many players are needed to move to the other faction.

Waiting official support for changing player's faction

@jmarmstrong1207 jmarmstrong1207 marked this pull request as draft December 27, 2025 05:28
@bekkos
Copy link
Copy Markdown

bekkos commented Dec 27, 2025

I suggest making this toggleable in the configuration and default it to false.
The "senti" user on the Nuclear Option discord server is developing a cheat for Nuclear Option, their cheat is capable of switching teams mid-game. We have experienced this many times on the GrayWar server. This is done through BepInEx on the client, so it should be possible to achieve server-side as well, although I have not looked specifically for this myself.

@jmarmstrong1207
Copy link
Copy Markdown
Author

I suggest making this toggleable in the configuration and default it to false. The "senti" user on the Nuclear Option discord server is developing a cheat for Nuclear Option, their cheat is capable of switching teams mid-game. We have experienced this many times on the GrayWar server. This is done through BepInEx on the client, so it should be possible to achieve server-side as well, although I have not looked specifically for this myself.

I was able to get the code to change teams mid-game, but it requires an reconnect so that the game UI and map updates to the correct team. Without reconnecting, only the scoreboard shows the change. I was able to do so by removing the player from their old faction and re-add to the other.

If you have any ideas on where else to look, let me know

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