diff --git a/01_DCS/Hooks/Perun.lua b/01_DCS/Hooks/Perun.lua index 18f89ee..082da46 100644 --- a/01_DCS/Hooks/Perun.lua +++ b/01_DCS/Hooks/Perun.lua @@ -238,6 +238,18 @@ Perun.UpdateStatus = function() for j, i in pairs(Perun.SlotsData['coalitions']) do Perun.SlotsData['slots'][j]=DCS.getAvailableSlots(j) + + for sj, si in pairs(Perun.SlotsData['slots'][j]) do + Perun.SlotsData['slots'][j][sj]['countryName']= nil + Perun.SlotsData['slots'][j][sj]['onboard_num']= nil + Perun.SlotsData['slots'][j][sj]['groupSize']= nil + Perun.SlotsData['slots'][j][sj]['groupName']= nil + Perun.SlotsData['slots'][j][sj]['callsign']= nil + Perun.SlotsData['slots'][j][sj]['task']= nil + Perun.SlotsData['slots'][j][sj]['airdromeId']= nil + Perun.SlotsData['slots'][j][sj]['helipadName']= nil + end + end -- Send Perun.Send(3,Perun.SlotsData) diff --git a/02_Windows_App/Perun_v1/Perun_v1.csproj b/02_Windows_App/Perun_v1/Perun_v1.csproj index 548d8f8..d9fd713 100644 --- a/02_Windows_App/Perun_v1/Perun_v1.csproj +++ b/02_Windows_App/Perun_v1/Perun_v1.csproj @@ -32,8 +32,8 @@ Perun true Perun.htm - 2 - 0.5.4.%2a + 0 + 0.6.0.%2a false true true diff --git a/02_Windows_App/Perun_v1/Properties/AssemblyInfo.cs b/02_Windows_App/Perun_v1/Properties/AssemblyInfo.cs index a539b14..3b6f2b3 100644 --- a/02_Windows_App/Perun_v1/Properties/AssemblyInfo.cs +++ b/02_Windows_App/Perun_v1/Properties/AssemblyInfo.cs @@ -33,7 +33,7 @@ using System.Runtime.InteropServices; // Możesz określić wszystkie wartości lub użyć domyślnych numerów kompilacji i poprawki // przy użyciu symbolu „*”, tak jak pokazano poniżej: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.5.0.0")] -[assembly: AssemblyFileVersion("0.5.0.0")] +[assembly: AssemblyVersion("0.6.0.0")] +[assembly: AssemblyFileVersion("0.6.0.0")] [assembly: NeutralResourcesLanguage("en")] diff --git a/03_MySQL/m1081_perun.sql b/03_MySQL/m1081_perun.sql index 7560287..5ca711f 100644 --- a/03_MySQL/m1081_perun.sql +++ b/03_MySQL/m1081_perun.sql @@ -1,3 +1,4 @@ + SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION;