Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ from opengsq.protocols import (
Quake2,
Quake3,
RakNet,
RenegadeX,
Samp,
Satisfactory,
Scum,
Source,
TeamSpeak3,
Toxikk,
UDK,
Unreal2,
UT3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Here are the results for the test method.

{
"name": "Ich bin ein ziemlich langer Server der nicht weis wie lang das geht",
"current_map": "CNC-Field",
"map": "CNC-Field",
"port": 7777,
"players": 0,
"game_version": "Open Beta 5.85.815",
Expand Down
4 changes: 2 additions & 2 deletions opengsq/responses/renegadex/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def from_dict(cls, data: dict[str, Any]) -> 'Variables':
@dataclass
class Status:
name: str
current_map: str
map: str
port: int
players: int
game_version: str
Expand All @@ -43,7 +43,7 @@ class Status:
def from_dict(cls, data: dict[str, Any]) -> 'Status':
return cls(
name=data["Name"],
current_map=data["Current Map"],
map=data["Current Map"],
port=data["Port"],
players=data["Players"],
game_version=data["Game Version"],
Expand Down