-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

@@ -20,8 +20,6 @@ package com.l2jserver.gameserver.network.clientpackets;
import java.util.ArrayList;
import javolution.util.FastList;
import com.l2jserver.Config;
import com.l2jserver.gameserver.data.xml.impl.MultisellData;
import com.l2jserver.gameserver.model.Elementals;
@@ -216,7 +214,7 @@ public class MultiSellChoose extends L2GameClientPacket
}
}
FastList<L2Augmentation> augmentation = FastList.newInstance();
ArrayList<L2Augmentation> augmentation = new ArrayList<>();
Elementals[] elemental = null;
/** All ok, remove items and add final product */
@@ -455,7 +453,7 @@ public class MultiSellChoose extends L2GameClientPacket
}
finally
{
FastList.recycle(augmentation);
augmentation.clear(); // ?
}
// finally, give the tax to the castle...

View File

@@ -18,10 +18,9 @@
*/
package com.l2jserver.gameserver.network.clientpackets;
import java.util.ArrayList;
import java.util.List;
import javolution.util.FastList;
import com.l2jserver.gameserver.instancemanager.CursedWeaponsManager;
import com.l2jserver.gameserver.model.actor.L2Character;
import com.l2jserver.gameserver.network.serverpackets.ExCursedWeaponList;
@@ -50,7 +49,7 @@ public class RequestCursedWeaponList extends L2GameClientPacket
}
// send a ExCursedWeaponList :p
List<Integer> list = new FastList<>();
List<Integer> list = new ArrayList<>();
for (int id : CursedWeaponsManager.getInstance().getCursedWeaponsIds())
{
list.add(id);

View File

@@ -18,10 +18,9 @@
*/
package com.l2jserver.gameserver.network.clientpackets;
import java.util.ArrayList;
import java.util.List;
import javolution.util.FastList;
import com.l2jserver.gameserver.instancemanager.CursedWeaponsManager;
import com.l2jserver.gameserver.model.CursedWeapon;
import com.l2jserver.gameserver.model.Location;
@@ -52,7 +51,7 @@ public final class RequestCursedWeaponLocation extends L2GameClientPacket
return;
}
List<CursedWeaponInfo> list = new FastList<>();
List<CursedWeaponInfo> list = new ArrayList<>();
for (CursedWeapon cw : CursedWeaponsManager.getInstance().getCursedWeapons())
{
if (!cw.isActive())

View File

@@ -18,11 +18,10 @@
*/
package com.l2jserver.gameserver.network.clientpackets;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import javolution.util.FastMap;
import com.l2jserver.Config;
import com.l2jserver.gameserver.ThreadPoolManager;
import com.l2jserver.gameserver.data.xml.impl.BuyListData;
@@ -166,7 +165,7 @@ public final class RequestPreviewItem extends L2GameClientPacket
}
long totalPrice = 0;
Map<Integer, Integer> itemList = new FastMap<>();
Map<Integer, Integer> itemList = new HashMap<>();
for (int i = 0; i < _count; i++)
{

View File

@@ -19,7 +19,8 @@
package com.l2jserver.gameserver.network.clientpackets;
import static com.l2jserver.gameserver.model.actor.L2Npc.INTERACTION_DISTANCE;
import javolution.util.FastSet;
import java.util.HashSet;
import com.l2jserver.Config;
import com.l2jserver.gameserver.data.sql.impl.OfflineTradersTable;
@@ -43,7 +44,7 @@ public final class RequestPrivateStoreBuy extends L2GameClientPacket
private static final int BATCH_LENGTH = 20; // length of the one item
private int _storePlayerId;
private FastSet<ItemRequest> _items = null;
private HashSet<ItemRequest> _items = null;
@Override
protected void readImpl()
@@ -54,7 +55,7 @@ public final class RequestPrivateStoreBuy extends L2GameClientPacket
{
return;
}
_items = new FastSet<>();
_items = new HashSet<>();
for (int i = 0; i < count; i++)
{