We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6eb3b95 + d90ba2a commit b34071fCopy full SHA for b34071f
opengsq/protocols/flatout2.py
@@ -84,13 +84,8 @@ def _verify_packet(self, data: bytes) -> bool:
84
print(f"Packet too short: {len(data)} bytes")
85
return False
86
87
- # Check response header
88
- header_matches = data.startswith(self.RESPONSE_HEADER)
89
- if not header_matches:
90
- print(f"Header mismatch: got {data[:2].hex()}, expected {self.RESPONSE_HEADER.hex()}")
91
- return False
92
-
93
# Check game identifier (position 10-14, after session ID and padding)
+ # This is the most reliable indicator for Flatout 2 servers
94
game_id = data[10:14]
95
game_id_matches = game_id == self.GAME_IDENTIFIER
96
if not game_id_matches:
0 commit comments