• 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!

Parameter (s) missing for item

Ziggy

Member
Joined
Aug 11, 2007
Messages
49
Reaction score
6
what does this mean?

[25/11/2010 21:50:08] > Map loading time: 1.89 seconds.
[25/11/2010 21:50:08] [Warning] NpcSystem:
[25/11/2010 21:50:08] SubType missing for parameter item:
[25/11/2010 21:50:08] bucket,2005,4
[25/11/2010 21:50:08] [Warning] NpcSystem:
[25/11/2010 21:50:08] Parameter(s) missing for item:
[25/11/2010 21:50:08]


[25/11/2010 21:50:08] [Warning] NpcSystem:
[25/11/2010 21:50:08] Parameter(s) missing for item:
[25/11/2010 21:50:08]


[25/11/2010 21:50:08] [Warning] NpcSystem:
[25/11/2010 21:50:08] SubType missing for parameter item:
[25/11/2010 21:50:08] green flask,2009,5
[25/11/2010 21:50:08] [Warning] NpcSystem:
[25/11/2010 21:50:08] Parameter(s) missing for item:
[25/11/2010 21:50:08]


[25/11/2010 21:50:08] [Warning] NpcSystem:
[25/11/2010 21:50:08] Parameter(s) missing for item:
[25/11/2010 21:50:08]


[25/11/2010 21:50:08] > Data parsing time: 0.25 seconds.
 
I did that, but Im still getting these two errors

Code:
[25/11/2010 23:20:50] [Warning] NpcSystem:
[25/11/2010 23:20:50] Parameter(s) missing for item:
[25/11/2010 23:20:50]    


[25/11/2010 23:20:50] [Warning] NpcSystem:
[25/11/2010 23:20:50] Parameter(s) missing for item:
[25/11/2010 23:20:50]

Here is the npc that causes those problems

Ashvale General Shopkeeper.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Raddra" script="data/npc/scripts/citizen2.lua" walkinterval="2000" floorchange="0">
    <health now="150" max="150"/>
    <look type="128" head="135" body="15" legs="10" feet="125" addons="2" corpse="2212"/>
    <parameters>
        <parameter key="module_shop" value="1"/>
        <parameter key="shop_sellable" value="
		fishing rod,2580,40;
		rope,2120,15;
		shovel,2554,8;
		watch,2036,6;
		sickle,2405,3;
		scythe,2550,10;
		pick,2553,15;
		mirror,2560,10;
		inkwell,2600,8;
		crowbar,2416,50;
		trap,2578,75;
		"/>
        <parameter key="shop_buyable" value="
		backpack,1998,20;
		bag,1991,5;
		fishing rod,2580,150;
		rope,2120,50;
		scroll,1949,5;
		scythe,2550,50;
		shovel,2554,50;
		torch,2050,2;
		worm,3976,1;
		basket,1989,6;
		lamp,2044,8;
		candlestick,2047,2;
		watch,2036,20;
		pick,2553,50;
		crowbar,2416,260;
		trap,2578,280;
		bottle,2007,4,0;
		"/>
        <parameter key="message_greet" value="Hello |PLAYERNAME|. Take a look at my wares, I have much to {offer}."/>
        <parameter key="message_sendtrade" value="Go ahead and have a look at the list!"/>
        <parameter key="message_oncloseshop" value="I hope you found what you wanted! Come back again!"/>
    </parameters>
</npc>

I deduced it was this npc by putting all the npcs in a separate folder so that the server wouldnt load them and when I loaded this npc, I got these two errors, all the other npcs are fine.

actually this npc

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Kaneye" script="citizen2.lua" access="3" walkinterval="2000" floorchange="0">
    <health now="150" max="150"/>
    <look type="128" head="80" body="60" legs="20" feet="0" addons="2" corpse="2212"/>
    <parameters>
        <parameter key="module_shop" value="1"/>
        <parameter key="shop_sellable" value="
		bread,2689,1;
		carrot,2684,1;
		cheese,2696,2;
		cherry,2679,1;
		egg,2695,1;
		ham,2671,4;
		meat,2666,2;
		salmon,2668,2;
		"/>
        <parameter key="shop_buyable" value="
		bread,2689,3;
		cheese,2696,5;
		egg,2695,2;
		party cake,6280,50;
		ham,2671,8;
		meat,2666,5;
		"/>
        <parameter key="message_greet" value="Hello |PLAYERNAME|. Take a look at my wares, I have much to {offer}."/>
        <parameter key="message_sendtrade" value="Go ahead and have a look at the list!"/>
        <parameter key="message_oncloseshop" value="I hope you found what you wanted! Come back again!"/>
    </parameters>
</npc>

and this npc

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Tuvo" script="citizen1.lua" walkinterval="2000" floorchange="0">
    <health now="150" max="150"/>
    <look type="128" head="115" body="95" legs="100" feet="28" addons="1" corpse="2212"/>
    <parameters>
        <parameter key="module_shop" value="1"/>
        <parameter key="shop_sellable" value="
		fishing rod,2580,30;
		rope,2120,8;
		shovel,2554,2;
		"/>
        <parameter key="shop_buyable" value="
		backpack,1988,10;
		bag,1987,4;
		fishing rod,2580,150;
		rope,2120,50;
		scroll,1949,5;
		scythe,2550,12;
		shovel,2554,10;
		torch,2050,2;
		worm,3976,1;
		"/>
        <parameter key="message_greet" value="Hello |PLAYERNAME|. Take a look at my wares, I have much to {offer}."/>
        <parameter key="message_sendtrade" value="Go ahead and have a look at the list!"/>
        <parameter key="message_oncloseshop" value="I hope you found what you wanted! Come back again!"/>
    </parameters>
</npc>

causes the same problem

I figured it out, somehow I got it to not come up with erros, Im really not sure how though.
 
Last edited:
Back
Top