1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 14:33:34 +02:00

Add Arma 3

This commit is contained in:
xPaw
2014-07-21 18:36:25 +03:00
parent 13b291ab16
commit 266cf6afe7
3 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -350,7 +350,8 @@
case self :: GETCHALLENGE_ALL_CLEAR:
{
$this->Socket->Write( self :: A2S_PLAYER, $this->Challenge );
$this->Socket->Read( );
$this->Socket->Read( 14000 ); // Moronic Arma 3 developers do not split their packets, so we have to read more data
// This violates the protocol spec, and they probably should fix it: https://developer.valvesoftware.com/wiki/Server_queries#Protocol
$Type = $this->Buffer->GetByte( );