Jump to content
  • 0

Create Npc Acis.


Question

Posted

I tried to install a buffer on my server,i added and replaced everything correct (i guess..) but when i spawn it it says smth like : applicant incorrect.

And my buffer id is 9001 while the first xml is 12000,

so i in wich xml in npcs folder do i have to add it?

6 answers to this question

Recommended Posts

  • 0
Posted (edited)

Copy the template you want.

Paste it on the latest XML (50000-50999).

Add idTemplate / edit the type and the npcId.

You're done.

 

In case you use latest revision, don't forget following if you want custom title and name.

		<set name="usingServerSideName" val="true"/>
		<set name="usingServerSideTitle" val="true"/>
Edited by Tryskell
  • 0
Posted

Copy the template you want.

Paste it on the latest XML (50000-50999).

Add idTemplate / edit the type and the npcId.

You're done.

 

In case you use latest revision, don't forget following if you want custom title and name.

 

<set name="usingServerSideName" val="true"/>
		<set name="usingServerSideTitle" val="true"/>

By template you mean the npc's text to add in xml?

What should i make on type and npcid?Thnks for your fast response.

  • 0
Posted

Just take a look at npcs

Always starts with tags

<npc id name title

 

And ends

</npc>

Just copy paste the text and change to your id like 50030 and use template id radius and height from any npc you want

  • 0
Posted (edited)

Just take a look at npcs

Always starts with tags

<npc id name title

 

And ends

</npc>

Just copy paste the text and change to your id like 50030 and use template id radius and height from any npc you want

did this and yet same error while spawning,and i don't see any java side error also,since i installed in on my core without error and compilded it :/ here is my xml

 

<npc id="50009" idTemplate="30519" name="Buffer" title=>
                <set name="level" val="70"/>
                <set name="radius" val="7"/>
                <set name="height" val="18"/>
                <set name="rHand" val="0"/>
                <set name="lHand" val="5802"/>
                <set name="type" val="L2Buffer"/>
                <set name="exp" val="0"/>
                <set name="sp" val="0"/>
                <set name="hp" val="2444.46819"/>
                <set name="mp" val="1345.8"/>
                <set name="hpRegen" val="7.5"/>
                <set name="mpRegen" val="2.7"/>
                <set name="pAtk" val="688.86373"/>
                <set name="pDef" val="295.91597"/>
                <set name="mAtk" val="470.40463"/>
                <set name="mDef" val="216.53847"/>
                <set name="crit" val="4"/>
                <set name="atkSpd" val="253"/>
                <set name="str" val="40"/>
                <set name="int" val="21"/>
                <set name="dex" val="30"/>
                <set name="wit" val="20"/>
                <set name="con" val="43"/>
                <set name="men" val="20"/>
                <set name="corpseTime" val="7"/>
                <set name="walkSpd" val="50"/>
                <set name="runSpd" val="120"/>
                <set name="dropHerbGroup" val="0"/>
                <set name="attackRange" val="40"/>
               <ai type="default" ssCount="0" ssRate="0" spsCount="0" spsRate="0" aggro="0" canMove="true" seedable="false"/>
               <skills>
                       <skill id="4045" level="1"/>
                       <skill id="4416" level="14"/>
              </skills>
      </npc>

i added this xml as the last one on file 50000-50099,but yet still same error

Edited by idijot
  • 0
Posted (edited)

Read th code you installed the buffer too and use the name from the instance in your npc type if is L2BuffInstance you have to put L2Buff in your npc type..

About htmls search the code there is a direction to your folder..

Search in instance like data/html/mpla mpla

Edited by Reborn12
  • Thanks 1

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

    • 🏰 Clan Donations System – Power Through Unity This system allows clan members to support their clan directly through donations, turning contribution into strength.   How it works: Every donation made by a clan member is automatically listed in the clan donation panel. Each donation is permanently linked to the clan — no loss, no reset. The Clan Leader manages rewards manually for full transparency.   🎁 Clan Donation Rewards For every donation: The clan receives 5% Real Money or 10% Donate Coins (Leader chooses how the reward is given)   📌 After the reward is delivered, the donation is marked as PAID in the system. 🧾 Full Transparency Player name Donation amount Reward value (Real / Donate Coins) Date & status (Pending / Paid)   Everything is visible. Everything is tracked. Nothing is forgotten.   ⚔️ Support your clan. Strengthen your alliance. Power is built — not given.   https://www.l2dead.com/ https://discord.gg/TGnATuZmdt
    • up  corrected some retail crashes and hooked some new memory adresses that were missing  fix some missing retail behaviors on some recipes , you can also get the server as c4 with fixed scripts fully retail  what has been done to the c4  ( client is already configured) totally fixed npcposes  totally fixed raidbosses and minions bugged quests are fixed (known) a lot of recipes that were wrong  wrong values in several stats and corrected hero weapons behaviors/atk range
    • ποιο ειναι αρχαιο ακριβως? εκανες τον κοπο να ανοιξεις τα λινκς που εστειλα? 
    • Rates: xp45x / sp50x / adena50x (all adena is divided by 100/all shops prices too) Server: Full Official interlude server  with custom modifications Gameplay: l2Gold weapons - jewels, Buffs 1 hour, rebirth, No class change quests, increased movement speed on all classes   Download patch here: https://mega.nz/file/oZdG2KTa#1uTYSyEkNQV9U0Zxj-KLDE88mLj4pzQJZSYs2k3tpzo   Our server is waiting for all Lineage 2 fans who want to relive the good old days. This server is non-profit and fully dedicated to the community. There is no corruption, no pay-to-win, and no hidden agendas—just pure classic L2 fun.
  • 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..