|
|
@ -148,22 +148,6 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$this->Connected = true;
|
|
|
|
$this->Connected = true;
|
|
|
|
|
|
|
|
|
|
|
|
switch( $this->Socket->Engine )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
case SourceQuery :: GOLDSOURCE:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$this->Rcon = new SourceQueryGoldSourceRcon( $this->Buffer, $this->Socket );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case SourceQuery :: SOURCE:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$this->Rcon = new SourceQuerySourceRcon( $this->Buffer, $this->Socket );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -197,6 +181,8 @@
|
|
|
|
if( $this->Rcon )
|
|
|
|
if( $this->Rcon )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$this->Rcon->Close( );
|
|
|
|
$this->Rcon->Close( );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->Rcon = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -537,6 +523,22 @@
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
switch( $this->Socket->Engine )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
case SourceQuery :: GOLDSOURCE:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$this->Rcon = new SourceQueryGoldSourceRcon( $this->Buffer, $this->Socket );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case SourceQuery :: SOURCE:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$this->Rcon = new SourceQuerySourceRcon( $this->Buffer, $this->Socket );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$this->Rcon->Open( );
|
|
|
|
$this->Rcon->Open( );
|
|
|
|
|
|
|
|
|
|
|
|
return $this->Rcon->Authorize( $Password );
|
|
|
|
return $this->Rcon->Authorize( $Password );
|
|
|
|