Tipow tem umas coisas no topico que tão erradas e faltando, consegui monta toda a quest, exeto aquela parte no movements que tira dano no player quando ele passa em cima to tile com actionid 15001...
-> "Na Tree Base adicione o actionids 32193", não é actionid e sim Uniqueid
-> Em movements.xml
<movevent event="StepOut" uniqueid="32193" script="demon oak.lua" /> <movevent event="StepIn" uniqueid="32195" script="demon oak.lua" /> <movevent event="StepIn" actionid="15000" script="demon oak.lua" /> <movevent event="StepIn" actionid="15001" script="demon oak.lua" /> <movevent event="StepIn" actionid="15002" script="demon oak.lua" /> <movevent event="StepIn" actionid="15003" script="demon oak.lua" /> <movevent event="StepIn" actionid="15004" script="demon oak.lua" /> <movevent event="StepIn" actionid="15005" script="demon oak.lua" />
Faltou isso no final:
<movevent event="StepIn" actionid="15006" script="demon oak.lua" />
-> E tambem no Npc nesta parte:
if msgcontains(msg, 'demon oak') then
if getPlayerStorageValue(cid, 15006) == 4 and getPlayerStorageValue(cid, 15005) == -1 then
selfSay('You found the demon oak ? For kill it\'s you need a {Hallowed Axe}. You want get this ?', cid)
talkState[talkUser] = 1
elseif getPlayerStorageValue(cid, 15005) == -1 and getPlayerStorageValue(cid, 15006) [color="#008000"]<= 4[/color] then
selfSay('This a old demon , but we don\'t know where it\'s live.', cid)
Tem que ser assim:
if msgcontains(msg, 'demon oak') then
if getPlayerStorageValue(cid, 15006) == 4 and getPlayerStorageValue(cid, 15005) == -1 then
selfSay('You found the demon oak ? For kill it\'s you need a {Hallowed Axe}. You want get this ?', cid)
talkState[talkUser] = 1
elseif getPlayerStorageValue(cid, 15005) == -1 and getPlayerStorageValue(cid, 15006) [color="#008000"]<= 3[/color] then
selfSay('This a old demon , but we don\'t know where it\'s live.', cid)
Porque o Storage 15006 fica com valor 4 apos passa nos 5 lugares, então ao fala demon oak pro NPC, ele ia responde sempre ''This a old demon , but we don't know where it's live.'', entao mudei para ele responder isso pra se o valor for = a 3 ou menor, dai se for 4 ele responde "You found the demon oak ? For kill it's you need a Hallowed Axe. You want get this ?"
Fora isso a quest ta Mtoooo boa, continue assim, adoro seus trabalhos, e porfa arruma aquilo que o character toma dano kuando passa no tile com actionid 15001.









info
Grupo: Campones
Registrado: 10/01/08
Posts: 73
Reputação: +3
Char no Tibia: Eletross
Pra q versão de ot funciona???
E sua arena?? Pra qual versão de ot funciona?