Examples of AskJoinAlliance


Examples of l2p.gameserver.serverpackets.AskJoinAlliance

    new Transaction(TransactionType.ALLY, activeChar, target, 10000);
    //leader of alliance request an alliance.
    SystemMessage sm = new SystemMessage(SystemMessage.S2_THE_LEADER_OF_S1_HAS_REQUESTED_AN_ALLIANCE);
    sm.addString(activeChar.getAlliance().getAllyName());
    sm.addString(activeChar.getName());
    target.sendPacket(sm, new AskJoinAlliance(activeChar.getObjectId(), activeChar.getName(), activeChar.getAlliance().getAllyName()));
    return;
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.AskJoinAlliance

      activeChar.sendPacket(new SystemMessage(SystemMessage.S1_IS_BUSY_PLEASE_TRY_AGAIN_LATER).addString(target.getName()));
      return;
    }
    new Request(L2RequestType.ALLY, activeChar, target).setTimeout(10000L);
    target.sendPacket(new SystemMessage(SystemMessage.S2_THE_LEADER_OF_S1_HAS_REQUESTED_AN_ALLIANCE).addString(activeChar.getAlliance().getAllyName()).addName(activeChar));
    target.sendPacket(new AskJoinAlliance(activeChar.getObjectId(), activeChar.getName(), activeChar.getAlliance().getAllyName()));
    return;
  }
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.