Examples of spawnMe()


Examples of com.l2jfrozen.gameserver.model.actor.instance.L2MonsterInstance.spawnMe()

        {
          questMob.spawnMe(57069, -91797, -1360);
        }
        else if(mobCounter == 2)
        {
          questMob.spawnMe(58838, -92232, -1354);
        }
        else if(mobCounter == 3)
        {
          questMob.spawnMe(57327, -93373, -1365);
        }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2NpcInstance.spawnMe()

      {
        mob.setHeading(getHeading());
      }

      mob.setSpawn(this);
      mob.spawnMe(newlocx, newlocy, newlocz);
      mob.onSpawn();

      if(Config.DEBUG)
      {
        _log.finest("spawned Mob ID: " + _template.npcId + " ,at: " + mob.getX() + " x, " + mob.getY() + " y, " + mob.getZ() + " z");
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.spawnMe()

    activeChar.sendPacket(new QuestList());

    if (Config.PLAYER_SPAWN_PROTECTION > 0)
      activeChar.setProtection(true);

    activeChar.spawnMe(activeChar.getX(), activeChar.getY(), activeChar.getZ());

    if (SevenSigns.getInstance().isSealValidationPeriod())
      sendPacket(new SignsSky());

    // Buff and Status icons
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.spawnMe()

          player.setClient(client);
          player.setOffline(true);
          player.setOfflineStartTime(time);
          if (Config.OFFLINE_SLEEP_EFFECT)
            player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_SLEEP);
          player.spawnMe(player.getX(), player.getY(), player.getZ());
          LoginServerThread.getInstance().addGameServerLogin(player.getAccountName(), client);
          PreparedStatement stm_items = con.prepareStatement(LOAD_OFFLINE_ITEMS);
          stm_items.setInt(1, player.getObjectId());
          ResultSet items = stm_items.executeQuery();
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.spawnMe()

    showCharacterInfo(activeChar, null); // Back to start
   
    player.broadcastUserInfo();
    player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
    player.decayMe();
    player.spawnMe(activeChar.getX(), activeChar.getY(), activeChar.getZ());
   
    player = null;
  }
 
  private void editCharacter(L2PcInstance activeChar)
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.spawnMe()

        }
        player.getAppearance().setSex(player.getAppearance().getSex() ? false : true);
        L2PcInstance.setSexDB(player, 1);
        player.sendMessage("Your gender has been changed by a GM");
        player.decayMe();
        player.spawnMe(player.getX(), player.getY(), player.getZ());
        player.broadcastUserInfo();
       
        return true;
      }
      case admin_setcolor:
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance.spawnMe()

        }
       
        _activeChar.setPet(petSummon);
       
        L2World.getInstance().storeObject(petSummon);
        petSummon.spawnMe(_activeChar.getX() + 50, _activeChar.getY() + 100, _activeChar.getZ());
        _activeChar.sendPacket(new PetInfo(petSummon));
        petSummon.startFeed(false);
        _item.setEnchantLevel(petSummon.getLevel());
       
        if (petSummon.getCurrentFed() <= 0)
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2SiegeFlagInstance.spawnMe()

      }
     
      flag.setTitle(player.getClan().getName());
      flag.setCurrentHpMp(flag.getMaxHp(), flag.getMaxMp());
      flag.setHeading(player.getHeading());
      flag.spawnMe(player.getX(), player.getY(), player.getZ() + 50);
     
      if (castle != null)
        castle.getSiege().getFlag(player.getClan()).add(flag);
      else
        fort.getSiege().getFlag(player.getClan()).add(flag);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2SiegeGuardInstance.spawnMe()

    if(template != null)
    {
      final L2SiegeGuardInstance npc = new L2SiegeGuardInstance(IdFactory.getInstance().getNextId(), template);
      npc.setCurrentHpMp(npc.getMaxHp(), npc.getMaxMp());
      npc.setDecayed(false);
      npc.spawnMe(x, y, (z + 20));

      if(messages != null && messages.length > 0)
      {
        AutoChatHandler.getInstance().registerChat(npc, messages, chatDelay);
      }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2StaticObjectInstance.spawnMe()

    L2StaticObjectInstance obj = new L2StaticObjectInstance(IdFactory.getInstance().getNextId());
    obj.setType(type);
    obj.setStaticObjectId(id);
    obj.setXYZ(x, y, z);
    obj.setMap(texture, map_x, map_y);
    obj.spawnMe();

    return obj;
  }
}
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.