your error is due to a bad name in the xml file of npctalkinfo...
Code:
public static bool LoadScript()
{
string xMLPathString = FeatureMatrix.XMLPathString;
try
{
string uri = Path.Combine(xMLPathString, Path.ChangeExtension("NpcTalkInfo", ".xml"));
Log<NPCTalkInfo>.Logger.InfoFormat("Loading NpcScriptList....", new object[0]);
NpcBaseInfo = new PlayerService.StoryService.DataStructure.NpcBaseInfo(XElement.Load(uri).Elements("Default"));
NpcTalkInfo = new PlayerService.StoryService.DataStructure.NpcTalkInfo();
return true;
}
catch (Exception exception)
{
NpcTalkInfo = null;
NpcBaseInfo = null;
Log<NPCTalkInfo>.Logger.Fatal(string.Format("NPC대화 파일을 읽는 도중 에러가 발생했습니다.[ Path: {0}, File : {1} ]", xMLPathString, ErrorFile), exception);
ErrorMessage = exception.Message;
return false;
}
}