FAForever / FAForever/server

PlayerOption sometimes sent with only one argument

Offen
#659 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
72
Forks
84
Ø Merge
5 Std. 11 Min.
Gemergte PRs (30 T.)
1

Beschreibung

It seems that sometimes the game sends PlayerOption commands with only a single argument. We should figure out what these commands look like, when they are sent, and what purpose they serve. For now they are simply ignored.

```
ERROR Sep 12 15:46:32 GameConnection Bad command arguments
Traceback (most recent call last):
File "/code/server/gameconnection.py", line 204, in handle_action
await COMMAND_HANDLERS[command](self, *args)
TypeError: handle_player_option() missing 2 required positional arguments: 'command' and 'value'
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.