Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.SetupGauge


        activeChar.disableAllSkills();

        L2Skill skill = SkillTable.getInstance().getInfo(escapeSkill, 1);
        MagicSkillUser msu = new MagicSkillUser(activeChar, escapeSkill, 1, skill.getHitTime(), 0);
        activeChar.broadcastPacket(msu);
        SetupGauge sg = new SetupGauge(0, skill.getHitTime());
        activeChar.sendPacket(sg);
        //End SoE Animation section

        SystemMessage sm = new SystemMessage(SystemMessageId.S1_DISAPPEARED);
        sm.addItemName(itemId);
View Full Code Here


        activeChar.setTarget(activeChar);
        activeChar.disableAllSkills();

        MagicSkillUser msk = new MagicSkillUser(activeChar, 1050, 1, teleportTimer, 0);
        Broadcast.toSelfAndKnownPlayersInRadius(activeChar, msk, 810000/*900*/);
        SetupGauge sg = new SetupGauge(0, teleportTimer);
        activeChar.sendPacket(sg);
        //End SoE Animation section

        EscapeFinalizer ef = new EscapeFinalizer(activeChar,partner.getX(),partner.getY(),partner.getZ(),partner.isIn7sDungeon());
        // continue execution later
View Full Code Here

        activeChar.setTarget(activeChar);
        activeChar.disableAllSkills();

        MagicSkillUser msk = new MagicSkillUser(activeChar, 1050, 1, unstuckTimer, 0);
        Broadcast.toSelfAndKnownPlayersInRadius(activeChar, msk, 810000/*900*/);
        SetupGauge sg = new SetupGauge(0, unstuckTimer);
        activeChar.sendPacket(sg);
        //End SoE Animation section

        EscapeFinalizer ef = new EscapeFinalizer(activeChar);
        // continue execution later
View Full Code Here

          // FIXME: please fix this packet to show crafting animation (somebody)
          MagicSkillUser msk = new MagicSkillUser(_player, _skillId, _skillLevel, _delay, 0);
          _player.broadcastPacket(msk);

          _player.sendPacket(new SetupGauge(0, _delay));
          ThreadPoolManager.getInstance().scheduleGeneral(this, 100 + _delay);
        }
        else
        {
          // for alt mode, sleep delay msec before finishing
          _player.sendPacket(new SetupGauge(0, _delay));

          try {
            Thread.sleep(_delay);
          } catch (InterruptedException e) {
          } finally {
View Full Code Here

      if (_player.getCurrentMp() < _manaRequired)
      {
        // rest (wait for MP)
        if (Config.ALT_GAME_CREATION)
        {
          _player.sendPacket(new SetupGauge(0, _delay));
          ThreadPoolManager.getInstance().scheduleGeneral(this, 100 + _delay);
        }
        else
          // no rest - report no mana
        {
View Full Code Here

  }

  private void doAnimation(L2PcInstance activeChar)
  {
    Broadcast.toSelfAndKnownPlayersInRadius(activeChar, new MagicSkillUser(activeChar, 1008, 1, 4000, 0), 2250000/*1500*/);
    activeChar.sendPacket(new SetupGauge(0, 4000));
  }
View Full Code Here

      if(obj instanceof L2Character)
      {
        L2Character Char = (L2Character) obj;
        MagicSkillUser msk = new MagicSkillUser(Char, 1008, 1, 4000, 0);
        Char.broadcastPacket(msk);
        SetupGauge sg = new SetupGauge(0, 4000);
        Char.sendPacket(sg);
      }
      //end of animation
      obj.decayMe();
      obj.spawnMe(obj.getX(),obj.getY(),obj.getZ());
View Full Code Here

    {
      // Send a system message
      sendPacket(new SystemMessage(SystemMessageId.GETTING_READY_TO_SHOOT_AN_ARROW));
     
      // Send a Server->Client packet SetupGauge
      SetupGauge sg = new SetupGauge(SetupGauge.RED, sAtk + reuse);
      sendPacket(sg);
    }
   
    // Create a new hit task with Medium priority
    ThreadPoolManager.getInstance().scheduleAi(new HitTask(target, damage1, crit1, miss1, attack.soulshot, shld1), sAtk);
View Full Code Here

    if (hitTime > 210)
    {
      // Send a Server->Client packet SetupGauge with the color of the gauge and the casting time
      if ((this instanceof L2PcInstance) && !forceBuff)
      {
        SetupGauge sg = new SetupGauge(SetupGauge.BLUE, hitTime);
        sendPacket(sg);
      }
     
      // Disable all skills during the casting
      disableAllSkills();
View Full Code Here

    if (_taskWater != null)
    {
      _taskWater.cancel(false);
     
      _taskWater = null;
      sendPacket(new SetupGauge(2, 0));
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.SetupGauge

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.