-
Notifications
You must be signed in to change notification settings - Fork 58
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
Forfeit Match for not showing up issue #152
Comments
Understanding the issue step by step Only 1 Team Shows up
Issues here : Both Teams not joined in given time or started match
Issues here :
|
That start_time is still null is the correct behavior in this case. The forfeit features seems not to be implemented completely. Then go into api.py and look at the match_finish function. This is caused by the apistats plugin. So there some tasks to do:
Maybe you also need to modify the main get5 plugin to transport the forfeit information to the apistats plugin. |
As per what i have tested i can see that if both the teams did not show up on given time, it was having state of pending on panel as it did not start on START Time update. But the issue with the plugin is that it checks for team 1 first and team 2 later on. So as per database i can see that it auto declared team 2 as winner even if they did not show up. So there might be need to rewrite for both the team not showing up for auto forfeit .
Team 1 --> Forfeit match for not showing up , team 2 if present get auto winner with update on panel as Winner but Start Time is not updated and set to Null by default which makes the website and panel showing Pending state. If tried to cancel match ,it says match is already finished as Database is updated for time defined in cvar and end time is automatically added.
Both Team does not show up. --> As per CVAR the teams condition is kept on checking but first team 1 will be checked and than team 2 is checked , given time gets completed for joining match and match is forfeited by default for not showing up. Database automatically gets updates to make team 2 as winner as team 1 timer is first completed. Still match status will be shown as pending as Time Start is set to Null and End time is set to CVAR time from checking . Now no team information is sent to database which team did forfeit here and is still 0 and cannot cancel the match as match is finished here.
The text was updated successfully, but these errors were encountered: