Fixed missing raw data when long slot list.

This commit is contained in:
Szymon Porwolik
2019-03-25 00:38:32 +01:00
parent 57771d94b7
commit 7d3b99c1fd
4 changed files with 17 additions and 4 deletions

View File

@@ -238,6 +238,18 @@ Perun.UpdateStatus = function()
for j, i in pairs(Perun.SlotsData['coalitions']) do for j, i in pairs(Perun.SlotsData['coalitions']) do
Perun.SlotsData['slots'][j]=DCS.getAvailableSlots(j) 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 end
-- Send -- Send
Perun.Send(3,Perun.SlotsData) Perun.Send(3,Perun.SlotsData)

View File

@@ -32,8 +32,8 @@
<SuiteName>Perun</SuiteName> <SuiteName>Perun</SuiteName>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish> <CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>Perun.htm</WebPage> <WebPage>Perun.htm</WebPage>
<ApplicationRevision>2</ApplicationRevision> <ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>0.5.4.%2a</ApplicationVersion> <ApplicationVersion>0.6.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust> <UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut> <CreateDesktopShortcut>true</CreateDesktopShortcut>
<PublishWizardCompleted>true</PublishWizardCompleted> <PublishWizardCompleted>true</PublishWizardCompleted>

View File

@@ -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 // 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: // przy użyciu symbolu „*”, tak jak pokazano poniżej:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.5.0.0")] [assembly: AssemblyVersion("0.6.0.0")]
[assembly: AssemblyFileVersion("0.5.0.0")] [assembly: AssemblyFileVersion("0.6.0.0")]
[assembly: NeutralResourcesLanguage("en")] [assembly: NeutralResourcesLanguage("en")]

View File

@@ -1,3 +1,4 @@
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0; SET AUTOCOMMIT = 0;
START TRANSACTION; START TRANSACTION;