Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/l2junity-gameserver/src/main/java/org/l2junity/gameserver/model/itemcontainer/Inventory.java b/l2junity-gameserver/src/main/java/org/l2junity/gameserver/model/itemcontainer/Inventory.java
- index 08bcaf3..e668a68 100644
- --- a/l2junity-gameserver/src/main/java/org/l2junity/gameserver/model/itemcontainer/Inventory.java
- +++ b/l2junity-gameserver/src/main/java/org/l2junity/gameserver/model/itemcontainer/Inventory.java
- @@ -115,7 +115,12 @@
- public static final int PAPERDOLL_BROOCH_JEWEL4 = 29;
- public static final int PAPERDOLL_BROOCH_JEWEL5 = 30;
- public static final int PAPERDOLL_BROOCH_JEWEL6 = 31;
- - public static final int PAPERDOLL_TOTALSLOTS = 32;
- + public static final int PAPERDOLL_AGATHION1 = 32;
- + public static final int PAPERDOLL_AGATHION2 = 33;
- + public static final int PAPERDOLL_AGATHION3 = 34;
- + public static final int PAPERDOLL_AGATHION4 = 35;
- + public static final int PAPERDOLL_AGATHION5 = 36;
- + public static final int PAPERDOLL_TOTALSLOTS = 37;
- // Speed percentage mods
- public static final double MAX_ARMOR_WEIGHT = 12000;
- diff --git a/l2junity-gameserver/src/main/java/org/l2junity/gameserver/model/itemcontainer/PcInventory.java b/l2junity-gameserver/src/main/java/org/l2junity/gameserver/model/itemcontainer/PcInventory.java
- index 4c1848c..c5752e7 100644
- --- a/l2junity-gameserver/src/main/java/org/l2junity/gameserver/model/itemcontainer/PcInventory.java
- +++ b/l2junity-gameserver/src/main/java/org/l2junity/gameserver/model/itemcontainer/PcInventory.java
- @@ -779,7 +779,7 @@
- public static int[][] restoreVisibleInventory(int objectId)
- {
- - int[][] paperdoll = new int[33][4];
- + int[][] paperdoll = new int[38][4];
- try (Connection con = DatabaseFactory.getInstance().getConnection();
- PreparedStatement statement2 = con.prepareStatement("SELECT object_id,item_id,loc_data,enchant_level FROM items WHERE owner_id=? AND loc='PAPERDOLL'"))
- {
- diff --git a/l2junity-gameserver/src/main/java/org/l2junity/gameserver/network/client/send/IClientOutgoingPacket.java b/l2junity-gameserver/src/main/java/org/l2junity/gameserver/network/client/send/IClientOutgoingPacket.java
- index dd1d851..ef3111a 100644
- --- a/l2junity-gameserver/src/main/java/org/l2junity/gameserver/network/client/send/IClientOutgoingPacket.java
- +++ b/l2junity-gameserver/src/main/java/org/l2junity/gameserver/network/client/send/IClientOutgoingPacket.java
- @@ -68,7 +68,12 @@
- Inventory.PAPERDOLL_BROOCH_JEWEL3,
- Inventory.PAPERDOLL_BROOCH_JEWEL4,
- Inventory.PAPERDOLL_BROOCH_JEWEL5,
- - Inventory.PAPERDOLL_BROOCH_JEWEL6
- + Inventory.PAPERDOLL_BROOCH_JEWEL6,
- + Inventory.PAPERDOLL_AGATHION1,
- + Inventory.PAPERDOLL_AGATHION2,
- + Inventory.PAPERDOLL_AGATHION3,
- + Inventory.PAPERDOLL_AGATHION4,
- + Inventory.PAPERDOLL_AGATHION5
- };
- diff --git a/l2junity-gameserver/src/main/java/org/l2junity/gameserver/network/client/send/UserInfo.java b/l2junity-gameserver/src/main/java/org/l2junity/gameserver/network/client/send/UserInfo.java
- index dc7eecf..0e23699 100644
- --- a/l2junity-gameserver/src/main/java/org/l2junity/gameserver/network/client/send/UserInfo.java
- +++ b/l2junity-gameserver/src/main/java/org/l2junity/gameserver/network/client/send/UserInfo.java
- @@ -318,11 +318,13 @@
- if (containsMask(UserInfoType.SLOTS))
- {
- - packet.writeH(9);
- + packet.writeH(11);
- packet.writeC(_activeChar.getInventory().getTalismanSlots()); // Confirmed
- packet.writeC(_activeChar.getInventory().getBroochJewelSlots()); // Confirmed
- packet.writeC(_activeChar.getTeam().getId()); // Confirmed
- packet.writeD(0x00); // Some kind of aura mask (1 = Red, 2 = White, 3 = White AND Red, there is higher values: 20, 50, 100 produces different aura) dotted / straight circle ring on the floor
- + packet.writeC(-1);
- + packet.writeC(-1);
- }
- if (containsMask(UserInfoType.MOVEMENTS))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement