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 как да ги направя тия нпц-та да ме удрят със соулшоти и да ми пускат фейм?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • Thank you for your feedback. To help me improve the system, please leave your comments or report any bugs. I will try to release weekly updates. 
    • Thank you for your feedback, SkyLord — even the negative kind.   Let me give you some context on who we actually are, since you asked. L2-Scripts has been around for nearly 20 years. Over that time, we've worked with a large number of developers — I've personally seen probably half of every serious (and not-so-serious) developer in this scene. The most significant figure in our studio's history was Bonux. Together with a small team of assistants, he was essentially the backbone of our old codebase, and we were the ones who brought virtually every chronicle to the community — Essence, Classic, Main — all of it came through us.   Back then, we worked at scale. That era is over. Today, L2-Scripts is no longer a studio in the traditional sense. It's more of a developer collective. I work alongside the best developers I've encountered in 20 years. Bonux is still with us on Classic. A new developer named Den has joined — in just 3 years he became one of the top Essence developers in the world. Every one of us works independently, but we're united by long-standing friendships and shared projects.   We no longer chase every chronicle or every client. For the past several years, we've been focused exclusively on specific long-term projects where we're paid a proper salary — and when you focus like that, with 20 years of experience behind you, the quality of what you produce is on a completely different level. Our code is currently running on nearly all top Essence and Classic servers. We're now bringing Main (Last Protocol) up to that same standard.   You mentioned Nexvil. Yes, he worked with us. That was a difficult period — the lead developer at the time was not up to the standard we hold ourselves to. It was a short period, and it's long behind us.   As for the prices — I'd ask you not to judge a product by whether you personally can afford it. That's not a fair measure of value. The people running top-tier servers understand what they're paying for. If our pricing doesn't fit your budget, that's completely fine — but downvoting a service simply because it feels expensive to you doesn't reflect well, and it certainly doesn't make the product worse.   A special thank you to eMommy and Zenith for the honest and fair words — it genuinely means a lot. It's good to know there are people in this community who judge things as they are.
    • Just because someone does professional sales doesn’t mean everything is overpriced. If the products he provides are stable and good quality, then I see nothing wrong with it, and those prices aren’t even bad. Remember, we’re living in 2026, not 10 years in the past. Your mindset is probably stuck on buying the cheapest products because maybe you can’t afford better ones. And of course, there’s always someone who likes blaming others. I think you should mind your own business instead of blaming someone for how they run theirs. If you really think his prices are too expensive, then do better than him.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..