Examples of stopRespawn()


Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

      L2Spawn spawn = new L2Spawn(template);
      spawn.setLocx(44525);
      spawn.setLocy(108867);
      spawn.setLocz(-2020);
      spawn.stopRespawn();
      result = spawn.spawnOne();
      template = null;
    }
    catch(Exception e)
    {
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

    deleteMe();

    L2Spawn spawn = getSpawn();
    if(spawn != null)
    {
      spawn.stopRespawn();
      SpawnTable.getInstance().deleteSpawn(spawn, false);
      spawn = null;
    }
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

        L2Spawn spawn = new L2Spawn(template);
        spawn.setHeading(heading);
        spawn.setLocx(x);
        spawn.setLocy(y);
        spawn.setLocz(z + 20);
        spawn.stopRespawn();
        result = spawn.spawnOne();
        spawn = null;

        if(despawnDelay > 0)
        {
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

        npc = (L2NpcInstance) L2World.getInstance().findObject(Integer.parseInt(L2Event.npcs.getFirst()));
        L2Spawn spawn = npc.getSpawn();

        if(spawn != null)
        {
          spawn.stopRespawn();
          SpawnTable.getInstance().deleteSpawn(spawn, true);
        }

        npc.deleteMe();
        L2Event.npcs.removeFirst();
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

      L2Spawn spawn = new L2Spawn(template);
      spawn.setLocx(179040);
      spawn.setLocy(-13717);
      spawn.setLocz(-2263);
      spawn.stopRespawn();
      result = spawn.spawnOne();
      template = null;
    }
    catch(Exception e)
    {
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

      template = NpcTable.getInstance().getTemplate(BOSS_ID);
      spawn = new L2Spawn(template);
      spawn.setLocx(178298);
      spawn.setLocy(-17624);
      spawn.setLocz(-2194);
      spawn.stopRespawn();
      result = spawn.spawnOne();
      _gustav = ThreadPoolManager.getInstance().scheduleGeneral(new DeSpawnTimer(result), 3600000); //60 * 60 * 1000

      template = NpcTable.getInstance().getTemplate(BOSS1_ID);
      spawn = new L2Spawn(template);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

      template = NpcTable.getInstance().getTemplate(BOSS1_ID);
      spawn = new L2Spawn(template);
      spawn.setLocx(178306);
      spawn.setLocy(-17535);
      spawn.setLocz(-2195);
      spawn.stopRespawn();
      _minion1 = spawn.spawnOne();
      _dietrich = ThreadPoolManager.getInstance().scheduleGeneral(new DeSpawnTimer(_minion1), 3600000); //60 * 60 * 1000

      template = NpcTable.getInstance().getTemplate(BOSS2_ID);
      spawn = new L2Spawn(template);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

      template = NpcTable.getInstance().getTemplate(BOSS2_ID);
      spawn = new L2Spawn(template);
      spawn.setLocx(178304);
      spawn.setLocy(-17712);
      spawn.setLocz(-2194);
      spawn.stopRespawn();
      _minion2 = spawn.spawnOne();
      _mikhail = ThreadPoolManager.getInstance().scheduleGeneral(new DeSpawnTimer(_minion2), 3600000); //60 * 60 * 1000

      spawnMonsters();
    }
 
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

      int respawnTime = spawn.getRespawnDelay()/1000;
      boolean custom_boss_spawn = spawn.is_customBossInstance();
       
      target.deleteMe();
      spawn.stopRespawn();
     
      //check to avoid that recalling a custom raid it will be saved into database
      SpawnTable.getInstance().deleteSpawn(spawn, !custom_boss_spawn);

      try
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

      L2Spawn spawn = new L2Spawn(template);
      spawn.setLocx(50335);
      spawn.setLocy(111275);
      spawn.setLocz(-1970);
      spawn.stopRespawn();
      result = spawn.spawnOne();
      template = null;
    }
    catch(Exception 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.