Examples of AskJoinParty


Examples of com.l2jfrozen.gameserver.network.serverpackets.AskJoinParty

    }
   
    if (!target.isProcessingRequest())
    {
      requestor.onTransactionRequest(target);
      target.sendPacket(new AskJoinParty(requestor.getName(), _itemDistribution));
      requestor.getParty().setPendingInvitation(true);
     
      if (Config.DEBUG)
      {
        _log.fine("sent out a party invitation to:" + target.getName());
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.AskJoinParty

    if (!target.isProcessingRequest())
    {
      requestor.setParty(new L2Party(requestor, _itemDistribution));
     
      requestor.onTransactionRequest(target);
      target.sendPacket(new AskJoinParty(requestor.getName(), _itemDistribution));
      requestor.getParty().setPendingInvitation(true);
     
      if (Config.DEBUG)
      {
        _log.fine("sent out a party invitation to:" + target.getName());
View Full Code Here

Examples of l2p.gameserver.serverpackets.AskJoinParty

      activeChar.sendActionFailed();
    }
    if(!target.isInTransaction())
    {
      new Transaction(TransactionType.PARTY, activeChar, target, 10000);
      target.sendPacket(new AskJoinParty(activeChar.getName(), itemDistribution));
      activeChar.sendPacket(new SystemMessage(SystemMessage.YOU_HAVE_INVITED_C1_TO_JOIN_YOUR_PARTY).addString(target.getName()));
    }
    else
    {
      activeChar.sendPacket(new SystemMessage(SystemMessage.S1_IS_BUSY_PLEASE_TRY_AGAIN_LATER).addString(target.getName()));
View Full Code Here

Examples of l2p.gameserver.serverpackets.AskJoinParty

  {
    if(!target.isInTransaction())
    {
      requestor.setParty(new L2Party(requestor, itemDistribution));
      new Transaction(TransactionType.PARTY, requestor, target, 10000);
      target.sendPacket(new AskJoinParty(requestor.getName(), itemDistribution));
      requestor.sendPacket(new SystemMessage(SystemMessage.YOU_HAVE_INVITED_C1_TO_JOIN_YOUR_PARTY).addString(target.getName()));
    }
    else
    {
      requestor.sendPacket(new SystemMessage(SystemMessage.S1_IS_BUSY_PLEASE_TRY_AGAIN_LATER).addString(target.getName()));
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.AskJoinParty

        activeChar.sendPacket(SystemMsg.ONLY_THE_LEADER_CAN_GIVE_OUT_INVITATIONS);
        return;
      }
    }
    new Request(L2RequestType.PARTY, activeChar, target).setTimeout(10000L).set("itemDistribution", _itemDistribution);
    target.sendPacket(new AskJoinParty(activeChar.getName(), _itemDistribution));
    activeChar.sendPacket(new SystemMessage2(SystemMsg.C1_HAS_BEEN_INVITED_TO_THE_PARTY).addName(target));
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.AskJoinParty

    }

    if (!target.isProcessingRequest())
    {
        requestor.onTransactionRequest(target);
        target.sendPacket(new AskJoinParty(requestor.getName(), _itemDistribution));
        requestor.getParty().increasePendingInvitationNumber();

        if (Config.DEBUG)
            _log.fine("sent out a party invitation to:"+target.getName());
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.AskJoinParty

    if (!target.isProcessingRequest())
    {
        requestor.setParty(new L2Party(requestor, _itemDistribution));

        requestor.onTransactionRequest(target);
        target.sendPacket(new AskJoinParty(requestor.getName(), _itemDistribution));
        requestor.getParty().increasePendingInvitationNumber();

        if (Config.DEBUG)
            _log.fine("sent out a party invitation to:"+target.getName());
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.