• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Problem with Npc

Tibia Rox

Member
Joined
Feb 4, 2009
Messages
1,181
Reaction score
9
Location
U.S.A
I get this error when I open the server:
242wyh4.jpg


Here's the npc:
Code:
<npc name="Ydyn" script="data/npc/scripts/default.lua" walkinterval="1750" floorchange="0" access="1" level="1" maglevel="1">
    <health now="275" max="275"/>
    <look type="130" head="39" body="125" legs="86" feet="48" corpse="2212"/>
    <parameters>
        <parameter key="module_shop" value="1" />
        <parameter key="shop_sellable" value="empty potion flask,7634,10;empty potion flask,7635,15;empty potion flask,7636,5;" />
        <parameter key="shop_buyable" value="spellbook,2175,250;blank rune,2260,10;destroy field rune,2261,50;ultimate healing rune,2273,75energy field rune,2277,35;energy wall rune,2279,105;poison field rune,2285,35;poison bomb rune,2286,150;light magic missile rune,2287,50;holy missile rune,2295,175;fire field rune,2301,35;fire wall rune,2303,105;fire bomb rune,2305,200;heavy magic missile rune,2311,70;mana potion,7620,25;strong mana potion,7589,50;great mana potion,7590,100;health potion,7618,25;strong health potion,7588,50;great health potion,7591,100;ultimate health potion,8473,250;great spirit potion,8472,250;" />

        <parameter key="message_farewell" value="Goodbye |PLAYERNAME|, goodluck on your journies and stay safe!  I'll always be here." />

        <parameter key="module_keywords" value="1" />
        <parameter key="keywords" value="job;magic;" />
        <parameter key="keyword_reply1" value=" {Magic}.  That's my job.  I specialize in {magic}, and I know nothing but {magic}.  Some say it's a good thing that I know nothing, but I give them one finger and walk off.  I'm pretty boring, so If you cant think of anything else to say, ask me to {trade}" />
        <parameter key="keyword_reply2" value="I'd love to sit here and tell you about magic, but I dont have any time!  Come back when there isn't a line." />
        </parameters>
    /parameters>
</npc>

Thanks in advance,
Tibia Rox
 
Didn't look if it had more errors:
Code:
<npc name="Ydyn" script="data/npc/scripts/default.lua" walkinterval="1750" floorchange="0" access="1" level="1" maglevel="1">
    <health now="275" max="275"/>
    <look type="130" head="39" body="125" legs="86" feet="48" corpse="2212"/>
    <parameters>
        <parameter key="module_shop" value="1" />
        <parameter key="shop_sellable" value="empty potion flask,7634,10;empty potion flask,7635,15;empty potion flask,7636,5;" />
        <parameter key="shop_buyable" value="spellbook,2175,250;blank rune,2260,10;destroy field rune,2261,50;ultimate healing rune,2273,75[B][COLOR="red"];[/COLOR][/B]energy field rune,2277,35;energy wall rune,2279,105;poison field rune,2285,35;poison bomb rune,2286,150;light magic missile rune,2287,50;holy missile rune,2295,175;fire field rune,2301,35;fire wall rune,2303,105;fire bomb rune,2305,200;heavy magic missile rune,2311,70;mana potion,7620,25;strong mana potion,7589,50;great mana potion,7590,100;health potion,7618,25;strong health potion,7588,50;great health potion,7591,100;ultimate health potion,8473,250;great spirit potion,8472,250;" />

        <parameter key="message_farewell" value="Goodbye |PLAYERNAME|, goodluck on your journies and stay safe!  I'll always be here." />

        <parameter key="module_keywords" value="1" />
        <parameter key="keywords" value="job;magic;" />
        <parameter key="keyword_reply1" value=" {Magic}.  That's my job.  I specialize in {magic}, and I know nothing but {magic}.  Some say it's a good thing that I know nothing, but I give them one finger and walk off.  I'm pretty boring, so If you cant think of anything else to say, ask me to {trade}" />
        <parameter key="keyword_reply2" value="I'd love to sit here and tell you about magic, but I dont have any time!  Come back when there isn't a line." />
        </parameters>
    /parameters>
</npc>
 
Try this line of config:
Code:
<parameter key="shop_buyable" value="spellbook,2175,1,250;blank rune,2260,1,10;destroy field rune,2261,1,50;ultimate healing rune,2273,1,75;energy field rune,2277,1,35;energy wall rune,2279,1,105;poison field rune,2285,1,35;poison bomb rune,2286,1,150;light magic missile rune,2287,1,50;holy missile rune,2295,1,175;fire field rune,2301,1,35;fire wall rune,2303,1,105;fire bomb rune,2305,1,200;heavy magic missile rune,2311,1,70;mana potion,7620,1,25;strong mana potion,7589,1,50;great mana potion,7590,1,100;health potion,7618,1,25;strong health potion,7588,1,50;great health potion,7591,1,100;ultimate health potion,8473,1,250;great spirit potion,8472,1,250" />
 
Try this line of config:
Code:
<parameter key="shop_buyable" value="spellbook,2175,1,250;blank rune,2260,1,10;destroy field rune,2261,1,50;ultimate healing rune,2273,1,75;energy field rune,2277,1,35;energy wall rune,2279,1,105;poison field rune,2285,1,35;poison bomb rune,2286,1,150;light magic missile rune,2287,1,50;holy missile rune,2295,1,175;fire field rune,2301,1,35;fire wall rune,2303,1,105;fire bomb rune,2305,1,200;heavy magic missile rune,2311,1,70;mana potion,7620,1,25;strong mana potion,7589,1,50;great mana potion,7590,1,100;health potion,7618,1,25;strong health potion,7588,1,50;great health potion,7591,1,100;ultimate health potion,8473,1,250;great spirit potion,8472,1,250" />

Hmm, it works. What was the problem?
 
Back
Top