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.
1 parent 7f2e448 commit e96807bCopy full SHA for e96807b
SourceQuery/SourceQuery.php
@@ -58,6 +58,7 @@ class SourceQuery
58
/**
59
* Source rcon sent
60
*/
61
+ const SERVERDATA_REQUESTVALUE = 0;
62
const SERVERDATA_EXECCOMMAND = 2;
63
const SERVERDATA_AUTH = 3;
64
SourceQuery/SourceRcon.php
@@ -145,7 +145,7 @@ public function Command( string $Command ) : string
145
// See https://developer.valvesoftware.com/wiki/Source_RCON_Protocol#Multiple-packet_Responses
146
if( StrLen( $Data ) >= 4000 )
147
{
148
- $this->Write( SourceQuery::SERVERDATA_RESPONSE_VALUE );
+ $this->Write( SourceQuery::SERVERDATA_REQUESTVALUE );
149
150
do
151
0 commit comments