Jump to content

Recommended Posts

Posted

hello my frends on this tutorial i will show you how to add Custom NPC on Tauti Server

i'm using Allengc File Editor which can be found here: Allengc File Editor

and pack L2jeuropa which can be found here: L2JEuropa Credits for FileEditor is to Allengc and for Project is to vegax987 
 

First u need to create a new file in data/xml/npc or u can use one which exist but sould have space for more npc's there id's are from 

X to 99 like for example 60000-60099 there can be found npc with id from 6000 to 60099 if u wanna npc with id 60100 u should make a new file with name 60100-60199 so now lets start edit your file:


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE list SYSTEM "npc.dtd">
<list>
</list>

this text should be in ur file i forgot to say that we should save it at type xml: 6000-60099.xml other wise it will not work

then between this 2 lines <list> and </list> we will add your own npc wich start with code <npc> and end at this code </npc>

Example:


<npc id="60000" name="Test" title="MaxCheaters">
<set name="aggroRange" value="0"/>
<set name="ai_type" value="CharacterAI"/>
<set name="baseAtkRange" value="40"/>
<set name="baseCON" value="75"/>
<set name="baseCritRate" value="40"/>
<set name="baseDEX" value="41"/>
<set name="baseHpMax" value="4228"/>
<set name="baseHpRate" value="1.0"/>
<set name="baseHpReg" value="7.5"/>
<set name="baseINT" value="42"/>
<set name="baseMAtk" value="470"/>
<set name="baseMAtkSpd" value="333"/>
<set name="baseMDef" value="217"/>
<set name="baseMEN" value="20"/>
<set name="baseMpMax" value="1345.8"/>
<set name="baseMpReg" value="2.7"/>
<set name="basePAtk" value="689"/>
<set name="basePAtkSpd" value="253"/>
<set name="basePDef" value="296"/>
<set name="baseRunSpd" value="120"/>
<set name="baseSTR" value="78"/>
<set name="baseShldDef" value="0"/>
<set name="baseShldRate" value="0"/>
<set name="baseWIT" value="78"/>
<set name="baseWalkSpd" value="50"/>
<set name="castle_id" value="1"/>
<set name="collision_radius" value="40.0"/>
<set name="collision_height" value="26.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="type" value="Merchant"/>
<skills>
<skill id="4416" level="18"/> <!--Dwarves-->
</skills>
<attributes>
<defence attribute="fire" value="150"/>
<defence attribute="water" value="150"/>
<defence attribute="wind" value="150"/>
<defence attribute="earth" value="150"/>
<defence attribute="holy" value="150"/>
<defence attribute="unholy" value="150"/>
</attributes>
</npc>

<npc id="60000" name="Test" title="MaxCheaters">

this is our first line there is npc's ID name and title 

and we should make how we want this is our first npc and id should be first one

if ur file name is 5000-5099 npc id would be 5000 like for first one 

then you change the name which will show in game and title 

 

then we have to change our

<set name="collision_radius" value="40.0"/>
<set name="collision_height" value="26.0"/>
 
this 2 lines have to be exacly same as our tamplate which we are using if they are not same
npc cloud be at air or even worse intro ground its look ugly :D
when radius and height are same ur npc will be at ground normal how to have to be :P
 
now we have to select npc type
<set name="type" value="Merchant"/>
it can be any type Monster/Teleporter i don't know all types here u have to check then by ur self at this xml fails u can find every thing 
this is most importnant things for server side 
 
now we have to make some changes at client side becouse there too much diffrence from server to server
before there was navicat u put ur npc inside make 1-2 htm fails and u are done but now its bit harder u need 
file editor from Allengc which i'm using u can find link for it at the top of topic then u need to open 
npcgrp.dat then find ur template line/id copy whole line and put it at the end and do not forgot to remove 
all empty spaces there should be no any empty space after line becouse file editor will give you error 
like for example:

60000 LineageMonster7.orbis_arena_beast LineageMonsters7.orbis_arena_beast_m00 2 LineageMonstersTex6.orbis_arena_beast.orbis_arena_beast_t00 LineageMonstersTex6.orbis_arena_beast.orbis_arena_beast_t01 0 4 4416 3 5467 1 1.00000000 0 0 5 MonSound.Hit_Normal_7 MonSound.Hit_Metal_5 MonSound.Hit_normal_12 MonSound.Hit_Metal_1 MonSound.Hit_Metal_14 3 MonSound15.orbis_arena_beast_dmg_1 MonSound15.orbis_arena_beast_dmg_2 MonSound15.orbis_arena_beast_dmg_3 0 0 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 50.00000000 0 1 0 0 0 0 0 -1.00000000 a, 0
then u go to npcname.dat there  u should add ur npc name 
and it should be at last line w/o any free spaces after it
Example:

60000 a,test\0 a, 9C E8 A9 -1
 
now when u done all this u are almost ready u have to restart your Client and Server to Accept new changes 
when u done login to server and spawn your npc and it will be there visible and usable what left you to do is to add
some htm fails at default folder 
 
 

Video Guide: 

 

 

and on end of all, all credits for this guide is mine

FileEditor Credits Allengc

L2jeuropa project credits to vegax987

and i'm sorry for my bad english i hope u understand something :D 

this guide is for newbies please pro developers don't judge me :S :D 

Posted

PS / Server/ Installing HALO/ Lineage,exe... OP Machine? :D :D !!!

Plus... wonderfull music :)

Btw tanks for tutorial :)

its regular laptop :D this yellow icon is aim player not installing halo :D 

  • 7 months later...
  • 2 weeks later...
Posted

А shady как да ги направя тия нпц-та да ме удрят със соулшоти и да ми пускат фейм?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Posts

    • Server mid rate craft PvP   CLIENTE INTERLUDE Website server Discord olympus x25 &nbsp;server 🇧🇷🇦🇷🇨🇱🇬🇷🇲🇽🇵🇪🇸🇰🇪🇸🇺🇾 Server mid rate craft PvP 🔱CLIENTE INTERLUDE🔱 🔅xpx25 🔅Sp x25 🔅Adena x15 🔅Droop x2 🔅Spoil x2 🔅Raidboss xp x2 🔅Raidboss sp x2 🔅Raidboss droop x1 🔅All Rate quest reward  x1 ⚠️All Quest drop reward. x1 🔅Manor x 3 🔅Seal stone x1 🛡️🗡️INFO GRADO S🗡️🛡️ ⚠️Inicia desabilitado drop/spoil/quest. 🔱PROFESIONES/SUBCLASS🔱 🛡️1st profession - 50medal 🛡️2nd profession - 500 medal 🛡️3rd profession - 1k medal +30kk adena 🛡️Sub class - Quest. No necesita matar raids. ⚙️Configuraciones⚙️ 🛡️Gmshop  grade - B. 🛡️Grade A-S Craft - yes x1 chance 🛡️Globlal teleport - yes 🛡️Buffer 1hora. 🛡️Buffer slot 24(+4divine)+12 dances-song 🛡️Auto learn skils - yes 🛡️Autoloot - yes 🛡️Mana potion recarga 1000 ,9segundos delay. 🛡️Champions system:     ▫️lvl 30 - 76     ▫️chance respawn 0.5%.     ▫️adena x20 🛡️Max lvl party 14 lvl. 🛡️Festive sweeper on. 🛡️Max client pc 2. 🛡️Raid boss respawn retail. 🛡️Nobleza quest - yes. 🛡️Barakiel respawn 6 horas + -30 min. 🛡️Olimpiada duracion 14 dias. 🛡️Olimpiada de 18:00 a 00:00 🛡️Safe enchant +3 🛡️Normal enchant scroll 50% ⚠️+11-16 chance 30% 🛡️Bleesed enchant scroll 55% ⚠️+11-16 chance 35% 🛡️Rate dinamico x1 lvl 77-80   🛡️🗡️CLANES INFO🗡️🛡️ 🔅Crear clan min. level 20 🔅Max Alianzas 1 🔅Duracion penalidades clan / alianzas 8 horas. 🔅Cambio de lider 24 horas. 🛡️⚔️ ASEDIOS ⚔️🛡️ 🔅Cada 2 semanas. 🔅Proteccion hwid 1 pc. 🔅Clanes registrados. acceden a zona de asedio. 🔅Castillo asediable Aden. 🔅Reward 1000 FA 🔅Horario 16:00 GMT-3 🎊PACK DE INICIO🎊 🔅Start set - armor\weapon no grade. 🔅Level 20  - 5 shadow cuppon grado D 🔅Level 40 - 5 shadow cuppon grado C 🔅Free Autofarm 24 horas. 💰 INFO PREMIUM 💰 🔅Free autofarm. 🔅xp x30 🔅sp x30 🔅adena x17 🔅drop x4 🔅spoil x4 🔅enchant +2% 🔅seal stone x1 🔅Altb Gk-Gmshop/buffe ⚔️ RAID  BOSS INFO ⚔️ 🔅Raid boss 70 ++ respawn 5 días despues. 🔅Raid boss 75 ++ respawn 15 días despues 🔅Drop LETTER L2DAY para tradear en GMshop. ⚔️ INFO SEVEN SING ⚔️ 🔅Inicio del drop Seal stones dia 5 de iniciado el server. 🎊 EPIC RAID INFO 🎊 🔅Queen Ant (lvl 40)respawn Lunes a Viernes 22:00 GMT-3 drop chance 30%. 🔅Core (lvl 80)respawn Martes-miercoles 20:20 GMT-3 drop chance 100%. 🔅Orfen (lvl 80)respawn Martes-miercoles 21:00 GMT-3 drop chance 100%. 🔅Zaken (lvl 80)respawn Jueves 23:00 GMT-3 drop chance 100%. 🔅Frintezza (lvl 80)respawn Viernes 23:00 GMT-3 drop chance 100%. 🔅Baium (lvl 80)respawn Sabado 22:00 GMT-3 drop chance 100%. 🔅Valakas (lvl 80)respawn Domingo 20:00 GMT-3 drop chance 100%. 🔅Antharas (lvl 80)respawn Domingo 22:00 GMT-3 drop chance 100%.
    • The server is running in l2house.com.ar with C4 mode and in L2Tekila within the same login you can also test it in C5, if you want me to raise another chronicle to test, just let me know.
    • video nice song TopGear  gaming 1990    ....  
    • I have a system where Accounts are saved on login screen for fast login. I am playing a server where this feature is not on the logic screen. How I can try to add this feature to the system? I don't know what files I would have to touch.   Thanks!!
  • Topics

×
×
  • Create New...