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

Something in my console

UpAndDown

New Member
Joined
Mar 12, 2009
Messages
66
Reaction score
0
Hey, I'm using the Crying Damson release from TFS and when I start my server I always get this following message;

[Warning] NpcSystem: SubType missing for parameter item: ultimate healing rune,2273,175

And alot more of runes like this. Probably really simple to fix, but I have no clue how.:confused:

Hope any of you can help!

Thanks in advance,
UpAndDown!
 
Just when I thought I fixed it, it seems that also alot of other npcs had it, I have fixed the npc problem for runesellers, but for others I still have the problem.

[Warning] NpcSystem: SubType missing for parameter item: ultimate healing rune,2273,175
[Warning] NpcSystem: SubType missing for parameter item: bottle,2007,3

And it goes on like that for more items.

It seems all my NPCs have this, 'cause of some strange coding?

Here is the XML of some a random NPC that is the cause of the error.

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Bertha" script="data/npc/scripts/default.lua" walkinterval="1000" floorchange="0">
<health now="100" max="100"/>
<look type="140" head="38" body="59" legs="40" feet="23" addons="1"/>
<parameters>
<parameter key="message_greet" value="Greetings |PLAYERNAME|. Looking for a {trade}, I hope. Business is not going well."/>
<parameter key="message_farewell" value="Bye |PLAYERNAME|."/>
<parameter key="module_keywords" value="1" />
<parameter key="keywords" value="job;" />
<parameter key="keyword_reply1" value="I'm a trader by profession but here you could also call me the ambassador of Carlin. However, there is little I can do about our problems, and support from Carlin is virtually non-existent." />

<parameter key="module_shop" value="1"/>
<parameter key="shop_buyable" value="book,1971,15;book,1972,15;book,1973,15;bottle,2007,3;bucket,2005,4;cup,2013,2;document,1968,12;fishing rod,2580,150;fur backpack,7342,20;fur bag,7343,5;jug,2014,10;machete,2420,40;mug,2012,4;parchment,1969,8;pick,2553,50;plate,2035,6;present,1990,10;rope,2120,50;scroll,1949,5;scythe,2550,50;shovel,2554,50;torch,2050,2;watch,6091,20;worm,3976,1;" />
<parameter key="shop_sellable" value="" />
</parameters>
</npc>

Also, when I say trade to some of the NPC's, and I want to buy 1 SD rune for example, I get 2. Also for the cost of 2.

Hope anyone can help! :eek:

Sincerely,
UppOchNer!
 
Just when I thought I fixed it, it seems that also alot of other npcs had it, I have fixed the npc problem for runesellers, but for others I still have the problem.

[Warning] NpcSystem: SubType missing for parameter item: ultimate healing rune,2273,175
[Warning] NpcSystem: SubType missing for parameter item: bottle,2007,3

And it goes on like that for more items.

It seems all my NPCs have this, 'cause of some strange coding?

Here is the XML of some a random NPC that is the cause of the error.

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Bertha" script="data/npc/scripts/default.lua" walkinterval="1000" floorchange="0">
<health now="100" max="100"/>
<look type="140" head="38" body="59" legs="40" feet="23" addons="1"/>
<parameters>
<parameter key="message_greet" value="Greetings |PLAYERNAME|. Looking for a {trade}, I hope. Business is not going well."/>
<parameter key="message_farewell" value="Bye |PLAYERNAME|."/>
<parameter key="module_keywords" value="1" />
<parameter key="keywords" value="job;" />
<parameter key="keyword_reply1" value="I'm a trader by profession but here you could also call me the ambassador of Carlin. However, there is little I can do about our problems, and support from Carlin is virtually non-existent." />

<parameter key="module_shop" value="1"/>
<parameter key="shop_buyable" value="book,1971,15;book,1972,15;book,1973,15;bottle,2007,3;bucket,2005,4;cup,2013,2;document,1968,12;fishing rod,2580,150;fur backpack,7342,20;fur bag,7343,5;jug,2014,10;machete,2420,40;mug,2012,4;parchment,1969,8;pick,2553,50;plate,2035,6;present,1990,10;rope,2120,50;scroll,1949,5;scythe,2550,50;shovel,2554,50;torch,2050,2;watch,6091,20;worm,3976,1;" />
<parameter key="shop_sellable" value="" />
</parameters>
</npc>

Also, when I say trade to some of the NPC's, and I want to buy 1 SD rune for example, I get 2. Also for the cost of 2.

Hope anyone can help! :eek:

Sincerely,
UppOchNer!

when the npc sales items with charges u have to add charges to.

like this:
Code:
shopModule:addBuyableItem({'instense healing'}, 2265, 95, 100, 'intense healing rune')
shopModule:addBuyableItem({'ultimate healing'}, 2273, 175, 100, 'ultimate healing rune')
shopModule:addBuyableItem({'magic wall'}, 2293, 350, 100, 'magic wall rune')
shopModule:addBuyableItem({'destroy field'}, 2261, 45, 100, 'destroy field rune')
shopModule:addBuyableItem({'light magic missile'}, 2287, 40, 100, 'light magic missile rune')
shopModule:addBuyableItem({'heavy magic missile'}, 2311, 120, 100, 'heavy magic missile rune')
shopModule:addBuyableItem({'great fireball'}, 2304, 180, 100, 'great fireball rune')
shopModule:addBuyableItem({'explosion'}, 2313, 250, 100, 'explosion rune')
shopModule:addBuyableItem({'sudden death'}, 2268, 350, 100, 'sudden death rune')
shopModule:addBuyableItem({'paralyze'}, 2278, 700, 100, 'paralyze rune')
shopModule:addBuyableItem({'animate dead'}, 2316, 375, 100, 'animate dead rune')
shopModule:addBuyableItem({'convince creature'}, 2290, 80, 100, 'convince creature rune')
shopModule:addBuyableItem({'chameleon'}, 2291, 210, 100, 'chameleon rune')
shopModule:addBuyableItem({'desintegrate'}, 2310, 80,  100, 'desintegreate rune')
shopModule:addBuyableItem({'avalanche'}, 2274, 180,  100, 'avalanche rune')
shopModule:addBuyableItem({'icicle'}, 2271, 150,  100, 'icicle rune')
shopModule:addBuyableItem({'thunderstorm'}, 2315, 150,  100, 'thunderstorm rune')
shopModule:addBuyableItem({'stone shower'}, 2288, 150,  100, 'stone shower rune')
shopModule:addBuyableItem({'wild growth'}, 2269, 320,  100, 'wild growth rune')
shopModule:addBuyableItem({'holy missile'}, 2295, 80,  100, 'holy missile rune')
shopModule:addBuyableItem({'blank runer'}, 2260, 10,  1, 'blank rune')

thats my rune npc and it works for me on crying damson 0.3.2
 
So, that means the problem is in the "layout" of the XML file? Since there's no spaces in some of the NPC's and thats why it's bugging I guess.

Any quick fixes for this, or should I edit one NPC of every class and re-write it?

Sincerely,
UpAndDown!
 
Back
Top