Serginov
Onkonkoronkonk
My NPC is crashing my server when i spawn it :/ And i really need it for a quest..
Could someone check what is wrong with the script? This is my first NPC in this NPC system
Thanks in advance
Could someone check what is wrong with the script? This is my first NPC in this NPC system
PHP:
<?xml version="1.0"?>
<npc name="Henricus" walkinterval="4000" floorchange="0">
<health now="150" max="150"/>
<look type="132" head="79" body="0" legs="96" feet="0" addons="0"/>
<interaction range="3" idletime="0" defaultpublic="0">
<interact keywords="hi" focus="1">
<!--These are the alternative keywords-->
<keywords>hello</keywords>
<response text="Greetings, fellow believer |NAME|!"/>
</interact>
<interact keywords="bye" focus="0">
<keywords>farewell</keywords>
<response text="Good bye |NAME|!">
<!--
<action name="script">
doRemoveCreature(getNpcCid());
</action>
-->
</response>
</interact>
<interact event="onPlayerLeave" focus="0">
<response text="Come back when you are ready to fight evil."/>
</interact>
<interact keywords="inquisition" storageId="21899" storageValue="0" storageComp="less">
<response text="Do you want to join the Inquisition?">
<interact keywords="yes">
<response text="So be it. Now you are a member of the inquisition. You might ask me for a mission to raise in my esteem.">
<action name="storage" key="21899" value="1"/>
</response>
</interact>
</response>
</interact>
<interact keywords="mission" storageId="21901" storageValue="1" storageComp="equal">
<response text="I got a mission for you. Do you want to hear about it?">
<interact keywords="yes">
<response text="This will be your first mission. Head to the hero cave outside Edron and kill Ungreez. Then report to me about your mission.">
<action name="storage" key="21901" value="1"/>
</response>
</interact>
</response>
</interact>
<interact keywords="mission" storageId="21902" storageValue="1" storageComp="equal">
<response text="Excellent! You managed to kill Ungreez!">
<action name="storage" key="21902" value="1"/>
</response>
</interact>
<interact keywords="mission" storageId="21903" storageValue="1" storageComp="equal">
<response text="I got a mission for you. Do you want to hear about it?">
<interact keywords="yes">
<response text="This mission are very dangerous and you need to bring a big team. Head to the Demon Forge outside Edron deeper inside the hero cave. You must have touched at least one throne in the Pits of Inferno to pass the door behind the warlock. When you have killed all the 7 minions report back about your mission to me.">
<action name="storage" key="21903" value="1"/>
</response>
</interact>
</response>
</interact>
</interaction>
</npc>
Thanks in advance