Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Player.teleToLocation()


      return htmltext;
    }
    // back to Schuttgart
    if(back.equals("10"))
    {
      player.teleToLocation(87386, -143246, -1293);
      return htmltext;
    }
    // back to Hunters Village
    if(back.equals("11"))
    {
View Full Code Here


      return htmltext;
    }
    // back to Hunters Village
    if(back.equals("11"))
    {
      player.teleToLocation(116819, 76994, -2714);
      return htmltext;
    }
    return htmltext;
  }
}
View Full Code Here

          if(players.size() > 0)
          {
            L2Player player = players.get(Rnd.get(players.size()));
            if(player != null)
            {
              player.teleToLocation(185462, 20342, -3250);
            }
          }
        }
      }
    }
View Full Code Here

          {
            player.setMount(0, 0, 0);
            player.addProperty(PropertyCollection.ZoneEnteredNoLandingFlying, 0);
            return;
          }
          player.teleToLocation(loc);
          player.addProperty(PropertyCollection.ZoneEnteredNoLandingFlying, enterCount + 1);
        }
        else if(Config.ALT_DONT_ALLOW_PETS_ON_SIEGE && player.getPet() != null)
        {
          int id = player.getPet().getNpcId();
View Full Code Here

    {
      if(cond >= 3)
      {
        if(r.getReturnLoc() != null)
        {
          player.teleToLocation(r.getReturnLoc(), 0);
        }
        else
        {
          player.setReflection(0);
        }
View Full Code Here

        ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
        {
          @Override
          public void run()
          {
            player.teleToLocation(new Location(-89559, 216030, -7488));
          }
        }, 28000);
      }
    }
    if(checkKillProgress(npc, world.rooms.get(world.status)))
View Full Code Here

        return;
      }
      // В летающей трансформе нельзя летать ниже, чем 0, и выше, чем 6000
      if(_loc.z <= 0 || _loc.z >= 6000)
      {
        activeChar.teleToLocation(activeChar.getLoc().setZ(Math.min(5950, Math.max(50, _loc.z))));
        return;
      }
    }
    activeChar.checkTerritoryFlag();
    _diff = activeChar.getDistance(_loc.x, _loc.y);
View Full Code Here

      return null;
    }
    else if(event.equalsIgnoreCase("isle"))
    {
      st.addRadar(-119692, 44504, 380);
      player.teleToLocation(-120050, 44500, 360);
      htmltext = "<html><body><br>Go to the <font color=\"LEVEL\">Isle of Souls</font> and meet the <font color=\"LEVEL\">Newbie Guide</font> there to learn a number of important tips. He will also give you an item to assist your development. <br>Follow the direction arrow above your head and it will lead you to the Newbie Guide. Good luck!</body></html>";
    }
    else
    {
      Event e = events.get(event);
View Full Code Here

      {
        activeChar.teleToClosestTown();
      }
      else
      {
        activeChar.teleToLocation(activeChar.getLoc());
        activeChar.setIncorrectValidateCount(activeChar.getIncorrectValidateCount() + 1);
      }
    }
    else if(_dz >= (activeChar.isFlying() ? 512 : 256))
    {
View Full Code Here

      {
        activeChar.teleToClosestTown();
      }
      else
      {
        activeChar.teleToLocation(activeChar.getLoc());
        activeChar.setIncorrectValidateCount(activeChar.getIncorrectValidateCount() + 1);
      }
    }
    else if(_diff > 256) // old: activeChar.getMoveSpeed() * 2
    //  && !activeChar.isFlying() && !activeChar.isInBoat() && !activeChar.isSwimming()
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.