Added limitshop craft inventory check and corrected some typos.
Contributed by CostyKiller.
This commit is contained in:
parent
c9fbbfd256
commit
05b95fdcc8
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -96,6 +96,12 @@ public class RequestPurchaseLimitShopItemBuy implements IClientIncomingPacket
|
||||
return;
|
||||
}
|
||||
|
||||
if (!player.isInventoryUnder80(false))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return;
|
||||
}
|
||||
|
||||
if ((player.getLevel() < _product.getMinLevel()) || (player.getLevel() > _product.getMaxLevel()))
|
||||
{
|
||||
player.sendPacket(SystemMessageId.YOUR_LEVEL_CANNOT_PURCHASE_THIS_ITEM);
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -214,13 +214,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -207,13 +207,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -214,13 +214,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -207,13 +207,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -214,13 +214,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -207,13 +207,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -214,13 +214,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -207,13 +207,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -214,13 +214,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -207,13 +207,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -214,13 +214,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -207,13 +207,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -175,13 +175,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -196,13 +196,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -96,6 +96,12 @@ public class RequestPurchaseLimitShopItemBuy implements IClientIncomingPacket
|
||||
return;
|
||||
}
|
||||
|
||||
if (!player.isInventoryUnder80(false))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return;
|
||||
}
|
||||
|
||||
if ((player.getLevel() < _product.getMinLevel()) || (player.getLevel() > _product.getMaxLevel()))
|
||||
{
|
||||
player.sendPacket(SystemMessageId.YOUR_LEVEL_CANNOT_PURCHASE_THIS_ITEM);
|
||||
|
@ -189,13 +189,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -207,13 +207,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -103,6 +103,12 @@ public class RequestPurchaseLimitShopItemBuy implements IClientIncomingPacket
|
||||
return;
|
||||
}
|
||||
|
||||
if (!player.isInventoryUnder80(false))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return;
|
||||
}
|
||||
|
||||
if ((player.getLevel() < _product.getMinLevel()) || (player.getLevel() > _product.getMaxLevel()))
|
||||
{
|
||||
player.sendPacket(SystemMessageId.YOUR_LEVEL_CANNOT_PURCHASE_THIS_ITEM);
|
||||
|
@ -189,13 +189,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -207,13 +207,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public enum ExBrProductReplyType implements IIdentifiable
|
||||
LACK_OF_POINT(-1),
|
||||
INVALID_PRODUCT(-2),
|
||||
USER_CANCEL(-3),
|
||||
INVENTROY_OVERFLOW(-4),
|
||||
INVENTORY_OVERFLOW(-4),
|
||||
CLOSED_PRODUCT(-5),
|
||||
SERVER_ERROR(-6),
|
||||
BEFORE_SALE_DATE(-7),
|
||||
|
@ -103,6 +103,12 @@ public class RequestPurchaseLimitShopItemBuy implements IClientIncomingPacket
|
||||
return;
|
||||
}
|
||||
|
||||
if (!player.isInventoryUnder80(false))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return;
|
||||
}
|
||||
|
||||
if ((player.getLevel() < _product.getMinLevel()) || (player.getLevel() > _product.getMaxLevel()))
|
||||
{
|
||||
player.sendPacket(SystemMessageId.YOUR_LEVEL_CANNOT_PURCHASE_THIS_ITEM);
|
||||
|
@ -189,13 +189,13 @@ public class RequestBRBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -207,13 +207,13 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
{
|
||||
if (!player.getInventory().validateCapacity(slots))
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTROY_OVERFLOW));
|
||||
player.sendPacket(new ExBRBuyProduct(ExBrProductReplyType.INVENTORY_OVERFLOW));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user