Updated SourceQuery for control
This commit is contained in:
parent
6b693734d4
commit
cf70b5dd43
|
@ -2,16 +2,12 @@
|
|||
if (!DEFINED('EGP'))
|
||||
exit(header('Refresh: 0; URL=http://' . $_SERVER['SERVER_NAME'] . '/404'));
|
||||
|
||||
use xPaw\SourceQuery\SourceQuery;
|
||||
|
||||
class rcon
|
||||
{
|
||||
public static function cmd($server, $cmd = 'status')
|
||||
{
|
||||
include(LIB . 'games/query/Buffer.php');
|
||||
include(LIB . 'games/query/BaseSocket.php');
|
||||
include(LIB . 'games/query/Socket.php');
|
||||
include(LIB . 'games/query/GoldSourceRcon.php');
|
||||
include(LIB . 'games/query/SourceQuery.php');
|
||||
|
||||
$sq = new SourceQuery();
|
||||
|
||||
list($ip, $port) = explode(':', $server['address']);
|
||||
|
|
|
@ -4,17 +4,14 @@ if (!DEFINED('EGP'))
|
|||
|
||||
include(LIB . 'control/scans.php');
|
||||
|
||||
use xPaw\SourceQuery\SourceQuery;
|
||||
|
||||
class scan extends scans
|
||||
{
|
||||
public static function mon($id, $players_get = false)
|
||||
{
|
||||
global $cfg, $sql, $html, $mcache;
|
||||
|
||||
include(LIB . 'games/query/Buffer.php');
|
||||
include(LIB . 'games/query/BaseSocket.php');
|
||||
include(LIB . 'games/query/Socket.php');
|
||||
include(LIB . 'games/query/SourceQuery.php');
|
||||
|
||||
$sq = new SourceQuery();
|
||||
|
||||
if ($players_get)
|
||||
|
|
|
@ -2,16 +2,12 @@
|
|||
if (!DEFINED('EGP'))
|
||||
exit(header('Refresh: 0; URL=http://' . $_SERVER['SERVER_NAME'] . '/404'));
|
||||
|
||||
use xPaw\SourceQuery\SourceQuery;
|
||||
|
||||
class rcon
|
||||
{
|
||||
public static function cmd($server, $cmd = 'status')
|
||||
{
|
||||
include(LIB . 'games/query/Buffer.php');
|
||||
include(LIB . 'games/query/BaseSocket.php');
|
||||
include(LIB . 'games/query/Socket.php');
|
||||
include(LIB . 'games/query/SourceRcon.php');
|
||||
include(LIB . 'games/query/SourceQuery.php');
|
||||
|
||||
$sq = new SourceQuery();
|
||||
|
||||
list($ip, $port) = explode(':', $server['address']);
|
||||
|
|
|
@ -4,17 +4,14 @@ if (!DEFINED('EGP'))
|
|||
|
||||
include(LIB . 'control/scans.php');
|
||||
|
||||
use xPaw\SourceQuery\SourceQuery;
|
||||
|
||||
class scan extends scans
|
||||
{
|
||||
public static function mon($id, $players_get = false)
|
||||
{
|
||||
global $cfg, $sql, $html, $mcache;
|
||||
|
||||
include(LIB . 'games/query/Buffer.php');
|
||||
include(LIB . 'games/query/BaseSocket.php');
|
||||
include(LIB . 'games/query/Socket.php');
|
||||
include(LIB . 'games/query/SourceQuery.php');
|
||||
|
||||
$sq = new SourceQuery();
|
||||
|
||||
if ($players_get)
|
||||
|
|
|
@ -2,16 +2,12 @@
|
|||
if (!DEFINED('EGP'))
|
||||
exit(header('Refresh: 0; URL=http://' . $_SERVER['SERVER_NAME'] . '/404'));
|
||||
|
||||
use xPaw\SourceQuery\SourceQuery;
|
||||
|
||||
class rcon
|
||||
{
|
||||
public static function cmd($server, $cmd = 'status')
|
||||
{
|
||||
include(LIB . 'games/query/Buffer.php');
|
||||
include(LIB . 'games/query/BaseSocket.php');
|
||||
include(LIB . 'games/query/Socket.php');
|
||||
include(LIB . 'games/query/SourceRcon.php');
|
||||
include(LIB . 'games/query/SourceQuery.php');
|
||||
|
||||
$sq = new SourceQuery();
|
||||
|
||||
list($ip, $port) = explode(':', $server['address']);
|
||||
|
|
|
@ -4,17 +4,14 @@ if (!DEFINED('EGP'))
|
|||
|
||||
include(LIB . 'control/scans.php');
|
||||
|
||||
use xPaw\SourceQuery\SourceQuery;
|
||||
|
||||
class scan extends scans
|
||||
{
|
||||
public static function mon($id, $players_get = false)
|
||||
{
|
||||
global $cfg, $sql, $html, $mcache;
|
||||
|
||||
include(LIB . 'games/query/Buffer.php');
|
||||
include(LIB . 'games/query/BaseSocket.php');
|
||||
include(LIB . 'games/query/Socket.php');
|
||||
include(LIB . 'games/query/SourceQuery.php');
|
||||
|
||||
$sq = new SourceQuery();
|
||||
|
||||
if ($players_get)
|
||||
|
|
|
@ -2,16 +2,12 @@
|
|||
if (!DEFINED('EGP'))
|
||||
exit(header('Refresh: 0; URL=http://' . $_SERVER['SERVER_NAME'] . '/404'));
|
||||
|
||||
use xPaw\SourceQuery\SourceQuery;
|
||||
|
||||
class rcon
|
||||
{
|
||||
public static function cmd($server, $cmd = 'status')
|
||||
{
|
||||
include(LIB . 'games/query/Buffer.php');
|
||||
include(LIB . 'games/query/BaseSocket.php');
|
||||
include(LIB . 'games/query/Socket.php');
|
||||
include(LIB . 'games/query/SourceRcon.php');
|
||||
include(LIB . 'games/query/SourceQuery.php');
|
||||
|
||||
$sq = new SourceQuery();
|
||||
|
||||
list($ip, $port) = explode(':', $server['address']);
|
||||
|
|
|
@ -4,17 +4,14 @@ if (!DEFINED('EGP'))
|
|||
|
||||
include(LIB . 'control/scans.php');
|
||||
|
||||
use xPaw\SourceQuery\SourceQuery;
|
||||
|
||||
class scan extends scans
|
||||
{
|
||||
public static function mon($id, $players_get = false)
|
||||
{
|
||||
global $cfg, $sql, $html, $mcache;
|
||||
|
||||
include(LIB . 'games/query/Buffer.php');
|
||||
include(LIB . 'games/query/BaseSocket.php');
|
||||
include(LIB . 'games/query/Socket.php');
|
||||
include(LIB . 'games/query/SourceQuery.php');
|
||||
|
||||
$sq = new SourceQuery();
|
||||
|
||||
if ($players_get)
|
||||
|
|
Loading…
Reference in a new issue