Ir para conteúdo
  • Cadastre-se

Posts Recomendados

ALGUEM PODERIA ME ARRUMAR UNS NPC DE VENDAS TIPO RASHID? OS DJINS..

 

TODOS ELES NAO VENDEM NADA, DIZEM QUE NAO TENHO AUTORIZAÇ~~AO.. CREIO QUE PRECISE DA QUEST.. COMO FAÇO PRA TIRAR ISSO ? ME AJUDEM .-.

Link para o post
Compartilhar em outros sites

Script's

 

Primeiro passo crie um arquivo.xml com o nome de cada NPC..

Exemplo: Rashid.xml

 

1 - Rashid

 

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

<npc name="Rashid" script="data/npc/scripts/Rashid.lua" walkinterval="3000" floorchange="0">
<look type="146" head="119" body="118" legs="119" feet="132" addons="3" />
<parameters>
<parameter key="message_greet" value="Ah, a customer! Be greeted, |PLAYERNAME|!" />
<parameter key="message_sendtrade" value="Take all the time you need to decide what you want!" />
<parameter key="message_needmoremoney" value="You dont have not enough of gold." />
<parameter key="message_decline" value="|TOTALCOST| is a very good price |PLAYERNAME|." />
<parameter key="message_farewell" value="Farewell, |PLAYERNAME|, may the winds guide your way." />
<parameter key="message_walkaway" value="Come back soon!" />
<parameter key="message_idletimeout" value="Good bye, |PLAYERNAME|!" />
 
<parameter key="module_keywords" value="1" />
<parameter key="keywords" value="job;name;offers;ab\'dendriel;desert;karmia;cormaya;darashia;premy island;bibula;greenshore;moria;blood bay;northport;port hope;senja;svargrond;thalia;vega;venore;time;king" />
<parameter key="keyword_reply1" value="I am a travelling trader. I don't buy everything, though. And not from everyone, for that matter." />
<parameter key="keyword_reply2" value="I am Rashid, son of the desert." />
<parameter key="keyword_reply3" value="Of course, old friend. You can also browse only armor, legs, shields, helmets, boots, weapons, enchanted weapons, jewelry or miscellaneous stuff." />
<parameter key="keyword_reply4" value="Elves... I don't really trust them. All this talk about nature and flowers and treehugging... I'm sure there's some wicked scheme behind all this." />
<parameter key="keyword_reply5" value="My beloved hometown! Ah, the sweet scent of the desert sands, the perfect shape of the pyramids... stunningly beautiful." />
<parameter key="keyword_reply6" value="I have to go to Karmia once in a while, since the queen wishes to see my exclusive wares in regular intervals." />
<parameter key="keyword_reply7" value="Cormaya? Not a good place to make business, it's way too far and small." />
<parameter key="keyword_reply8" value="It's not the real thing, but almost as good. The merchants there claim ridiculous prices, which is fine for my own business." />
<parameter key="keyword_reply9" value="Ah yes, Premy Island! Such a lovely and quiet island! I usually make some nice business there." />
<parameter key="keyword_reply10" value="Too few customers there, it's not worth the trip." />
<parameter key="keyword_reply11" value="Um... I don't think so." />
<parameter key="keyword_reply12" value="I don't like being underground much. I also tend to get lost in these labyrinthine dwarven tunnels, so I rather avoid them." />
<parameter key="keyword_reply13" value="When you avoid the slums, it's a really pretty city. Almost as pretty as the governor's daughter." />
<parameter key="keyword_reply14" value="Um... I don't think so." />
<parameter key="keyword_reply15" value="I like the settlement itself, but I don't set my foot into the jungle. Have you seen the size of these centipedes??" />
<parameter key="keyword_reply16" value="Um... I don't think so." />
<parameter key="keyword_reply17" value="I wish it was a little bit warmer there, but with a good mug of barbarian mead in your tummy everything gets a lot cosier." />
<parameter key="keyword_reply18" value="I feel uncomfortable and rather unsafe in Thalia, so I don't really travel there." />
<parameter key="keyword_reply19" value="Um... I don't think so." />
<parameter key="keyword_reply20" value="Although it's the flourishing trade centre of Tibia, I don't like going there. Too much competition for my taste." />
<parameter key="keyword_reply21" value="It's almost time to journey on." />
<parameter key="keyword_reply22" value="Kings, queens, emperors and kaliphs... everyone claims to be different and unique, but actually it's the same thing everywhere." />
 
<parameter key="module_shop" value="1" />
<parameter key="shop_buyable" value="" />
<parameter key="shop_sellable" value="
abyss hammer, 7414, 20000;
amber staff, 7426, 8000;
ancient amulet, 2142, 200;
assassin daggerf, 7404, 20000;
bandana, 5917, 150;
beastslayer axe, 3962, 1500;
berserker, 7403, 40000;
bone shield, 2541, 80;
bonelord helmet, 3972, 7500;
brutetamer's staff, 7379, 1500;
castle shield, 2535, 5000;
chain bolter, 8850, 40000;
chaos mace, 7427, 9000;
coconut shoes, 9931, 500;
composite hornbow, 8855, 25000;
cranial basher, 7415, 30000;
crocodile boots, 3982, 1000;
crystal mace, 2445, 12000;
crystal necklace, 2125, 400;
crystal ring, 2124, 250;
crystal sword, 7449, 600;
crystalline armor, 8878, 16000;
daramanian mace, 2439, 110;
daramanian waraxe, 2440, 1000;
dark shield, 2521, 400;
death ring, 6300, 1000;
demon shield, 2520, 30000;
demonbone amulet, 2136, 32000;
demonrage sword, 7382, 36000;
devil helmet, 2462, 1000;
diamond sceptre, 7387, 3000;
djinn blade, 2451, 15000;
doll, 2110, 200;
dragon scale mail, 2492, 40000;
dragon slayer, 7402, 15000;
dragonbone staff, 7430, 3000;
dreaded cleaver, 7419, 10000;
dwarven armor, 2503, 30000;
earth cranial basher, 7866, 30000;
earth dragon slayer, 7858, 15000;
earth heroic axe, 7861, 30000;
earth mystic blade, 7856, 30000;
earth relic sword, 7855, 25000;
earth war axe, 7863, 12000;
emerald bangle, 2127, 800;
energy cranial basher, 7881, 30000;
energy dragon slayer, 7873, 15000;
energy heroic axe, 7876, 30000;
energy mystic blade, 7871, 30000;
energy relic sword, 7870, 25000;
energy war axe, 7878, 12000;
epee, 2438, 8000;
fiery cranial basher, 7756, 30000;
fiery dragon slayer, 7748, 15000;
fiery heroic axe, 7751, 30000;
fiery mystic blade, 7746, 30000;
fiery relic sword, 7745, 25000;
fiery war axe, 7753, 12000;
flower wreath, 9927, 500;
fur boots, 7457, 2000;
furry club, 7432, 1000;
glacier amulet, 7888, 1500;
glacier kilt, 7896, 11000;
glacier mask, 7902, 2500;
glacier robe, 7897, 11000;
glacier shoes, 7892, 2500;
gold ring, 2179, 8000;
golden armor, 2466, 20000;
golden legs, 2470, 30000;
guardian halberd, 2427, 11000;
hammer of wrath, 2444, 30000;
heavy mace, 2452, 50000;
heavy machete, 2442, 90;
heroic axe, 7389, 30000;
hibiscus dress, 8873, 3000;
icy cranial basher, 7775, 30000;
icy dragon slayer, 7767, 15000;
icy heroic axe, 7770, 30000;
icy mystic blade, 7765, 30000;
icy relic sword, 7764, 25000;
icy war axe, 7772, 12000;
jade hammer, 7422, 25000;
krimhorn helmet, 7461, 200;
lavos armor, 8877, 16000;
leaf legs, 9928, 500;
leopard armor, 3968, 1000;
light shovel, 5710, 300;
lightning boots, 7893, 2500;
lightning headband, 7901, 2500;
lightning legs, 7895, 11000;
lightning pendant, 7889, 1500;
lightning robe, 7898, 11000;
lunar staff, 7424, 5000;
magic plate armor, 2472, 90000;
magma amulet, 7890, 1500;
magma boots, 7891, 2500;
magma coat, 7899, 11000;
magma legs, 7894, 11000;
magma monocle, 7900, 2500;
mammoth fur cape, 7463, 6000;
mammoth fur shorts, 7464, 850;
mammoth whopper, 7381, 300;
mastermind shield, 2514, 50000;
medusa shield, 2536, 9000;
mercenary sword, 7386, 12000;
mystic blade, 7384 ,30000;
naginata, 2426, 2000;
nightmare blade, 7418, 35000;
noble axe, 7456, 10000;
norse shield, 7460, 1500;
paladin armor, 8891, 15000;
patched boots, 2641, 2000;
pharaoh sword, 2446, 23000;
pirate boots, 5462, 3000;
pirate hat, 6096, 1000;
pirate knee breeches, 5918, 200;
pirate shirt, 6095, 500;
pirate voodoo doll, 5810, 500;
platinum amulet, 2171, 2500;
ragnir helmet, 7462, 400;
relic sword, 7383, 25000;
ring of the sky, 2123, 30000;
ruby necklace, 2133, 2000;
ruthless axe, 6553, 45000;
sacred tree amulet, 10219, 3000;
sapphire hammer, 7437, 7000;
scarab amulet, 2135, 200;
scarab shield, 2540, 2000;
shockwave amulet, 10221, 3000;
silver brooch, 2134, 150;
silver dagger, 2402, 500;
skull helmet, 5741, 40000;
skullcracker armor, 8889, 18000;
spiked squelcher, 7452, 5000;
steel boots, 2645, 30000;
swamplair armor, 8880, 16000;
taurus mace, 7425, 500;
tempest shield, 2542, 35000;
terra amulet, 7887, 1500;
terra boots, 7886, 2500;
terra hood, 7903, 2500;
terra legs, 7885, 11000;
terra mantle, 7884, 11000;
tortoise shield, 6131, 150;
vile axe, 7388, 30000;
voodoo doll, 3955, 400;
war axe, 2454, 12000;
wyvern fang, 7408, 1500
" />
</parameters>
</npc>

 
2 - Alesar
 

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Alesar" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="80" head="0" body="0" legs="0" feet="0" addons="0"/>
<parameters>
<parameter key="message_greet" value="What do you want from me, |PLAYERNAME|?" />
<parameter key="module_shop" value="1"/>
<parameter key="shop_buyable" value="Ice rapier,2396,5000;Serpent sword,2409,6000;Dark armor,2489,1500;Dark helmet,2490,1000;Ancient shield,2532,5000"/>
<parameter key="shop_sellable" value="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"/>
</parameters>
</npc>

 
3 - Nah'Bob
 

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Nah'Bob" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="80" head="0" body="0" legs="0" feet="0" addons="0"/>
<parameters>
<parameter key="message_greet" value="What do you want from me, |PLAYERNAME|?" />
<parameter key="module_shop" value="1"/>
<parameter key="shop_buyable" value="Beholder shield,2518,7000;Noble armor,2486,8000;Spike sword,2383,8000;War hammer,2391,10000"/>
<parameter key="shop_sellable" value="Beholder shield,2518,1200;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"/>
</parameters>
</npc>

 
4 - Yaman
 

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Yaman" script="data/npc/scripts/Haroun.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="103" head="0" body="0" legs="0" feet="0" addons="0"/>
<parameters>
<parameter key="message_greet" value="Be greeted, human |PLAYERNAME|. How can a humble djinn be of service?" />
<parameter key="message_farewell" value="Farewell, human." />
<parameter key="message_buy" value="Do you want to purchase |ITEMCOUNT| |ITEMNAME| for |TOTALCOST| gold?" />
<parameter key="message_sell" value="Do you want to sell |ITEMCOUNT| |ITEMNAME| for |TOTALCOST| gold?" />
<parameter key="message_decline" value="Well, obviously not." />
<parameter key="message_onbuy" value="It'll serve you well!" />
<parameter key="message_onsell" value="Thank you, human." />
<parameter key="message_walkaway" value="Farewell, human." />
 
<parameter key="module_keywords" value="1" />
<parameter key="keywords" value="job" />
<parameter key="keyword_reply1" value="I'm an old djinn, I buy several items, and sell a few myself." />
<parameter key="module_shop" value="1"/>
<parameter key="shop_buyable" value="Dwarven ring,2213,2000;Energy ring,2167,2000;Life ring,2168,900;Might ring,2164,5000;Ring of healing,2214,2000;Time ring,2169,2000;Dragon necklace,2201,1000;Protection amulet,2200,700;Strange talisman,2161,100;Silver amulet,2170,100"/>
<parameter key="shop_sellable" value="Dwarven ring,2213,100;Energy ring,2167,100;Life ring,2168,50;Might ring,2164,250;Ring of healing,2214,100;Time ring,2169,100;Dragon necklace,2201,100;Protection amulet,2200,100;Strange talisman,2161,30;Silver amulet,2170,50;Hailstorm rod,2183,3000;Moonlight rod,2186,200;Necrotic rod,2185,1000;Snakebite rod,2182,100;Terra rod,2181,2000;Springsprout Rod,8912,3600;Northwind Rod,8911,1500;Underworld Rod,8910,4400;Ankh,2327,100;Mysterious Fetish,2194,50"/>
</parameters>
</npc>

 
5 - Haroun
 

<?xml version="1.0"?>
<npc name="Haroun" script="data/npc/scripts/Haroun.lua" walkinterval="2000">
<health now="100" max="100"/>
<look type="80" head="20" body="30" legs="40" feet="50"/>
 
<parameters>
<parameter key="message_greet" value="Be greeted, human |PLAYERNAME|. How can a humble djinn be of service?" />
<parameter key="message_farewell" value="Farewell, human." />
<parameter key="message_buy" value="Do you want to purchase |ITEMCOUNT| |ITEMNAME| for |TOTALCOST| gold?" />
<parameter key="message_sell" value="Do you want to sell |ITEMCOUNT| |ITEMNAME| for |TOTALCOST| gold?" />
<parameter key="message_decline" value="Well, obviously not." />
<parameter key="message_onbuy" value="It'll serve you well!" />
<parameter key="message_onsell" value="Thank you, human." />
<parameter key="message_walkaway" value="Farewell, human." />
 
<parameter key="module_keywords" value="1" />
<parameter key="keywords" value="job" />
<parameter key="keyword_reply1" value="I'm an old djinn, I buy several items, and sell a few myself." />
<parameter key="module_shop" value="3"/>
<parameter key="shop_buyable" value="Axe ring,2208,500;Club ring,2209,500;Power ring,2166,100;Stealth ring,2165,5000;Sword ring,2207,500;Bronze amulet,2172,100;Garlic necklace,2199,100;elven amulet,2198,500;stone skin amulet,2197,5000,5;magic light wand,2162,120"/>
<parameter key="shop_sellable" value="Axe ring,2208,100;Club ring,2209,100;Power ring,2166,50;Stealth ring,2165,200;Sword ring,2207,100;Bronze amulet,2172,50;Garlic necklace,2199,50;elven amulet,2198,100;Stone skin amulet,2197,500;Wand of cosmic energy,2189,2000;Wand of decay,2188,1000;Wand of dragonbreath,2191,200;Wand of inferno,2187,3000;Wand of vortex,2190,100;Wand of Draconia,8921,1500;Wand of Starstorm,8920,3600;Wand of Voodoo,8922,4400;Magic Light Wand,2162,35;Life Crystal,4851,50;Mind Stone,2178,100;Orb,7493,750"/>
 
</parameters>
 
 
</npc>

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

aaah, e os djins? pode me passar tbm? o alesar.. o houran..


mais o que poe la dentro?

 

e os djins? todos.. voce tem ae?


agora q vi q tem os outros.. valeu. .

 

emm, agora assim, eu editei eles certo? agora tenho q ir no map editor, importar eles e adicionar denovo?

Link para o post
Compartilhar em outros sites

irmao .. o RASHID e o Haroun o servidor continuou recusando [ nao adiciona, da error ]  .. e o alesar continua falando: 16:20 Alesar: you can't trade with me.

 

como resolve isso?

Link para o post
Compartilhar em outros sites

Precisa do storage da Quest, voce nao quer que tenha a quest e simplesmente negocie?

Posta o script .lua do seu Rashid que eu dou uma olhada.

Editado por krellgaming (veja o histórico de edições)

[TalkAction] Comando !stamina e stamina potion.

http://www.tibiaking.com/forum/topic/38953-talkaction-stamina-recupera-stamina-e-d%C3%A1-uma-potion-de-stamina/

Krell Gaming, OTServer estará ONLINE em breve!

Training Offline

Tasks, Mounts, Addons, Outfits

Quests baú, Quests lógicas, Quests misteriosas

Mistery Box (Itens Aleatórios), Upgrade your Itens(Melhorar os atributos dos itens), Frag Remover, Monster Cards

Stamina System e Stamina Potion

Castle com sistema próprio

Área Free com variadas e equilibradas hunts.

Mapa RPG porém equilibrado às rates do servidor.

Rates Variadas (Stages que podem variar de exp alta pra baixa, não baixando sempre como a maioria)

Drop rate: variando entre 3 ou mais x

Skills e ML: 20/10

Houses apenas para premium accounts.

Premium Account = 15 reais um mês.

Aproveite!

Link para o post
Compartilhar em outros sites

isso, so quero que ele negocie.


<?xml version="1.0" encoding="UTF-8"?>
<npc name="Rashid" script="data/npc/scripts/Rashid.lua" walkinterval="3000" floorchange="0">
    <look type="146" head="119" body="118" legs="119" feet="132" addons="3" />
    <parameters>
        <parameter key="message_greet" value="Ah, a customer! Be greeted, |PLAYERNAME|!" />
        <parameter key="message_sendtrade" value="Take all the time you need to decide what you want!" />
        <parameter key="message_needmoremoney" value="You dont have not enough of gold." />
        <parameter key="message_decline" value="|TOTALCOST| is a very good price |PLAYERNAME|." />
        <parameter key="message_farewell" value="Farewell, |PLAYERNAME|, may the winds guide your way." />
        <parameter key="message_walkaway" value="Come back soon!" />
        <parameter key="message_idletimeout" value="Good bye, |PLAYERNAME|!" />
 
        <parameter key="module_keywords" value="1" />
        <parameter key="keywords" value="job;name;offers;ab\'dendriel;desert;karmia;cormaya;darashia;premy island;bibula;greenshore;moria;blood bay;northport;port hope;senja;svargrond;thalia;vega;venore;time;king" />
        <parameter key="keyword_reply1" value="I am a travelling trader. I don't buy everything, though. And not from everyone, for that matter." />
        <parameter key="keyword_reply2" value="I am Rashid, son of the desert." />
        <parameter key="keyword_reply3" value="Of course, old friend. You can also browse only armor, legs, shields, helmets, boots, weapons, enchanted weapons, jewelry or miscellaneous stuff." />
        <parameter key="keyword_reply4" value="Elves... I don't really trust them. All this talk about nature and flowers and treehugging... I'm sure there's some wicked scheme behind all this." />
        <parameter key="keyword_reply5" value="My beloved hometown! Ah, the sweet scent of the desert sands, the perfect shape of the pyramids... stunningly beautiful." />
        <parameter key="keyword_reply6" value="I have to go to Karmia once in a while, since the queen wishes to see my exclusive wares in regular intervals." />
        <parameter key="keyword_reply7" value="Cormaya? Not a good place to make business, it's way too far and small." />
        <parameter key="keyword_reply8" value="It's not the real thing, but almost as good. The merchants there claim ridiculous prices, which is fine for my own business." />
        <parameter key="keyword_reply9" value="Ah yes, Premy Island! Such a lovely and quiet island! I usually make some nice business there." />
        <parameter key="keyword_reply10" value="Too few customers there, it's not worth the trip." />
        <parameter key="keyword_reply11" value="Um... I don't think so." />
        <parameter key="keyword_reply12" value="I don't like being underground much. I also tend to get lost in these labyrinthine dwarven tunnels, so I rather avoid them." />
        <parameter key="keyword_reply13" value="When you avoid the slums, it's a really pretty city. Almost as pretty as the governor's daughter." />
        <parameter key="keyword_reply14" value="Um... I don't think so." />
        <parameter key="keyword_reply15" value="I like the settlement itself, but I don't set my foot into the jungle. Have you seen the size of these centipedes??" />
        <parameter key="keyword_reply16" value="Um... I don't think so." />
        <parameter key="keyword_reply17" value="I wish it was a little bit warmer there, but with a good mug of barbarian mead in your tummy everything gets a lot cosier." />
        <parameter key="keyword_reply18" value="I feel uncomfortable and rather unsafe in Thalia, so I don't really travel there." />
        <parameter key="keyword_reply19" value="Um... I don't think so." />
        <parameter key="keyword_reply20" value="Although it's the flourishing trade centre of Tibia, I don't like going there. Too much competition for my taste." />
        <parameter key="keyword_reply21" value="It's almost time to journey on." />
        <parameter key="keyword_reply22" value="Kings, queens, emperors and kaliphs... everyone claims to be different and unique, but actually it's the same thing everywhere." />
 
        <parameter key="module_shop" value="1" />
        <parameter key="shop_buyable" value="" />
        <parameter key="shop_sellable" value="
            abyss hammer,            7414, 20000;
            amber staff,            7426, 8000;
            ancient amulet,            2142, 200;
            assassin daggerf,        7404, 20000;
            bandana,                5917, 150;
            beastslayer axe,        3962, 1500;
            berserker,                7403, 40000;
            bone shield,            2541, 80;
            bonelord helmet,        3972, 7500;
            brutetamer's staff,        7379, 1500;
            castle shield,            2535, 5000;
            chain bolter,            8850, 40000;
            chaos mace,                7427, 9000;
            coconut shoes,            9931, 500;
            composite hornbow,        8855, 25000;
            cranial basher,            7415, 30000;
            crocodile boots,        3982, 1000;
            crystal mace,            2445, 12000;
            crystal necklace,        2125, 400;
            crystal ring,            2124, 250;
            crystal sword,            7449, 600;
            crystalline armor,        8878, 16000;
            daramanian mace,        2439, 110;
            daramanian waraxe,        2440, 1000;
            dark shield,            2521, 400;
            death ring,                6300, 1000;
            demon shield,            2520, 30000;
            demonbone amulet,        2136, 32000;
            demonrage sword,        7382, 36000;
            devil helmet,            2462, 1000;
            diamond sceptre,        7387, 3000;
            djinn blade,            2451, 15000;
            doll,                    2110, 200;
            dragon scale mail,        2492, 40000;
            dragon slayer,            7402, 15000;
            dragonbone staff,        7430, 3000;
            dreaded cleaver,        7419, 10000;
            dwarven armor,            2503, 30000;
            earth cranial basher,    7866, 30000;
            earth dragon slayer,    7858, 15000;
            earth heroic axe,        7861, 30000;
            earth mystic blade,        7856, 30000;
            earth relic sword,        7855, 25000;
            earth war axe,            7863, 12000;
            emerald bangle,            2127, 800;
            energy cranial basher,    7881, 30000;
            energy dragon slayer,    7873, 15000;
            energy heroic axe,        7876, 30000;
            energy mystic blade,    7871, 30000;
            energy relic sword,        7870, 25000;
            energy war axe,            7878, 12000;
            epee,                    2438, 8000;
            fiery cranial basher,    7756, 30000;
            fiery dragon slayer,    7748, 15000;
            fiery heroic axe,        7751, 30000;
            fiery mystic blade,        7746, 30000;
            fiery relic sword,        7745, 25000;
            fiery war axe,            7753, 12000;
            flower wreath,            9927, 500;
            fur boots,                7457, 2000;
            furry club,                7432, 1000;
            glacier amulet,            7888, 1500;
            glacier kilt,            7896, 11000;
            glacier mask,            7902, 2500;
            glacier robe,            7897, 11000;
            glacier shoes,            7892, 2500;
            gold ring,                2179, 8000;
            golden armor,            2466, 20000;
            golden legs,            2470, 30000;
            guardian halberd,        2427, 11000;
            hammer of wrath,        2444, 30000;
            heavy mace,                2452, 50000;
            heavy machete,            2442, 90;
            heroic axe,                7389, 30000;
            hibiscus dress,            8873, 3000;
            icy cranial basher,        7775, 30000;
            icy dragon slayer,        7767, 15000;
            icy heroic axe,            7770, 30000;
            icy mystic blade,        7765, 30000;
            icy relic sword,        7764, 25000;
            icy war axe,            7772, 12000;
            jade hammer,            7422, 25000;
            krimhorn helmet,        7461, 200;
            lavos armor,            8877, 16000;
            leaf legs,                9928, 500;
            leopard armor,            3968, 1000;
            light shovel,            5710, 300;
            lightning boots,        7893, 2500;
            lightning headband,        7901, 2500;
            lightning legs,            7895, 11000;
            lightning pendant,        7889, 1500;
            lightning robe,            7898, 11000;
            lunar staff,            7424, 5000;
            magic plate armor,        2472, 90000;
            magma amulet,            7890, 1500;
            magma boots,            7891, 2500;
            magma coat,                7899, 11000;
            magma legs,                7894, 11000;
            magma monocle,            7900, 2500;
            mammoth fur cape,        7463, 6000;
            mammoth fur shorts,        7464, 850;
            mammoth whopper,        7381, 300;
            mastermind shield,        2514, 50000;
            medusa shield,            2536, 9000;
            mercenary sword,        7386, 12000;
            mystic blade,            7384 ,30000;
            naginata,                2426, 2000;
            nightmare blade,        7418, 35000;
            noble axe,                7456, 10000;
            norse shield,            7460, 1500;
            paladin armor,            8891, 15000;
            patched boots,            2641, 2000;
            pharaoh sword,            2446, 23000;
            pirate boots,            5462, 3000;
            pirate hat,                6096, 1000;
            pirate knee breeches,    5918, 200;
            pirate shirt,            6095, 500;
            pirate voodoo doll,        5810, 500;
            platinum amulet,        2171, 2500;
            ragnir helmet,            7462, 400;
            relic sword,            7383, 25000;
            ring of the sky,        2123, 30000;
            ruby necklace,            2133, 2000;
            ruthless axe,            6553, 45000;
            sacred tree amulet,        10219, 3000;
            sapphire hammer,        7437, 7000;
            scarab amulet,            2135, 200;
            scarab shield,            2540, 2000;
            shockwave amulet,        10221, 3000;
            silver brooch,            2134, 150;
            silver dagger,            2402, 500;
            skull helmet,            5741, 40000;
            skullcracker armor,        8889, 18000;
            spiked squelcher,        7452, 5000;
            steel boots,            2645, 30000;
            swamplair armor,        8880, 16000;
            taurus mace,            7425, 500;
            tempest shield,            2542, 35000;
            terra amulet,            7887, 1500;
            terra boots,            7886, 2500;    
            terra hood,                7903, 2500;
            terra legs,                7885, 11000;
            terra mantle,            7884, 11000;
            tortoise shield,        6131, 150;
            vile axe,                7388, 30000;
            voodoo doll,            3955, 400;
            war axe,                2454, 12000;
            wyvern fang,            7408, 1500
        " />
    </parameters>
</npc>

 

 

ESSE AQ EH O RASHID DO MEU SERVER, NAO O QUE O BROTHR POSTOU AI .

 

TODOS ESTAO ASSIM, HAROUN, RASHID, ALESAR, YAMAM ETC...

Link para o post
Compartilhar em outros sites
-- RL Rashid Script by Zbizu, for OTLand.net --
-- This script is 100% free and will be. You are not allowed to sell it! --
-- special thanks to Dantez and Dubler for support with custom trade system --
-- Yeah, yeah I suck in LUA, I know it could be shorter and shit, post better if you think this one is bad. --
 
-- config begins here
        local MSG_MISSION_WRONG_DAY = "I'm not in the mood to talk about that right now. Come find me on another day."
        local MSG_MISSION_DONE = "You helped enough for today. Come back tomorrow."
        local MSG_MISSION_NEXT = "So, my friend, are you willing to proceed to the next mission to become a recognised trader?"
        local MSG_QUEST_DONE = "You don't need to prove anything anymore, old friend. If you want to {trade}, just ask."
        local DAY_GLOBALSTORAGE = 25358 -- must be same as in RashidHandler
        local TRADE_PLAYERSTORAGE = 25358
        local ENDSTORAGE = 13 -- last mission done storage
 
-- put there storages npcs check before they give player questitem
        local Willard_storage = {85, 3}
        local Miraia_storage = {85, 9}
        local Briasol_storage = {85, 11}
        local Uzgod_storage = {85, 14}
-- config ends here
 
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid
local items = {}
 
function onCreatureAppear(cid)                          npcHandler:onCreatureAppear(cid)                        end
function onCreatureDisappear(cid)                       npcHandler:onCreatureDisappear(cid)             end
function onCreatureSay(cid, type, msg)          npcHandler:onCreatureSay(cid, type, msg)        end
function onThink()                                                      npcHandler:onThink()                                            end
function onPlayerEndTrade(cid)                          npcHandler:onPlayerEndTrade(cid)                        end
function onPlayerCloseChannel(cid)                      npcHandler:onPlayerCloseChannel(cid)            end
       
function creatureSayCallback(cid, type, msg)
        if(not npcHandler:isFocused(cid)) then
                return false
        end
        local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid
local RashidList = {
        [1] = { -- armors
        {id=20109, sell=7000, name="Buckle"}, -- 981
        {id=8878, sell=16000, name="Crystalline Armor"},
        {id=8885, sell=55000, name="Divine Plate"},
        {id=2492, sell=40000, name="Dragon Scale Mail"},
        {id=2503, sell=30000, name="Dwarven Armor"},
        {id=9929, sell=1000, name="Flower Dress"},
        {id=7897, sell=11000, name="Glacier Robe"},
        {id=2466, sell=20000, name="Golden Armor"},
        {id=8873, sell=3000, name="Hibiscus Dress"},
        {id=8877, sell=16000, name="Lavos Armor"},
        {id=3968, sell=1000, name="Leopard Armor"},
        {id=7898, sell=11000, name="Lightning Robe"},
        {id=2472, sell=90000, name="Magic Plate Armor"},
        {id=7899, sell=11000, name="Magma Coat"},
        {id=7463, sell=6000, name="Mammoth Fur Cape"},
        {id=8891, sell=15000, name="Paladin Armor"},
        {id=6095, sell=500, name="Pirate Shirt"},
        {id=8889, sell=18000, name="Skullcracker Armor"},
        {id=8880, sell=16000, name="Swamplair Armor"},
        {id=7884, sell=11000, name="Terra Mantle"},
        },
 
        [2] = { -- legs
        {id=7896, sell=11000, name="Glacier Kilt"},
        {id=2470, sell=30000, name="Golden Legs"},
        {id=9928, sell=500, name="Leaf Legs"},
        {id=7895, sell=11000, name="Lightning Legs"},
        {id=7894, sell=11000, name="Magma Legs"},
        {id=7464, sell=850, name="Mammoth Fur Shorts"},
        {id=5918, sell=200, name="Pirate Knee Breeches"},
        {id=7885, sell=11000, name="Terra Legs"},
        },
 
        [3] = { -- shields
        {id=2541, sell=80, name="Bone Shield"},
        {id=2535, sell=5000, name="Castle Shield"},
        {id=2521, sell=400, name="Dark Shield"},
        {id=2520, sell=30000, name="Demon Shield"},
        {id=2514, sell=50000, name="Mastermind Shield"},
        {id=2536, sell=9000, name="Medusa Shield"},
        {id=7460, sell=1500, name="Norse Shield"},
        {id=2540, sell=2000, name="Scarab Shield"},
        {id=2542, sell=35000, name="Tempest Shield"},
        {id=6131, sell=150, name="Tortoise Shield"},
        },
 
        [4] = { -- helmets
        {id=5917, sell=150, name="Bandana"},
        {id=3972, sell=7500, name="Bonelord Helmet"},
        {id=12630, sell=40000, name="Cobra Crown"},
        {id=2462, sell=1000, name="Devil Helmet"},
        {id=9927, sell=500, name="Flower Wreath"},
        {id=7902, sell=2500, name="Glacier Mask"},
        {id=20132, sell=2000, name="Helmet of the Lost"}, -- 981
        {id=7461, sell=200, name="Krimhorn Helmet"},
        {id=7901, sell=2500, name="Lightning Headband"},
        {id=7900, sell=2500, name="Magma Monocle"},
        {id=6096, sell=1000, name="Pirate Hat"},
        {id=7462, sell=400, name="Ragnir Helmet"},
        {id=5741, sell=40000, name="Skull Helmet"},
        {id=7903, sell=2500, name="Terra Hood"},
        {id=10570, sell=5000, name="Witch Hat"},
        },
 
        [5] = { -- boots
        {id=9931, sell=500, name="Coconut Shoes"},
        {id=3982, sell=1000, name="Crocodile Boots"},
        {id=7457, sell=2000, name="Fur Boots"},
        {id=7892, sell=2500, name="Glacier Shoes"},
        {id=7893, sell=2500, name="Lightning Boots"},
        {id=7891, sell=2500, name="Magma Boots"},
        {id=2641, sell=2000, name="Patched Boots"},
        {id=5462, sell=3000, name="Pirate Boots"},
        {id=2645, sell=30000, name="Steel Boots"},
        {id=7886, sell=2500, name="Terra Boots"},
        },
 
        [6] = { -- weapons
        {id=7414, sell=20000, name="Abyss Hammer"},
        {id=7426, sell=8000, name="Amber Staff"},
        {id=7404, sell=20000, name="Assassin Dagger"},
        {id=3962, sell=1500, name="Beastslayer Axe"},
        {id=7403, sell=40000, name="Berserker"},
        {id=7406, sell=6000, name="Blacksteel Sword"},
        {id=7429, sell=40000, name="Blessed Sceptre"},
        {id=7379, sell=1500, name="Brutetamer's Staff"},
        {id=8850, sell=40000, name="Chain Bolter"},
        {id=7427, sell=9000, name="Chaos Mace"},
        {id=8855, sell=25000, name="Composite Hornbow"},
        {id=7415, sell=30000, name="Cranial Basher"},
        {id=18453, sell=35000, name="Crystal Crossbow"}, -- 96
        {id=2445, sell=12000, name="Crystal Mace"},
        {id=7449, sell=600, name="Crystal Sword"},
        {id=2439, sell=110, name="Daramanian Mace"},
        {id=2440, sell=1000, name="Daramanian Waraxe"},
        {id=7382, sell=36000, name="Demonrage Sword"},
        {id=7387, sell=3000, name="Diamond Sceptre"},
        {id=2451, sell=15000, name="Djinn Blade"},
        {id=7402, sell=15000, name="Dragon Slayer"},
        {id=7430, sell=3000, name="Dragonbone Staff"},
        {id=7419, sell=10000, name="Dreaded Cleaver"}, -- green djinn 15k
        {id=7438, sell=2000, name="Elvish Bow"},
        {id=2438, sell=8000, name="Epee"},
        {id=7432, sell=1000, name="Furry Club"},
        {id=2427, sell=11000, name="Guardian Halberd"},
        {id=2444, sell=30000, name="Hammer of Wrath"},
        {id=7380, sell=6000, name="Headchopper"},
        {id=2452, sell=50000, name="Heavy Mace"},
        {id=2442, sell=90, name="Heavy Machete"},
        {id=13838, sell=2000, name="Heavy Trident"}, -- 92
        {id=7389, sell=30000, name="Heroic Axe"},
        {id=7422, sell=25000, name="Jade Hammer"},
        {id=7390, sell=40000, name="Justice Seeker"},
        {id=7424, sell=5000, name="Lunar Staff"},
        {id=7381, sell=300, name="Mammoth Whopper"},
        {id=7386, sell=12000, name="Mercenary Sword"},
        {id=18454, sell=35000, name="Mycological Bow"}, -- 96
        {id=7384, sell=30000, name="Mystic Blade"},
        {id=2426, sell=2000, name="Naginata"},
        {id=7418, sell=35000, name="Nightmare Blade"},
        {id=7456, sell=10000, name="Noble Axe"},
        {id=7392, sell=6000, name="Orcish Maul"},
        {id=20108, sell=4000, name="Pair of Iron Fists"}, -- 981
        {id=2446, sell=23000, name="Pharaoh Sword"},
        {id=7383, sell=25000, name="Relic Sword"},
        {id=7434, sell=40000, name="Royal Axe"},
        {id=6553, sell=45000, name="Ruthless Axe"},
        {id=7437, sell=7000, name="Sapphire Hammer"},
        {id=2402, sell=500, name="Silver Dagger"},
        {id=7452, sell=5000, name="Spiked Squelcher"},
        {id=7425, sell=500, name="Taurus Mace"},
        {id=7388, sell=30000, name="Vile Axe"},
        {id=2454, sell=12000, name="War Axe"},
        {id=7408, sell=1500, name="Wyvern Fang"},
        },
 
        [7] = { -- ench wp
        {id=7866, sell=30000, name="Earth Cranial Basher"},
        {id=7858, sell=15000, name="Earth Dragon Slayer"},
        {id=7862, sell=6000, name="Earth Headchopper"},
        {id=7861, sell=30000, name="Earth Heroic Axe"},
        {id=7856, sell=30000, name="Earth Mystic Blade"},
        {id=7867, sell=6000, name="Earth Orcish Maul"},
        {id=7855, sell=25000, name="Earth Relic Sword"},
        {id=7863, sell=12000, name="Earth War Axe"},
        {id=7881, sell=30000, name="Energy Cranial Basher"},
        {id=7873, sell=15000, name="Energy Dragon Slayer"},
        {id=7877, sell=6000, name="Energy Headchopper"},
        {id=7876, sell=30000, name="Energy Heroic Axe"},
        {id=7871, sell=30000, name="Energy Mystic Blade"},
        {id=7882, sell=6000, name="Energy Orcish Maul"},
        {id=7870, sell=25000, name="Energy Relic Sword"},
        {id=7878, sell=12000, name="Energy War Axe"},
        {id=7756, sell=30000, name="Fiery Cranial Basher"},
        {id=7748, sell=15000, name="Fiery Dragon Slayer"},
        {id=7752, sell=6000, name="Fiery Headchopper"},
        {id=7751, sell=30000, name="Fiery Heroic Axe"},
        {id=7746, sell=30000, name="Fiery Mystic Blade"},
        {id=7757, sell=6000, name="Fiery Orcish Maul"},
        {id=7745, sell=25000, name="Fiery Relic Sword"},
        {id=7753, sell=12000, name="Fiery War Axe"},
        {id=7775, sell=30000, name="Icy Cranial Basher"},
        {id=7767, sell=15000, name="Icy Dragon Slayer"},
        {id=7771, sell=6000, name="Icy Headchopper"},
        {id=7770, sell=30000, name="Icy Heroic Axe"},
        {id=7765, sell=30000, name="Icy Mystic Blade"},
        {id=7776, sell=6000, name="Icy Orcish Maul"},
        {id=7764, sell=25000, name="Icy Relic Sword"},
        {id=7772, sell=12000, name="Icy War Axe"},
        },
 
        [8] = { -- jewelry
        {id=2142, sell=200, name="Ancient Amulet"},
        {id=11374, sell=1500, name="Beetle Necklace"},
        {id=2125, sell=500, name="Crystal Necklace"},
        {id=2124, sell=250, name="Crystal Ring"},
        {id=6300, sell=1000, name="Death Ring"},
        {id=2136, sell=32000, name="Demonbone Amulet"},
        {id=2127, sell=800, name="Emerald Bangle"},
        {id=7888, sell=1500, name="Glacier Amulet"},
        {id=2179, sell=8000, name="Gold Ring"},
        {id=10220, sell=3000, name="Leviathan's Amulet"},
        {id=7889, sell=1500, name="Lightning Pendant"},
        {id=7890, sell=1500, name="Magma Amulet"},
        {id=2171, sell=2500, name="Platinum Amulet"},
        {id=2123, sell=30000, name="Ring of the Sky"},
        {id=2133, sell=2000, name="Ruby Necklace"},
        {id=10219, sell=3000, name="Sacred Tree Amulet"},
        {id=2135, sell=200, name="Scarab Amulet"},
        {id=10221, sell=3000, name="Shockwave Amulet"},
        {id=2134, sell=150, name="Silver Brooch"},
        {id=7887, sell=1500, name="Terra Amulet"},
        },
 
        [9] = { -- misc
        {id=2110, sell=200, name="Doll"},
        {id=5710, sell=300, name="Light Shovel"},
        {id=5810, sell=500, name="Pirate Voodoo Doll"},
        {id=3955, sell=400, name="Voodoo Doll"},
        {id=2079, sell=8000, name="War Horn"},
        }
 
        }
local RashidTypes = {
["armors"] = 1,
["legs"] = 2,
["shields"] = 3,
["helmets"] = 4,
["boots"] = 5,
["weapons"] = 6,
["enchanted weapons"] = 7,
["jewelry"] = 8,
["miscellaneous"] = 9
}
        local onSell = function(cid, item, subType, amount, ignoreCap, inBackpacks)
        for _, item in ipairs(items) do
                items[item.id] = {item_id = item.id, sellPrice = item.sell, subType = 0}
        end
       
                if(subType < 1 or getItemInfo(items[item].item_id).stackable) then
                        subType = -1
                end
                if(doPlayerRemoveItem(cid, items[item].item_id, amount, subType, ignoreEquipped)) then
                if amount > 1 then nm = getItemPluralNameById(items[item].item_id) else nm = getItemNameById(items[item].item_id) end
                if amount > 1 then nn = amount else nn = getItemArticleById(items[item].item_id) end
                        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'Sold ' .. nn .. ' ' .. nm .. ' for ' .. amount * items[item].sellPrice .. ' gold.')
                        doPlayerAddMoney(cid, amount * items[item].sellPrice)
                        return true
                end
        end
        local function TypeWindow()
                openShopWindow(cid, RashidList[RashidTypes[msg]], onBuy, onSell)
        end
 
        local function AllWindow()
                openShopWindow(cid, items, onBuy, onSell)
        end
       
        if talkState[talkUser] == 19 and RashidTypes[msg] ~= null then
                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == ENDSTORAGE then
                closeShopWindow(cid)
                addEvent(TypeWindow, 10, cid)
                selfSay("Here.", cid)
                else
                        selfSay("Sorry, but you do not belong to my exclusive customers. I have to make sure that I can trust in the quality of your wares.", cid)
                        talkState[talkUser] = 0
                end
        end
    if msgcontains(msg, 'trade') or msgcontains(msg, 'offer') then
                items = {}
                for i=1, #RashidList do
                for k,v in pairs(RashidList[i]) do
                        table.insert(items,v)
                end
end
                                closeShopWindow(cid)
                                addEvent(AllWindow, 10, cid)
                                selfSay("Of course, old friend. You can also browse only {armors}, {legs}, {shields}, {helmets}, {boots}, {weapons}, {enchanted weapons}, {jewelry} or {miscellaneous} stuff.", cid)
                                talkState[talkUser] = 19
    end
       
        -- mission handler begins here
        if msgcontains(msg, "no")then
                selfSay("Then stop wasting my time!", cid)
                talkState[talkUser] = 0
                npcHandler:releaseFocus(cid)
        end
        if msgcontains(msg, "yes") then
                if talkState[talkUser] == 18 then
                        if doPlayerRemoveItem(cid,5929,1) then
                                selfSay("Thank you!! Ah, this makes my day! I'll take the rest of the day off to get to know this little guy. Come see me tomorrow, if you like.", cid)
                                doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 12)
                        else
                                selfSay("This is not funny. Fulfill your promise or get out of my eyes!", cid)
                        end
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 17 then
                        doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 11)
                        selfSay("Thanks so much! I'll be waiting eagerly for your return then.", cid)
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 16 then
                talkState[talkUser] = 17
                        npcHandler:say("My friend, it seems you have already learnt a lot about the art of trading. I think you are more than worthy to become a recognised trader. ...", cid)
                        npcHandler:say("There is just one little favour that I would ask from you... something personal, actually, forgive my boldness. ...", cid, 8000)
                        npcHandler:say("I have always dreamed to have a small pet, one that I could take with me and which wouldn't cause problems. ...", cid, 13000)
                        npcHandler:say("Could you - just maybe - bring me a small goldfish in a bowl? I know that you would be able to get one, wouldn't you?", cid, 17000)
                elseif talkState[talkUser] == 15 then
                        if doPlayerRemoveItem(cid,8209,1) then
                                selfSay("Ha! You are clever indeed, well done! I'll take this from you. Come see me tomorrow, I think we two might get into business after all.", cid)
                                doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 10)
                        else
                                if getPlayerItemCount(cid, 11395) > 0 then
                                        selfSay("I don't even want to know what happend there. This quality is awful. Go to Uzgod and try again.", cid)
                                else
                                        if getPlayerItemCount(cid, 7385) > 0 then
                                                selfSay("You paid too much for this one! Try again and remember that you may spend only 400 gold on it.", cid)
                                        else
                                                selfSay("It seems you lost it. Go and get another one!", cid)
                                        end
                                end
                        end
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 14 then
                        doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 9)
                        doCreatureSetStorage(cid, Uzgod_storage[1], Uzgod_storage[2])
                        selfSay("Okay, I'm curious how you will do with Uzgod. Good luck!", cid)
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 13 then
                talkState[talkUser] = 14
                        npcHandler:say("Fine! There's one more skill that I need to test and which is cruicial for a successful trader. ...", cid)
                        npcHandler:say("Of course you must be able to haggle, else you won't survive long in this business. To make things as hard as possible for you, I have the perfect trade partner for you. ...", cid, 8000)
                        npcHandler:say("Dwarves are said to be the most stubborn of all traders. Travel to {Kazordoon} and try to get the smith Uzgod to sell a crimson sword to you. ...", cid, 13000)
                        npcHandler:say("Of course, it has to be cheap. Don't come back with anything more expensive than 400 gold. ...", cid, 17000)
                        npcHandler:say("And the quality must not suffer, of course! Everything clear and understood?", cid, 21000)
                elseif talkState[talkUser] == 12 then
                        if doPlayerRemoveItem(cid,7582,1) then
                                selfSay("I'm surprised that you managed to bring this vase without a single crack. That was what I needed to know, thank you.", cid)
                                doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 8)
                        else
                                selfSay("It seems you lost it. Go and get another one!", cid)
                        end
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 11 then
                        doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 7)
                        doCreatureSetStorage(cid, Briasol_storage[1], Briasol_storage[2])
                        selfSay("Okay, then please find Briasol in {Ab'Dendriel} and ask for a 'fine vase'.", cid)
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 10 then
                talkState[talkUser] = 11
                        npcHandler:say("Well, that's good to hear. From you as my trader and deliveryman, I expect more than bringing stinky cheese. ...", cid)
                        npcHandler:say("I wonder if you are able to deliver goods so fragile they almost break when looked at. ...", cid, 6000)
                        npcHandler:say("I have ordered a special elven vase from Briasol in Ab'Dendriel. Get it from him and don't even touch it, just bring it to me while I'm in Ankrahmun. Everything clear and understood?", cid, 12000)
                elseif talkState[talkUser] == 9 then
                        if doPlayerRemoveItem(cid,8112,1) then
                                selfSay("Mmmhh, the lovely odeur of scarab cheese! I really can't understand why most people can't stand it. Thanks, well done!", cid)
                                doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 6)
                        else
                                selfSay("This is NOT a scarab cheese! You can't fake its odour.", cid)
                        end
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 8 then
                        doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 5)
                        doCreatureSetStorage(cid, Miraia_storage[1], Miraia_storage[2])
                        selfSay("Okay, then please find Miraia in {Darashia} and ask her about the 'scarab cheese'.", cid)
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 7 then
                talkState[talkUser] = 8
                        npcHandler:say("Well, that's good to hear. From you as my trader and deliveryman, I expect more than carrying heavy packages. ...", cid)
                        npcHandler:say("You also need to be fast and deliver wares in time. I have ordered a very special cheese wheel made from Darashian milk. ...", cid, 8000)
                        npcHandler:say("Unfortunately, the high temperature in the desert makes it rot really fast, so it must not stay in the sun for too long. ...", cid, 15000)
                        npcHandler:say("I'm also afraid that you might not be able to use ships because of the smell of the cheese. ...", cid, 19000)
                        npcHandler:say("Please get the cheese from {Miraia} and bring it to me while I'm in {Port Hope}. Everything clear and understood?", cid, 25000)
                elseif talkState[talkUser] == 6 then
                        if doPlayerRemoveItem(cid,7503,1) then
                                selfSay("Great. Just place it over there - yes, thanks, that's it. Come see me another day, I'll be busy for a while now.", cid)
                                doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 4)
                        else
                                selfSay("Then find Willard and ask him for 'package for Rashid'. I'll be busy for a while now.", cid)
                        end
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 5 then
                        doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 3)
                        doCreatureSetStorage(cid, Willard_storage[1], Willard_storage[2])
                        selfSay("Fine. Then off you go, just ask {Willard} about the 'package for Rashid'.", cid)
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 4 then
                talkState[talkUser] = 5
                        npcHandler:say("Alright, that's good to hear. From you as my trader and deliveryman, I expect more than finding rare items. ...", cid)
                        npcHandler:say("You also need to be able to transport heavy wares, weaklings won't get far here. I have ordered a special package from {Edron}. ...", cid, 8000)
                        npcHandler:say("Pick it up from Willard and bring it back to me while I'm in Liberty Bay. Everything clear and understood?", cid, 15000)
                elseif talkState[talkUser] == 3 then
                        if doPlayerRemoveItem(cid,7397,1) then
                                selfSay("Well done! I'll take that from you. <snags it> Come see me another day, I'll be busy for a while now.", cid)
                                doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 2)
                        else
                                selfSay("Stop wasting my time, I am busy person.", cid)
                        end
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 2 then
                        selfSay("Fine. Then get a hold of that {deer trophy} and bring it to me while I'm in {Svargrond}. Just ask me about your {mission}.", cid)
                        doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 1)
                        talkState[talkUser] = 0
                        npcHandler:releaseFocus(cid)
                elseif talkState[talkUser] == 1 then
                talkState[talkUser] = 2
                        npcHandler:say("Very good! I need talented people who are able to handle my wares with care, find good offers and the like, so I'm going to test you. ...", cid)
                        npcHandler:say("First, I'd like to see if you can dig up rare wares. Something like a ...", cid, 8000)
                        npcHandler:say("mastermind shield! ...", cid, 15000)
                        npcHandler:say("Haha, just kidding, fooled you there, didn't I? Always control your nerves, that's quite important during bargaining. ...", cid, 19000)
                        npcHandler:say("Okay, all I want from you is one of these rare {deer trophies}. I have a customer here in {Svargrond} who ordered one, so I'd like you to deliver it to me while I'm in Svargrond. ...", cid, 25000)
                        npcHandler:say("Everything clear and understood?", cid, 32000)
                end
        end
        if msgcontains(msg, "deer") or msgcontains(msg, "trophy") then
                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 1 then
                        if getPlayerItemCount(cid, 7397) > 0 then
                                selfSay("Have you managed to obtain a rare deer trophy for my customer?", cid)
                                talkState[talkUser] = 3
                        else
                                selfSay("Your mission is to find a deer trophy. I will accept this trophy only on mondays, so hurry up.", cid)
                                talkState[talkUser] = 0
                        end
                else
                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) < 1 then
                                selfSay("Currently I'm out of them, but if I get any I'll let you know.", cid)
                        else
                                selfSay("I don't need any at the moment, old friend. If you want to {trade} other items, just ask me.", cid)                   
                        end
                        talkState[talkUser] = 0
                end
        end
        if msgcontains(msg, "package") then
                if getGlobalStorageValue(DAY_GLOBALSTORAGE) == 2 then
                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 3 then
                                selfSay("Did you bring me the package?", cid)
                                talkState[talkUser] = 6
                        else
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 2 then
                                        selfSay(MSG_MISSION_DONE, cid)
                                        talkState[talkUser] = 0
                                else
                                        selfSay(MSG_MISSION_WRONG_DAY, cid)
                                        talkState[talkUser] = 0
                                end
                        end
                end
        end
        if msgcontains(msg, "scarab") or msgcontains(msg, "cheese") then
                if getGlobalStorageValue(DAY_GLOBALSTORAGE) == 3 then
                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 5 then
                                        selfSay("Have you brought the cheese?", cid)
                                        talkState[talkUser] = 9
                        else
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 4 then
                                        selfSay(MSG_MISSION_DONE, cid)
                                        talkState[talkUser] = 0
                                else
                                        selfSay(MSG_MISSION_WRONG_DAY, cid)
                                        talkState[talkUser] = 0
                                end
                        end
                end
        end
        if msgcontains(msg, "vase") then
                if getGlobalStorageValue(DAY_GLOBALSTORAGE) == 4 then
                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 7 then
                                        selfSay("Have you brought the vase?", cid)
                                        talkState[talkUser] = 12
                        else
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 6 then
                                        selfSay(MSG_MISSION_DONE, cid)
                                        talkState[talkUser] = 0
                                else
                                        selfSay(MSG_MISSION_WRONG_DAY, cid)
                                        talkState[talkUser] = 0
                                end
                        end
                end
        end
        if msgcontains(msg, "crimson") or msgcontains(msg, "sword") then
                if getGlobalStorageValue(DAY_GLOBALSTORAGE) == 5 then
                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 9 then
                                        selfSay("Have you brought a cheap but good crimson sword?", cid)
                                        talkState[talkUser] = 15
                        else
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 8 then
                                        selfSay(MSG_MISSION_DONE, cid)
                                        talkState[talkUser] = 0
                                else
                                        selfSay(MSG_MISSION_WRONG_DAY, cid)
                                        talkState[talkUser] = 0
                                end
                        end
                end
        end
        if msgcontains(msg, "fish") or msgcontains(msg, "bowl") then
                if getGlobalStorageValue(DAY_GLOBALSTORAGE) == 6 then
                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 11 then
                                        selfSay("Have you brought me a gold fish??", cid)
                                        talkState[talkUser] = 18
                        else
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 10 then
                                        selfSay(MSG_MISSION_DONE, cid)
                                        talkState[talkUser] = 0
                                else
                                        selfSay(MSG_MISSION_WRONG_DAY, cid)
                                        talkState[talkUser] = 0
                                end
                        end
                end
        end
        if msgcontains(msg, "mission") then
                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > ENDSTORAGE then
                        selfSay(MSG_QUEST_DONE, cid)
                        talkState[talkUser] = 0
                else
                        -- MONDAY --
                        if getGlobalStorageValue(DAY_GLOBALSTORAGE) == 1 then
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 1 then
                                        selfSay(MSG_MISSION_DONE, cid)
                                        talkState[talkUser] = 0
                                else
                                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 1 then
                                                selfSay("Have you managed to obtain a rare deer trophy for my customer?", cid)
                                                talkState[talkUser] = 3
                                        else
                                                selfSay("Well, you could attempt the mission to become a recognised trader, but it requires a lot of travelling. Are you willing to try?", cid)
                                                talkState[talkUser] = 1
                                        end
                                end
                        -- TUESDAY --                          
                        elseif getGlobalStorageValue(DAY_GLOBALSTORAGE) == 2 then
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 3 then
                                        selfSay("Did you bring me the package?", cid)
                                        talkState[talkUser] = 6
                                else
                                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 2 then
                                                        selfSay(MSG_MISSION_NEXT, cid)
                                                        talkState[talkUser] = 4
                                        else
                                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 2 then
                                                        selfSay(MSG_MISSION_DONE, cid)
                                                        talkState[talkUser] = 0
                                                else
                                                        selfSay(MSG_MISSION_WRONG_DAY, cid)
                                                        talkState[talkUser] = 0
                                                end
                                        end
                                end
                        -- WEDNESDAY --
                        elseif getGlobalStorageValue(DAY_GLOBALSTORAGE) == 3 then
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 5 then
                                        selfSay("Have you brought the cheese?", cid)
                                        talkState[talkUser] = 9
                                else
                                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 4 then
                                                        selfSay(MSG_MISSION_NEXT, cid)
                                                        talkState[talkUser] = 7
                                        else
                                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 4 then
                                                        selfSay(MSG_MISSION_DONE, cid)
                                                        talkState[talkUser] = 0
                                                else
                                                        selfSay(MSG_MISSION_WRONG_DAY, cid)
                                                        talkState[talkUser] = 0
                                                end
                                        end
                                end
                        -- THURSDAY --
                        elseif getGlobalStorageValue(DAY_GLOBALSTORAGE) == 4 then
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 7 then
                                        selfSay("Have you brought the vase?", cid)
                                        talkState[talkUser] = 12
                                else
                                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 6 then
                                                        selfSay(MSG_MISSION_NEXT, cid)
                                                        talkState[talkUser] = 10
                                        else
                                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 6 then
                                                        selfSay(MSG_MISSION_DONE, cid)
                                                        talkState[talkUser] = 0
                                                else
                                                        selfSay(MSG_MISSION_WRONG_DAY, cid)
                                                        talkState[talkUser] = 0
                                                end
                                        end
                                end
                        -- FRIDAY --
                        elseif getGlobalStorageValue(DAY_GLOBALSTORAGE) == 5 then
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 9 then
                                        selfSay("Have you brought a cheap but good crimson sword?", cid)
                                        talkState[talkUser] = 15
                                else
                                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 8 then
                                                        selfSay(MSG_MISSION_NEXT, cid)
                                                        talkState[talkUser] = 13
                                        else
                                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 8 then
                                                        selfSay(MSG_MISSION_DONE, cid)
                                                        talkState[talkUser] = 0
                                                else
                                                        selfSay(MSG_MISSION_WRONG_DAY, cid)
                                                        talkState[talkUser] = 0
                                                end
                                        end
                                end
                        -- SATURDAY --
                        elseif getGlobalStorageValue(DAY_GLOBALSTORAGE) == 6 then
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 11 then
                                        selfSay("Have you brought me a gold fish??", cid)
                                        talkState[talkUser] = 18
                                else
                                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 10 then
                                                        selfSay(MSG_MISSION_NEXT, cid)
                                                        talkState[talkUser] = 16
                                        else
                                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 10 then
                                                        selfSay(MSG_MISSION_DONE, cid)
                                                        talkState[talkUser] = 0
                                                else
                                                        selfSay(MSG_MISSION_WRONG_DAY, cid)
                                                        talkState[talkUser] = 0
                                                end
                                        end
                                end
                        -- SUNDAY --
                        elseif getGlobalStorageValue(DAY_GLOBALSTORAGE) == 7 then
                                if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) == 12 then
                                                selfSay("Ah, right. <ahem> I hereby declare you - one of my recognised traders! Feel free to offer me your wares!", cid)
                                                doCreatureSetStorage(cid, TRADE_PLAYERSTORAGE, 13)
                                                -- if your server uses achievement system place recognised trader achievement here
                                else
                                        if getCreatureStorage(cid, TRADE_PLAYERSTORAGE) > 12 then
                                                selfSay(MSG_MISSION_DONE, cid)
                                        else
                                                selfSay(MSG_MISSION_WRONG_DAY, cid)
                                        end
                                end
                                talkState[talkUser] = 0
                        else
                                selfSay(MSG_MISSION_WRONG_DAY .. " I don't even know what day is it. Please report that issue to server administrator.", cid)
                                print("\n[Warning - " .. getCreatureName(getNpcId()) .. "] RashidHandler: Wrong global storage! \nRashidHandler wasn't installed or is disabled! \nIt's impossible to do The Travelling Trader Quest now!")
                        end
                end
        end
        -- mission handler ends here
        return true
end
 
npcHandler:setCallback(CALLBACK_GREET, greetCallback)
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new()) 

Cara, tem alguns scripts diferentes de Rashid por aí, entao faz um backup desse que vc tem e depois testa esse.

 

Eu só tirei do script a condicao do storage quando o player fala "trade" ou "offer", nao olhei o script inteiro pra ver se tem outras condicoes porque to sem muito tempo e o script é bem longo, entao testa e me fala, qualquer coisa eu tento corrigir de novo, mas faz um backup do seu antigo pq qualquer coisa voce tem o seu de volta.

Abracos!

 

 Da um f5 ae mano! Arrumei uma coisinha, talvez funcione!

Editado por krellgaming (veja o histórico de edições)

[TalkAction] Comando !stamina e stamina potion.

http://www.tibiaking.com/forum/topic/38953-talkaction-stamina-recupera-stamina-e-d%C3%A1-uma-potion-de-stamina/

Krell Gaming, OTServer estará ONLINE em breve!

Training Offline

Tasks, Mounts, Addons, Outfits

Quests baú, Quests lógicas, Quests misteriosas

Mistery Box (Itens Aleatórios), Upgrade your Itens(Melhorar os atributos dos itens), Frag Remover, Monster Cards

Stamina System e Stamina Potion

Castle com sistema próprio

Área Free com variadas e equilibradas hunts.

Mapa RPG porém equilibrado às rates do servidor.

Rates Variadas (Stages que podem variar de exp alta pra baixa, não baixando sempre como a maioria)

Drop rate: variando entre 3 ou mais x

Skills e ML: 20/10

Houses apenas para premium accounts.

Premium Account = 15 reais um mês.

Aproveite!

Link para o post
Compartilhar em outros sites

firma, e os outros NPC? tem ai pra eu testas aq tbm


opa irmao, nao foi .. deu uns erros aq.. olha aq ..

 

rashid.lua:301: 'end' expected <to close 'for' at line 293> near 'else'

Link para o post
Compartilhar em outros sites

Dá um F5 amigo, eu modifiquei um pouco, eu vi isso aí quando postei e editei, mas acho que voce pegou o antigo, ve se agora ta certo.

[TalkAction] Comando !stamina e stamina potion.

http://www.tibiaking.com/forum/topic/38953-talkaction-stamina-recupera-stamina-e-d%C3%A1-uma-potion-de-stamina/

Krell Gaming, OTServer estará ONLINE em breve!

Training Offline

Tasks, Mounts, Addons, Outfits

Quests baú, Quests lógicas, Quests misteriosas

Mistery Box (Itens Aleatórios), Upgrade your Itens(Melhorar os atributos dos itens), Frag Remover, Monster Cards

Stamina System e Stamina Potion

Castle com sistema próprio

Área Free com variadas e equilibradas hunts.

Mapa RPG porém equilibrado às rates do servidor.

Rates Variadas (Stages que podem variar de exp alta pra baixa, não baixando sempre como a maioria)

Drop rate: variando entre 3 ou mais x

Skills e ML: 20/10

Houses apenas para premium accounts.

Premium Account = 15 reais um mês.

Aproveite!

Link para o post
Compartilhar em outros sites

agora deu error na LINE 1


o NPC nem adicionado no mapa ta sendo, ta certo isso? rsrs

 

cara, sera q nao eh burrice minha? kkk pq tipo, quando adiciono no NPC  no mapa, eu recebo algum aviso.. tipo: NPC importado, sei la.. pq nao aparece nda kkk

Link para o post
Compartilhar em outros sites

Na line 1? O.o mas na line 1 só tem comentários cara, será que voce nao copiou errado? Estranho, como que ta escrito o erro?

Rashid.xml

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Rashid" script="mods/npc/scripts/Rashid.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="146" head="99" body="102" legs="122" feet="115" addons="2"/>
<parameters>
<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="Good bye." />

<parameter key="module_keywords" value="1" />
<parameter key="keywords" value="name;job;custom;ab'dendriel;ankrahmun;carlin;cormaya;darashia;edron;fibula;greenshore;kazordoon;liberty bay;northport;port hope;senja;svargrond;thais;vega;venore;time;king;queen;emperor" />
<parameter key="keyword_reply1" value="I am Rashid, son of the desert." />
<parameter key="keyword_reply2" value="I am a travelling trader. I don't buy everything, though. And not from everyone, for that matter." />
<parameter key="keyword_reply3" value="I am a travelling trader. I don't buy everything, though. And not from everyone, for that matter." />
<parameter key="keyword_reply4" value="Elves... I don't really trust them. All this talk about nature and flowers and treehugging... I'm sure there's some wicked scheme behind all this." />
<parameter key="keyword_reply5" value="My beloved hometown! Ah, the sweet scent of the desert sands, the perfect shape of the pyramids... stunningly beautiful." />
<parameter key="keyword_reply6" value="I have to go to Carlin once in a while, since the queen wishes to see my exclusive wares in regular intervals." />
<parameter key="keyword_reply7" value="Cormaya? Not a good place to make business, it's way too far and small." />
<parameter key="keyword_reply8" value="It's not the real thing, but almost as good. The merchants there claim ridiculous prices, which is fine for my own business." />
<parameter key="keyword_reply9" value="Ah yes, Edron! Such a lovely and quiet island! I usually make some nice business there." />
<parameter key="keyword_reply10" value="Too few customers there, it's not worth the trip." />
<parameter key="keyword_reply11" value="Um... I don't think so." />
<parameter key="keyword_reply12" value="I don't like being underground much. I also tend to get lost in these labyrinthine dwarven tunnels, so I rather avoid them." />
<parameter key="keyword_reply13" value="When you avoid the slums, it's a really pretty city. Almost as pretty as the governor's daughter." />
<parameter key="keyword_reply14" value="Um... I don't think so." />
<parameter key="keyword_reply15" value="I like the settlement itself, but I don't set my foot into the jungle. Have you seen the size of these centipedes??" />
<parameter key="keyword_reply16" value="Um... I don't think so." />
<parameter key="keyword_reply17" value="I wish it was a little bit warmer there, but with a good mug of barbarian mead in your tummy everything gets a lot cosier." />
<parameter key="keyword_reply18" value="I feel uncomfortable and rather unsafe in Thais, so I don't really travel there." />
<parameter key="keyword_reply19" value="Um... I don't think so." />
<parameter key="keyword_reply20" value="Although it's the flourishing trade centre of Tibia, I don't like going there. Too much competition for my taste." />
<parameter key="keyword_reply21" value="It's almost time to journey on." />
<parameter key="keyword_reply22" value="Kings, queens, emperors and kaliphs... everyone claims to be different and unique, but actually it's the same thing everywhere." />
<parameter key="keyword_reply23" value="Kings, queens, emperors and kaliphs... everyone claims to be different and unique, but actually it's the same thing everywhere." />
<parameter key="keyword_reply24" value="Kings, queens, emperors and kaliphs... everyone claims to be different and unique, but actually it's the same thing everywhere." />
<!-- if you found something missing, post in script thread -->
</parameters>
</npc>

 

E o lua é o que eu te passei, mas achei estranho esse erro na linha 1.

Ve aí se dá certo com esse xml, peguei de um outro server e é compatível com o lua que eu te passei.

Editado por krellgaming (veja o histórico de edições)

[TalkAction] Comando !stamina e stamina potion.

http://www.tibiaking.com/forum/topic/38953-talkaction-stamina-recupera-stamina-e-d%C3%A1-uma-potion-de-stamina/

Krell Gaming, OTServer estará ONLINE em breve!

Training Offline

Tasks, Mounts, Addons, Outfits

Quests baú, Quests lógicas, Quests misteriosas

Mistery Box (Itens Aleatórios), Upgrade your Itens(Melhorar os atributos dos itens), Frag Remover, Monster Cards

Stamina System e Stamina Potion

Castle com sistema próprio

Área Free com variadas e equilibradas hunts.

Mapa RPG porém equilibrado às rates do servidor.

Rates Variadas (Stages que podem variar de exp alta pra baixa, não baixando sempre como a maioria)

Drop rate: variando entre 3 ou mais x

Skills e ML: 20/10

Houses apenas para premium accounts.

Premium Account = 15 reais um mês.

Aproveite!

Link para o post
Compartilhar em outros sites

Vê ai agora...

 

Rashid.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Rashid" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="146" head="12" body="101" legs="122" feet="115" addons="2"/>
<parameters>
<parameter key="module_shop" value="1"/>
<parameter key="message_greet" value="Ta satisfeito agora porra... |PLAYERNAME|. I buy helmets, armors, legs, boots, weapons and shields, just {trade}."/>
<parameter key="shop_sellable" value="magic plate armor,2472,150000;golden legs,2470,70000;light shovel,5710,300;ancient amulet,2142,200;scarab amulet,2135,200;medusa shield,2536,9000;mastermind shield,2514,50000;demon shield,2520,30000;castle shield,2535,5000;scarab shield,2540,2000;dark shield,2521,400;tortoise shield,6131,150;bone shield,2541,80;steel boots,2645,20000;pirate boots,5462,3000;fur boots,7457,2000;crocodile boots,3982,1000;pirate knee breeches,5918,200;skull helmet,5741,40000;beholder helmet,3972,7500;devil helmet,2462,1000;pirate hat,6096,1000;ragnir helmet,7462,400;krimhorn helmet,7461,200;pirate shirt,6095,500;leopard armor,3968,1000;mammoth fur cape,7463,6000;dwarven armor,2503,20000;golden armor,2466,20000;dragon scale mail,2492,40000;dragon slayer,7402,15000;war axe,2454,9000;heavy machete,2442,90;daramanian mace,2439,110;mammoth whopper,7381,300;silver dagger,2402,500;taurus mace,7425,500;crystal sword,7449,600;furry club,7432,1000;daramanian axe,2440,1000;wyvern fang,7408,1500;brutetamers staff,7379,1500;beastslayer axe,3962,1500;dragonbone staff,7430,3000;diamond sceptre,7387,3000;lunar staff,7451,5000;sapphire hammer,7437,7000;amber staff,7426,8000" />
<parameter key="shop_buyable" value=""/>
</parameters>
</npc>

 
                                            post-33578-0-22017300-1410728800_thumb.j
Editado por folfer (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

esse ponho no xml? e o outro que vc mando ?


opa, rashid adicionou .. so que ainda diz a mesma coisa ..

 

18:31 Rashid: you can't trade with me.

 

na verdade, todos os npcs de venda [ que precisam de quest ] estao dizendo isso, o que faz? :((

Link para o post
Compartilhar em outros sites

Pera... Só um momento que vou ver isso ai.. Eu acho que isso não é na configuração do npc... É do seu global..

             

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

O npc ta funfando pow o problema é que ele está por quest.... Vá em Data/Actions/Actions.xml procure:

 

Travelling Quest

 

<!-- Travelling Quest - Rashid -->

<action uniqueid="9050" event="script" value="rquest/packdoor.lua"/>
<action uniqueid="9058" event="script" value="rquest/packchest.lua"/>
<action itemid="5928" event="script" value="rquest/fishbowl.lua"/>

 
E delete essas 4 linhas...
 
                                                    post-33578-0-25163400-1410731733_thumb.j
 
 
 
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