Examples of broadcastAllyStatus()


Examples of l2p.gameserver.model.L2Alliance.broadcastAllyStatus()

        return;
      }
      clan.broadcastToOnlineMembers(new SystemMessage("Your clan has been expelled from " + alliance.getAllyName() + " alliance."), new SystemMessage(SystemMessage.A_CLAN_THAT_HAS_WITHDRAWN_OR_BEEN_EXPELLED_CANNOT_ENTER_INTO_AN_ALLIANCE_WITHIN_ONE_DAY_OF_WITHDRAWAL_OR_EXPULSION));
      clan.setAllyId(0);
      clan.setLeavedAlly();
      alliance.broadcastAllyStatus(true);
      alliance.removeAllyMember(clan.getClanId());
      alliance.setExpelledMember();
      activeChar.sendMessage(new CustomMessage("l2p.gameserver.clientpackets.RequestOustAlly.ClanDismissed", activeChar).addString(clan.getName()).addString(alliance.getAllyName()));
    }
  }
View Full Code Here

Examples of l2p.gameserver.model.L2Alliance.broadcastAllyStatus()

    }
    clan.broadcastToOnlineMembers(Msg.YOU_HAVE_WITHDRAWN_FROM_THE_ALLIANCE, Msg.A_CLAN_THAT_HAS_WITHDRAWN_OR_BEEN_EXPELLED_CANNOT_ENTER_INTO_AN_ALLIANCE_WITHIN_ONE_DAY_OF_WITHDRAWAL_OR_EXPULSION);
    L2Alliance alliance = clan.getAlliance();
    clan.setAllyId(0);
    clan.setLeavedAlly();
    alliance.broadcastAllyStatus(true);
    alliance.removeAllyMember(clan.getClanId());
  }
}
View Full Code Here

Examples of l2p.gameserver.model.L2Alliance.broadcastAllyStatus()

      }
      if(_data.length != 0)
      {
        CrestCache.saveAllyCrest(ally, _data);
      }
      ally.broadcastAllyStatus(false);
    }
  }
}
View Full Code Here

Examples of l2p.gameserver.model.L2Alliance.broadcastAllyStatus()

        L2Alliance ally = requestor.getAlliance();
        activeChar.sendPacket(Msg.YOU_HAVE_ACCEPTED_THE_ALLIANCE);
        activeChar.getClan().setAllyId(requestor.getAllyId());
        activeChar.getClan().updateClanInDB();
        ally.addAllyMember(activeChar.getClan(), true);
        ally.broadcastAllyStatus(true);
      }
      else
      {
        requestor.sendPacket(Msg.YOU_HAVE_FAILED_TO_INVITE_A_CLAN_INTO_THE_ALLIANCE);
      }
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Alliance.broadcastAllyStatus()

      Alliance ally = requestor.getAlliance();
      activeChar.sendPacket(Msg.YOU_HAVE_ACCEPTED_THE_ALLIANCE);
      activeChar.getClan().setAllyId(requestor.getAllyId());
      activeChar.getClan().updateClanInDB();
      ally.addAllyMember(activeChar.getClan(), true);
      ally.broadcastAllyStatus();
    }
    finally
    {
      request.done();
    }
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Alliance.broadcastAllyStatus()

      else if (ally.hasAllyCrest())
      {
        CrestCache.getInstance().removeAllyCrest(ally.getAllyId());
      }
      ally.setAllyCrestId(crestId);
      ally.broadcastAllyStatus();
    }
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Alliance.broadcastAllyStatus()

    }
    clan.broadcastToOnlineMembers(Msg.YOU_HAVE_WITHDRAWN_FROM_THE_ALLIANCE, Msg.A_CLAN_THAT_HAS_WITHDRAWN_OR_BEEN_EXPELLED_CANNOT_ENTER_INTO_AN_ALLIANCE_WITHIN_ONE_DAY_OF_WITHDRAWAL_OR_EXPULSION);
    Alliance alliance = clan.getAlliance();
    clan.setAllyId(0);
    clan.setLeavedAlly();
    alliance.broadcastAllyStatus();
    alliance.removeAllyMember(clan.getClanId());
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Alliance.broadcastAllyStatus()

        return;
      }
      clan.broadcastToOnlineMembers(new SystemMessage("Your clan has been expelled from " + alliance.getAllyName() + " alliance."), new SystemMessage(SystemMessage.A_CLAN_THAT_HAS_WITHDRAWN_OR_BEEN_EXPELLED_CANNOT_ENTER_INTO_AN_ALLIANCE_WITHIN_ONE_DAY_OF_WITHDRAWAL_OR_EXPULSION));
      clan.setAllyId(0);
      clan.setLeavedAlly();
      alliance.broadcastAllyStatus();
      alliance.removeAllyMember(clan.getClanId());
      alliance.setExpelledMember();
      activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestOustAlly.ClanDismissed", activeChar).addString(clan.getName()).addString(alliance.getAllyName()));
    }
  }
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.