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'
  • 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 (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

    • Update M54: Global HP/MP/CP consumable handling expanded beyond combat-only usage. Offensive mage idle recovery with learned skill Battle Heal. Spellhowler/Storm Screamer prioritizes Hurricane, using Vampiric Claw mostly below 90% HP. Major structural refactor initialized: Added category/class organization such as Archer, Dagger, Tank, Mage, Healer, Support and Specialized class files. Further structural cleanup. Extracted combat memory/state and more class-policy logic from the main controller. Added global stuck/inactivity watchdog for bots blocked by terrain/geodata. Added unreachable dropped ground-item timeout/temporary blacklist. Reworked Necromancer/Soultaker PvP: Dominator level 78+ maintains learned Arcane Power toggle on. Overlord/Dominator level 44+ maintains learned Soul Guard toggle automatically. Stability/scalability update: Bot controller ticks staggered instead of all starting in the same phase: Same 350 ms update rate retained Reduces simultaneous AI workload bursts. Removed the old manual aggressive-monster EVT_AGGRESSION bridge. Phantoms now use native Lucera setActive() behavior so monsters aggro them naturally. Reduced unnecessary NPC scans and native AI event pressure. Added saved-bot equipment overrides using a separate database table:         lucera_autobots_items Existing lucera_autobots remains the main saved-bot identity/state table. Equipment rows are linked to saved bots through bot_id. Added optional convenience view to show bot name together with equipment overrides:         lucera_autobots_items_view Added editable equipment slots in columns: Weapon Shield Helmet Chest Legs Gloves Boots Necklace Left/Right Earrings Left/Right Rings Equipment override values: 0 = use normal class/level profile item -1 = force slot empty >0 = equip that Item ID Custom equipment works only for saved database bots. Default class/level equipment profiles remain unchanged. Supports custom equipment from No Grade to S Grade, regardless of the bot's current level. Added validation for invalid item IDs and incompatible equipment slots. Added handling for: Two-handed weapons vs shields Full-body armor vs separate leggings Added all-grade Soulshots and Spiritshots to bot inventory/replenishment so custom lower-grade weapons still use the correct shots. Mage profiles that already use Blessed Spiritshots keep that behavior with all relevant grades available. First save the bot normally so it exists in table:         lucera_autobots Then open:         lucera_autobots_items Find the row with the same bot_id and edit only the equipment slots you want. Example: weapon_id = 6608 shield_id = -1 helmet_id = 0 chest_id = 0 legs_id = 0 gloves_id = 0 boots_id = 0 This means: weapon_id 6608 → custom weapon shield_id -1 → no shield all 0 values → keep normal default profile equipment After editing the DB, despawn and respawn the saved bot so M54 reloads its equipment overrides. Do not edit bot_id. Use it only to identify which saved bot the equipment row belongs to.   DOWNLOAD
    • It will be multi client so it will detect the client from the files and adapt the packets and asset loading. I am aiming for C4 and H5 after IL
    • this is just to simplify your life, time, and can be done for free by yourself just watch some tutorials, in case you don't wanna waste time check it out!   https://l2getwork.art   https://l2getwork.art/showcase.html  
    • Good job! Any chance for it to be downgradeable or at least compatible with older chronicles?
    • Fermata now runs in a web browser too. Try it here: https://web.fermata.gg/    
  • 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..