acho q tem um arquivo chamado itens.xml
já mecheu nele?
faz tempo q n crio server
info
Grupo: Campones
Registrado: 20/06/15
Posts: 39
Reputação: +5

acho q tem um arquivo chamado itens.xml
já mecheu nele?
faz tempo q n crio server
info
Grupo: Visconde
Registrado: 24/11/12
Posts: 474
Reputação: +98
Gênero: Masculino

Posta o script do npc.
info
Grupo: Campones
Registrado: 05/01/13
Posts: 3
Reputação: 0

O Script do NPC:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Knight Seller" script="data/npc/scripts/default.lua" walkinterval="1500" speed="100" walkradius="2" floorchange="0"><health max="100" now="100"/><look type="131" head="116" body="92" legs="95" feet="95" addons="3" mount="0"/><parameters><parameter key="module_shop" value="1"/><parameter key="message_greet" value="Ola |PLAYERNAME|. Eu vendo bought warrior itens. Diga {trade}."/><parameter key="shop_buyable" value="bought warrior helmet,12633,1000000;bought warrior armor,12634,1000000;bought warrior legs,12635,1000000;bought warrior boots,12636,1000000;bought warrior shield,12637,1000000;bought warrior club,12638,1000000;bought warrior axe,12640,1000000;bought warrior sword,12639,1000000"/></parameters></npc>
A parte do items.xml que tá esses itens:
<item id="12633" article="a" name="bought warrior helmet">
<attribute key="slotType" value="head" /><attribute key="weight" value="100" /><attribute key="armor" value="1" /></item><item id="12634" article="a" name="bought warrior armor"><attribute key="slotType" value="body" /><attribute key="weight" value="100" /><attribute key="armor" value="1" /></item><item id="12635" article="a" name="bought warrior legs"><attribute key="slotType" value="legs" /><attribute key="weight" value="100" /><attribute key="armor" value="1" /></item><item id="12636" article="a" name="bought warrior boots"><attribute key="slotType" value="feet" /><attribute key="weight" value="100" /><attribute key="armor" value="1" /></item><item id="12637" article="a" name="bought warrior shield"><attribute key="weaponType" value="shield" /><attribute key="weight" value="100" /><attribute key="defense" value="1" /></item><item id="12638" article="a" name="bought warrior club"><attribute key="weaponType" value="club" /><attribute key="weight" value="100" /><attribute key="defense" value="1" /><attribute key="attack" value="1" /></item><item id="12639" article="a" name="bought warrior sword"><attribute key="weaponType" value="sword" /><attribute key="weight" value="100" /><attribute key="defense" value="1" /><attribute key="attack" value="1" /></item><item id="12640" article="a" name="bought warrior axe"><attribute key="weaponType" value="axe" /><attribute key="weight" value="100" /><attribute key="defense" value="1" /><attribute key="attack" value="1" /></item>
Lembrando que esses itens são novos no items.otb, mas eles tem um ID novo, só que usando a sprite de items que já tem normalmente no jogo.
Editado Junho 21 por GaaraDaAreia
info
Grupo: Campones
Registrado: 05/01/13
Posts: 3
Reputação: 0
Gente, eu estou trabalhando com um servidor aqui e tive que editar o itens.otb dele, eu adicionei itens novos mas usando as sprites que já existem no tibia normal, usando o mesmo cid. Deu certo, criei eles, consigo criar usando o GOD, eles estão funcionando normal, porém meu problema é que o NPC não consegue vender eles. Eu configurei o NPC pra vender esse custom item e quando eu abro a janela de trade ele até aparece lá, porém eu clico em comprar e nada acontece, mesmo eu tendo o dinheiro suficiente, alguém poderia me ajudar?