Skip to content

Sending a RCON "status" command with no players in the server causes UnicodeDecodeError #13

Description

@a8f

I'm not sure exactly what causes this, but when doing rcon("status") with no human players in the server, I get the following error:

File "...\source\rcon.py", line 176, in process
    self._read_buffer += self._socket.recv(4096)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 4: ordinal not in range(128)

Having bots connected to the server does not fix this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions