-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove empty string and reply to user that last backup does not exist.
Fix Coaching Command It appears the regular coach command can only now be invoked if we are in warmup. So we want to check if we're in freeze time when allowing users to let us manually move them to the coaching position. Add in coach tracking. Add in basics for storing coaches in backup structure. Still need to test backups, but it appears that joining the coach slot and reconnecting now forces you to coach if you had previously selected. Fix Command_Stop wiping out the last backup CVAR. Only drop a coach in if the coach values are empty, otherwise kick the player as we are at max capacity for the match. Add in add coach command. Convert auth to steam64 for coaches on add. Add in logic to restore and move coach if in the global value. Update coach targets based on join and .coach. Only one person can coach per match, no more swapping. Backups store coaches as well so this will be stored and updated on match restore. Add in coaches_per_team config (default 2). Update docs. Change g_TeamCoaches to ArrayList like player auths. Update teamjoin logic accordingly based on max coaches per team. Equality check fix. Length isn't zero indexed. Rebase. Add one more debug call for last backup file. Add in check for stop command in debug. Include a GoBack for the Coach KV pair. Without this, the structure was incomplete and you would not be able to restore on first round. Adjust Command_Stop to use local commands. Removes an async call that is possibly cause some issues during a round restore. Fix pausing after round restore if users have fixed timeouts.
- Loading branch information
1 parent
92e0fb9
commit df5b2a7
Showing
10 changed files
with
196 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.