GOD Esteve
New Member
- Joined
- May 18, 2011
- Messages
- 87
- Reaction score
- 1
Hello guys, im doing an otserver and i create some items in ITEMEDITOR ok?
All items go from id 12661 to id 12678.
Items works fine, all ok when monster drop like warlod sword that it`s one of items that i use to make mine, don`t drop the item VIP .. all works
But a problem when i sell items in NPC
my npcs its like that
<?xml version="1.0" encoding="UTF-8"?>
<npc name="PKN Seller" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="150" max="150"/>
<look type="141" head="78" body="86" legs="88" feet="0" addons="3"/>
<parameters>
<parameter key="module_shop" value="1"/>
<parameter key="message_greet" value="HEL|PLAYERNAME|. I SELL VIP ITEMS."/>
<parameter key="shop_buyable" value="pkn sword,12661,5000000;"/>
</parameters>
</npc>
But in game, the NPC dont have a PKN SWORD at trade, its like a discription apper PKN SWORD, but the item in the box, was warlod sword the item that i use to create, and don`t sell.
can somebody help me in that? how i can solve this, to take the correct item by ID i don`t khown the best solution
All items go from id 12661 to id 12678.
Items works fine, all ok when monster drop like warlod sword that it`s one of items that i use to make mine, don`t drop the item VIP .. all works
But a problem when i sell items in NPC
my npcs its like that
<?xml version="1.0" encoding="UTF-8"?>
<npc name="PKN Seller" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="150" max="150"/>
<look type="141" head="78" body="86" legs="88" feet="0" addons="3"/>
<parameters>
<parameter key="module_shop" value="1"/>
<parameter key="message_greet" value="HEL|PLAYERNAME|. I SELL VIP ITEMS."/>
<parameter key="shop_buyable" value="pkn sword,12661,5000000;"/>
</parameters>
</npc>
But in game, the NPC dont have a PKN SWORD at trade, its like a discription apper PKN SWORD, but the item in the box, was warlod sword the item that i use to create, and don`t sell.
can somebody help me in that? how i can solve this, to take the correct item by ID i don`t khown the best solution