Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.JoinParty


    L2Party party = requestor.getParty();
    transaction.cancel();
    if(party == null || party.getPartyLeader() == null)
    {
      activeChar.sendPacket(Msg.ActionFail);
      requestor.sendPacket(new JoinParty(0));
      return;
    }
    SystemMessage problem = activeChar.canJoinParty(requestor);
    if(problem != null)
    {
      activeChar.sendPacket(problem, Msg.ActionFail);
      requestor.sendPacket(new JoinParty(0));
      return;
    }
    requestor.sendPacket(new JoinParty(_response));
    if(_response == 1)
    {
      if(activeChar.isInZone(OlympiadStadia))
      {
        activeChar.sendPacket(Msg.A_PARTY_CANNOT_BE_FORMED_IN_THIS_AREA);
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.JoinParty

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.