RealJ 33 Posted April 18, 2014 Boas , Gostaria de saber se alguém me arranja uma .Quest que funcione nas Serverfiles do lauling v3 para um NPC que eu possa por a entrada da sala de cristal para ir matar o dragão ... Onde se carregue no NPC tenha-se que dar a Chave Torcida , meter a password e depois ser tele portado para dentro da sala de cristal para matar o dragão . De preferencia em Português , mesmo que nao teja em PT eu traduzo . Desde já obrigado , e vale +1 ;) 1 SAdnro reacted to this Share this post Link to post Share on other sites
ThatGuyPT 457 Posted April 18, 2014 Acabaste de dizer o que a quest tem de fazer. Agora escreve-a. Não é difícil. Share this post Link to post Share on other sites
Khavro 467 Posted April 18, 2014 ---------------------------------------------------- -- Dragonroom Quest ---------------------------------------------------- quest dragontemple begin state start begin when 30121.chat."I want to kill the dragon" with pc.get_map_index() == 73 and game.get_event_flag("dragontemple_open") == 1 begin if get_time() > game.get_event_flag("blockentry") and game.get_event_flag("blockentry") > 1 then game.set_event_flag("dragontemple_block",1) game.set_event_flag("blockentry", 0) end if get_time() > game.get_event_flag("reopen") and game.get_event_flag("reopen") > 1 then game.set_event_flag("dragontemple_used",0) game.set_event_flag("dragontemple_block",0) game.set_event_flag("reopen", 0) end if game.get_event_flag("reopen")-get_time() < 0 then dragontime = 1 else dragontime = game.get_event_flag("reopen")-get_time() end if game.get_event_flag("dragontemple_used") == 1 and game.get_event_flag("empire") == pc.get_empire() then if game.get_event_flag("dragontemple_block") == 1 then say_title(mob_name(30121)) say("") say("Currently you can't go into the Dragon's Lair.") say("Please come back later.") say("") say("Time Remaining: "..dragontime.." seconds.") say("") return; end say_title(mob_name(30121)) say("") say("I'm sorry, but the Dragon's Lair is currently") say("reserved.") say("If you have the password to access it,") say("please enter it now...") local password = input() if game.get_event_flag("dragontemple_password") == tonumber(password) then say_title(""..mob_name(30121).."") say("") say("The password is correct!") say("I'll lead you to the chamber.") wait() say_title(""..mob_name(30121).."") say("") say("If you want, I can lead you into the") say("Dragon's Lair right now.") say("Just hand me over 3 of these:") say("") say_item_vnum(30179) local s = select("Please take them and let me in!", "Cancel") if s == 1 then if pc.count_item(30179) >= 3 then pc.remove_item(30179,3) pc.warp(844000, 1066900,(207*10000)) pc.setqf("payment", 1) else say("You only have "..pc.count_item(30179).." of 3 needed") say("") say_item_vnum(30179) end else return end else say_title(""..mob_name(30121).."") say("") say("The password is not correct!") return end elseif pc.has_guild() and game.get_event_flag("dragontemple_used") == 0 then say_title(""..mob_name(30121).."") say("") say("So you want to fight against the dragon?") say("Please give me a password to enter the") say("Dragon's Lair (only numeric) so I can protect it.") say("You can tell this password to your friends") say("to help you and enter the Dragon's Lair.") say("Please tell the password to me.") local password = tonumber(input("")) game.set_event_flag("dragontemple_password",password) say_title(""..mob_name(30121).."") say("") say("If you want, I can lead you into the") say("Dragon's Lair right now.") say("Just hand me over 3 of these:") say_item_vnum(30179) say("") say_reward("Please reminder, people who want to join you only") say_reward("have 5 minutes before entrance locks down!") say("") local s = select("Please take them and let me in!", "Cancel") if s == 1 then if pc.count_item(30179) >= 3 then empire = pc.get_empire() pc.remove_item(30179,3) DragonLair.startRaid(207) game.set_event_flag("dragontemple_used",1) game.set_event_flag("empire",empire) game.set_event_flag("metinkills", 0) game.set_event_flag("reopen", get_time()+60*60) game.set_event_flag("blockentry", get_time()+5*60) pc.setqf("payment", 1) else say("You only have "..pc.count_item(30179).." of 3 needed") say("") say_item_vnum(30179) say("") return end elseif s==2 then return end elseif not pc.has_guild() then say_title(""..mob_name(30121).."") say("") say("You need to be a member of a guild") say("to fight against the dragon.") elseif game.get_event_flag("empire") > pc.get_empire() or game.get_event_flag("empire") < pc.get_empire() then say_title(""..mob_name(30121).."") say("") say("Sorry but the Dragon Lair is currently") say("occupied by another kingdom so you can not join") end end when login with pc.get_map_index() >= (207*10000) and pc.get_map_index() <= (208*10000) begin if pc.getqf("payment") < 1 then if pc.count_item(30179) >= 3 then pc.remove_item(30179,3) else pc.warp(181800,1220863) send_letter("You have been banished from Dragon's Lair") end else pc.setqf("payment", 0) end end when button or info begin say_title("Dragon's Lair") say("") say("You did not have enough Dragon God's Symbols") say("to enter the chamber.") say("Therefore you have been kicked out of it.") say("") say("You require 3 Dragon God's Symbols to enter") say_item_vnum(30179) say("") say_reward("You can join again if you get 3 Dragon God's Symbol") end when 8031.kill or 8032.kill or 8033.kill or 8034.kill begin game.set_event_flag("metinkills", game.get_event_flag("metinkills")+1) if game.get_event_flag("metinkills") == 3 then game.set_event_flag("metinkills", 3) metin = { {8031, 8032, 8033, 8034}, } n = number(1,4) x = number(155,185) y = number(155,185) mob.spawn(tonumber(metin[1][n]), x, y, 1, 0, 1) end end when 2493.kill with pc.get_map_index() >= (207*10000) and pc.get_map_index() <= (208*10000) begin local drop = number(1,10) if drop <= 3 then game.drop_item(71123) elseif drop >= 4 and drop <= 8 then game.drop_item(71129) elseif drop >= 9 then game.drop_item(71123) game.drop_item(71129) end game.set_event_flag("reopen", get_time()+30*60) notice_all("The group of "..pc.get_name().." has successfully slained the Aqua Dragon!") game.set_event_flag("metinkills", 0) game.set_event_flag("dragontemple_block",1) end end end 1 RealJ reacted to this Share this post Link to post Share on other sites
RealJ 33 Posted April 18, 2014 Quest 5estrelas ...Só não percebo porque eu insiro a quest, dou permisao 777 , dou reload a quest pelo VB ...E resumindo a quest não funciona no moob"Fantasma de um Sura" pois esse mesmo moob ta com outra missão , um missão qualquer em alemão ... Caso esteja a fazer algo de errado , alguém me diga algo sff , ou souberem o porqué do NPC não aceitar a quest .Cumprimentos . 1 SAdnro reacted to this Share this post Link to post Share on other sites
Khavro 467 Posted April 18, 2014 Quest 5estrelas ...Só não percebo porque eu insiro a quest, dou permisao 777 , dou reload a quest pelo VB ...E resumindo a quest não funciona no moob"Fantasma de um Sura" pois esse mesmo moob ta com outra missão , um missão qualquer em alemão ... Caso esteja a fazer algo de errado , alguém me diga algo sff , ou souberem o porqué do NPC não aceitar a quest .Cumprimentos . when 30121.chat."I want to kill the dragon" with pc.get_map_index() == 73 and game.get_event_flag("dragontemple_open") == 1 begin A sala da Atlantida e a sala do dragão tem de estar as 2 no mesmo channel e no mesmo core, o 2º piso da atlantida tem de ter index numero 73 caso contrario a missão não aparecerá. 1 RealJ reacted to this Share this post Link to post Share on other sites
RealJ 33 Posted April 19, 2014 Parece fonumenal mas ...Por incrível que pareça ou sou muito burro , ou preciso de ajuda extra lOOOl when 30121.chat."I want to kill the dragon" with pc.get_map_index() == 73 and game.get_event_flag("dragontemple_open") == 1 begin A sala da Atlantida e a sala do dragão tem de estar as 2 no mesmo channel e no mesmo core, o 2º piso da atlantida tem de ter index numero 73 caso contrario a missão não aparecerá. No index ta o "73"... Ali quando te referes "as duas no mesmo channel ????" ora diz lá isso por miúdos do tipo como eu fosse muito burro xDDDD (tou um bucado a toa com esta cena da sala de cristal, o NPC nao aceitar a quest) -_- 1 SAdnro reacted to this Share this post Link to post Share on other sites
Karbust 1,143 Posted April 19, 2014 when 30121.chat."I want to kill the dragon" with pc.get_map_index() == 73 and game.get_event_flag("dragontemple_open") == 1 beginA sala da Atlantida e a sala do dragão tem de estar as 2 no mesmo channel e no mesmo core, o 2º piso da atlantida tem de ter index numero 73 caso contrario a missão não aparecerá.rapaz a pasta das quests e dos mapas e comum a todos os channels e coreso mapa dele pode n ser o 73, mas isso só ele e ke pode ver kual e o das files delepara o ke precisa da quest: para saberes o id do mapa, vais ao ficheiro index ke ta na pasta dos mapas e procuras lá o nome do mapa, decor n sei kual eou procuras pelo 73 e vez se e ou n o mapa ke desejas 1 RealJ reacted to this Share this post Link to post Share on other sites
Khavro 467 Posted April 19, 2014 Parece fonumenal mas ...Por incrível que pareça ou sou muito burro , ou preciso de ajuda extra lOOOl No index ta o "73"... Ali quando te referes "as duas no mesmo channel ????" ora diz lá isso por miúdos do tipo como eu fosse muito burro xDDDD (tou um bucado a toa com esta cena da sala de cristal, o NPC nao aceitar a quest) -_- Sala de cristal é um mapa, 2º piso de atlantida é outro mapa, então estes 2 mapas tem de estar no config do mesmo channel e no mesmo core. Share this post Link to post Share on other sites
Karbust 1,143 Posted April 19, 2014 e pk ke dizes isso??eu se kiser meto noutro CONFIG de outro core, visto ke são 2 mapa diferentes lol Share this post Link to post Share on other sites
'PACI 2,317 Posted April 19, 2014 e pk ke dizes isso??eu se kiser meto noutro CONFIG de outro core, visto ke são 2 mapa diferentes lolPorque se tiveres atribuida à sala de cristal uma dungeon quest onde se tenha que entrar através do 2º piso da atlântida, não podes tê-la num outro core. "lol" 2 Auros ( ͡ʘ ͜ʖ ͡ʘ) and Khavro reacted to this Share this post Link to post Share on other sites
RealJ 33 Posted April 19, 2014 Se alguém tiver com um tempinho disponível , e que me possa ajudar nesta Questao da sala de cristal , agradecia ...Pois por mais voltas que deia , não estou a dar com a resolução disto =X Vale +10 nos pots :p Skype: Reactiveee ou por aqui *-*Obrigado desde Já . *Ps: este mapa tame a dar cabo da marmita loool 1 SAdnro reacted to this Share this post Link to post Share on other sites
RealJ 33 Posted April 20, 2014 Alguém com bom senso e disponibilidade, que me possa ajudar neste assunto? :x Pois estou relativamente "a toa" com esta questão deste/a NPC/Sala de Cristal . Parecendo que não ... Para quem ja percebe desta situação é relativamente facil , mas para mim estame a queimar a cabeça toda xD Dou +10 em Post's ! Cumprimentos a todos . 1 SAdnro reacted to this Share this post Link to post Share on other sites
RealJ 33 Posted April 22, 2014 Alguém com bom senso e disponibilidade, que me possa ajudar neste assunto? :x Pois estou relativamente "a toa" com esta questão deste/a NPC/Sala de Cristal . Parecendo que não ... Para quem ja percebe desta situação é relativamente facil , mas para mim estame a queimar a cabeça toda xD Dou +10 em Post's ! Cumprimentos a todos . :Help: / Helppppp Please :/ 1 SAdnro reacted to this Share this post Link to post Share on other sites
RealJ 33 Posted April 24, 2014 Alguém com bom senso e disponibilidade, que me possa ajudar neste assunto? :x Pois estou relativamente "a toa" com esta questão deste/a NPC/Sala de Cristal . Parecendo que não ... Para quem ja percebe desta situação é relativamente facil , mas para mim estame a queimar a cabeça toda xD Dou +10 em Post's ! Cumprimentos a todos . Todos sem tempo ? :x 1 SAdnro reacted to this Share this post Link to post Share on other sites
Auros ( ͡ʘ ͜ʖ ͡ʘ) 172 Posted April 24, 2014 Mas o que precisas afinal? Share this post Link to post Share on other sites