Ir para conteúdo
  • Cadastre-se

[BUG] NPC NÃO COMPRA


Posts Recomendados

BomDia!

 

Estou com um bug infeliz de merda,

a 4#@(* do npc não compra o que deveria comprar :/ (fica falando que eu não tenho o tal objeto "You do not have this object.", eu tenho aos montes)

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Minhoca" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
	<health now="100" max="100"/>
	<look type="28" head="0" body="0" legs="0" feet="0" addons="0"/>
	<parameters>
	<parameter key="message_greet" value="Hello |PLAYERNAME|. I buy precious stones, please say {trade}" />
		<parameter key="module_shop" value="1"/>
		<parameter key="shop_buyable" value="pick,2553,500"/>
		<parameter key="shop_sellable" value="Small diamond,2145,10000;Small sapphire,2146,10000;Small ruby,2147,10000;Small emerald,2149,10000;Small amethyst,2150,10000;Scarab coin,2159,30000;Talon,2151,30000"/>
	</parameters>
</npc>

Pelo que vejo, a script está perfeita, '-'!

 

Estou tendo o mesmo problema com este outro npc:

<?xml version="1.0" encoding="UTF-8"?>
<npc name="[Looter] Zaoner" script="data/npc/scripts/Zaoner.lua" walkinterval="2000" floorchange="0" skull="black">
<health now="1" max="100"/>
<look type="156" head="132" body="132" legs="132" feet="132" addons="3"/>
<parameters>
<parameter key="module_shop" value="1" />
		<parameter key="shop_buyable" value="Axe ring,2208,10000;Club ring,2209,10000;Power ring,2166,10000;Stealth ring,2165,50000;Sword ring,2207,10000;Bronze amulet,2172,100;Garlic necklace,2199,100;elven amulet,2198,500;stone skin amulet,2197,1000,10;ring of healing,2214,10000;magic light wand,2162,120"/>
		<parameter key="shop_sellable" value="Zaoan helmet,11302,300000;Zaoan shoes,11303,50000;Zaoan legs,11304,150000;Drakinata,11305,100000;Sais,100000,11306;Zaoan sword,100000,11307;Drachaku,100000,11308;Twin hooks,11309,100000;Spellweaver's robe,11355,600000;Zaon robe,11356,600000;Jade hat,11368,300000;Magic plate armor,2472,100000;Mastermind shield,2514,60000;Dragon hammer,2434,2000;Giant sword,2393,17000;Knight axe,2430,2000;Poison dagger,2411,50;Scimitar,2419,150;Serpent sword,2409,900;Skull staff,2436,6000;Dark armor,2489,400;Knight armor,2476,5000;Dark helmet,2490,250;Mystic turban,2663,150;Strange helmet,2479,500;Warrior helmet,2475,5000;Knight legs,2477,5000;Ancient shield,2532,900;Black shield,2529,800;Tower shield,2528,8000;Vampire shield,2534,15000;Ornamented Axe,7411,20000;dreaded clever,7419,15000;dreaded clever,7428,10000;onyx,7421,22000;haunted,7407,8000;haunted,7413,4000;Beholder shield,2518,1200;Buthcer's Axe,7412,18000;Crown shield,2519,8000;Dragon shield,2516,4000;Guardian shield,2515,2000;Phoenix shield,2539,16000;Blue robe,2656,10000;Crown armor,2487,12000;Noble armor,2486,900;Boots of haste,2195,30000;Broad sword,2413,500;Dragon lance,2414,9000;Fire axe,2432,8000;Fire sword,2392,4000;Ice rapier,2396,1000;Obsidian lance,2425,500;Spike sword,2383,1000;War hammer,2391,1200;Crown helmet,2491,2500;Crusader helmet,2497,6000;Royal helmet,2498,30000;Crown legs,2488,12000;Crown legs,7410,10000;dreaded cleaver,7419,10000;composite hornbow,8855,25000;golden legs,2470,60000;royal helmet,2498,30000;dragon scale mail,2492,40000;dwarven armor,2503,30000;glacier robe,7897,11000;golden armor,2466,20000;hibiscus dress,8873,3000;leopard armor,3968,1000;glacier robe,7898,11000;glacier robe,7899,11000;glacier robe,7463,6000;glacier robe,8891,15000;glacier robe,6095,500;glacier robe,8889,18000;glacier robe,7884,11000;glacier robe,7896,11000;glacier robe,7895,11000;glacier robe,7894,11000;glacier robe,7464,850;glacier robe,5918,200;glacier robe,7885,11000;glacier robe,2541,80;glacier robe,2535,5000;glacier robe,2521,400;glacier robe,2520,30000;glacier robe,2536,9000;glacier robe,7460,1500;glacier robe,2540,2000;glacier robe,6131,150;glacier robe,3972,7500;glacier robe,2462,1000;glacier robe,7902,2500;glacier robe,7461,200;glacier robe,7901,2500;glacier robe,7900,2500;glacier robe,6096,1000;glacier robe,7462,400;glacier robe,5741,40000;glacier robe,7903,2500;glacier robe,3982,1000;glacier robe,7457,2000;glacier robe,7892,2500;glacier robe,7893,2500;glacier robe,7891,2500;glacier robe,2641,2000;glacier robe,5462,3000;glacier robe,2645,30000;glacier robe,7886,2500;glacier robe,7414,20000;glacier robe,7426,8000;glacier robe,7404,20000;glacier robe,3962,1500;glacier robe,7403,40000;glacier robe,7379,1500;glacier robe,7427,9000;glacier robe,7415,30000;glacier robe,7449,600;glacier robe,2439,110;glacier robe,2440,1000;glacier robe,7382,36000;glacier robe,7387,3000;glacier robe,7402,15000;glacier robe,7430,3000;glacier robe,7409,10000;glacier robe,2438,8000;glacier robe,7432,1000;glacier robe,2427,11000;glacier robe,2444,30000;glacier robe,2452,50000;glacier robe,2442,90;glacier robe,7389,30000;glacier robe,7422,25000;glacier robe,7424,5000;glacier robe,7381,300;glacier robe,7386,12000;glacier robe,7384,30000;glacier robe,2426,2000;glacier robe,7418,35000;glacier robe,7456,10000;glacier robe,7383,25000;glacier robe,6553,45000;glacier robe,7437,7000;glacier robe,2402,500;glacier robe,7452,5000;glacier robe,7425,500;glacier robe,7388,30000;glacier robe,2454,12000;glacier robe,7408,1500;g,7866,30000;g,7756,30000;g,7775,30000;g,7881,30000;g,7748,15000;g,7767,15000;g,7858,15000;g,7873,15000;g,7751,30000;g,7770,30000;g,7861,30000;aha,7876,30000;g,7746,30000;g,7765,30000;g,7856,30000;g,7871,30000;g,7745,25000;g,7764,25000;g,7855,25000;g,7870,25000;g,7753,12000;g,7772,12000;g,7863,12000;g,7878,12000;g,2142,200;g,2125,400;g,2142,250;g,6301,1000;g,2136,32000;g,2127,800;g,7888,1500;g,2179,8000;g,7889,1500;g,7890,1500;g,2171,2500;g,2123,30000;g,2133,2000;g,2135,200;g,2134,150;g,7887,1500;g,2110,200;g,5710,300;g,5810,500;g,3955,400;g,6300,1000"/>
        <parameter key="message_greet" value="Ah, a customer! Be greeted, |PLAYERNAME|!"/>
        <parameter key="message_farewell" value="Farewell, |PLAYERNAME|, may the winds guide your way."/>
		<parameter key="message_walkaway" value="Farewell, |PLAYERNAME|, may the winds guide your way." />
</parameters>
</npc>

PORÉM, todos os outros estão funfando NORMALMENTE, pq estes dois estão atrasando minha vida? :/!

 

Por favor, estou muito perdido aqui, t_t

 

Obgdão, agradecido! '--'

Editado por J4dson (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

Rapaz, fiquei meia hora tentando descobrir o que tem de errado ai mas não consegui descobrir não, vou esperar alguem responder porque até eu fiquei curioso agora kkkkkkkkkkkkkkkkkkkkkkkkkkk

16/11/2014

23/11/2014

 

RIP AnneMotta 21/01/2012 - 15/01/2014

Liga das lendas: DIAMOND É A META

6qpqBbJ.png

Link para o post
Compartilhar em outros sites
  • 2 years later...

Estou com esse mesmo problema e não sei como arrumar. E é exatamente com NPC de jewel. Reparei que ele não compra os itens dropados apenas, mas se comprar um diamond dele, e tentar vender ele compra de volta.

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo