Ooops, we seem to bump into another couple of small issues that stops us from running a third mission (it won't process the 2nd mission log)
The first is on MissionData. It keeps claiming there is a duplicate key and I realized it was because the default unique key length (I believe) is only the first 16 characters. Here is the mission name, it's 29 chars long:
SE-Op-Husky-194404100700.mis (first was 0600).
I raised it to unique(50) and it went past it but stopped at Combined_Unit_Losses. It kept saying it had a duplicate for the key. So I dropped the indexes, created an autonumber index field and let it run again. Here is the result:
Code: Select all
INSERT INTO `Combined_Unit_Losses` (`Map`, `Mission`, `Unit_Group`, `Object_Type`, `Member`, `Nation`, `index`) VALUES
('Italy', 'SE-Op-Husky-194404100600.mis', 'Reichsbahn00', 'Germany_CargoTrain/AA', '2', 'g', 1),
('Italy', 'SE-Op-Husky-194404100600.mis', 'Reichsbahn00', 'Germany_CargoTrain/AA', '3', 'g', 2),
('Italy', 'SE-Op-Husky-194404100600.mis', '1_Infantry000', 'USACarsColumnB', '7', 'r', 3),
('Italy', 'SE-Op-Husky-194404100600.mis', '1_Infantry000', 'USACarsColumnB', '6', 'r', 4),
('Italy', 'SE-Op-Husky-194404100600.mis', '1_Infantry000', 'USACarsColumnB', '5', 'r', 5),
('Italy', 'SE-Op-Husky-194404100600.mis', '1_Infantry000', 'USACarsColumnB', '4', 'r', 6),
('Italy', 'SE-Op-Husky-194404100600.mis', '1_Infantry000', 'USACarsColumnB', '3', 'r', 7),
('Italy', 'SE-Op-Husky-194404100600.mis', '1_Infantry000', 'USACarsColumnB', '1', 'r', 8),
('Italy', 'SE-Op-Husky-194404100600.mis', '1_Infantry000', 'USACarsColumnB', '9', 'r', 9),
('Italy', 'SE-Op-Husky-194404100600.mis', '1_Infantry000', 'USACarsColumnB', '0', 'r', 10),
('Italy', 'SE-Op-Husky-194404100600.mis', '1_Infantry000', 'USACarsColumnB', '2', 'r', 11),
('Italy', 'SE-Op-Husky-194404100700.mis', '16_SS_PzGren001', 'GermanyCarsColumnB', 'X', 'g', 13),
('Italy', 'SE-Op-Husky-194404100700.mis', '16_SS_PzGren001', 'GermanyCarsColumnB', 'X', 'g', 14),
('Italy', 'SE-Op-Husky-194404100700.mis', '1_Infantry001', 'USACarsColumnB', '1', 'r', 15),
('Italy', 'SE-Op-Husky-194404100700.mis', '1_Infantry001', 'USACarsColumnB', '0', 'r', 16),
('Italy', 'SE-Op-Husky-194404100700.mis', '16_SS_PzGren001', 'GermanyCarsColumnB', 'X', 'g', 17),
('Italy', 'SE-Op-Husky-194404100700.mis', '1_Infantry001', 'USACarsColumnB', '3', 'r', 18),
('Italy', 'SE-Op-Husky-194404100700.mis', '1_Infantry001', 'USACarsColumnB', '5', 'r', 19),
('Italy', 'SE-Op-Husky-194404100700.mis', '1_Infantry001', 'USACarsColumnB', '4', 'r', 20),
('Italy', 'SE-Op-Husky-194404100700.mis', '1_Infantry001', 'USACarsColumnB', '7', 'r', 21),
('Italy', 'SE-Op-Husky-194404100700.mis', '1_Infantry001', 'USACarsColumnB', '6', 'r', 22),
('Italy', 'SE-Op-Husky-194404100700.mis', '1_Infantry001', 'USACarsColumnB', '9', 'r', 23),
('Italy', 'SE-Op-Husky-194404100700.mis', '1_Infantry001', 'USACarsColumnB', '8', 'r', 24),
('Italy', 'SE-Op-Husky-194404100700.mis', '1_Infantry001', 'USACarsColumnB', '2', 'r', 25),
('Italy', 'SE-Op-Husky-194404100700.mis', '16_SS_PzGren000', 'GermanyCarsColumnC', 'X', 'g', 26);
You will notice that the GermanyCarsColumnB for some reason has an X for the "Member" field, while the USA column (which I wiped out on 20mm alone
) shows correctly number from 0 to 9.
If we let it run further it goes completely bonkers saying it can't recognize squadron 16_SS_PzGren but I assume that error is probably caused by the modifications I made to force it to run.
If it will help I can get you SQL, log and mission again for you to run a debug. Let me know