Jump to content

Question

Posted

Hello everyone, 

 

I'm trying to add a custom npc and it keeps saying applicant information is incorrect...

 


<npc id="50009" idTemplate="30952" name="Gatekeeper" title="Global">
        <set name="level" val="70"/>
        <set name="radius" val="7"/>
        <set name="height" val="35"/>
        <set name="rHand" val="0"/>
        <set name="lHand" val="0"/>
        <set name="type" val="L2Teleporter"/>
        <set name="usingServerSideName" val="true"/>
        <set name="usingServerSideTitle" val="true"/>
        <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="19"/>
        </skills>
    </npc>

 

Whenever i change 

 <set name="type" val="L2Teleporter"/>

to

 <set name="type" val="Teleporter"/>

i cant see the npc and the html but i cant go to the locations

13 answers to this question

Recommended Posts

  • 0
Posted (edited)

Your Buffer have type SchemeBuffer, so your rev is 367+, so you should use type as Gatekeeper and not L2Teleporter. 

Take a look on instances and make your npcs.

 

It should look like this: Copy and paste it.

        <npc id="50009" idTemplate="30952" name="Global Gatekeeper" title="Portal">
        <set name="usingServerSideName" val="true"/>
        <set name="usingServerSideTitle" val="true"/>
        <set name="level" val="70"/>
        <set name="radius" val="7"/>
        <set name="height" val="35"/>
        <set name="rHand" val="0"/>
        <set name="lHand" val="0"/>
        <set name="type" val="Gatekeeper"/>
        <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"/>
        <skills>
            <skill id="4045" level="1"/>
            <skill id="4416" level="18"/>
        </skills>
    </npc>

Edited by 'Baggos'
  • Upvote 1
  • 0
Posted
9 minutes ago, andrepain said:

Hello everyone, 

 

I'm trying to add a custom npc and it keeps saying applicant information is incorrect...

 

 

 

 

Whenever i change 

 


 <set name="type" val="L2Teleporter"/>

 

to

 


 <set name="type" val="Teleporter"/>

 

i cant see the npc and the html but i cant go to the locations

 

Why would you want to do that? Leave it L2Teleporter.

  • 0
Posted
1 minute ago, Solomun said:

 

Why would you want to do that? Leave it L2Teleporter.

Because when it leave it L2Teleporter i get this message when trying to //spawn "applicant information is incorrect"

  • 0
Posted
2 minutes ago, andrepain said:

 

data\xml\npcs\50000-50999.xml

Do you get any console errors or wanings?

 

Dont npc XML files increase by 100? Your file is named 50999 instead of 50099. Maybe this is the problem.

  • 0
Posted
3 minutes ago, Solomun said:

Do you get any console errors or wanings?

 

Dont npc XML files increase by 100? Your file is named 50999 instead of 50099. Maybe this is the problem.

I've changed the file to name to 50000-50099 but keeps the same error...  and no i dont get any console errors or warning when i do //spawn 50009

  • 0
Posted
6 minutes ago, andrepain said:

I've changed the file to name to 50000-50099 but keeps the same error...  and no i dont get any console errors or warning when i do //spawn 50009

Do you have NPC with id 50008? If yes, can u spawn it?

  • 0
Posted
1 minute ago, Solomun said:

Do you have NPC with id 50008? If yes, can u spawn it?

yes i do 


<npc id="50008" idTemplate="30519" name="Tryskell" title="Crappy Buffer">
        <set name="usingServerSideName" val="true"/>
        <set name="usingServerSideTitle" val="true"/>
        <set name="level" val="70"/>
        <set name="radius" val="7"/>
        <set name="height" val="18"/>
        <set name="rHand" val="0"/>
        <set name="lHand" val="0"/>
        <set name="type" val="SchemeBuffer"/>
        <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"/>
        <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="18"/>
        </skills>
    </npc>

 

And i can spawn it 

  • 0
Posted

If you can see the npc and the html but you cant teleport, the bypass is wrong for the specific instance

  • 0
Posted (edited)

<set name="type" val="Gatekeeper"/>

then you get the id <npc id="51001" .... >

you go and create a file html/teleporter/51001.htm

 

and you add something like:

<html>
<body>
    <table width="300">
        <tr>
            <td align="center">
                <font color="FF9900">
                    Gatekeeper Belladonna
                </font>
                <img src="L2UI.SquareWhite" width="300" height="1"><br>
            </td>
        </tr>
        <tr>
            <td align="center">
                <table width="300">
                    <tr>
                        <td width="38">
                            <a action="bypass -h npc_%objectId%_Chat 1">
                                Towns
                            </a>
                        </td>
                        <td>
                            <a action="bypass -h npc_%objectId%_Chat 2">
                                Low lvl zones
                            </a>
                        </td>
                        <td>
                            <font color="FF9900">
                                [High lvl zones]
                            </font>
                        </td>
                        <td>
                            <a action="bypass -h npc_%objectId%_Chat 3">
                                Other Zones
                            </a>
                        </td>
                    </tr>
                </table><br>
                <img src="L2UI.SquareWhite" width="300" height="1"><br>
                <table width="320">
                    <tr>
                        <td width="75">
                            The Cemetary:
                        </td>
                        <td width="75">
                            <table>
                                <tr>
                                    <td width="10">
                                        <a action="bypass -h npc_%objectId%_goto 11033">
                                            1
                                        </a>
                                    </td>
                                    <td>
                                        <a action="bypass -h npc_%objectId%_goto 11034">
                                            2
                                        </a>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td width="75">
                            [49-55]
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <a action="bypass -h npc_%objectId%_goto 11035">
                                Blazing Swamp
                            </a>
                        </td>
                        <td>
                            
                        </td>
                        <td>
                            [55-65]
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Antharas' Lair:
                        </td>
                        <td>
                            <table>
                                <tr>
                                    <td width="10">
                                        <a action="bypass -h npc_%objectId%_goto 11036">
                                            1
                                        </a>
                                    </td>
                                    <td>
                                        <a action="bypass -h npc_%objectId%_goto 11037">
                                            2
                                        </a>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td>
                            [65-73]
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Imperial Tomb:
                        </td>
                        <td>
                            <table>
                                <tr>
                                    <td width="10">
                                        <a action="bypass -h npc_%objectId%_goto 11038">
                                            1
                                        </a>
                                    </td>
                                    <td>
                                        <a action="bypass -h npc_%objectId%_goto 11039">
                                            2
                                        </a>
                                    </td>
                                    <td>
                                        <a action="bypass -h npc_%objectId%_goto 11040">
                                            3
                                        </a>
                                    </td>
                                    <td>
                                        <a action="bypass -h npc_%objectId%_goto 11041">
                                            4
                                        </a>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td>
                            [70-76]
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <a action="bypass -h npc_%objectId%_goto 11042">
                                Varka Silenos Outpost
                            </a>
                        </td>
                        <td>
                            
                        </td>
                        <td>
                            [70-76]
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Tower of Insolence:
                        </td>
                        <td>
                            <table>
                                <tr>
                                    <td width="10">
                                        <a action="bypass -h npc_%objectId%_goto 11043">
                                            8
                                        </a>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td>
                            [70-75]
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Forge of the Gods:
                        </td>
                        <td>
                            <table>
                                <tr>
                                    <td width="10">
                                        <a action="bypass -h npc_%objectId%_goto 12012">
                                            1
                                        </a>
                                    </td>
                                    <td>
                                        <a action="bypass -h npc_%objectId%_goto 12013">
                                            2
                                        </a>
                                    </td>
                                    <td>
                                        <a action="bypass -h npc_%objectId%_goto 12010">
                                            3
                                        </a>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td>
                            [72-85]
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <a action="bypass -h npc_%objectId%_goto 11044">
                                Elven Fortress
                            </a>
                        </td>
                        <td>
                            (Mantra Farm)
                        </td>
                        <td>
                            [72-78]
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <a action="bypass -h npc_%objectId%_goto 11045">
                                Elven Ruins
                            </a>
                        </td>
                        <td>
                            (Party Zone)
                        </td>
                        <td>
                            [72-78]
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</body>
</html>

where chat 1 is 51001-1.htm and so on, where goto is id on teleportLocations.xml

Edited by Nightw0lf
  • 0
Posted

When it says information incorrect that means the npc was not loaded, aka you typed the instance name that does not exists, inside sources.

If npc is loaded correctly and bypass do not work, that means the location ID does not exists or the instance type is wrong aka does not recognize the bypass. 

Guest
This topic is now closed to further replies.
  • Posts

    • Hi everyone, Since I’m no longer interested in L2 servers, if anyone is willing to continue the project, let me know. I’m currently selling the entire project. DM me for more information if you’re genuinely interested. I can offer limited free support for the first couple of months. It is not cheap. The sale includes the domain, the recently fully redesigned website, the updater, the interface, server files with Lucera ext source, and the database (excluding account passwords, emails, and other private information; character data can remain).   Server for test: https://lineage2.gold/download Server Info: https://lineage2.gold/info Over 110 videos YouTube playlist: https://www.youtube.com/watch?v=HO7BZaxUv2U&list=PLD9WZ0Nj-zstZaYeWxAxTKbX7ia2M_DUu&index=113  
    • You invent yourself a life - bad for you, one of the inner core dev, fernandopm, which worked hard over aCis quests from 2011 to 2016 is argentinian. I teached him back in time to work and make proper quests. My dev team comes from 10+ countries and I'm myself french. "Racist/nationalist" card ? Not working bro.   Not sure why I should thank you to send me questions, and regarding bug reports, so far, I got none of yours in either discord, gitlab, or forums. I'm sorry if you feel "ignored", but that's more a psychanalyst you need to speak with if you put emotions towards someones' appreciation over a forum. I never ignore a bug report, and if so (like skills reports), it's because I got a bigger plan (skills refactor, in that case). In any case, I delivered cookies for the bug report/fix, even if it dated of months, with proper credits over changesets. "Victim card" ? Not really working, but ok, maybe you're "emotional".   I barely make money out of aCis, for the spent time - simply selling my services, or even coding/administrating a minecraft/L2J server would make far more money. Breaking intentionally things would be stupid. If you don't understand I'm not the only one working on that pack, I can't help you. Also, the scale of edits is sometimes extreme - AI L2OFF ? 1800 files added. How do you want everything works in a single shot ? "Exploiting noobz for money" card ? Still not working, or I'm a terrible businessman.   Meanwhile - you shadow advertise your project, L2JOne (since 2017 btw) - you should maybe start by the beginning saying you're a competitor and aCis is actually a spike in your foot. That also explains why you act like that. RusAcis got the exact same strategy, speaking bad of me, saying they got unique fixes (you speak about I break things, they break and recode things 4 times sometimes, btw), but successfully reselling latest revision with poorly executed stuff. "aCis is good, Tryskell is ok, but I solve all issues in extreme low time so I can piss over him" card ? Mmmmhhhh.   Our conversation ends here if you want, I don't force ppl to speak with me if they don't want - hopefully, people would understand I'm not the arrogant one and the one who doesn't want to talk, or even collaborate. :). I understand you got your own project and got no will to improve aCis.   NOTE : I'm extremely happy for your call of ExShowServerPrimitive with getValidGeoLocation, extremely impressive. Arrogant, no. Sarcastic ? Maybe.   Good night everyone.
  • 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..

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