Package net.sf.l2j.gameserver.model.TradeList

Examples of net.sf.l2j.gameserver.model.TradeList.TradeItem


      {
              String msgErr = "[RequestPrivateStoreBuy] player "+getClient().getActiveChar().getName()+" tried an overflow exploit, ban this player!";
              Util.handleIllegalPlayerAction(getClient().getActiveChar(),msgErr,Config.DEFAULT_PUNISH);
          return;
      }
      TradeItem sellersItem = storeList.getItem(ir.getObjectId());
      if(sellersItem == null)
      {
              String msgErr = "[RequestPrivateStoreBuy] player "+getClient().getActiveChar().getName()+" tried to buy an item not sold in a private store (buy), ban this player!";
              Util.handleIllegalPlayerAction(getClient().getActiveChar(),msgErr,Config.DEFAULT_PUNISH);
          return;
      }
      if(ir.getPrice() != sellersItem.getPrice())
      {
              String msgErr = "[RequestPrivateStoreBuy] player "+getClient().getActiveChar().getName()+" tried to change the seller's price in a private store (buy), ban this player!";
              Util.handleIllegalPlayerAction(getClient().getActiveChar(),msgErr,Config.DEFAULT_PUNISH);
          return;
      }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.model.TradeList.TradeItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.