first commit

This commit is contained in:
Erreur32 2022-11-17 11:09:31 +01:00
parent 6baf1a96ea
commit 5ea5b65f1c
2 changed files with 1602 additions and 5 deletions

View file

@ -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,9 +29,18 @@
// //
$urlserv = $ipserv.":".$servport ; $urlserv = $ipserv.":".$servport ;
$json = file_get_contents("http://".$ipserv.":".$modport."/"); // get info from server
$modnum = json_decode($json); // $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);
/* /*

1588
git-stats.html Normal file

File diff suppressed because it is too large Load diff