-Dropped Javolution.

-Removal of Q00344_1000YearsTheEndOfLamentation.
-Fixed starting conditions for Q00144_PailakaInjuredDragon.
-Fixed starting conditions for last Seven Sign quests.
-Added missing MonasteryOfSilence.xml instance spawns and doors.
-Removed many catacomb spawns.
This commit is contained in:
mobius
2015-02-08 21:01:32 +00:00
parent 141cdc5efa
commit 012eb3ed65
201 changed files with 817 additions and 1458 deletions

View File

@@ -22,6 +22,8 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ScheduledFuture;
@@ -29,9 +31,6 @@ import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;
import javolution.util.FastList;
import javolution.util.FastMap;
import com.l2jserver.L2DatabaseFactory;
import com.l2jserver.gameserver.ThreadPoolManager;
import com.l2jserver.gameserver.data.xml.impl.NpcData;
@@ -75,8 +74,8 @@ public class AutoSpawnHandler
protected AutoSpawnHandler()
{
_registeredSpawns = new FastMap<>();
_runningSpawns = new FastMap<>();
_registeredSpawns = new HashMap<>();
_runningSpawns = new HashMap<>();
restoreSpawnData();
}
@@ -111,8 +110,8 @@ public class AutoSpawnHandler
}
// create clean list
_registeredSpawns = new FastMap<>();
_runningSpawns = new FastMap<>();
_registeredSpawns = new HashMap<>();
_runningSpawns = new HashMap<>();
// load
restoreSpawnData();
@@ -372,7 +371,7 @@ public class AutoSpawnHandler
public Map<Integer, AutoSpawnInstance> getAutoSpawnInstances(int npcId)
{
Map<Integer, AutoSpawnInstance> spawnInstList = new FastMap<>();
Map<Integer, AutoSpawnInstance> spawnInstList = new HashMap<>();
for (AutoSpawnInstance spawnInst : _registeredSpawns.values())
{
@@ -606,9 +605,9 @@ public class AutoSpawnHandler
protected int _lastLocIndex = -1;
private final List<L2Npc> _npcList = new FastList<>();
private final List<L2Npc> _npcList = new ArrayList<>();
private final List<Location> _locList = new FastList<>();
private final List<Location> _locList = new ArrayList<>();
private boolean _spawnActive;
@@ -693,7 +692,7 @@ public class AutoSpawnHandler
public L2Spawn[] getSpawns()
{
List<L2Spawn> npcSpawns = new FastList<>();
List<L2Spawn> npcSpawns = new ArrayList<>();
for (L2Npc npcInst : _npcList)
{