FAForever / FAForever/server

PlayerOption sometimes sent with only one argument

Aperta
#659 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
72
Fork
84
Merge medio
5h 11m
PR unite (30g)
1

Descrizione

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'
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.