Postado Setembro 14, 2014 10 anos 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 .-.
Postado Setembro 14, 2014 10 anos 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 Setembro 14, 2014 10 anos por folfer (veja o histórico de edições)
Postado Setembro 14, 2014 10 anos Autor opa, valeu, mais o que ponho la na parte de fora? no arquivo xml?
Postado Setembro 14, 2014 10 anos Autor 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?
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.