andrepain Posted August 20, 2018 Posted August 20, 2018 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
0 'Baggos' Posted August 21, 2018 Posted August 21, 2018 (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 August 21, 2018 by 'Baggos' 1
0 Solomun Posted August 20, 2018 Posted August 20, 2018 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 andrepain Posted August 20, 2018 Author Posted August 20, 2018 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 andrepain Posted August 20, 2018 Author Posted August 20, 2018 3 minutes ago, Solomun said: In which file did you add it? data\xml\npcs\50000-50999.xml
0 Solomun Posted August 20, 2018 Posted August 20, 2018 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 andrepain Posted August 20, 2018 Author Posted August 20, 2018 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 Solomun Posted August 20, 2018 Posted August 20, 2018 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 andrepain Posted August 20, 2018 Author Posted August 20, 2018 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 melron Posted August 21, 2018 Posted August 21, 2018 If you can see the npc and the html but you cant teleport, the bypass is wrong for the specific instance
0 Nightw0lf Posted August 21, 2018 Posted August 21, 2018 (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 August 21, 2018 by Nightw0lf
0 SweeTs Posted August 21, 2018 Posted August 21, 2018 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.
0 andrepain Posted August 22, 2018 Author Posted August 22, 2018 Thank you all for helping got it fixed with baggos answer :D thankss
Question
andrepain
Hello everyone,
I'm trying to add a custom npc and it keeps saying applicant information is incorrect...
Whenever i change
to
i cant see the npc and the html but i cant go to the locations
13 answers to this question
Recommended Posts