Find a file
2021-02-04 22:56:54 +01:00
assets Upload files to 'assets' 2021-02-04 22:55:50 +01:00
css first commit 2021-02-02 11:27:05 +01:00
js first commit 2021-02-02 11:27:05 +01:00
morris commit message 2021-01-31 13:16:02 +01:00
SQ_ commit message 2021-01-31 13:16:02 +01:00
SQL first commit 2021-02-04 22:17:16 +01:00
.gitignore first commit 2021-02-02 23:40:13 +01:00
chernarus.jpg first commit 2021-02-02 11:23:02 +01:00
config.inc.php first commit 2021-02-04 20:59:35 +01:00
config.php first commit 2021-02-04 22:14:31 +01:00
consql.php Update 'consql.php' 2021-02-04 22:48:43 +01:00
favicon.png first commit 2021-02-04 18:00:02 +01:00
GraphPlayer.php first commit 2021-02-04 20:59:35 +01:00
index.php first commit 2021-02-04 22:14:31 +01:00
logoteam.png first commit 2021-02-02 11:30:10 +01:00
README.md Update 'README.md' 2021-02-04 22:56:54 +01:00

Hi Dayz Survivor !!

🔥 STILL in Devlopment ... not ready yet

https://dayz.echosystem.fr

☠ TEAM DayZ 🆃🅾🆇 https://dayz.echosystem.fr

Simple live Stat for Dayz Standalone server ☠.

Inspired by Omega namager template.

The OmegaManager is a local application to run your DayZ servers. It automatically deploys, runs, watches, restarts and updates your server.

Installation

Download Archive

git clone https://git.echosystem.fr/Erreur32/DayZ-Stat-Server.git

or

Download last archive https://git.echosystem.fr/Erreur32/DayZ-Stat-Server/archive/0.32.zip

Configuration Required

  • Set the config.php file and fill your ip , port , query and omega server port mod.

        $ipserv   = "6.6.6.6"; // IP server game
        $portserv = "2302" ;   // Game Server Port
        $modport  = "2312" ;   // Mod port omega (+10)
        $queryport= "27016";   // Queryport
    
  • Omega manager (to check list mod only, but higly suggered !)

Crontab to fill Database.

  • Omega manager (to check list mod only, but higly suggered !)

  • mysql database (to store status server for graph) Create dayzstat database first + user privilege.

Checkout Schema database in SQL/table.sql
  • 2 Differents way for your crontab with Shell or php. Put statserver_json.sh in your crontab for mysql insert & creation of json file.

    For Shell (SQL insert + json)

      */5 * * * *       /usr/sbin/sh /pathto/SQL/statserver_json.sh  2>&1
    

    OR

    For php (SQL insert)

      */5 * * * *       /usr/local/bin/php -f /your/path/SQL/dayz2json_parser_sql.php 2>&1
    

    Check your time zone here. https://www.php.net/manual/en/timezones.others.php

TODO

 - make ~~Regex to catch~~ time serv to auto detect it, and it's fucking hard :p)

 - Need to finish SQL part for stat USER

 - Admin section with usefull info from your log server.

Library used:

PHP-Source-Query - PHP library to query servers that implement Steam query protocol (also known as Source Engine Query protocol)

sample:

example live page

https://git.echosystem.fr/Erreur32/DayZ-Stat-Server/raw/master/assets/Screenshot_2021-02-04.png

🔥 STILL in Devlopment ... not ready for production.


Website: dayz.echosystem.fr

Author : Erreur32