diff --git a/config.php b/config.php index 2f15414..2832ad4 100644 --- a/config.php +++ b/config.php @@ -7,14 +7,15 @@ $ipserv = "103.58.149.102" ; // IP server game +/* $portserv = "2402" ; // Game Server Port $modport = "2412" ; // Mod port omega (+10) $queryport= "27017" ; // Queryport -/* +*/ $portserv = "2302" ; // Game Server Port $modport = "2312" ; // Mod port omega (+10) $queryport= "27016" ; // Queryport - +/* $ipserv = "82.64.214.194" ; // IP server game $portserv = "3222" ; // Game Server Port diff --git a/consql.php b/consql.php index 4e1a49a..419725a 100644 --- a/consql.php +++ b/consql.php @@ -1,18 +1,31 @@ connect_error) { - echo (" SQL not active // Function not ready yet "); -// echo (" ...Connection failed need to set MYSQL
"); - // die("Connection failed: " . $con->connect_error); + // echo (" SQL not active // Function not ready yet "); + echo (" ...Connection failed with MYSQL
"); + echo $servdb; echo "
"; + echo $userdb; echo "
"; + echo $table; echo "
"; + + // die("Connection failed: " . $con->connect_error); } else { diff --git a/index.php b/index.php index 3358202..2ca7d4e 100644 --- a/index.php +++ b/index.php @@ -10,7 +10,7 @@ $sec = "300"; //error_reporting(E_ALL); // Display all types of error -// include_once('./consql.php'); + include_once('./consql.php'); include_once('./config.php'); ?> diff --git a/statserver_json.php b/statserver_json.php new file mode 100644 index 0000000..8101f47 --- /dev/null +++ b/statserver_json.php @@ -0,0 +1,15 @@ +

TEST connection MYSQL

"; + + //echo $InfoGT ; + + echo "
"; + +//echo $Info['GameTags']; + +?> diff --git a/table_.sql b/table_insert.sql similarity index 100% rename from table_.sql rename to table_insert.sql