-
Notifications
You must be signed in to change notification settings - Fork 174
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
[BUG] First round restore swap issues #699
Comments
@splewis Does the Round Restore actually use Official Valve Backup ? If so it is not getting updated after the teams have been swap. I checked the backup created by get5 which actually while creating first time does properly stores the Team Swaps but as soon as we load the backup of round00 it seems that it is getting swapped because it might be using Valve Official backup and it does not seems to have updated after Knife Round. |
Might be related to #652 ? |
Okay, so I think I'm going to use this issue to consolidate a few bugs in relation to the backup system if that's alright. And some possible solutions/patches that can be made here. Side Restore Issues@TandelK had sent me some backup files to help debug this situation in this ticket. I believe that every pre-round start, the backup system writes a backup file, as seen here - Lines 1150 to 1166 in 5afc25b
However, when the knife round ends this function I believe technically runs in while we're still selecting sides, and the teams are still in their initial configuration that was sent to the match server. So, when a team calls get5/scripting/get5/kniferounds.sp Line 26 in 5afc25b
Since there is no round end when selecting either If TandelK is okay with it, I will also upload those backups to this ticket so we can get additional observation on both the Valve backups, and the get5 backups, but I do believe we just need to do a simple write to the backup structure on swapping sides, before the state changes. ETA: As mentioned in #753 there is a global map side check Coach IssuesThis one was reported to me personally, and I may be requesting some more information and at least a reproducible example (GoTV, Video, or otherwise), but it appears there was an issue with restoring coaches, which I think may be in relation to #700. When a match restore was called, the coaches in the match was unable to join back into the coach slot. I will await some more information for this as well. ETA: I've done some more testing on this, and I think This will be fixed and further improved with #754 - since we are now tracking coaches we can ensure that a coach can successfully disconnect and reconnect in a match and immediately be placed on the coach slot for the proper team.
ETA: After continuous testing with two different servers, I'm unable to replicate this one at all. I'm going to need someone to send detailed logs, and if they've made any modifications to the plugin as well beyond what has been completed in PRs. .stop After a .stopThis issue was reported in Discord. Whenever a match decides to call the .stop command, the previous backup is wiped out due to the restore/start match config zeroing out the last saved backup. I think we can just wrap that call in checking if its a backup restore or not and fix that as well. ETA: This should be resolved by #754 as well! I'll edit this comment as well with more information as I come across it, and if time permits but I hope this may help someone else who may want to take a look into resolving these issues :) if you think these issues should be spread out into three separate tickets (and link/close all other issues relating to it), just let me know! |
@PhlexPlexico You can surely share the Files here and we can work on fixing this major issues. |
Attached are the match backups that show this behaviour. After I can fix a potential issue with the .stop command I'll see if I can find a way to fix these issues as well. Thanks! |
This should fix Side Restore Issues in splewis#699.
This should fix Side Restore Issues in #699.
* Update Dockerfile to debian 11 (splewis#760) Update Dockerfile to debian 11 * Change gMapSides when knife round swaps. (splewis#753) This should fix Side Restore Issues in splewis#699. * Include basic mkdocs installation. Update build to use one run instead of multiple. TODO: Update build job to build and host files with GH Pages. * Documentation conversion. Start with essentials. Include build job for github pages. Update example match json for new map pool. * Update mkdocs and github action. * Update published directory. * Try once more. * Change to a different build process. * Another build change? * Include space for commands for proper formatting. * Remove redunant text in README and point to docs site. * Swap URL. * Branch update. * Include colours from the utils class. * Update generate_docs.yml Attempt to fix directory issue Co-authored-by: Alex <[email protected]>
* Update Dockerfile to debian 11 (splewis#760) Update Dockerfile to debian 11 * Change gMapSides when knife round swaps. (splewis#753) This should fix Side Restore Issues in splewis#699. * Include basic mkdocs installation. Update build to use one run instead of multiple. TODO: Update build job to build and host files with GH Pages. * Documentation conversion. Start with essentials. Include build job for github pages. Update example match json for new map pool. * Update mkdocs and github action. * Update published directory. * Try once more. * Change to a different build process. * Another build change? * Include space for commands for proper formatting. * Remove redunant text in README and point to docs site. * Swap URL. * Branch update. * Include colours from the utils class. * Update generate_docs.yml Attempt to fix directory issue Co-authored-by: Alex <[email protected]> Shift docs generation around.
* Update Dockerfile to debian 11 (splewis#760) Update Dockerfile to debian 11 * Change gMapSides when knife round swaps. (splewis#753) This should fix Side Restore Issues in splewis#699. * Include basic mkdocs installation. Update build to use one run instead of multiple. TODO: Update build job to build and host files with GH Pages. * Documentation conversion. Start with essentials. Include build job for github pages. Update example match json for new map pool. * Update mkdocs and github action. * Update published directory. * Try once more. * Change to a different build process. * Another build change? * Include space for commands for proper formatting. * Remove redunant text in README and point to docs site. * Swap URL. * Branch update. * Include colours from the utils class. * Update generate_docs.yml Attempt to fix directory issue Co-authored-by: Alex <[email protected]> Shift docs generation around.
Expected behavior
When using stop command on the very first Round for Technical reasons and restoring round00.cfg backup file it should just reset the round itself properly back to their teams.
Actual behavior
When Using backup00.cfg with the team which has swapped after knife for side selection, it resets the sides again to their old team.
Steps to reproduce
Plugin version: 0.7.3-dev
Sourcemod Version = 1.10.0.6509
Steps to reproduce
The text was updated successfully, but these errors were encountered: