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

plzz error with npc creating holes

Thorn

Spriting since 2013
Joined
Sep 24, 2012
Messages
2,203
Solutions
1
Reaction score
921
Location
Chile
Hii, im desesperate, Rashid and Soya are creating holes when someone sells many items to them, and besides creating holes, they don't give you the money, here are my 2 npc's lua. Plz help me find the problem i have no idea where to begin.

Lua:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Soya" script="data/npc/scripts/loot.lua" walkinterval="2000" floorchange="0">
	<health now="150" max="150"/>
	<look type="133" head="78" body="86" legs="88" feet="0" addons="3"/>
	<parameters>
		<parameter key="module_shop" value="1"/>
		<parameter key="message_greet" value="Hola |PLAYERNAME|. Yo Compro Todo Tipo De Loot A Exepcion De Items Magic (Wand Y Rod)."/>
		<parameter key="shop_sellable" value="royal helmet,2498,40000;warrior helmet,2475,6000;crusader helmet,2497,9000;crown helmet,2491,5000;devil helmet,2462,4000;mystic turban,2663,500;chain helmet,2458,35;iron helmet,2459,30;steel boots,2645,60000;boots of haste,2195,40000;golden boots,2646,100000;magic plate armor,2472,100000;dragon scale mail,2492,60000;demon armor,2494,90000;golden armor,2466,30000;knight armor,2476,5000;blue robe,2656,15000;lady armor,2500,2500;plate armor,2463,400;brass armor,2465,200;chain armor,2464,100;golden legs,2470,80000;crown legs,2488,15000;knight legs,2477,6000;plate legs,2647,500;mastermind shield,2514,80000;demon shield,2520,40000;blessed shield,2523,150000;great shield,2522,100000;vampire shield,2534,25000;medusa shield,2536,8000;amazon shield,2537,4000;crown shield,2519,5000;tower shield,2528,4000;guardian shield,2515,200;beholder shield,2518,1500;dwarven shield,2525,100;magic longsword,2390,150000;warlord sword,2408,100000;magic sword,2400,90000;giant sword,2393,10000;bright sword,2407,6000;ice rapier,2396,4000;fire sword,2392,3000;serpent sword,2409,1500;spike sword,2383,800;two handed sword,2377,400;broad sword,2413,70;short sword,2406,30;sword,2376,25;dragon lance,2414,10000;stonecutter axe,2431,90000;guardian halberd,2427,7500;fire axe,2432,10000;knight axe,2430,2000;double axe,2387,200;halberd,2381,200;battle axe,2378,100;hatchet,2388,20;war hammer,2391,6000;thunder hammer,2421,90000;skull staff,2436,1000;dragon hammer,2434,2000;clerical mace,2423,200;battle hammer,2417,60;mace,2398,30;dragonbone staff,7430,3000;dragon shield,2516,3000;dragon slayer,7402,15000;crown armor,2487,20000;chaos mace,7427,15000;dreaded cleaver,7419,15000;demonrage sword,7382,15000;terra legs,7885,5000;terra hoods,7903,3000;lightning headband,7901,3000;glacier mask,7902,3000;magma monocle,7900,3000;terra matle,7884,5000;glacier robe,7897,5000;lightning robe,7898,5000;magma coat,7899,5000;magma legs,7894,5000;lightning legs,7895,5000;glacier kilt,7896,5000;terra boots,7886,1000;magma boots,7891,1000;glacier shoes,7892,1000;lightning boots,7893,1000;paladin armor,8891,15000"/>
	</parameters>
</npc>



Lua:
<npc name="Rashid" script="data/npc/scripts/default.lua" walkinterval="5" floorchange="0">
<health now="100" max="100"/>
<look type="146" head="119" body="118" legs="119" feet="132" addons="3"/>
<parameters>
<parameter key="message_greet" value="Hello |PLAYERNAME|, I buy many items,you are abble to choise between Armors,Weapons,Helmets,Shields,Legs and Boots,Amulets,Tools, What do u offer me?" />
<parameter key="message_farewell" value="Good bye |PLAYERNAME|, Cya later!!" />
<parameter key="module_shop" value="1" />
<parameter key="shop_sellable" value="dragon scale mail, 2492, 40000; silver warrior armor, 2503, 50000; glacier robe, 7897, 11000; golden armor, 2466, 20000; Hibiscus Dress, 8873, 3000; Leopard Armor, 3968, 1000; lightning robe, 7898 , 11000; magma coat, 7899, 11000; mammoth fur cape, 7463, 6000; paladin armor, 8891, 15000; pirate shirt, 6095, 500; skullcracker armor, 8889, 18000; terra mantle, 7884, 11000; glacier kilt, 7896, 11000; lightning legs, 7895, 11000; magma legs, 7894, 11000; mammoth fur shorts, 7464, 850; pirate knee breeches, 5918, 200; terra legs, 7885, 11000; bone shield, 2541, 80; castle shield, 2535, 5000; dark shield, 2521, 400; demon shield, 2520, 30000; medusa shield, 2536, 9000; norse shield, 7460, 1500; scarab shield, 2540, 2000; tortoise shield, 6131, 150; beholder helmet, 3972, 7500; devil helmet, 2462, 1000; glacier mask, 7902, 2500; krimhorn helmet, 7461, 200; lightning headband, 7901, 2500; magma monocle, 7900, 2500; pirate hat, 6096, 1000; ragnir helmet, 7462, 400; skull helmet, 5741, 40000; terra hood, 7903, 2500; crocodile boots, 3982, 1000; fur boots, 7457, 2000; glacier shoes, 7892, 2500; lightning boots, 7893, 2500; magma boots, 7891, 2500; pirate boots, 5462, 2500; steel boots, 2645, 30000; terra boots, 7886, 2500; abyss hammer, 7414, 20000; amber staff, 7426, 8000; assassin dagger, 7404, 20000; beastslayer axe, 3962, 1500; berserker, 7403, 40000; brutetamers staff, 7379, 1500; chaos mace, 7427, 9000; cranial basher, 7415, 30000; crystal sword, 7449, 600; daramanian mace, 2439, 110; daramanian waraxe, 2440, 1000; demonrage sword, 7382, 36000; diamond sceptre, 7387, 3000; dragon slayer, 7402, 15000; dragonbone staff, 7430, 3000; dreaded cleaver, 7419, 10000; Epee, 2438, 8000; furry club, 7432, 1000; guardian halberd, 2427, 11000; hammer of wrath, 2444, 30000; heavy mace, 2452, 50000; heavy machete, 2442, 90; heroic axe, 7389, 30000; jade hammer, 7422, 25000; lunar staff, 7424, 5000; mammoth whopper, 7381, 300; mercenary sword, 7386, 12000; mystic blade, 7384, 30000; naginata, 2426, 2000; nightmare blade, 7418, 35000; noble axe, 7456, 10000; relic sword, 7383, 25000; ruthless axe, 6553, 45000; sapphire hammer, 7437, 7000; silver dagger, 2402, 500; spiked squelcher, 7452, 5000; taurus mace, 7425, 500; vile axe, 7388, 30000; war axe, 2454, 12000; wyvern fang, 7408, 1500; ancient amulet, 2142, 200; crystal necklace, 2125, 400; crystal ring, 2124, 250; death ring, 6300, 1000; demonbone amulet, 2136, 32000; emerald bangle, 2127, 800; glacier amulet, 7888, 1500; gold ring, 2179, 8000; lightning pendant, 7889, 1500; magma amulet, 7890, 1500; platinum amulet, 2171, 2500; ring of the sky, 2123, 30000; ruby necklace, 2133, 2000; scarab amulet, 2135, 200; silver brooch, 2134, 150; terra amulet, 7887, 1500; doll, 2110, 200; light shovel, 5710, 300; pirate voodoo doll, 5810, 500; voodoo doll, 3955, 400;Magic Plate Armor, 2472, 60000; Golden Legs, 2470, 60000; Great Shield, 2522, 80000; Mastermind Shield, 2514, 60000; Thunder Hammer, 2421, 50000; Giant Sword, 2393, 10000" />

<parameter key="module_keywords" value="1" />
<parameter key="keywords" value="weapons;armors;helmets;shields;legs and boots;amulets;tools" />


<parameter key="keyword_reply1" value="I buy these weapons, abyss hammer, amber staff, assassin dagger, beastslayer axe, berserker, brutetamers staff, chaos mace, cranial basher, crystal sword, daramanian mace, daramanian waraxe, demonrage sword, diamond sceptre, dragon slayer, dragonbone staff, dreaded cleaver, epee, furry club, guardian halberd, hammer of wrath, heavy mace, heavy machete, heroic axe, jade hammer, lunar staff, mammoth whopper, mercenary sword, mystic blade, naginata, nightmare blade, noble axe, relic sword, ruthless axe, sapphire hammer, silver dagger, spiked squelcher, taurus mace, vile axe, war axe and wyvern fang." />
<parameter key="keyword_reply2" value="I buy these armors, dragon scale mail, silver warrior armor, glacier robe, golden armor, hibiscus dress, lepoard armor, lightning robe, magma coat, mammoth fur cape, paladin armor, pirate shirt, skullcracker armor and terra mantle." />
<parameter key="keyword_reply3" value="I buy these helmets, beholder helmet, devil helmet, glacier mask, krimhorn helmet, lightning headband, magma monocle, pirate hat, ragnir helmet, skull helmet and terra hood." />
<parameter key="keyword_reply4" value="i buy these shields, bone shield, castle shield, dark shield, demon shield, medusa shield, norse shield, scarab shield and tortoise shield." />
<parameter key="keyword_reply5" value="I buy these legs, glacier kilt, lightning legs, magma legs, mammoth fur shorts, pirate knee breeches and terra legs." />
<parameter key="keyword_reply6" value="I buy these jewelrys, ancient amulet, crystal necklace, crystal ring, death ring, demonbone amulet, emerald bangle, glacier amulet, gold ring, lightning pendant, magma amulet, platinum amulet, ring of the sky, ruby necklace, scarab amulet, silver brooch and terra amulet." />
<parameter key="keyword_reply7" value="I buy these miscellaneous, doll, light shovel, pirate voodoo doll and voodoo doll." />
<parameter key="keyword_reply8" value="I buy these boots, crocodile boots, fur boots, glacier shoes, lightning boots, magma boots, pirate boots, steel boots and terra boots."/>
</parameters>
</npc>
 
Nothing wrong with your npcs , are you sure that it happens only to those two ?
I would switch /npc/lib for the one that comes in engine , probably something wrong with your modules.
What otserv you using ?
 
Last edited:
Which server do you use, when exactly are they are creating these holes? Tried testing it if it might be with selling certain items or certain amount, already tried different npcsystem?
 
i use Alissow Server, version 0.3.6 (Alissow) and i know that those holes are creating when the people sell a lot of thing like 23 magic plate armor, something like that, when they sell too many items at once
 
its rev side, anyway if you're not able to edit ur sources then change it to better 0.3.6 Cyko one or something else.
 
18:18 You see a pitfall.
ItemID: [294].
DecayTo: [293].
Position: [X: 996] [Y: 1002] [Z: 7].


:S

Lua:
<item id="294" article="a" name="pitfall">
		<attribute key="floorchange" value="down" />
		<attribute key="decayTo" value="293" />
		<attribute key="duration" value="300" />
                <attribute key="worth" value="1000000" />
 
Back
Top