• 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!

Dreamer's Challenge quests

kito2

www.masteria.net
Joined
Mar 9, 2009
Messages
3,766
Solutions
1
Reaction score
225
Location
Chile, Santiago
Hi there, I have been searching this script for so long and couldn't find anything... So I decided to posts the idea here and lets build it...

Dreamer's Challenge Quest/Spoiler - TibiaWiki - Quests, Items, Spells, and more

Im searching the map right now, and already made the carrot script, couldn't track it, because map trackers for 8.54+ are bugged.


1) If you pass withut a carrot, it will damage you 150.
Dreamer_Hugo_Free.jpg

Lua:
function onStepIn(cid, item, pos)
	if isPlayer(cid) and getPlayerItemCount(cid, 2684) == 0 then
			doPlayerRemoveItem(cid, 2684, 1)
			doTargetCombatHealth(0, cid, COMBAT_PHYSICALDAMAGE, -150, -150, CONST_ME_NONE)
	end
	return true
end

2) Fire Bug script...
 
fire bug:

action:
PHP:
function onUse(cid, item, fromPosition, itemEx, toPosition)

if(itemEx.actionid == 119165) and (itemEx.itemid == 2249) then
local tp = doTransformItem(itemEx.uid, 1387)
doSendMagicEffect({x=32848, y=32232, z=9}, 5)
doSendMagicEffect({x=32849, y=32232, z=9}, 5)
doSendMagicEffect({x=32849, y=32233, z=9}, 5)
doSendMagicEffect({x=32850, y=32231, z=9}, 5)
doSendMagicEffect({x=32849, y=32231, z=9}, 5)
doSendMagicEffect({x=32848, y=32231, z=9}, 5)
doSendMagicEffect({x=32847, y=32231, z=9}, 5)
doSendMagicEffect({x=32848, y=32230, z=9}, 5)
doSendMagicEffect({x=32849, y=32230, z=9}, 5)
end
return TRUE
end

movements:
PHP:
function onStepIn(cid, item, pos)

local pos = {x=32857, y=32234, z=11}

    if(item.actionid == 119165) and (item.itemid == 1387) then
		doTeleportThing(cid,pos)
        doSendMagicEffect(getCreaturePosition(cid),12)
		local tp = doTransformItem(item.uid, 2249)
        end
    return true
end
 
death ring:
movements.xml
Lua:
<movevent type="AddItem" tileitem="1" actionid="119166" event="script" value="death ring.lua" />
death ring.lua
Lua:
local function createTree(p)

doCreateItem(2722,1,{x=32857, y=32231, z=11})
doCreateItem(2722,1,{x=32857, y=32232, z=11})
doCreateItem(2722,1,{x=32857, y=32233, z=11})

end

function onAddItem(moveitem, tileitem, pos)

tree1pos = {x=32857, y=32231, z=11, stackpos=1}
tree2pos = {x=32857, y=32232, z=11, stackpos=1}
tree3pos = {x=32857, y=32233, z=11, stackpos=1}
tree1 = getThingfromPos(tree1pos)
tree2 = getThingfromPos(tree2pos)
tree3 = getThingfromPos(tree3pos)

if (moveitem.itemid == 6300 or moveitem.itemid == 6301) then
	doRemoveItem(moveitem.uid,1)
	doSendMagicEffect(pos,2)

	doRemoveItem(tree1.uid,1)
	doRemoveItem(tree2.uid,1)
	doRemoveItem(tree3.uid,1)

	doSendMagicEffect(tree1pos,7)
	doSendMagicEffect(tree2pos,7)
	doSendMagicEffect(tree3pos,7)
	p = {treeid = tree1.itemid}
	addEvent(createTree, 15*1000, p)

else
end
return 1
end
 
Ok, I advanced a little, but need some help...

I have all map, all scripts, but couldn't fit them all...

data rar

There are missing teleports coords, missing actions, missing uniques, and also the final NPC... If someone could edit this, and fix it, and let it like RL, I would really appreciate.
 
Back
Top