From 40302fed4b9e74720576a929c603105d320893de Mon Sep 17 00:00:00 2001 From: VladMordock Date: Thu, 17 Oct 2019 17:17:24 +0200 Subject: [PATCH] Update README.md Added information about command line arguments --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index defb332..c9da866 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,21 @@ Core: * by default the TCP port 48620 is in use as target port * Data shall now be filling your MySQL database -## Data packets (for expert users) +## Windows APP - command line arguments (for expert users) +Windows app supports command line arguments, what may be handy in case of multiple instance of DCS servers running at the same machine. + +The following arguments are accepted (keep the order!): +* server port (shall be the same as in the lua file!) +* instance ID (shall be the same as in the lua file!) +* path to SRS client-list.json +* path to LotATC stats.json + +Example for windows shortcut: +``` +C:\Perun_v1\Perun.exe 48621 1 "G:\DCS SRS\clients-list.json" "C:\Users\DCS\Saved Games\DCS\Mods\tech\LotAtc\stats.json" +``` + +## Data packets - send to TCP port (for expert users) * ```ID: 1```, contains version/diagnostic information * ```ID: 2```, contains status data in the following sections * mission - minimal information about mission