O fórum teve que ser recriado do zero, usuários do fórum antigo precisam se cadastrar novamente e caso você seja usuário vip se identifique perante a um administrador que o status vip será reatribuído..

Welcome to L2JDream Project

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Anúncios

    • Wallz

      Suporte e Serviço Pago: Tabela de Valores!   04/03/2023

      Devido a acontecimentos recentes e para eu não parar de mexer de vez com l2j, a pedido de alguns clientes, a partir de hoje, suporte remoto, edição de dlls, edição de patches de proteção e atualizações será cobrado um valor simbólico pois por causa de alguns usuários agindo de má fé eu vou ter que parar de disponibilizar conteúdo e suporte remoto grátis Suporte Remoto: Acesso remoto AnyDesk/TeamViewer: R$40,00/hora ~ R$25,00/fração de hora (15~30 minutos) Instalação de Servidor no PC: R$60,00 (Para computador doméstico o servidor será configurado por padrão parar rodar em 127.0.0.1, pois eu não mexerei com portas de roteador) Instalação de Servidor em VPS/Dedicado: R$ 60,00 (Apenas a instalação dos programas e da pack, não inclui configurar in-game, add npc/itens custom nem qualquer outra modificação) Add Item Custom: R$80,00 cada set (armaduras/armas) sem configurar status específico. Add/Criar Moedas Custom: R$40,00 se tiver que criar textura + R$20 por moeda Add NPC/Mob Custom: R$ 40,00 cada NPC, sem configurar status ou scripts Serviços adicionais: Updates de Pack: R$29,90/mês a pack Alterações específicas de Proteção: R$95,00 Restaurar Compra (usuários antigos): R$ 35,00 Liberar Interface Custom na Proteção: R$75,00 por DLL Adicionar Logo do Server na Proteção: R$65,00 Server Health & Overview: R$ 150,00/hora de teste Launcher Compacto: R$249,99 
      PAGAMENOS APENAS VIA PIX OU PICPAY.
Entre para seguir isso  
Seguidores 0
Wallz

Criando teleport (teletransporte)

Existem dois modos e fazer um teleport via NPC

1. Teleport incluso dentro da XML do NPC
2. Script de Teleport

1. Link de teleport dentro da XML do NPC:

Caminho: path: Game/data/npc/

<npc id="31964" name="Bilia" title="Gatekeeper">
    <set name="aggroRange" value="0"/>
    <set name="ai_type" value="CharacterAI"/>
    <set name="baseAtkRange" value="40"/>
    <set name="baseCON" value="43"/>
    <set name="baseCritRate" value="40"/>
    <set name="baseDEX" value="30"/>
    <set name="baseHpMax" value="2444.468"/>
    <set name="baseHpRate" value="1"/>
    <set name="baseHpReg" value="7.5"/>
    <set name="baseINT" value="21"/>
    <set name="baseMAtk" value="780"/>
    <set name="baseMAtkSpd" value="333"/>
    <set name="baseMDef" value="382"/>
    <set name="baseMEN" value="20"/>
    <set name="baseMpMax" value="1345.8"/>
    <set name="baseMpReg" value="2.7"/>
    <set name="basePAtk" value="1303"/>
    <set name="basePAtkSpd" value="253"/>
    <set name="basePDef" value="471"/>
    <set name="baseRunSpd" value="120"/>
    <set name="baseSTR" value="40"/>
    <set name="baseShldDef" value="0"/>
    <set name="baseShldRate" value="0"/>
    <set name="baseWIT" value="20"/>
    <set name="baseWalkSpd" value="50"/>
    <set name="castle_id" value="9"/>
    <set name="collision_height" value="25.0"/>
    <set name="collision_radius" value="8.0"/>
    <set name="level" value="70"/>
    <set name="rewardExp" value="0"/>
    <set name="rewardRp" value="0"/>
    <set name="rewardSp" value="0"/>
    <set name="shots" value="NONE"/>
    <set name="texture" value=""/>
    <set name="type" value="Merchant"/>
    <skills>
      <skill id="4416" level="14"/>
      <!--Humans-->
    </skills>
    <teleportlist>
      <sublist id="1">
        <target loc="43835 -47749 -792" item_id="57" price="10000" name="Gatekeeper.RuneTownship" castle_id="8"/>
        <target loc="147850 -55300 -2728" item_id="57" price="10000" name="Gatekeeper.TheTownofGoddard" castle_id="7"/>
        <target loc="146783 25808 -2008" item_id="57" price="53000" name="Gatekeeper.TheTownofAden" castle_id="5"/>
        <target loc="82971 53207 -1488" item_id="57" price="59000" name="Gatekeeper.TheTownofOren" castle_id="4"/>
        <target loc="111455 219400 -3544" item_id="57" price="100000" name="Gatekeeper.Heine" castle_id="6"/>
        <target loc="83463 148045 -3400" item_id="57" price="87000" name="Gatekeeper.TheTownofGiran" castle_id="3"/>
        <target loc="15472 142880 -2688" item_id="57" price="88000" name="Gatekeeper.TheTownofDion" castle_id="2"/>
        <target loc="-12787 122779 -3112" item_id="57" price="85000" name="Gatekeeper.TheTownofGludio" castle_id="1"/>
        <target loc="-45158 -112583 -240" item_id="57" price="13000" name="Gatekeeper.OrcVillage"/>
        <target loc="115120 -178224 -880" item_id="57" price="4400" name="Gatekeeper.DwarvenVillage"/>
        <target loc="68693 -110438 -1904" item_id="57" price="3000" name="Gatekeeper.DenofEvil"/>
        <target loc="111965 -154172 -1528" item_id="57" price="1600" name="Gatekeeper.PlunderousPlains"/>
        <target loc="113903 -108752 -848" item_id="57" price="3500" name="Gatekeeper.FrozenLabyrinth"/>
        <target loc="47692 -115745 -3744" item_id="57" price="1900" name="Gatekeeper.CryptsofDisgrace"/>
        <target loc="91280 -117152 -3928" item_id="57" price="2100" name="Gatekeeper.PavelRuins"/>
      </sublist>
      <sublist id="2">
        <target loc="-87328 142266 -3640" item_id="57" price="1000" name="Gatekeeper.GludinArena"/>
        <target loc="73579 142709 -3768" item_id="57" price="1000" name="Gatekeeper.GiranArena"/>
        <target loc="107577 -122392 -3632" item_id="57" price="1000" name="Gatekeeper.FrostLake"/>
        <target loc="44221 -114232 -2784" item_id="57" price="1000" name="Gatekeeper.CryptsofDisgrace"/>
        <target loc="121618 -141554 -1496" item_id="57" price="1000" name="Gatekeeper.SkyWagonRelic"/>
        <target loc="146440 46723 -3432" item_id="57" price="1000" name="Gatekeeper.Coliseum"/>
      </sublist>
      <sublist id="3">
        <target loc="-87328 142266 -3640" price="1" item_id="6651" name="Gatekeeper.GludinArena"/>
        <target loc="73579 142709 -3768" price="1" item_id="6651" name="Gatekeeper.GiranArena"/>
        <target loc="107577 -122392 -3632" price="1" item_id="6651" name="Gatekeeper.FrostLake"/>
        <target loc="44221 -114232 -2784" price="1" item_id="6651" name="Gatekeeper.CryptsofDisgrace"/>
        <target loc="121618 -141554 -1496" price="1" item_id="6651" name="Gatekeeper.SkyWagonRelic"/>
        <target loc="146440 46723 -3432" price="1" item_id="6651" name="Gatekeeper.Coliseum"/>
      </sublist>
    </teleportlist>
    <attributes>
      <defence attribute="fire" value="0"/>
      <defence attribute="water" value="0"/>
      <defence attribute="wind" value="0"/>
      <defence attribute="earth" value="0"/>
      <defence attribute="holy" value="0"/>
      <defence attribute="unholy" value="0"/>
    </attributes>
  </npc>

Estrutura:
Abre a tag de teleport<teleportlist>
Sub-lista que separa as categorias de teleport <sublist id="1"> 2 3 4 5 etc.
target loc= X Y Z são as coordenadas do teleport, ingame digite /loc e saiba suas coordenadas
item_id="57" O ID do item que será consumido
price="10000" A quantidade que será cobrada.
name="Gatekeeper.RuneTownship"  nome de localização do teleporte localizar Game/data/strings/

 

2. Script de teleport

Dentro de uma html podemos inserir o seguinte parametro:

[scripts_Util : Gatekeeper 43816 -47768 -800 50000 @ 811; Rune Township | Teleport para Rune Township (50.000 Adena).]
scripts_Util: Gatekeeper - Parametro de chamada para Gatekeeper.
43816 -47768 -800 50000 - XYZ Preço e valor em adena
@ 811; Rune Township - Diálogo para reconfirmação
| Script para um texto separador.
Teleport to Rune Township (50.000 Adena). - Texto simples

 

Compartilhar este post


Link para o post
Compartilhar em outros sites
Entre para seguir isso  
Seguidores 0