I have fixed this path, and it doesn't fail here, because AreaHelper.Initialize(); is nowhere called in the code...
My fix is:
Code:
private static CArchive _misc;
in InitializeDBC:
Code:
_misc = new CArchive(root + "\\Data\\misc.mpq");
Code:
public static DBC GetDBC_worldmap(string name)
{
string path = "DBFilesClient\\" + name + ".dbc";
if (_misc == null || !_misc.FileExists(path))
throw new FileNotFoundException("Unable to find DBC " + name);
return new DBC(new CFileStream(_misc, path));
}
But as I said before, I cannot find any place where the AreaHelper.Initialize(); function is called.