Examples of ExBuySellList


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

Examples of l2p.gameserver.serverpackets.ExBuySellList

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

Examples of l2p.gameserver.serverpackets.ExBuySellList

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

Examples of l2p.gameserver.serverpackets.ExBuySellList

      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

Examples of l2p.gameserver.serverpackets.ExBuySellList

    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

Examples of l2p.gameserver.serverpackets.ExBuySellList

      if(castle != null)
      {
        taxRate = castle.getTaxRate();
      }
    }
    activeChar.sendPacket(new ExBuySellList(TradeController.getInstance().getBuyList(_listId), activeChar, taxRate).done());
    activeChar.updateStats();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.