Skip to content

Response 255 for Garry's Mod Servers #6

@berkbuzcu

Description

@berkbuzcu

Hello, I don't see a format so here we go:

I get the parse error for Garry's Mod servers when I call the players() method with the code 255.

I have managed to work around this problem by disabling the check and reading the first uint32, then all the players were retrieved.

Below you can find the hack, I don't know how to fix this issue permanently.

    #if response_type != A2S_PLAYER_RESPONSE:
    #    raise BrokenMessageError(
    #        "Invalid response type: " + str(response_type))

    reader.read_uint32()

Right at L:48 of players.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions