0.3.6pl1 error
http://otland.net/f16/npc-problem-134697/#post1302239
loot.xml
viploot.xml
Thanks in advance Wibbenz
http://otland.net/f16/npc-problem-134697/#post1302239
Code:
[15/07/2011 23:24:38] [Warning - Npc::loadFromXml] Cannot load npc file (data/npc/VIP Loot.xml).
[15/07/2011 23:24:38] Info: failed to load external entity "data/npc/VIP Loot.xml"
[15/07/2011 23:24:38] [Warning - Npc::loadFromXml] Cannot load npc file (data/npc/Loot.xml).
[15/07/2011 23:24:38] Info: failed to load external entity "data/npc/Loot.xml"
[15/07/2011 23:24:38] [Warning - Npc::loadFromXml] Cannot load npc file (data/npc/Loot.xml).
[15/07/2011 23:24:38] Info: failed to load external entity "data/npc/Loot.xml"
[15/07/2011 23:24:38] [Warning - Npc::loadFromXml] Cannot load npc file (data/npc/Loot.xml).
[15/07/2011 23:24:38] Info: failed to load external entity "data/npc/Loot.xml"
[15/07/2011 23:24:38] [Warning - Npc::loadFromXml] Cannot load npc file (data/npc/VIP Loot.xml).
[15/07/2011 23:24:38] Info: failed to load external entity "data/npc/VIP Loot.xml"
[15/07/2011 23:24:38] [Warning - Npc::loadFromXml] Cannot load npc file (data/npc/Loot.xml).
[15/07/2011 23:24:38] Info: failed to load external entity "data/npc/Loot.xml"
XML:
<npc name="Loot" script="data/npc/scripts/loot.lua" walkinterval="25" floorchange="0" access="3" level="1" maglevel="1">
<health now="150" max="150"/>
<look type="147" head="114" body="94" legs="19" feet="0" addons="3" corpse="2212"/>
<parameters>
<parameter key="module_shop" value="1" />
<parameter key="message_greet" value="Hello |PLAYERNAME|. I buy swords, axes, clubs, armors, helmets, legs, boots, shields, wands and rods" /><parameter key="shop_sellable" value="dragon hammer,2434,6000;mastermind shield,2514,100000;magic plate armor,2472,130000;golden legs,2470,100000;demon helmet,2493,100000;giant sword,2393,25000;knight axe,2430,5000;poison dagger,2411,50;scimitar,2419,150;serpent sword,2409,900;skull staff,2436,10000;dragon lance,2414,25000;fire axe,2432,8000;fire sword,2392,8000;war hammer,2391,1200;spike sword,2383,1000;ice rapier,2396,1000;broad sword,2413,500;obsidian lance,2425,500;dragon slayer,7402,15000;war axe,2454,9000;amber staff,7426,8000;sapphire hammer,7437,2000;lunar staff,7424,5000;diamond sceptre,7387,3000;dragonbone staff,7430,6000;beastslayer axe,3962,1500;brutetamer's staff,7379,1500;wyvern fang,7408,1500;daramanian waraxe,2440,1000;furry club,27432,1000;crystal sword,7449,600;taurus mace,7425,500;silver dagger,2402,500;mammoth whopper,7381,300;daramanian mace,2439,110;heavy machete,2442,90;crown armor,2487,20000;blue robe,2656,17000;noble armor,2486,900;dark armor,2489,400;knight armor,2476,10000;dragon scale mail,2492,70000;golden armor,2466,20000;mammoth fur cape,7463,6000;leopard armor,3968,1000;pirate shirt,605,500;royal helmet,2498,30000;crusader helmet,2497,6000;crown helmet,2491,5000;dark helmet,2490,250;mystic turban,2663,150;strange helmet,2479,500;warrior helmet,2475,5000;skull helmet,5741,40000;beholder helmet,3972,7500;devil helmet,2462,1000;pirate hat,6096,1000;ragnir helmet,7462,400;krimhorn helmet,7461,200;crown legs,2488,18008;boots of haste,2195,30000;knight legs,2477,1000;steel boots,2645,10000;pirate boots,5462,2000;fur boots,7457,2000;crocodile boots,3982,1000;pirate knee breeches,5918,200;phoenix shield,2539,16000;crown shield,2519,10000;dragon shield,2516,7000;guardian shield,2515,2000;beholder shield,2518,1200;ancient shield,2532,900;black shield,2529,800;tower shield,2528,8000;vampire shield,2534,15000;demon shield,2520,30000;medusa shield,2536,9000;castle shield,2535,5000;scarab shield,2540,2000;dark shield,2521,400;tortoise shield,6131,150;bone shield,2541,80;magic lightwand,2162,30;wand of vortex,2190,100;wand of dragonbreath,2191,200;wand of plague,2188,1000;wand of cosmic energy,2189,2000;wand of inferno,2187,3000;tempest rod,2183,3000;moonlight rod,2186,200;snakebite rod,2182,100;volcanic rod,2185,1000;quarmire rod,2181,2000;war hammer,2391,10000;spike sword,2383,8000;noble armor,2486,8000;beholder shield,2518,7000;ice rapier,2396,5000;serpent sword,2409,6000;dark armor,2489,1500;dark helmet,2490,1000;ancient shield,2532,5000;" />"
</parameters>
</npc>
XML:
<npc name="VIP Loot" script="data/npc/scripts/vip loot.lua" walkinterval="25" floorchange="0" access="3" level="1" maglevel="1">
<health now="150" max="150"/>
<look type="147" head="114" body="94" legs="19" feet="0" addons="3" corpse="2212"/>
<parameters>
<parameter key="module_shop" value="1" />
<parameter key="message_greet" value="Hello |PLAYERNAME|. I buy swords, axes, clubs, armors, helmets, legs, boots, shields, wands and rods" />
<parameter key="shop_sellable" value="dragon hammer,2434,6000;mastermind shield,2514,300000;magic plate armor,2472,500000;golden legs,2470,300000;demon helmet,2493,300000;giant sword,2393,60000;knight axe,2430,5000;poison dagger,2411,50;scimitar,2419,150;serpent sword,2409,900;skull staff,2436,10000;dragon lance,2414,85000;fire axe,2432,40000;fire sword,2392,18000;war hammer,2391,1200;spike sword,2383,1000;ice rapier,2396,1000;broad sword,2413,500;obsidian lance,2425,500;dragon slayer,7402,15000;war axe,2454,9000;amber staff,7426,8000;sapphire hammer,7437,2000;lunar staff,7424,5000;diamond sceptre,7387,3000;dragonbone staff,7430,6000;beastslayer axe,3962,1500;brutetamer's staff,7379,1500;wyvern fang,7408,1500;daramanian waraxe,2440,1000;furry club,27432,1000;crystal sword,7449,600;taurus mace,7425,500;silver dagger,2402,500;mammoth whopper,7381,300;daramanian mace,2439,110;heavy machete,2442,90;crown armor,2487,20000;blue robe,2656,47000;noble armor,2486,900;dark armor,2489,400;knight armor,2476,20000;dragon scale mail,2492,230000;golden armor,2466,130000;mammoth fur cape,7463,6000;leopard armor,3968,1000;pirate shirt,605,500;royal helmet,2498,80000;crusader helmet,2497,6000;crown helmet,2491,5000;dark helmet,2490,250;mystic turban,2663,150;strange helmet,2479,500;warrior helmet,2475,5000;skull helmet,5741,80000;beholder helmet,3972,7500;devil helmet,2462,1000;pirate hat,6096,1000;ragnir helmet,7462,400;krimhorn helmet,7461,200;crown legs,2488,18008;boots of haste,2195,80000;knight legs,2477,20000;steel boots,2645,100000;pirate boots,5462,2000;fur boots,7457,2000;crocodile boots,3982,1000;pirate knee breeches,5918,200;phoenix shield,2539,16000;crown shield,2519,20000;dragon shield,2516,10000;guardian shield,2515,2000;beholder shield,2518,1200;ancient shield,2532,900;black shield,2529,800;tower shield,2528,18000;vampire shield,2534,55000;demon shield,2520,100000;medusa shield,2536,18000;castle shield,2535,5000;scarab shield,2540,2000;dark shield,2521,400;tortoise shield,6131,150;bone shield,2541,80;magic lightwand,2162,30;wand of vortex,2190,100;wand of dragonbreath,2191,200;wand of plague,2188,1000;wand of cosmic energy,2189,2000;wand of inferno,2187,3000;tempest rod,2183,3000;moonlight rod,2186,200;snakebite rod,2182,100;volcanic rod,2185,1000;quarmire rod,2181,2000;war hammer,2391,10000;spike sword,2383,8000;noble armor,2486,8000;beholder shield,2518,7000;ice rapier,2396,5000;serpent sword,2409,6000;dark armor,2489,1500;dark helmet,2490,1000;ancient shield,2532,5000;" />"
</parameters>
</npc>
Thanks in advance Wibbenz
Last edited: