Examples of SetSummonRemainTime


Examples of com.l2jfrozen.gameserver.network.serverpackets.SetSummonRemainTime

       
        if (target instanceof L2PetInstance)
        {
          L2PetInstance targetPet = (L2PetInstance) target;
          targetPet.setCurrentFed(targetPet.getMaxFed());
          targetPet.getOwner().sendPacket(new SetSummonRemainTime(targetPet.getMaxFed(), targetPet.getCurrentFed()));
          targetPet = null;
        }
        else
        {
          activeChar.sendPacket(new SystemMessage(SystemMessageId.INCORRECT_TARGET));
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.SetSummonRemainTime

        }

        // prevent useless packet-sending when the difference isn't visible.
        if(_summon.lastShowntimeRemaining - newTimeRemaining > maxTime / 352)
        {
          _summon.getOwner().sendPacket(new SetSummonRemainTime(maxTime, (int) newTimeRemaining));
          _summon.lastShowntimeRemaining = (int) newTimeRemaining;
        }
      }
      catch(Throwable e)
      {
View Full Code Here

Examples of l2p.gameserver.serverpackets.SetSummonRemainTime

        {
          owner.sendPacket(Msg.SINCE_YOU_DO_NOT_HAVE_ENOUGH_ITEMS_TO_MAINTAIN_THE_SERVITORS_STAY_THE_SERVITOR_WILL_DISAPPEAR);
          _summon.unSummon();
        }
      }
      owner.sendPacket(new SetSummonRemainTime(_summon));
      _disappearTask = ThreadPoolManager.getInstance().scheduleGeneral(new Lifetime(_summon), CYCLE);
    }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.SetSummonRemainTime

        owner.sendPacket(Msg.SERVITOR_DISAPPEASR_BECAUSE_THE_SUMMONING_TIME_IS_OVER);
        _disappearTask = null;
        unSummon();
        return;
      }
      owner.sendPacket(new SetSummonRemainTime(SummonInstance.this));
      _disappearTask = ThreadPoolManager.getInstance().schedule(this, CYCLE);
    }
View Full Code Here

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

        }

        // prevent useless packet-sending when the difference isn't visible.
        if ((_summon.lastShowntimeRemaining - newTimeRemaining) > maxTime/352)
        {
          _summon.getOwner().sendPacket(new SetSummonRemainTime(maxTime,(int) newTimeRemaining));
          _summon.lastShowntimeRemaining = (int) newTimeRemaining;
        }
      }
            catch (Throwable e)
            {
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.