diff --git a/README.md b/README.md index 116103a..1f159d8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # PHP Source Query ## Description -This class was created to query game server which use the Source query protocol, this includes all source games, half-life 1 engine games and Call of Duty: Modern Warfare 3 +This class was created to query game server which use the Source query protocol, this includes all source games, and all the games that implement Steamworks. The class also allows you to query servers using RCON although this only works for half-life 1 and source engine games. @@ -17,8 +17,8 @@ The class also allows you to query servers using RCON although this only works f * [The Ship](http://store.steampowered.com/app/2400/) * [Dino D-Day](http://store.steampowered.com/app/70000/) * [Nuclear Dawn](http://store.steampowered.com/app/17710/) -* [Just Cause 2: Multiplayer Mod](http://store.steampowered.com/app/259080/) * [Call of Duty: Modern Warfare 3](http://store.steampowered.com/app/115300/) +* [Arma 3](http://store.steampowered.com/app/107410/) *(add +1 to the server port, their implementation also violates Source query protocol spec.)* * [Minecraft](http://www.minecraft.net/) **(RCON ONLY!)** * *and many other games that implement Source Query Protocol* diff --git a/SourceQuery/SourceQuery.class.php b/SourceQuery/SourceQuery.class.php index beea5fc..c1a3d05 100644 --- a/SourceQuery/SourceQuery.class.php +++ b/SourceQuery/SourceQuery.class.php @@ -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( ); diff --git a/View.php b/View.php index dc69a12..2cb8cdd 100644 --- a/View.php +++ b/View.php @@ -59,7 +59,7 @@
This class was created to query game server which use the Source query protocol, this includes all source games, half-life 1 engine games and Call of Duty: Modern Warfare 3
+This class was created to query game server which use the Source (Steamworks) query protocol.
Made by xPaw @@ -114,7 +114,9 @@
Players | +Player | +Frags | +Time |
---|---|---|---|
+ | + |