Examples of spawnOne()


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

      L2Spawn spawn = new L2Spawn(template);
      spawn.setLocx(50335);
      spawn.setLocy(111275);
      spawn.setLocz(-1970);
      spawn.stopRespawn();
      result = spawn.spawnOne();
      template = null;
    }
    catch(Exception e)
    {
      e.printStackTrace();
View Full Code Here

Examples of l2p.gameserver.model.L2Spawn.spawnOne()

        L2Spawn buffer = new L2Spawn(template);
        buffer.setLocx(loc[0]);
        buffer.setLocy(loc[1]);
        buffer.setLocz(loc[2]);
        buffer.setRespawnDelay(10);
        buffer.spawnOne();
        _buffers.add(buffer);
      }
      catch(Exception e)
      {
        e.printStackTrace();
View Full Code Here

Examples of l2p.gameserver.model.L2Spawn.spawnOne()

      L2Spawn sp = new L2Spawn(template);
      sp.setLoc(loc);
      sp.setAmount(1);
      sp.setRespawnDelay(0);
      _spawns.add(sp);
      return sp.spawnOne();
    }
    catch(Exception e)
    {
      e.printStackTrace();
      return null;
View Full Code Here

Examples of lineage2.gameserver.model.SimpleSpawner.spawnOne()

      SimpleSpawner sp = new SimpleSpawner(template);
      sp.setLoc(loc);
      sp.setAmount(1);
      sp.setRespawnDelay(0);
      _spawns.add(sp);
      return sp.spawnOne();
    }
    catch (Exception e)
    {
      e.printStackTrace();
      return null;
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Spawn.spawnOne()

            L2Spawn spawn = new L2Spawn(template1);
            spawn.setId(IdFactory.getInstance().getNextId());
            spawn.setLocx(target.getX());
            spawn.setLocy(target.getY());
            spawn.setLocz(target.getZ());
            L2World.getInstance().storeObject(spawn.spawnOne());

            activeChar.destroyItem("Consume", item.getObjectId(), 1, null, false);

            SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
            sm.addString("Created " + template1.name + " at x: " + spawn.getLocx() + " y: " + spawn.getLocy() + " z: " + spawn.getLocz());
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Spawn.spawnOne()

               
                spawn.setId(IdFactory.getInstance().getNextId());
                spawn.setLocx(activeChar.getX());
                spawn.setLocy(activeChar.getY());
                spawn.setLocz(activeChar.getZ());
                L2World.getInstance().storeObject(spawn.spawnOne());
                activeChar.destroyItem("Summon", item.getObjectId(), 1, null, false);
                activeChar.sendMessage("Created " + npcTemplate.name + " at x: " + spawn.getLocx() + " y: " + spawn.getLocy() + " z: " + spawn.getLocz());
            }
            catch (Exception e)
            {
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Spawn.spawnOne()

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

              if (despawnDelay > 0)
                ThreadPoolManager.getInstance().scheduleGeneral(new DeSpawnScheduleTimerTask(result), despawnDelay);
             
              return result;
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.