first commit
This commit is contained in:
parent
6baf1a96ea
commit
5ea5b65f1c
@ -4,9 +4,9 @@
|
|||||||
// Need to Edit this
|
// Need to Edit this
|
||||||
|
|
||||||
$ipserv = "82.64.214.194" ; // IP server game
|
$ipserv = "82.64.214.194" ; // IP server game
|
||||||
$servport = "3201" ; // Game Server Port
|
$servport = "3200" ; // Game Server Port
|
||||||
$modport = "3211" ; // Mod port omega (+10)
|
$modport = "3210" ; // Mod port omega (+10)
|
||||||
$queryport= "27001" ; // Queryport
|
$queryport= "27022" ; // Queryport
|
||||||
|
|
||||||
$title = "DayZ Stat SERVER Clan | by TOX" ; // Web title page
|
$title = "DayZ Stat SERVER Clan | by TOX" ; // Web title page
|
||||||
$descript = "Your Clan/server desciption"; // Your clan/server description
|
$descript = "Your Clan/server desciption"; // Your clan/server description
|
||||||
@ -29,7 +29,16 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
$urlserv = $ipserv.":".$servport ;
|
$urlserv = $ipserv.":".$servport ;
|
||||||
$json = file_get_contents("http://".$ipserv.":".$modport."/"); // get info from server
|
|
||||||
|
// $json = file_get_contents("http://".$ipserv.":".$modport."/"); // get info from server
|
||||||
|
|
||||||
|
if (file_get_contents("http://".$ipserv.":".$modport) === false) {
|
||||||
|
// Check the error and handle as you like.
|
||||||
|
echo "huston ... Server Mod link not found : http://".$ipserv.":".$modport;
|
||||||
|
die;
|
||||||
|
} else {
|
||||||
|
$json = file_get_contents("http://".$ipserv.":".$modport);
|
||||||
|
}
|
||||||
|
|
||||||
$modnum = json_decode($json);
|
$modnum = json_decode($json);
|
||||||
|
|
||||||
|
1588
git-stats.html
Normal file
1588
git-stats.html
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user