Good afternoon!
Error Lineage 2 - HF at the start of the olympiads:
2020.03.15 18:00:02,094 INFO 26 org.l2jmobius.gameserver.model.olympiad.Olympiad Olympiad System: Olympiad Games have started.
2020.03.15 18:00:02,110 WARNING 26 org.l2jmobius.gameserver.model.instancezone.Instance Instance: can not find E:\LA2\Mobius_La2HF_server\game\data\instances\E:\LA2\Mobius_La2HF_server\game\data\instances\Olympiad\OlympiadGrassyArena.xml ! E:\LA2\Mobius_La2HF_server\game\data\instances\E:\LA2\Mobius_La2HF_server\game\data\instances\Olympiad\OlympiadGrassyArena.xml (Syntax error in file name, folder name, or volume label)
2020.03.15 18:00:02,354 WARNING 26 org.l2jmobius.gameserver.model.instancezone.Instance Instance: can not find E:\LA2\Mobius_La2HF_server\game\data\instances\E:\LA2\Mobius_La2HF_server\game\data\instances\Olympiad\OlympiadThreeBridgesArena.xml ! E:\LA2\Mobius_La2HF_server\game\data\instances\E:\LA2\Mobius_La2HF_server\game\data\instances\Olympiad\OlympiadThreeBridgesArena.xml (Syntax error in file name, folder name, or volume label)
2020.03.15 18:00:02,357 WARNING 26 org.l2jmobius.gameserver.model.instancezone.Instance Instance: can not find E:\LA2\Mobius_La2HF_server\game\data\instances\E:\LA2\Mobius_La2HF_server\game\data\instances\Olympiad\OlympiadHerossVestigesArena.xml ! E:\LA2\Mobius_La2HF_server\game\data\instances\E:\LA2\Mobius_La2HF_server\game\data\instances\Olympiad\OlympiadHerossVestigesArena.xml (Syntax error in file name, folder name, or volume label)
2020.03.15 18:00:02,359 WARNING 26 org.l2jmobius.gameserver.model.instancezone.Instance Instance: can not find ...
Incorrectly generated file names!
I think the error here is:
inctance.java
...
public void loadInstanceTemplate(int templateId)
{
// TODO: Cache templates.
Document doc = null;
final File xml = new File(Config.DATAPACK_ROOT, "data/instances/" + InstanceManager.getInstance().getInstanceTemplateFileName(templateId));
System.out.println("Instance: " + InstanceManager.getInstance().getInstanceTemplateFileName(templateId));
try
{
final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setValidating(false);
factory.setIgnoringComments(true);
doc = factory.newDocumentBuilder().parse(xml);
for (Node n = doc.getFirstChild(); n != null; n = n.getNextSibling())
{
if ("instance".equalsIgnoreCase(n.getNodeName()))
{
parseInstance(n);
}
}
}
catch (IOException e)
{
LOGGER.log(Level.WARNING, "Instance: can not find " + xml.getAbsolutePath() + " ! " + e.getMessage(), e);
}
catch (Exception e)
{
LOGGER.log(Level.WARNING, "Instance: error while loading " + xml.getAbsolutePath() + " ! " + e.getMessage(), e);
}
}
...
I think it should be like this:
...
// TODO: Cache templates.
Document doc = null;
// final File xml = new File(Config.DATAPACK_ROOT, "data/instances/" + InstanceManager.getInstance().getInstanceTemplateFileName(templateId));
final File xml = new File(InstanceManager.getInstance().getInstanceTemplateFileName(templateId));
System.out.println("Instance: " + InstanceManager.getInstance().getInstanceTemplateFileName(templateId));
...