-
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
Player disconnect prior to ready up causes a series end #549
Comments
This is the first time I've seen this issue in over 1000+ matches being played. I'm not sure if CSGO or Sourcemod has the ability to register a game crash but if it did it would be useful for us to have this exposed some how in the logs. |
This thing should not happen as per the below code that is used in get5. Lines 598 to 604 in 300b1ab
Currently you can use get5_end_match_on_empty_server to 0 and disable it. |
Line 599 in 300b1ab
set g_GameState > Get5State_Warmup
|
Okay so I was looking at the log provided here, and I think I may have found out why it's doing this, but I'll need to test to confirm. Am I safe to make the assumption that this player had "connected" but not had fully loaded into the game? I.e. they were both in the map loading screen and one person disconnected with a keybind? Because I think that may be a case when you connect. I'll double check and see if I can verify.
We definitely do not wish to do this, as if both teams get into warmup and leave, we want to forfeit the match. |
Looks like I'm able to reproduce this. You must have |
@PhlexPlexico What about just doing this:
|
I think there was a to-do mentioned about auto forfeiting as well. I like the idea of a timer, because then it would definitely avoid this bug as well! Avoids the headaches of finding all the edge cases of adjusting |
Yes, we just add |
If making a feature request, you should delete all the pre-filled text here.
If reporting a bug, fill in the following sections:
Expected behavior
Hello! Thanks for the amazing plugin. I just hit an issue the other day where, in a 2v2, I had 3 players connect (2 on team A and 1 on team B), but then one of them crashed before any of them could ready up. get5 instantly ended the series, booted everyone, and then whenever they tried to join again they would see "No match setup".
Actual behavior
Having a player disconnect prior to readying up, and prior to the ready up wait time expiring, shouldn't end the series. There's a good chance that player will connect again and ready up before his team is considered forfeit.
Steps to reproduce
Please note that "latest" is NOT a version! See https://github.com/splewis/get5/wiki/Debugging-help#finding-get5-version if you need help finding these. Adding the output file produced by
get5_debuginfo
is extremely helpful.(0.7.2-dev+492) by splewis
1.10.0.6462
The exact repro steps for my case, which was a 2v2, is to:
This can be summarized with a quick log snippet (Laz3rFaz3r and NotFrench1000Island are on teamA and shintarou99 and someone else are on team B):
The full log for this is attached.
5ef3f9388aa70817388d65d6.log
The text was updated successfully, but these errors were encountered: