Ir para conteúdo

Featured Replies

Postado

galera...

to aqui pedindo um NPC...

aquele NPC navigator do global, que dá o addon do deepling....

e também aquele "ROCK STEADY que dá o segundo addon do deepling ...

entendedores entenderam...

aqui o dialogo do rock steady que lhe dá o segundo addon, após vc coletar para ele os 3 items...obujos' shell, tanjis' sight e jaul' pearl...

Jogador: hi


Rock Steady: Need help? Or are you only here for some news. Either way, make it short.
Jogador: help
Rock Steady: If you want anything, you should talk to Old Rock Boy over there. I do collect stuff, though. So just ask if you're interested in helping me.
Jogador: collect
Rock Steady: I collect everything that reflects light in strange ways. However, I am bored by my collection. And there wasn't anything new to add for years. ...
Rock Steady: I like pearls for example - but I have already enough. I also like shells - but I can't even count how many I already own. ...
Rock Steady: If you find anything of REAL VALUE - bring it to me. I will reward you well. You don't already have something for me by chance?
Jogador: yes
Rock Steady: Great! Let me see. Amazing! I will take this, thank you!
Jogador: collect
Rock Steady: Have you got anything for me today?
Jogador: yes
Rock Steady: Great! Let me see. Amazing! I will take this, thank you!
Jogador: collect
Rock Steady: Have you got anything for me today?
Jogador: yes
Rock Steady: Great! Let me see. Amazing! I will take this, thank you!
Jogador: collect
Rock Steady: Have you got anything... what? You want what? A reward? HAHAHAHAAAA!! ...
Rock Steady: No I'm just teasing you. I'm really happy about my collection now. ...
Rock Steady: Well, I found some kind of weapon a long time ago. I believe it may be especially helpful underwater as it is from the deep folk. In any case it is of more use for you than it would be for me.

e aqui do ALTERNATIVE ROCK que tem dá um item...depois de tu falar "yes"....(esse item é aquela redinha, SOUL NET)

Jogador: hi


Alternative Rock: Hello there! Are you really here to help us, friend? Need the latest news on what's going on on this island?
Jogador: help
Alternative Rock: Yeah yeah, you can help me actually. You know, I feel some bad vibes coming out of the earth, recently. I think there's something wrong with the creatures of the deep. Care to join me?
Jogador: yes
Alternative Rock: Great, great. There is something going on, you know? I can feel it in my bones. There really are some bad spirits down there. ...
Alternative Rock: See, a long time ago I acquired these nets. They are called soul nets. Do you know what they can do? Neither do I. ...
Alternative Rock: What I know is they vibrate when evil is near. Yeah, vibration man. ...
Alternative Rock: They also let evil glow in a deep red. Glowing red stuff. So next time you go down there, just take one with you and when you find evil spirits - catch them with the net. ...
Alternative Rock: They will vanish in an instant. But - you will have to take care that all bad spirits in the near vicinity vanish almost instantaneously or they will regenerate. ...
Alternative Rock: So you might need some help down there, my friend. Ready to do this?
Jogador: yes
Alternative Rock: Good, I hope this will help you keeping the spirits away.

e aqui do navigator... que vai lhe dar o primeiro addon ...

Jogador: hi

Jogador: flou
Navigator: Lhnjei gouthn naumpi! I know why you are here. I can explain everything.
Jogador: explain
Navigator: By entering this place, you have earned the right to learn what this is all about. This is a long story. Are you sure you want to hear this?
Jogador: yes
Navigator: I was once captain of a ship, the Skyflare. We were traders for King Tibianus and on our way home when we got into a storm. We fought hard to escape the cold grip of the sea. ...
Navigator: I myself did what I could to navigate the Skyflare out of this mess. They depended on me. Me, the navigator. And I succeeded. ...
Navigator: However, when the sea calmed down and the rain was finally gone, we recognised that our ship wouldn't move. It wasn't my fault. ...
Navigator: There was a strong gale and we could already see this island on the horizon. There were seagulls all around the Skyflare to lead us to dry land. But the ship did not move a single inch. It was NOT my fault. ...
Navigator: We dived under the bow and saw that it was stuck right on the tip of a sharp rock. The world below us was treacherous, we could see large underwater mountains and a labyrinthine system of caves and holes. ...
Navigator: Some of my men panicked and hijacked the dinghies to reach the island, others tried to swim. I remained on the ship. It was not my FAULT. It was not. ...
Navigator: Do you have enough, can I stop?
Jogador: no
Navigator: When none of my men returned, I forced myself to make a decision. Either dying on this dead ship or plunging into the liquid black beneath. ...
Navigator: In my desperation my thoughts fell onto a strange armor - a gift from a trader we dealt with just before the storm. Strange ornaments and fish-like elements decorated this armor. We thought it would fit just perfectly into the captain's cabin. ...
Navigator: He said something like a 'blessed breath' and 'to subdue the drift'. We thought he wanted to sell us worthless decoration and make it look interesting. If I had only listened to what he said. ...
Navigator: I figured that this thing would have something to do with diving or at least protect me from the icy water. I put it on, grabbed a shimmer glower from our storage to light my path and jumped in. ...
Navigator: Do you want me to go on?
Jogador: yes
Navigator: Hmpf. The armor was working. After some time I was surrounded by darkness and could only see as far as my shimmer glower would me allow to. But I didn't feel the cold - I could even breathe through that helmet. ...
Navigator: I dived into the deep black. Across rugged mountains, vast fields of kelp, swarms of strange fish. ...
Navigator: And then I laid my eyes on a creature I have never seen before. I now know that they call themselves Njey. You would call them the 'Creatures of the Deep' or 'Deeplings'. ...
Navigator: I am now convinced that when they first saw me descending in that suit with the light of the shimmer glower encompassing me, they took me for their God King Qjell. And that's when it all started to make sense. Don't you agree?
Jogador: yes
Navigator: Of course you do. And they did, too. They obeyed me. They adored me. They followed me. ...
Navigator: I learnt everything about their culture, their life, their goals and their problems. I found out about vile insect-like creatures inhabiting the surface of the island. And their waiting for the return of Qjell. ...
Navigator: I practically rewrote their history. I WAS THE SECOND COMING. I WAS QJELL. I, THE NAVIGATOR. ...
Navigator: And I navigated them out of their miserable lives. Away from their petty interests. I led them to a greater purpose - to form chaos out of order, to bring back the storm to the seas and to make THINGS MOVE. Do you want to hear the rest as well?
Jogador: yes
Navigator: I control EVERYTHING from this room, navigating the fate of this land for more than a century now. Can you see all these funnels? My voice travels through them and throughout everything down here! ...
Navigator: The stones on the beach? The trader up there? That was ME ALL THE TIME! I lured YOU into creating all this chaos up there and down here! ...
Navigator: You thought you could choose sides? Think again! I nearly led you into the destruction of two species! ME, THE NAVIGATOR! I CONTROL YOU, I OWN YOU! QJELL AFAR GOU JEY!
Jogador: helmet
Navigator: NAAAAARGH. If you promise to leave me alone and NOT TO TELL MY SECRET to anyone - you can have one. ...
Navigator: NO! Not the one I'm wearing. I am BOUND to this device. This suit has granted me a longer life. However, once you have spent a certain time with this - there is no turning back if you know what I mean. ...
Navigator: The armor will merge with your very body. Holding you captive, holding your life in its hands like a ransom. ...
Navigator: Using Deepling craft and various components from down here, I created several spare helmets - just in case this one gets damaged. If you return that small golden anchor to me, you can have one. Will you?
Jogador: yes
Navigator: Then take this one. And remember: DO NOT TELL ANYONE ABOUT ME OR ANYTHING YOU HAVE HEARD HERE TODAY.
Jogador: bye
Navigator: Good bye, Jogador

 

 

obrigado :)))))))

 

http://tibiawiki.com.br/wiki/Deepling_Outfits_Quest 

aqui um link...

caso não entendam meu pedido, não to pedindo nada das missões, script de items nem nada... só quero os npcs que dá os addons, e item :)

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

Resolvido por Schiffert

Ir para solução
Postado

Npc XML

<?xml version="1.0" encoding="UTF-8"?>
 
<npc name="Rock Steady" script="data/npc/scripts/killinginthenameof.lua" access="3" walkinterval="2000" lookdir="2">
<mana now="800" max="800"/>
<health now="200" max="200"/>
<look type="144" head="97" body="97" legs="94" feet="97" addons="3"/>
</npc>

 

 

 

 

script Lua

domodlib('task_func')
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
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 creatureSayCallback(cid, type, msg)
if(not npcHandler:isFocused(cid)) then
return false
end
local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid
local msg = string.lower(msg)
if isInArray({"task","tasks","missao","mission"}, msg) then
npcHandler:say("Me diga o nome do monstro que você deseja fazer a task!", cid)
talkState[talkUser] = 1
elseif talkState[talkUser] == 1 then
if tasktabble[msg] then
if CheckTask(cid) ~= true then
local contagem = getPlayerStorageValue(cid, tasktabble[msg].storage)
if (contagem == -1) then contagem = 1 end
if not tonumber(contagem) then npcHandler:say('Desculpe, mas você já terminou a task do '..msg, cid) return true end
setPlayerStorageValue(cid, tasktabble[msg].storage_start, 1)
npcHandler:say("Parabéns, agora você está participando da missão task do "..msg..", falta matar "..string.sub(((contagem)-1)-tasktabble[msg].count, 2).." "..msg, cid)
talkState[talkUser] = 0
else
npcHandler:say('Desculpe, mas você já faz parte de uma task!', cid)
talkState[talkUser] = 0
end
else
npcHandler:say('digite o nome correto da missão task! para mais informações digite {!task}', cid)
talkState[talkUser] = 1
end
elseif isInArray({"receber","reward","recompensa","report","reportar"}, msg) then
if CheckTask(cid) then
for k, v in pairs(tasktabble) do
racetype = k
if getPlayerStorageValue(cid,v.storage_start) >= 1 then
local contagem = getPlayerStorageValue(cid, v.storage)
if (contagem == -1) then contagem = 1 end
if not tonumber(contagem) then npcHandler:say('você só pode receber os items uma única vez!', cid) return true end
if (((contagem)-1) >= v.count) then
for _, check in pairs(configbosses_task) do
if string.lower(check.race) == string.lower(racetype) then
local on = getPlayersOnline()
for i=1, #on do
if HavePlayerPosition(on, check.FromPosToPos[1],check.FromPosToPos[2]) then
selfSay('aguarde alguns instantes, tem pessoas fazendo a task.', cid) return true
end
end
doTeleportThing(cid, check.Playerpos)
local function checkArea(cid)
if not isCreature(cid) then return LUA_ERROR end
if HavePlayerPosition(cid, check.FromPosToPos[1],check.FromPosToPos[2]) then
doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))
end
end
addEvent(checkArea, check.time*60*1000, cid)
end
end
local str = ""
if v.exp ~= nil then doPlayerAddExp(cid, v.exp ) str = str.."".. (str == "" and "" or ",") .." "..v.exp.." de exp" end
if v.money ~= nil then doPlayerAddMoney(cid, v.money) str = str.."".. (str == "" and "" or ",") ..""..v.money.." gps" end
if v.reward ~= nil then doAddItemsFromList(cid,v.reward) str = str.."".. (str == "" and "" or ",") ..""..getItemsFromList(v.reward) end
npcHandler:say("Obrigado pela sua ajuda Recompensas: "..(str == "" and "nenhuma" or ""..str.."").." por ter completado a task do "..k, cid)
setPlayerStorageValue(cid, v.storage, "Finished")
setPlayerStorageValue(cid, v.storage_start, 0)
setPlayerStorageValue(cid, 521456, getPlayerStorageValue(cid, 521456) == -1 and 1 or getPlayerStorageValue(cid, 521456)+1)
finisheAllTask(cid)
else
npcHandler:say('Desculpe,mas você só matou '..((contagem)-1)..' de '..v.count..' '..k, cid)
end
end
end
else
npcHandler:say("você não está em nenhuma missão task", cid)
end
elseif isInArray({"sair","leave","exit"}, msg) then
if CheckTask(cid) then
talkState[talkUser] = 2
for k, v in pairs(tasktabble) do
if getPlayerStorageValue(cid,v.storage_start) >= 1 then
storagesair = v.storage_start
local contagem = getPlayerStorageValue(cid, v.storage)
if (contagem == -1) then contagem = 1 end
npcHandler:say('você está participando de uma missão task do '..k..' e já tem '..((contagem)-1)..' '..k..' mortos, deseja mesmo sair?', cid)
end
end
else
npcHandler:say("você não está em nenhuma missão task", cid)
end
elseif msgcontains(msg, 'yes') and talkState[talkUser] == 2 then
setPlayerStorageValue(cid, storagesair, 0)
npcHandler:say("Você foi retirado da task com sucesso!", cid)
elseif msg == "no" then  
selfSay("Tudo bem então", cid)  
talkState[talkUser] = 0  
npcHandler:releaseFocus(cid)  
end
return TRUE
end
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())

 

 

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

Postado

@Schiffert você relatou para equipe que o tópico poderia ser fechado porque você ja conseguiu resolver o problema.

Se possível colocar como resolveu o problema para que outros membros que precisarem do mesmo ja saberem onde conseguir ! ;)

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

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo