In the following game, the overtime period is ended immediately after the direct free kick is called because the AutoRef sends a FINISH message:
[2852.504|0250.880] Info: STATUS: state: STATE_PLAYING, remaining time: 114
[2858.387|0251.424] Info: Blue player 2 committed a forceful contact foul on red player 3 (opponent moving towards the ball, charge from behind) outside penalty area.
[2859.293|0251.424] Info: State has succesfully changed to STATE_DIRECT_FREEKICK:0
[2859.298|0251.424] Info: Sending FINISH because seconds remaining = -22
[2859.298|0251.424] Info: Sending 31499:STATE:FINISH to GameController.
[2859.699|0251.424] Error: Received illegal answer from GameController for message 31499:STATE:FINISH.
There are mainly two problems which needs to be solved here:
[ ] It should not be possible to send a FINISH message when a game interruption is being processed
[ ] The transition in seconds remaining from 114 to -22 looks suspicious. The same procedure should be tested again with a fake client and an issue should be opened on the GameController to fix this timing issue.
In the following game, the overtime period is ended immediately after the direct free kick is called because the AutoRef sends a
FINISH
message:There are mainly two problems which needs to be solved here: