FAForever / FAForever/fa

Players gain rating through pausing after enemies have left, results in a ranked game after x paused minutes

Open
#4,548 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Lua
Stars
264
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
21

Description

**Describe the bug**
Reported via Discord #technical-help from BlackNet:

>i've found an exploit to gain rating in some games
>if you pause the game and whole enemy team leaves, the real time of the game continues until you unpause it and get the winning ingame popup
>so for example you can pause 6v6 game at 1 minute, you decided to re because someone is lagging and you pause a game and wait >solo in the game until real time reaches 12 minutes, then upausing it and immediately winning the game, and since it is now 12 of real time, the game becomes rated

**To Reproduce**
1. Start a 6v6, 5v5, 4v4 etc. game.
2. Enemies leave for whatever reason shortly after the game has started, which should result in a not ranked game
3. Pause the game shortly after they left, while they are leaving or before
4. Wait until the real time reaches a point where the game gets ranked
5. Unpause the game
6. Game counts, you get ELO, enemies lose ELO

**Expected behavior**
The game should **not** count as a win or award rating if the player has paused the game and the entire enemy team has left early.

**Actual result:**
The game counts as a win and awards rating, if the player has paused the game and the entire enemy team has left early.

**Screenshots**
![image](https://user-images.githubusercontent.com/101107758/210139973-cb1160f1-0085-49b3-9ced-1abbfab7b279.png)

---

I hope this helps! Let me know if you have any additional questions or need further assistance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.