Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.GameObject.sendMessage()


        activeChar.sendMessage("Usage: //set_bang count <target>");
        return false;
      }
      Player target = activeChar.getTarget().getPlayer();
      target.setPcBangPoints(count);
      target.sendMessage("Your Pc Bang Points count is now " + count);
      target.sendPacket(new ExPCCafePointInfo(target, count, 1, 2, 12));
      activeChar.sendMessage("You have set " + target.getName() + "'s Pc Bang Points to " + count);
    }
    else if (fullString.startsWith("admin_reset_mentor_penalty"))
    {
View Full Code Here


      player.sendPacket(Msg.YOU_DO_NOT_HAVE_ENOUGH_ADENA);
      return;
    }
    if (player.getMountType() == 2)
    {
      player.sendMessage("Телепортаци�? верхом на виверне невозможна.");
      return;
    }
    if (player.getLastNpc() != null)
    {
      final int npcId = player.getLastNpc().getNpcId();
View Full Code Here

    {
      return;
    }
    if (activeChar.getTransformation() != 0)
    {
      activeChar.sendMessage("You must leave transformation mode first.");
      return;
    }
    if ((activeChar.getLevel() < 76) || (activeChar.getClassLevel() < 4))
    {
      activeChar.sendMessage("You must have 3rd class change quest completed.");
View Full Code Here

      activeChar.sendMessage("You must leave transformation mode first.");
      return;
    }
    if ((activeChar.getLevel() < 76) || (activeChar.getClassLevel() < 4))
    {
      activeChar.sendMessage("You must have 3rd class change quest completed.");
      return;
    }
    EnchantSkillLearn sl = SkillTreeTable.getSkillEnchant(_skillId, _skillLvl);
    if (sl == null)
    {
View Full Code Here

    {
      return;
    }
    if (slevel == sl.getBaseLevel() ? (_skillLvl % 100) != 1 : slevel != (enchantLevel - 1))
    {
      activeChar.sendMessage("Incorrect enchant level.");
      return;
    }
    Skill skill = SkillTable.getInstance().getInfo(_skillId, enchantLevel);
    if (skill == null)
    {
View Full Code Here

      UnitMember member = activeChar.getClan().getAnyMember(_name);
      if (member != null)
      {
        if (Clan.isAcademy(member.getPledgeType()))
        {
          activeChar.sendMessage("You cannot change academy member grade.");
          return;
        }
        if (_powerGrade > 5)
        {
          member.setPowerGrade(clan.getAffiliationRank(member.getPledgeType()));
View Full Code Here

          member.getPlayer().sendUserInfo();
        }
      }
      else
      {
        activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestPledgeSetMemberPowerGrade.NotBelongClan", activeChar));
      }
    }
    else
    {
      activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestPledgeSetMemberPowerGrade.HaveNotAuthority", activeChar));
View Full Code Here

        activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestPledgeSetMemberPowerGrade.NotBelongClan", activeChar));
      }
    }
    else
    {
      activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestPledgeSetMemberPowerGrade.HaveNotAuthority", activeChar));
    }
  }
}
View Full Code Here

      if (((player1 = _playerRef1.get()) == null) || ((player2 = _playerRef2.get()) == null))
      {
        return;
      }
      CoupleManager.getInstance().createCouple(player1, player2);
      player1.sendMessage(new CustomMessage("lineage2.gameserver.model.L2Player.EngageAnswerYes", player2));
    }
   
    /**
     * Method sayNo.
     * @see lineage2.gameserver.listener.actor.player.OnAnswerListener#sayNo()
View Full Code Here

      Player player1, player2;
      if (((player1 = _playerRef1.get()) == null) || ((player2 = _playerRef2.get()) == null))
      {
        return;
      }
      player1.sendMessage(new CustomMessage("lineage2.gameserver.model.L2Player.EngageAnswerNo", player2));
    }
  }
 
  /**
   * Field _log.
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.