diff --git a/SourceQuery/SourceQuery.php b/SourceQuery/SourceQuery.php index 3f4c970..8d897d0 100644 --- a/SourceQuery/SourceQuery.php +++ b/SourceQuery/SourceQuery.php @@ -465,7 +465,7 @@ $Header = self::A2S_SERVERQUERY_GETCHALLENGE; } - $this->Socket->Write( $Header, 0xFFFFFFFF ); + $this->Socket->Write( $Header, "\xFF\xFF\xFF\xFF" ); $Buffer = $this->Socket->Read( ); $Type = $Buffer->GetByte( );