Package lineage2.gameserver.model

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


        }
        else
        {
          if (!sponsor.hasApprentice())
          {
            activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestOustAlly.MemberHasNoApprentice", activeChar));
            return;
          }
          sponsor.setApprentice(0);
          clan.broadcastToOnlineMembers(new PledgeShowMemberListUpdate(apprentice));
          clan.broadcastToOnlineMembers(new SystemMessage(SystemMessage.S2_CLAN_MEMBER_S1S_APPRENTICE_HAS_BEEN_REMOVED).addString(sponsor.getName()).addString(apprentice.getName()));
View Full Code Here


        activeChar.sendPacket(new PledgeReceiveMemberInfo(sponsor));
      }
    }
    else
    {
      activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestOustAlly.NoMasterRights", activeChar));
    }
  }
}
View Full Code Here

      System.out.println("Event: March 8 started.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.March8.AnnounceEventStarted", null);
    }
    else
    {
      player.sendMessage("Event 'March 8' already started.");
    }
    _active = true;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      System.out.println("Event: March 8 stopped.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.March8.AnnounceEventStoped", null);
    }
    else
    {
      player.sendMessage("Event 'March 8' not started.");
    }
    _active = false;
    show("admin/events.htm", player);
  }
 
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

      return;
    }
    Skill skill = SkillTable.getInstance().getInfo(_skillId, enchantLevel);
    if (skill == null)
    {
      activeChar.sendMessage("Internal error: not found skill level");
      return;
    }
    int[] cost = sl.getCost();
    int requiredSp = cost[1] * SkillTreeTable.NORMAL_ENCHANT_COST_MULTIPLIER * sl.getCostMult();
    int requiredAdena = cost[0] * SkillTreeTable.NORMAL_ENCHANT_COST_MULTIPLIER * sl.getCostMult();
 
View Full Code Here

    {
      return;
    }
    if (Boolean.FALSE)
    {
      player.sendMessage("Event is currently disabled");
      return;
    }
    if (SetActive("SavingSnowman", true))
    {
      spawnEventManagers();
View Full Code Here

      }
      _snowmanState = SnowmanState.SAVED;
    }
    else
    {
      player.sendMessage("Event 'SavingSnowman' already started.");
    }
    _active = true;
    show("admin/events.htm", player);
  }
 
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.