FAForever / FAForever/server

PlayerOption sometimes sent with only one argument

Abierto
#659 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
72
Forks
84
Merge medio
5 h 11 min
PR fusionados (30 d)
1

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.