Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.ExBuySellList


    }
    player.tempInventoryDisable();
    NpcTradeList list = TradeController.getInstance().getBuyList(listId);
    if(list == null || list.getNpcId() == getNpcId())
    {
      player.sendPacket(new ExBuySellList(list, player, taxRate));
    }
    else
    {
      _log.warning("[L2MerchantInstance] possible client hacker: " + player.getName() + " attempting to buy from GM shop! < Ban him!");
      _log.warning("buylist id:" + listId + " / list_npc = " + list.getNpcId() + " / npc = " + getNpcId());
View Full Code Here


    }
    else if(command.equalsIgnoreCase("_bbsshop_sell"))
    {
      L2Player player = L2ObjectsStorage.getPlayer(objectId);
      player.tempInventoryDisable();
      player.sendPacket(new ExBuySellList(null, player, 0));
    }
  }
View Full Code Here

      e.printStackTrace();
    }
    NpcTradeList list = TradeController.getInstance().getBuyList(val);
    if(list != null)
    {
      activeChar.sendPacket(new ExBuySellList(list, activeChar, 0));
    }
    activeChar.sendActionFailed();
  }
View Full Code Here

      if(castle != null)
      {
        taxRate = castle.getTaxRate();
      }
    }
    activeChar.sendPacket(/*new ExRefundList(activeChar), */new ExBuySellList(TradeController.getInstance().getBuyList(_listId), activeChar, taxRate).done());
    activeChar.updateStats();
  }
View Full Code Here

    if(castle != null && castle.getOwnerId() > 0 && activeChar.getReflection().getId() == 0)
    {
      castle.addToTreasury(tax, true, false);
      Log.add(castle.getName() + "|" + tax + "|BuyItem", "treasury");
    }
    sendPacket(new ExBuySellList(list, activeChar, taxRate).done());
    activeChar.updateStats();
  }
View Full Code Here

      if(castle != null)
      {
        taxRate = castle.getTaxRate();
      }
    }
    activeChar.sendPacket(new ExBuySellList(TradeController.getInstance().getBuyList(_listId), activeChar, taxRate).done());
    activeChar.updateStats();
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.ExBuySellList

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.