Ir para conteúdo

Distance Npc


alemao

Posts Recomendados

Fiz esse npc aki rapidinhu...so que ta dando erro na hora de passar pro map editor..."ERROR""Errot ot data fle "c: local onde ta gravado ot/npc/distance.xml""couldn't not open file invalid format?

 

o script eh esse

<?xml version="1.0" encoding="UTF-8"?>

<npc name="Distance" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">

<health now="100" max="100"/>

<look type="132" head="115" body="132" legs="114" feet="114" corpse="2212" addons="3"/>

 

<parameters>

<parameter key="message_greet" value="OLa |PLAYERNAME|!Eu vendo itens e munições para arqueiros!"/>

<parameter key="module_shop" value="1"/>

<parameter key="shop_sellable" value="Bow,2571,100;Crossbow,2455,120;Spear,2389,3"/>

<parameter key="shop_buyable" value="Arrow,2544,3;Earth Arrow,7850,5;Flaming Arrow,7840,5;Flash Arrow,7838,5;Onyx Arrow,7365,7;Shiver Arrow,7839,5;Sniper Arrow,7364,5;Bolt,2543,4;Piercing Bolt,7363,5;Power Bolt,2547,7;Assassin Star,7368,100;Bow,2571,400;Crossbow,2455,500;Royal Spear,7378,15;Small Stone,1294,3;Spear,2389,10;Throwing Knife,2410,10;Throwing Star,2399,12"/>

</parameters>

 

</npc>

 

 

o que fiz errado?

Obrigado!

Link para o comentário
Compartilhar em outros sites

Por que tu nao usa o Perac? so renomeia para Distance aqui o script dele!

 

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Perac" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="129" head="78" body="52" legs="68" feet="114" addons="0"/>
<parameters>
	<parameter key="module_shop" value="1"/>
	<parameter key="message_greet" value="Ola |PLAYERNAME|. Eu vendo itens para paladin. Diga {trade}."/>
	<parameter key="shop_sellable" value="crossbow,2455,150;bow,2456,130"/>
	<parameter key="shop_buyable" value="crossbow,2455,360;bow,2456,200;spear,2389,20;poison arrow,2545,18;bolt,2543,3;arrow,2544,2;elvish bow,7438,10000;modified crossbow,8849,20000;chain bolter,8850,50000;devileye,8852,400000;iron worker,8853,100000;warsinger bow,8854,10000;composite bow,8855,30000;yols bow,8856,40000;solkweaver bow,8857,20000;assassin star,7368,50000"/>
</parameters>
</npc>

 

 

Se aprovado me de Reputação!

Link para o comentário
Compartilhar em outros sites

Por que tu nao usa o Perac? so renomeia para Distance aqui o script dele!

 

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Perac" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="129" head="78" body="52" legs="68" feet="114" addons="0"/>
<parameters>
	<parameter key="module_shop" value="1"/>
	<parameter key="message_greet" value="Ola |PLAYERNAME|. Eu vendo itens para paladin. Diga {trade}."/>
	<parameter key="shop_sellable" value="crossbow,2455,150;bow,2456,130"/>
	<parameter key="shop_buyable" value="crossbow,2455,360;bow,2456,200;spear,2389,20;poison arrow,2545,18;bolt,2543,3;arrow,2544,2;elvish bow,7438,10000;modified crossbow,8849,20000;chain bolter,8850,50000;devileye,8852,400000;iron worker,8853,100000;warsinger bow,8854,10000;composite bow,8855,30000;yols bow,8856,40000;solkweaver bow,8857,20000;assassin star,7368,50000"/>
</parameters>
</npc>

 

 

Se aprovado me de Reputação!

 

consegui arruma meu script...obrigado mesmo assim!

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...