From 036e6b0350d8cd80e6423767eed07fd59be85b4e Mon Sep 17 00:00:00 2001 From: VladMordock Date: Sat, 20 Feb 2021 22:28:01 +0100 Subject: [PATCH] Last lua before dll --- 01_DCS/Mods/services/Perun/lua/perun_config.lua | 10 +++++----- 01_DCS/Scripts/Hooks/Perun-hook.lua | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/01_DCS/Mods/services/Perun/lua/perun_config.lua b/01_DCS/Mods/services/Perun/lua/perun_config.lua index 2ca7e7f..3806bb1 100644 --- a/01_DCS/Mods/services/Perun/lua/perun_config.lua +++ b/01_DCS/Mods/services/Perun/lua/perun_config.lua @@ -4,13 +4,13 @@ local PerunConfig = {} -- ###################### SETTINGS - DO NOT MODIFY OUTSIDE THIS SECTION ############################# PerunConfig.TCPPerunHost = "localhost" -- (string) [default: "localhost"] IP adress of the Perun instance or "localhost" -PerunConfig.TCPTargetPort = 48621 -- (int) [default: 48621] TCP port to send data to -PerunConfig.Instance = 1 -- (int) [default: 1] Id number of instance (if multiple DCS instances are to run at the same PC) -PerunConfig.RefreshStatus = 60 -- (int) [default: 60] Base refresh rate in seconds to send status update +PerunConfig.TCPTargetPort = 48623 -- (int) [default: 48621] TCP port to send data to +PerunConfig.Instance = 3 -- (int) [default: 1] Id number of instance (if multiple DCS instances are to run at the same PC) +PerunConfig.RefreshStatus = 15 -- (int) [default: 60] Base refresh rate in seconds to send status update PerunConfig.MissionStartNoDeathWindow = 300 -- (int) [default: 300] Number of secounds after mission start when death of the pilot will not go to statistics, shall avoid death penalty during spawning DCS bugs PerunConfig.DebugMode = 2 -- (int) [0 (default),1,2] Value greater than 0 will display Perun information in DCS log file, values: 1 - minimal verbose, 2 - all log information will be logged -PerunConfig.MOTD_L1 = "[Perun] Welcome to our server !" -- (string) Message send to players connecting the server - Line 1 -PerunConfig.MOTD_L2 = "[Perun] Database connection is handled by Perun for DCS World" -- (string) Message send to players connecting the server - Line 2 +PerunConfig.MOTD_L1 = "[Perun] Witamy na serwerze #3 Gildia.org !" -- (string) Message send to players connecting the server - Line 1 +PerunConfig.MOTD_L2 = "[Perun] Wymagamy obecnosci DCS SRS (UNICOM 242.00MHz) - szczegoly na forum" -- (string) Message send to players connecting the server - Line 2 PerunConfig.ConnectionError_L1 = "[Perun] ERROR: Connection broken - contact server admin!" -- (string) Information to send to players when Perun connection is broken -- ###################### END OF SETTINGS - DO NOT MODIFY OUTSIDE THIS SECTION ###################### diff --git a/01_DCS/Scripts/Hooks/Perun-hook.lua b/01_DCS/Scripts/Hooks/Perun-hook.lua index 1b23b93..b4c35c2 100644 --- a/01_DCS/Scripts/Hooks/Perun-hook.lua +++ b/01_DCS/Scripts/Hooks/Perun-hook.lua @@ -865,7 +865,7 @@ Perun.onGameEvent = function (eventName,arg1,arg2,arg3,arg4,arg5,arg6,arg7) elseif eventName == "takeoff" then --"takeoff", playerID, unit_missionID, airdromeName if arg3 ~= "" then - _temp_airfield = " from " .. arg3; + _temp_airfield = " from " .. arg3; else _temp_airfield = ""; end