-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,10 +22,9 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Logger;
import javolution.util.FastMap;
import com.l2jserver.gameserver.enums.InstanceType;
import com.l2jserver.gameserver.instancemanager.InstanceManager;
import com.l2jserver.gameserver.model.L2Object;
@@ -48,7 +47,7 @@ public abstract class L2ZoneType extends ListenersContainer
private final int _id;
protected L2ZoneForm _zone;
protected FastMap<Integer, L2Character> _characterList;
protected ConcurrentHashMap<Integer, L2Character> _characterList;
/** Parameters to affect specific characters */
private boolean _checkAffected = false;
@@ -68,8 +67,7 @@ public abstract class L2ZoneType extends ListenersContainer
protected L2ZoneType(int id)
{
_id = id;
_characterList = new FastMap<>();
_characterList.shared();
_characterList = new ConcurrentHashMap<>();
_minLvl = 0;
_maxLvl = 0xFF;

View File

@@ -18,12 +18,11 @@
*/
package com.l2jserver.gameserver.model.zone.type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javolution.util.FastList;
import javolution.util.FastMap;
import com.l2jserver.gameserver.GameServer;
import com.l2jserver.gameserver.instancemanager.GrandBossManager;
import com.l2jserver.gameserver.instancemanager.ZoneManager;
@@ -57,13 +56,13 @@ public class L2BossZone extends L2ZoneType
// track the times that players got disconnected. Players are allowed
// to log back into the zone as long as their log-out was within _timeInvade time...
// <player objectId, expiration time in milliseconds>
private final Map<Integer, Long> _playerAllowedReEntryTimes = new FastMap<>();
private final Map<Integer, Long> _playerAllowedReEntryTimes = new HashMap<>();
// track the players admitted to the zone who should be allowed back in
// after reboot/server downtime (outside of their control), within 30 of server restart
private final List<Integer> _playersAllowed = new FastList<>();
private final List<Integer> _playersAllowed = new ArrayList<>();
private final List<L2Character> _raidList = new FastList<>();
private final List<L2Character> _raidList = new ArrayList<>();
protected Settings()
{

View File

@@ -19,8 +19,7 @@
package com.l2jserver.gameserver.model.zone.type;
import java.util.Map.Entry;
import javolution.util.FastMap;
import java.util.concurrent.ConcurrentHashMap;
import com.l2jserver.gameserver.ThreadPoolManager;
import com.l2jserver.gameserver.datatables.SkillData;
@@ -47,7 +46,7 @@ public class L2EffectZone extends L2ZoneType
private int _reuse;
protected boolean _bypassConditions;
private boolean _isShowDangerIcon;
protected volatile FastMap<Integer, Integer> _skills;
protected volatile ConcurrentHashMap<Integer, Integer> _skills;
public L2EffectZone(int id)
{
@@ -93,12 +92,12 @@ public class L2EffectZone extends L2ZoneType
}
else if (name.equals("maxDynamicSkillCount"))
{
_skills = new FastMap<Integer, Integer>(Integer.parseInt(value)).shared();
_skills = new ConcurrentHashMap<>(Integer.parseInt(value));
}
else if (name.equals("skillIdLvl"))
{
String[] propertySplit = value.split(";");
_skills = new FastMap<>(propertySplit.length);
_skills = new ConcurrentHashMap<>(propertySplit.length);
for (String skill : propertySplit)
{
String[] skillSplit = skill.split("-");
@@ -204,7 +203,7 @@ public class L2EffectZone extends L2ZoneType
{
if (_skills == null)
{
_skills = new FastMap<Integer, Integer>(3).shared();
_skills = new ConcurrentHashMap<>(3);
}
}
}