Skip to content

Player names in player list are empty #44

@Axaneron

Description

@Axaneron

Describe the bug
I want to see the list of players who are playing on the server, but I get an empty value, even though the number of players is not zero (and this information is displayed correctly). I tried to figure out the problem myself and got the following:

Bytes: b'D\x01\x00\x00\x00\x00\x00\x00\xfc\xae\xf3D' (reading bytes from the __connect_and_send_challenge method of the Source protocol)
Result: [Player(name=‘’, score=0, duration=1949.46826171875, deaths=None, money=None)] (output of the source.get_players() function)

In other words, the only thing that is displayed correctly is the time spent on the server. All other information is not specified.
How can this be fixed? Tested on the game Icarus, self-hosting on windows

To Reproduce
Steps to reproduce the behavior:

  1. Run Icarus server
  2. Try to see Players list

Expected behavior
Want to see Players List (like on the image below)

Image

Desktop (please complete the following information):

  • OS: Windows 10 Pro

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