Jump to content

Question

Posted

hi guys i have downloaded the last recision of acis i found some npcs but i cant pass them on the server.. it shows me when i press //spawn 104 e.g Applicant information is incorrect 

what am i doing wrong?

 

<npc id="104" idTemplate="9004" name="Runia" title="">
        <set name="usingServerSideName" val="true"/>
        <set name="usingServerSideTitle" val="true"/>
        <set name="level" val="70"/>
        <set name="radius" val="7"/>
        <set name="height" val="22"/>
        <set name="rHand" val="0"/>
        <set name="lHand" val="0"/>
        <set name="type" val="L2Npc"/>
        <set name="exp" val="0"/>
        <set name="sp" val="0"/>
        <set name="hp" val="2444"/>
        <set name="mp" val="1345"/>
        <set name="hpRegen" val="7.5"/>
        <set name="mpRegen" val="2.7"/>
        <set name="pAtk" val="688"/>
        <set name="pDef" val="8950"/>
        <set name="mAtk" val="470"/>
        <set name="mDef" val="8160"/>
        <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="80"/>
        <set name="runSpd" val="120"/>
        <set name="dropHerbGroup" val="0"/>
        <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="7"/>
        </skills>
    </npc>

Recommended Posts

  • 0
Posted
8 minutes ago, NamOnus said:

@KejbL no i dont see white rabbit.. but when i write //spawn 104  in game write me these... Applicant information is incorrect

try set for npc :

<set name="type" val="Merchant"/>
and RR server, later write //spawn 104

  • 0
Posted

@KejbL try set for npc :

<set name="type" val="Merchant"/>
and RR server, later write //spawn 104 

 

i change it man to Merchant and i RR the server now when i write //spawn 104  i see white rabbit

  • 0
Posted (edited)
6 hours ago, NamOnus said:

@KejbL try set for npc :

<set name="type" val="Merchant"/>
and RR server, later write //spawn 104 

 

i change it man to Merchant and i RR the server now when i write //spawn 104  i see white rabbit

now add line for npcgrp with this npc id + client side files for this NPC and all work 😉

but u need add 2 npc line bcs use

<npc id="104" idTemplate="9004" name="Runia" title="">

need add line for 9004 npc 

Edited by KejbL
  • 0
Posted (edited)

It did throw an error, simply read your console properly. L2Npc has to be replaced by Npc or by Folk (immortal Npc).

 

Also use the dedicated custom npc range, which begins at 50000-50999.

Edited by Tryskell
  • 0
Posted

idTemplate refers to npcgrp id. So either remove idTemplate completely or change npcgrp id to 9004.

Type should be Folk.

 

Try this:

 

<npc id="104" name="Runia" title="">
        <set name="usingServerSideName" val="true"/>
        <set name="usingServerSideTitle" val="true"/>
        <set name="level" val="70"/>
        <set name="radius" val="7"/>
        <set name="height" val="22"/>
        <set name="rHand" val="0"/>
        <set name="lHand" val="0"/>
        <set name="type" val="Folk"/>
        <set name="exp" val="0"/>
        <set name="sp" val="0"/>
        <set name="hp" val="2444"/>
        <set name="mp" val="1345"/>
        <set name="hpRegen" val="7.5"/>
        <set name="mpRegen" val="2.7"/>
        <set name="pAtk" val="688"/>
        <set name="pDef" val="8950"/>
        <set name="mAtk" val="470"/>
        <set name="mDef" val="8160"/>
        <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="80"/>
        <set name="runSpd" val="120"/>
        <set name="dropHerbGroup" val="0"/>
        <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="7"/>
        </skills>
    </npc>

 

  • 0
Posted

Simply copy-paste whatever Npc you want to clone, put the original idTemplate to refer to that visual, edit the id to be a unused custom npcId, put usingServerSideName / usingServerSideTitle and you're done.

  • 0
Posted
2 hours ago, NamOnus said:

any help with this error guys ? acis401 sources @Tryskell

erroracisgameserver.png

 

Did you change any SQL query at the source code? or are you sure that the credentials of your database user and your database name are correct?

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
Answer this question...

×   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.



×
×
  • Create New...