Alguien me ayuda en una quest?

Topic created · 1 Mensajes · 354 Visitas
  • Bueno , tengo el mapa ice_run y con su quest , el problema es este.

    Parte del fallo :

    quest icerun begin
    state start begin
    when 20515.chat."Busqueda Dragónes" with pc.get_map_index() == 130 begin
    say_title("Guardian de Atlántida:")
    say("Debes de ser muy valiente")
    say("para venir aqui.")
    say("")
    say_title("Eres lo suficientemente valiente??")
    say("")
    say("Quieres entrar a Atlantida??.")
    say("")
    
    local s = select("Claro!!!", "No, mejor no.")
    if s == 1 then
    --if party.get_near_count() >=5 then
    --game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")-1)
    d.new_jump_all(131, 5106 , 4089)
    d.regen_file("data/dungeon/icerun_regen.txt")
    d.notice("Quienes soys Vosotros!!!")
    d.notice("Fuera de mi Ciudad!!!")
    d.notice("Como rompais mi metin...")
    --else
    -- say_title("Guardianes de Atlantida:")
    -- say("Se necesita un grupo de 6 personas")
    -- say("Para poder entrar.")
    -- say("")
    -- say("Usted esta solo.. "..party.get_near_count()+1.." No puedes.")
    -- say("pasar.")
    -- return
    --end
    else
    return
    end
    end
    when 21552.chat."GM-Zutritt" with pc.get_map_index() == 207 and pc.is_gm() begin
    say_title("Necesitas un grupo")
    say_title("Atlantis entró al hielo.")
    say("Veo que eres lo suficientemente valiente =)")
    say("Quieres entrar a Atlántida?.")
    say("")
    
    local s = select("Claro!", "No , mejor no.")
    if s == 1 then
    d.new_jump_all(131, 5106 , 4089)
    d.regen_file("data/dungeon/icerun_regen.txt")
    d.notice("Quien soys !!! No podeis entrar aqui!!!")
    d.notice("Fuera de mi cuidad!!!")
    else
    return
    end
    end
    when 21552.chat."Heilige Halle verlassen" with pc.get_map_index() == 207 begin
    say_title("Guardianes de la atlantida:")
    say("Quieres salir de Atlantida? ?")
    say("")
    
    
    local s = select("Si!", "No.")
    if s == 1 then
    local empire = pc.get_empire()
    if empire == 1 then
    pc.warp(474300,954800)
    elseif empire == 2 then
    pc.warp(63800,166400)
    elseif empire == 3 then
    pc.warp(959900,269200)
    end
    else
    return
    end
    end
    --when logout begin
    -- if pc.get_map_index() == 207 then
    --  game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")-1)
    -- end
    --end
    when login begin
    --if pc.get_map_index() == 207 then
    --game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")+1)
    --end
    if pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 then
    pc.set_warp_location(204, 37743,37743)
    end
    end
    when 21578.kill with pc.get_map_index()>= 2080000 and pc.get_map_index() < 2090000 begin
    timer("erster_metin", 6)
    d.notice("NOOOOO Mi metin!!!")
    d.notice("Yo te maldigo!!!")
    d.notice("Los valientes Guerreros me atacan!!!")
    d.notice("Vamos venir a por mi si os atreveis!!")
    end
    when erster_metin.timer begin
    d.jump_all(5380 , 4122)
    d.regen_file("data/dungeon/icerun1_regen.txt")
    d.setf("keule", 0)
    d.set_warp_at_eliminate(4, d.get_map_index(), (5000+432), (4000+122), "data/dungeon/icerun2_regen.txt")
    --pc.give_item2(30003)
    end
    

    Aqui dice que entras al mapa cuando el 20515 hablas con el desde el mapa 130 , vale todo bien hasta este punto.

    local s = select("Claro!!!", "No, mejor no.")
    if s == 1 then
    --if party.get_near_count() >=5 then
    --game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")-1)
    d.new_jump_all(131, 5106 , 4089)
    d.regen_file("data/dungeon/icerun_regen.txt")
    d.notice("Quienes soys Vosotros!!!")
    d.notice("Fuera de mi Ciudad!!!")
    d.notice("Como rompais mi metin...")
    --else
    -- say_title("Guardianes de Atlantida:")
    -- say("Se necesita un grupo de 6 personas")
    -- say("Para poder entrar.")
    -- say("")
    -- say("Usted esta solo.. "..party.get_near_count()+1.." No puedes.")
    -- say("pasar.")
    -- return
    --end
    else
    return
    end
    end
    when 21552.chat."GM-Zutritt" with pc.get_map_index() == 207 and pc.is_gm() begin
    say_title("Necesitas un grupo")
    say_title("Atlantis entró al hielo.")
    say("Veo que eres lo suficientemente valiente =)")
    say("Quieres entrar a Atlántida?.")
    say("")
    
    local s = select("Claro!", "No , mejor no.")
    if s == 1 then
    d.new_jump_all(131, 5106 , 4089)
    d.regen_file("data/dungeon/icerun_regen.txt")
    d.notice("Quien soys !!! No podeis entrar aqui!!!")
    d.notice("Fuera de mi cuidad!!!")
    else
    return
    end
    end
    when 21552.chat."Heilige Halle verlassen" with pc.get_map_index() == 207 begin
    say_title("Guardianes de la atlantida:")
    say("Quieres salir de Atlantida? ?")
    say("")
    
    
    local s = select("Si!", "No.")
    if s == 1 then
    local empire = pc.get_empire()
    if empire == 1 then
    pc.warp(474300,954800)
    elseif empire == 2 then
    pc.warp(63800,166400)
    elseif empire == 3 then
    pc.warp(959900,269200)
    end
    else
    return
    end
    end
    --when logout begin
    -- if pc.get_map_index() == 207 then
    --  game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")-1)
    -- end
    --end
    when login begin
    --if pc.get_map_index() == 207 then
    --game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")+1)
    --end
    if pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 then
    pc.set_warp_location(204, 37743,37743)
    end
    end
    when 21578.kill with pc.get_map_index()>= 2080000 and pc.get_map_index() < 2090000 begin
    timer("erster_metin", 6)
    d.notice("NOOOOO Mi metin!!!")
    d.notice("Yo te maldigo!!!")
    d.notice("Los valientes Guerreros me atacan!!!")
    d.notice("Vamos venir a por mi si os atreveis!!")
    end
    

    Una vez que aparece el metin 21578 en el mapa , lo rompo pero no me teletrasporta al siguiente punto.

    Alguien podria explicarme por que? porfavor ...

    Quest entera:

    quest icerun begin
    state start begin
    when 20515.chat."Busqueda Dragónes" with pc.get_map_index() == 130 begin
    say_title("Guardian de Atlántida:")
    say("Debes de ser muy valiente")
    say("para venir aqui.")
    say("")
    say_title("Eres lo suficientemente valiente??")
    say("")
    say("Quieres entrar a Atlantida??.")
    say("")
    
    local s = select("Claro!!!", "No, mejor no.")
    if s == 1 then
    --if party.get_near_count() >=5 then
    --game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")-1)
    d.new_jump_all(131, 5106 , 4089)
    d.regen_file("data/dungeon/icerun_regen.txt")
    d.notice("Quienes soys Vosotros!!!")
    d.notice("Fuera de mi Ciudad!!!")
    d.notice("Como rompais mi metin...")
    --else
    -- say_title("Guardianes de Atlantida:")
    -- say("Se necesita un grupo de 6 personas")
    -- say("Para poder entrar.")
    -- say("")
    -- say("Usted esta solo.. "..party.get_near_count()+1.." No puedes.")
    -- say("pasar.")
    -- return
    --end
    else
    return
    end
    end
    when 21552.chat."GM-Zutritt" with pc.get_map_index() == 207 and pc.is_gm() begin
    say_title("Necesitas un grupo")
    say_title("Atlantis entró al hielo.")
    say("Veo que eres lo suficientemente valiente =)")
    say("Quieres entrar a Atlántida?.")
    say("")
    
    local s = select("Claro!", "No , mejor no.")
    if s == 1 then
    d.new_jump_all(131, 5106 , 4089)
    d.regen_file("data/dungeon/icerun_regen.txt")
    d.notice("Quien soys !!! No podeis entrar aqui!!!")
    d.notice("Fuera de mi cuidad!!!")
    else
    return
    end
    end
    when 21552.chat."Heilige Halle verlassen" with pc.get_map_index() == 207 begin
    say_title("Guardianes de la atlantida:")
    say("Quieres salir de Atlantida? ?")
    say("")
    
    
    local s = select("Si!", "No.")
    if s == 1 then
    local empire = pc.get_empire()
    if empire == 1 then
    pc.warp(474300,954800)
    elseif empire == 2 then
    pc.warp(63800,166400)
    elseif empire == 3 then
    pc.warp(959900,269200)
    end
    else
    return
    end
    end
    --when logout begin
    -- if pc.get_map_index() == 207 then
    --  game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")-1)
    -- end
    --end
    when login begin
    --if pc.get_map_index() == 207 then
    --game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")+1)
    --end
    if pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 then
    pc.set_warp_location(204, 37743,37743)
    end
    end
    when 21578.kill with pc.get_map_index()>= 2080000 and pc.get_map_index() < 2090000 begin
    timer("erster_metin", 6)
    d.notice("NOOOOO Mi metin!!!")
    d.notice("Yo te maldigo!!!")
    d.notice("Los valientes Guerreros me atacan!!!")
    d.notice("Vamos venir a por mi si os atreveis!!")
    end
    when erster_metin.timer begin
    d.jump_all(5380 , 4122)
    d.regen_file("data/dungeon/icerun1_regen.txt")
    d.setf("keule", 0)
    d.set_warp_at_eliminate(4, d.get_map_index(), (5000+432), (4000+122), "data/dungeon/icerun2_regen.txt")
    --pc.give_item2(30003)
    end
    when 21581.chat."GM-Abkürzung BOSS" with pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 and pc.is_gm() begin
    say("Du kommst zum Bossraum")
    wait()
    npc.purge()
    d.setf("statue", 5)
    timer("ice_jump", 6)
    end
    when 21581.chat."Wolang des Weges?" with pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 begin
    say("...")
    wait()
    d.notice("Grantelbart:")
    d.notice(".....")
    d.notice("..Dieser Weg ist kalt..")
    d.notice(".....")
    d.notice("..Nehmt euch vor Neralex in Acht!....")
    d.notice(".....")
    d.notice("Neralex:")
    d.notice("Was habt ihr hier verloren!")
    d.notice("Sucht das Weite und zwar sofort!!")
    npc.purge()
    d.kill_all()
    timer("erster_spruch", 10)
    end
    when erster_spruch.timer begin
    d.jump_all(5000+685, 4000+82)
    d.setf("insel1", 0)
    d.setf("insel2", 0)
    d.setf("insel3", 0)
    d.setf("insel4", 0)
    d.setf("alleinseln", 0)
    d.regen_file("data/dungeon/icerun3_1_regen.txt")
    d.notice("Besuche jede der 4 Inseln einmal. Beim wiederholten")
    d.notice("erreichen einer Insel erscheinen Kämpfer die")
    d.notice("dann getötet werden müssen, bevor man zur nächsten")
    d.notice("Insel kommt.")
    end
    when 20350.chat."GM-Abkürzung Mini-Bossraum" with pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 and pc.is_gm() begin
    say("Du kommst zum Mini-Bossraum")
    wait()
    npc.purge()
    timer("inseln_fertigg", 10)
    end
    when 20350.chat."Die 4 Inseln" with pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 begin
    npc.lock()
    say_title("Nerolfrös:")
    say("Ich kann euch auf eine andere")
    say("Insel befördern. Bitte wähle eine aus:")
    local s=select ("1","2","3","4","Abbruch")
    if s
    

    Gracias y saludos.