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

    • someone ban again this piece of shit this guy is a virus we should make an antikara or karabytes
    • 🍂 The cost on Vibe-sms is dropping, like autumn leaves falling from the trees.     It’s a little sad to watch the last days of summer fade away with its warmth, but that’s how the world works  every season has its own rules. The same goes for our prices: they are gradually but steadily going down, opening up new opportunities and great deals. 💸   🌍 USA is already at the minimum, and Europe, Asia, and dozens of other countries will follow soon. Don’t miss out  fresh rates are waiting for you!   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms
    • You didn't tell me anywhere that you wanted core.jar as proof, I have everything ready for an independent developer to review. All the conversations, all your edits. I won't settle anything with you, so you can threaten me again and damage my name.
    • So what? Did i say anything wrong? You have no idea what source/compile is. I still wait for your .jar or source to be posted since you say i destroyed the compiled version of yours. Why you don't post it? Are you afraid that people will just see few addon lines and you did not even know that your source and compiled had different things? I should not even waste 2 minute to fix your raidboss_spawnlist thing.    Your mentally ill. What you posted is our primary deal nothing against me.  Because all he does is post whatever i write as if i hide and i did not say any mod to join and check my discord. i want him actual post something against me or any offenses i did. I also requested him several hours ago to post his .jar where my code "HACKED" his server but he wont post.    Nobody should allow open a random topic and cause issues to other's life without proofs. I demand punishment and soon unless he post evidence that i hurt his server or left him or did not make what he asked. 
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock