From d4df0f6be1f79839aecd300cdc8c2693e5779fa9 Mon Sep 17 00:00:00 2001 From: eaxvac Date: Sun, 20 Dec 2020 22:14:07 +0800 Subject: [PATCH] [HaCreator] More unknown map info properties --- HaCreator/Wz/MapLoader.cs | 4 +++- MapleLib/WzLib/WzStructure/MapInfo.cs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/HaCreator/Wz/MapLoader.cs b/HaCreator/Wz/MapLoader.cs index 182125eb..41620490 100644 --- a/HaCreator/Wz/MapLoader.cs +++ b/HaCreator/Wz/MapLoader.cs @@ -127,10 +127,12 @@ public static List VerifyMapPropsKnown(WzImage mapImage, bool userless) case "WindArea": case "pocketdrop": case "footprintData": + case "illuminantCluster": // 450016030.img + case "property": // 450016110.img continue; default: - string error = string.Format("Unknown field property '{0}', {1}", prop.Name, mapImage.ToString() /*overrides see WzImage.ToString()*/); + string error = string.Format("[MapLoader] Unknown field property '{0}', {1}", prop.Name, mapImage.ToString() /*overrides see WzImage.ToString()*/); MapleLib.Helpers.ErrorLogger.Log(ErrorLevel.MissingFeature, error); copyPropNames.Add(prop.Name); diff --git a/MapleLib/WzLib/WzStructure/MapInfo.cs b/MapleLib/WzLib/WzStructure/MapInfo.cs index 8d28e3c0..69ac791a 100644 --- a/MapleLib/WzLib/WzStructure/MapInfo.cs +++ b/MapleLib/WzLib/WzStructure/MapInfo.cs @@ -523,10 +523,12 @@ public MapInfo(WzImage image, string strMapName, string strStreetName, string st case "hungryMuto": case "property": // map 921172300.img case "spiritSavior": + case "standAlonePermitUpgrade": // 993059600.img + case "limitHeadAlarmField": // 993180000.img unsupportedInfoProperties.Add(prop); break; default: - ErrorLogger.Log(ErrorLevel.MissingFeature, string.Format("Unknown field info/ property: '{0}'. {1}. Please fix it at MapInfo.cs", prop.Name, loggerSuffix)); + ErrorLogger.Log(ErrorLevel.MissingFeature, string.Format("[MapInfo] Unknown field info/ property: '{0}'. {1}. Please fix it at MapInfo.cs", prop.Name, loggerSuffix)); additionalProps.Add(prop.DeepClone()); break; }