• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

anyone got npc Melian?

dunnish

New Member
Joined
Jun 18, 2009
Messages
277
Solutions
1
Reaction score
3
like the title say i need the npc Melian. if you got it post it here please
thx alot :)
 
Solution
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Melian" script="data/npc/scripts/Melian.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="146" head="97" body="22" legs="45" feet="76" addons="0"/>
<voices>
<voice text="Feel the wind in your hair during one of my carpet rides!" interval2="100" margin="1" yell="no"/>
</voices>
<parameters>
<parameter key="module_keywords" value="1" />
        <parameter key="keywords" value="fly;" />
        <parameter key="keyword_reply1" value="I can fly you to the {Femor Hills}, to {Edron}, to {Darashia} and to {Svargrond} if you like. Where do you want to go?" />
        <parameter key="message_greet" value="Ah, the wind brings in another visitor. Feel welcome...
In my server - I find RL MAp and this
melian.. , don't know are npc.. i post for look you
LUA:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Melian" script="data/npc/scripts/melian.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="shop_sellable" value="Justice Seeker,7390,50000;Royal Axe,7434,50000;Blessed Sceptre,7429,50000;DSM,2492,40000;Dwarven Armor,2503,30000;Glacier Robe,7897,11000;Golden Armor,2466,20000;Golden Legs,2470,40000;Hibiscus Dress,8873,3000;Leopard Amor,3968,1000;Lightning Robe,7898,11000;MMS,2514,40000;MPA,2472,150000;Magma Coat,7899,11000;Mammoth Fur Cape,7463,6000;Paladin Armor,8891,15000;Pirate Shirt,6095,500;Skullcracker Armor,8889,18000;Terra Mantle,7889,11000;Glacier Kilt,7896,11000;Lightning Legs,7895,11000;Magma Legs,7894,11000;Mammoth Fur Shorts,7464,500;Pirate Knee Breeches,5918,200;Terra Legs,7885,11000;Bone Shield,2541,80;Dark Shield,2521,400;Demon Shield,2520,30000;Diamond Sceptre,7387,3000;Medusa Shield,2536,9000;Norse Shield,7460,1500;Scarab Shield,2540,2000;Spellbook of Enlightenment,8900,4000;Tortoise Shield,6131,150;Beholder Helmet,3972,7500;Devil Helmet,2462,1000;Glacier Mask,7902,2500;Krimhorn Helmet,7461,200;Lightning Headband,7901,2500;Magma Monocle,7900,2500;Pirate Hat,6096,1000;Ragnir Helmet,7462,400;Skull Helmet,5741,40000;Terra Hood,7903,2500;Crocodile Boots,3982,1000;Fur Boots,7457,2000;Glacier Shoes,7892,2500;Lightning Boots,7893,2500;Magma Boots,7891,2500;Patched Boots,7890,2000;Pirate Boots,5462,3000;Steel Boots,2645,30000;Terra Boots,7886,2500;Amber Staff,7426,8000;Beastslayer Axe,3962,1500;Brutetamer's Staff,3962,1500;Chaos Mace,7427,12000;Cranial Basher,7415,30000;Crystal Sword,7449,600;Daramanian Mace,2429,110;Daramanian Waraxe,2440,1000;Demonrage Sword,7382,36000;Dragon Slayer,7402,15000;Dragonbone Staff,7430,3000;Dreaded Cleaver,7419,10000;Furry Club,7432,1000;Guardian Halberd,2427,11000;Heavy Machete,2442,90;Heroic Axe ,7389,30000;Lunar Staff,7424,5000;Mammoth Whopper,7381,300;Mercenary Sword,7386,12000;Mystic Blade,7384,30000;Nightmare Blade,7418,35000;Noble Axe,7456,6000;Ornamented Axe,7456,11000;Relic Sword,7383,25000;Sapphire Hammer,7437,7000;Silver Dagger,2402,500;Spiked Squelcher,7452,5000;Taurus Mace,7425,500;War Axe,2454,9000;Wyvern Fang,7408,1500;Ancient Amulet,2142,200;Crystal Necklace,2125,400;Crystal Fang,2124,250;Death Ring,6300,1000;Demonbone Amulet,2136,32000;Emerald Bangle,2127,800;Glacier Amulet,7888,1500;Platinum Amulet,2171,2500;Ring of the Sky,2123,30000;Ruby Necklace,2133,2000;Scarab Amulet,2135,200;Silver Brooch,2134,150;Light Shovel,5710,300;Doll,2110,200;Voodoo Doll,3955,400;Pirate Voodoo Doll,5810,500;Yellow Piece of Cloth,5914,1000;"/>
		<parameter key="shop_buyable" value=""/>
	</parameters>
</npc>
and

melian.lua
LUA:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

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

npcHandler:addModule(FocusModule:new())
 
Last edited:
In my server - I find RL MAp and this
melian.. , don't know are npc.. i post for look you
LUA:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Melian" script="data/npc/scripts/melian.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="shop_sellable" value="Justice Seeker,7390,50000;Royal Axe,7434,50000;Blessed Sceptre,7429,50000;DSM,2492,40000;Dwarven Armor,2503,30000;Glacier Robe,7897,11000;Golden Armor,2466,20000;Golden Legs,2470,40000;Hibiscus Dress,8873,3000;Leopard Amor,3968,1000;Lightning Robe,7898,11000;MMS,2514,40000;MPA,2472,150000;Magma Coat,7899,11000;Mammoth Fur Cape,7463,6000;Paladin Armor,8891,15000;Pirate Shirt,6095,500;Skullcracker Armor,8889,18000;Terra Mantle,7889,11000;Glacier Kilt,7896,11000;Lightning Legs,7895,11000;Magma Legs,7894,11000;Mammoth Fur Shorts,7464,500;Pirate Knee Breeches,5918,200;Terra Legs,7885,11000;Bone Shield,2541,80;Dark Shield,2521,400;Demon Shield,2520,30000;Diamond Sceptre,7387,3000;Medusa Shield,2536,9000;Norse Shield,7460,1500;Scarab Shield,2540,2000;Spellbook of Enlightenment,8900,4000;Tortoise Shield,6131,150;Beholder Helmet,3972,7500;Devil Helmet,2462,1000;Glacier Mask,7902,2500;Krimhorn Helmet,7461,200;Lightning Headband,7901,2500;Magma Monocle,7900,2500;Pirate Hat,6096,1000;Ragnir Helmet,7462,400;Skull Helmet,5741,40000;Terra Hood,7903,2500;Crocodile Boots,3982,1000;Fur Boots,7457,2000;Glacier Shoes,7892,2500;Lightning Boots,7893,2500;Magma Boots,7891,2500;Patched Boots,7890,2000;Pirate Boots,5462,3000;Steel Boots,2645,30000;Terra Boots,7886,2500;Amber Staff,7426,8000;Beastslayer Axe,3962,1500;Brutetamer's Staff,3962,1500;Chaos Mace,7427,12000;Cranial Basher,7415,30000;Crystal Sword,7449,600;Daramanian Mace,2429,110;Daramanian Waraxe,2440,1000;Demonrage Sword,7382,36000;Dragon Slayer,7402,15000;Dragonbone Staff,7430,3000;Dreaded Cleaver,7419,10000;Furry Club,7432,1000;Guardian Halberd,2427,11000;Heavy Machete,2442,90;Heroic Axe ,7389,30000;Lunar Staff,7424,5000;Mammoth Whopper,7381,300;Mercenary Sword,7386,12000;Mystic Blade,7384,30000;Nightmare Blade,7418,35000;Noble Axe,7456,6000;Ornamented Axe,7456,11000;Relic Sword,7383,25000;Sapphire Hammer,7437,7000;Silver Dagger,2402,500;Spiked Squelcher,7452,5000;Taurus Mace,7425,500;War Axe,2454,9000;Wyvern Fang,7408,1500;Ancient Amulet,2142,200;Crystal Necklace,2125,400;Crystal Fang,2124,250;Death Ring,6300,1000;Demonbone Amulet,2136,32000;Emerald Bangle,2127,800;Glacier Amulet,7888,1500;Platinum Amulet,2171,2500;Ring of the Sky,2123,30000;Ruby Necklace,2133,2000;Scarab Amulet,2135,200;Silver Brooch,2134,150;Light Shovel,5710,300;Doll,2110,200;Voodoo Doll,3955,400;Pirate Voodoo Doll,5810,500;Yellow Piece of Cloth,5914,1000;"/>
		<parameter key="shop_buyable" value=""/>
	</parameters>
</npc>
and

melian.lua
LUA:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

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

npcHandler:addModule(FocusModule:new())



FAIL...... Melian - TibiaWiki - Quests, Items, Spells, and more
 
LUA:
local keywordHandler = KeywordHandler:new()        local npcHandler = NpcHandler:new(keywordHandler)
        NpcSystem.parseParameters(npcHandler)
        
        -- OTServ event handling functions start
        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
        -- OTServ event handling functions end
        
        -- Don't forget npcHandler = npcHandler in the parameters. It is required for all StdModule functions!
 local travelNode = keywordHandler:addKeyword({'darashia'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you seek a ride to the Darashia for 60 gold?'})
            travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 60, destination = {x=33270, y=32440, z=6} })
            travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'You shouldn\'t miss the experience.'})


        npcHandler:addModule(FocusModule:new())
 
LUA:
local keywordHandler = KeywordHandler:new()        local npcHandler = NpcHandler:new(keywordHandler)
        NpcSystem.parseParameters(npcHandler)
        
        -- OTServ event handling functions start
        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
        -- OTServ event handling functions end
        
        -- Don't forget npcHandler = npcHandler in the parameters. It is required for all StdModule functions!
 local travelNode = keywordHandler:addKeyword({'darashia'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you seek a ride to the Darashia for 60 gold?'})
            travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 60, destination = {x=33270, y=32440, z=6} })
            travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'You shouldn\'t miss the experience.'})


        npcHandler:addModule(FocusModule:new())

okay thanks,but anyone have the melian.xml?
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Melian" script="data/npc/scripts/Melian.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="146" head="97" body="22" legs="45" feet="76" addons="0"/>
<voices>
<voice text="Feel the wind in your hair during one of my carpet rides!" interval2="100" margin="1" yell="no"/>
</voices>
<parameters>
<parameter key="module_keywords" value="1" />
        <parameter key="keywords" value="fly;" />
        <parameter key="keyword_reply1" value="I can fly you to the {Femor Hills}, to {Edron}, to {Darashia} and to {Svargrond} if you like. Where do you want to go?" />
        <parameter key="message_greet" value="Ah, the wind brings in another visitor. Feel welcome |PLAYERNAME|. Where do you want me to {fly} you?"/>
        <parameter key="message_farewell" value="Good bye!"/>
	<parameter key="message_walkaway" value="Good bye!" />
</parameters>
</npc>
 
Solution
Back
Top