Problema camera de cristal

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
pixuletzz
Nou Venit

Nou Venit
Mesaje: 22
Membru din: 20 Sep 2018, 20:35
Regat: Chunjo
Aprecieri: 3  
Mulţumiri: 0
Medalii

*Problemă: La camera de crista, intru , dau cheile , sparg metinele si nu ma telporteaza la dragon , nu apare nici macar mesajul acela bun venit in camera de cristal desi il am in quest. Precizez ca am incercat cu /reload q , am dat si reboot , quest-ul se compileaza cu ./qc , dar nu stiu ce poate avea..
Tipologie server: PvM
*Resursă folosită: -
*ServerFiles utilizat: battle2
*Syserr: -
Poză: -
*Detalii suplimentare:

Cod: Selectaţi tot

----------------------------------------------------
--Camera_de_cristal_by_demonn
----------------------------------------------------
quest Camera_de_cristal begin
state start begin
        
        when 30121.chat."Templul Dragonului." with pc.get_map_index() == 73 begin
        if get_time() > game.get_event_flag("Grotte_time") then
        game.set_event_flag("Grotte_zugang",0)
        end
        if pc.is_gm() or pc.count_item(80041) >= 1 then
        say_title(""..mob_name(30121).."")
        say("Bun venit "..pc.get_name().."")
        say("Nu ai nevoie nici de chei nici de parola")
        say("esti GM poti intra cand vrei.")
        wait()
        pc.warp(843200, 1066900)
        return
        end
        if game.get_event_flag("Grotte_zugang") == 0 and pc.count_item(30179) < 3 then
        say_title(""..mob_name(30121).."")
		say_reward("Pentru a intra în templul lui Beran,")
        say_reward("ai nevoie de "..item_name(30179).."")
        say_item_vnum(30179)
        say_reward("Aceastã cheie rãsucitã picã la Cãpitanul Setaou.")
		say_reward("Ai nevoie de trei Chei Rãsucite pentru a intra.")
        return
        end
        if game.get_event_flag("Grotte_zugang") == 1 then
        say_title(""..mob_name(30121).."")
        pc.setqf("grotte_passworto", 078954687921)
        if pc.getqf("abgabe") == 1 then
        pc.setqf("abgabe",0)
        say("Ai cele trei Chei Rãsucite.")
        say("Te voi teleporta imediat în camera de cristal.")
        pc.setqf("erlaubt",1)
        wait()
        pc.warp(843200, 1066900)
        return
        end
        say("Introdu codul ales de liderul grupului.")
        local passwort = tonumber(input(""))
        --pc.setqf("grotte_passworto", passwort) 
        if game.get_event_flag("Grotte_passwort") == passwort then
        say_title(""..mob_name(30121).."")
        say("Ai introdus codul corect.")
        if pc.count_item(30179) < 3 then
        say("Nu te pot teleporta deoarece nu ai")
        say(""..item_name(30179).."")
        say_item_vnum(30179)
        say("Ai nevoie de cele trei Chei Rãsucite.")
        return
        end
        say("Te voi teleporta imediat.")
        pc.setqf("erlaubt",1)
        wait()
        if pc.can_warp() then   
	 pc.remove_item("30179",3) end
        pc.warp(843200, 1066900)
        elseif passi != pc.getqf("grotte_passworto") then
        say_title(""..mob_name(30121).."")
        say("")
        return
        end
        end
        if game.get_event_flag("Grotte_zugang") == 0 and pc.count_item(30179) >= 3 then
        say_title(""..mob_name(30121).."")
        say("Deþin în mine, ultima suflare a zului dragon.")
		say("Aceastã suflare magicã te pot ajuta sã mergi în")
		say_reward("Camera de cristal.")
		say("")
        say("Ai nevoie de cele trei chei rãsucite.")
        local i = select("Da, Vreau", "Nu, Mulþumesc")
        if 1 == i then
        say_title(""..mob_name(30121).."")
        say("Ai nevoie de un cod pentru tine ºi grupul tãu.")
		say("Codul pe care îl vei introduce, va trebui sã ")
		say("conþinã maxim 2 cifre.")
        local passwort = tonumber(input(""))
        if passwort and passwort <= 999999999 and pc.count_item(30179)>=1 then
        game.set_event_flag("Grotte_zugang",1)
        game.set_event_flag("Grotte_passwort",passwort)
        local times = get_time() + 300 --Wartezeit
        game.set_event_flag("Grotte_time", times)
        say_title(""..mob_name(30121).."")
        pc.setqf("abgabe",1)
        say("Parola aleasa este: "..passwort.."")
        pc.remove_item("30179",3)
        else 
        say_title(""..mob_name(30121).."")
        say("Nu ai scris codul corect.")
        end
        end
        end
        end
    when login with pc.get_map_index() == 201 and not pc.is_gm() begin
        if pc.count_item("80041") >= 1 then chat("") return end
        if pc.get_level() < 75 or pc.getqf("erlaubt") == 0 and pc.get_map_index() == 201 then
         chat("")
            warp_to_village()
        end
        notice_in_map("[Camera de cristal]:Bun venit în camera de cristal ! Incepem prima sarcina a voastra.")
        notice_in_map("[Camera de cristal]:Spargeti toate metinele, si aflati care este metinul corespunzator.")
        pc.set_warp_location(73 , 1825, 12207)
        end
    when 8031.kill with pc.get_map_index() == 201 begin
        timer("skipia_boss_goo", 10)
        notice_in_map("[Camera de cristal]:Ati spart metinul corespunzator.")
	 notice_in_map("[Camera de cristal]:Il veti intalni pe Beran-Setaou. Ce veti face ?")
	 d.kill_all()
        end
    when skipia_boss_goo.timer begin
        game.set_event_flag("Grotte_zugang",0)
        d.new_jump_all(201, 8432, 10669)
        d.setf("grotte_boss", 1)
        d.spawn_mob(9012, 64, 142)
        end
    when 8031.kill or 8032.kill or 8033.kill or 8034.kill with pc.in_dungeon() and d.getf("grotte_boss") == 2 begin
    local n =d.getf("count") + 1
    d.setf("count", n) 
    notice_in_map("[Camera de cristal]:Ati spart pana acum "..n.." metine.")
    if n > 2 then
    local t = number(1,4)
    notice_in_map("[Camera de cristal]:Beran-Setaou este foarte furios.")
	notice_in_map("[Camera de cristal]:Cheama si mai multe metine.")
    if 1 == t then
    d.regen_file("data/dungeon/skia_boss1.txt")
    elseif 2 == t then
    d.regen_file("data/dungeon/skia_boss2.txt")
    elseif 3 == t then
    d.regen_file("data/dungeon/skia_boss3.txt")
    else
    d.regen_file("data/dungeon/skia_boss4.txt")
    end
    end
    end
    when 2493.kill with pc.in_dungeon() and d.getf("grotte_boss") == 2 begin
        d.setf("grotte_boss", 3)
        notice_all("Cu o ultima suflare de speranta liderul "..pc.get_name().."")
        notice_all("Urmat de razboinici lui de încredere, au reusit sã invinga Dragonul Albastru.")
        timer("skipia_boss_end", 60)
		d.spawn_mob(9012, 64, 142)
        d.kill_all()
        d.clear_regen()
        end

    when login with pc.in_dungeon() and d.getf("grotte_boss") == 2 begin
    pc.set_warp_location(73 , 1825, 12207)
    end
    when login with pc.in_dungeon() and d.getf("grotte_boss") == 1 begin
        timer("skipia_boss_end", 3600)    
        d.set_regen_file("data/dungeon/skia_boss.txt")
        local t = number(1,4)
        if 1 == t then
            d.regen_file("data/dungeon/skia_boss1.txt")
            elseif 2 == t then
            d.regen_file("data/dungeon/skia_boss2.txt")
            elseif 3 == t then
            d.regen_file("data/dungeon/skia_boss3.txt")
            else
            d.regen_file("data/dungeon/skia_boss4.txt")
        end
        local o = number(1,4)
        if 1 == o then
            d.regen_file("data/dungeon/skia_boss1.txt")
            elseif 2 == o then
            d.regen_file("data/dungeon/skia_boss2.txt")
            elseif 3 == o then
            d.regen_file("data/dungeon/skia_boss3.txt")
            else
            d.regen_file("data/dungeon/skia_boss4.txt")
            end    
        d.setf("grotte_boss", 2)
        d.notice("[Camera de cristal]:Aveti la dispozitie 60 de minute sa îi capturati sufletul lui Beran.")
        d.setf("count", 0)
        pc.set_warp_location(73 , 1825, 12207)
        end

    when login with pc.in_dungeon() and d.getf("grotte_boss") == 3 begin -- begin
    --pc.warp(181700, 1220600)
    end
    when skipia_boss_end.timer begin
        d.exit_all()
        end
    when skipia_boss_ende.timer begin
        kill_all_in_map(201)
        game.set_event_flag("Grotte_zugang",0)
        d.setf("grotte_boss", 1)
        d.exit_all()
    end
    when login with pc.get_map_index() != 201 or not pc.in_dungeon() begin
    pc.setqf("erlaubt",0)
    end
    end
end  
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

pixuletzz scrie:*Problemă: La camera de crista, intru , dau cheile , sparg metinele si nu ma telporteaza la dragon , nu apare nici macar mesajul acela bun venit in camera de cristal desi il am in quest. Precizez ca am incercat cu /reload q , am dat si reboot , quest-ul se compileaza cu ./qc , dar nu stiu ce poate avea..
Tipologie server: PvM
*Resursă folosită: -
*ServerFiles utilizat: battle2
*Syserr: -
Poză: -
*Detalii suplimentare:

Cod: Selectaţi tot

----------------------------------------------------
--Camera_de_cristal_by_demonn
----------------------------------------------------
quest Camera_de_cristal begin
state start begin
        
        when 30121.chat."Templul Dragonului." with pc.get_map_index() == 73 begin
        if get_time() > game.get_event_flag("Grotte_time") then
        game.set_event_flag("Grotte_zugang",0)
        end
        if pc.is_gm() or pc.count_item(80041) >= 1 then
        say_title(""..mob_name(30121).."")
        say("Bun venit "..pc.get_name().."")
        say("Nu ai nevoie nici de chei nici de parola")
        say("esti GM poti intra cand vrei.")
        wait()
        pc.warp(843200, 1066900)
        return
        end
        if game.get_event_flag("Grotte_zugang") == 0 and pc.count_item(30179) < 3 then
        say_title(""..mob_name(30121).."")
		say_reward("Pentru a intra în templul lui Beran,")
        say_reward("ai nevoie de "..item_name(30179).."")
        say_item_vnum(30179)
        say_reward("Aceastã cheie rãsucitã picã la Cãpitanul Setaou.")
		say_reward("Ai nevoie de trei Chei Rãsucite pentru a intra.")
        return
        end
        if game.get_event_flag("Grotte_zugang") == 1 then
        say_title(""..mob_name(30121).."")
        pc.setqf("grotte_passworto", 078954687921)
        if pc.getqf("abgabe") == 1 then
        pc.setqf("abgabe",0)
        say("Ai cele trei Chei Rãsucite.")
        say("Te voi teleporta imediat în camera de cristal.")
        pc.setqf("erlaubt",1)
        wait()
        pc.warp(843200, 1066900)
        return
        end
        say("Introdu codul ales de liderul grupului.")
        local passwort = tonumber(input(""))
        --pc.setqf("grotte_passworto", passwort) 
        if game.get_event_flag("Grotte_passwort") == passwort then
        say_title(""..mob_name(30121).."")
        say("Ai introdus codul corect.")
        if pc.count_item(30179) < 3 then
        say("Nu te pot teleporta deoarece nu ai")
        say(""..item_name(30179).."")
        say_item_vnum(30179)
        say("Ai nevoie de cele trei Chei Rãsucite.")
        return
        end
        say("Te voi teleporta imediat.")
        pc.setqf("erlaubt",1)
        wait()
        if pc.can_warp() then   
	 pc.remove_item("30179",3) end
        pc.warp(843200, 1066900)
        elseif passi != pc.getqf("grotte_passworto") then
        say_title(""..mob_name(30121).."")
        say("")
        return
        end
        end
        if game.get_event_flag("Grotte_zugang") == 0 and pc.count_item(30179) >= 3 then
        say_title(""..mob_name(30121).."")
        say("Deþin în mine, ultima suflare a zului dragon.")
		say("Aceastã suflare magicã te pot ajuta sã mergi în")
		say_reward("Camera de cristal.")
		say("")
        say("Ai nevoie de cele trei chei rãsucite.")
        local i = select("Da, Vreau", "Nu, Mulþumesc")
        if 1 == i then
        say_title(""..mob_name(30121).."")
        say("Ai nevoie de un cod pentru tine ºi grupul tãu.")
		say("Codul pe care îl vei introduce, va trebui sã ")
		say("conþinã maxim 2 cifre.")
        local passwort = tonumber(input(""))
        if passwort and passwort <= 999999999 and pc.count_item(30179)>=1 then
        game.set_event_flag("Grotte_zugang",1)
        game.set_event_flag("Grotte_passwort",passwort)
        local times = get_time() + 300 --Wartezeit
        game.set_event_flag("Grotte_time", times)
        say_title(""..mob_name(30121).."")
        pc.setqf("abgabe",1)
        say("Parola aleasa este: "..passwort.."")
        pc.remove_item("30179",3)
        else 
        say_title(""..mob_name(30121).."")
        say("Nu ai scris codul corect.")
        end
        end
        end
        end
    when login with pc.get_map_index() == 201 and not pc.is_gm() begin
        if pc.count_item("80041") >= 1 then chat("") return end
        if pc.get_level() < 75 or pc.getqf("erlaubt") == 0 and pc.get_map_index() == 201 then
         chat("")
            warp_to_village()
        end
        notice_in_map("[Camera de cristal]:Bun venit în camera de cristal ! Incepem prima sarcina a voastra.")
        notice_in_map("[Camera de cristal]:Spargeti toate metinele, si aflati care este metinul corespunzator.")
        pc.set_warp_location(73 , 1825, 12207)
        end
    when 8031.kill with pc.get_map_index() == 201 begin
        timer("skipia_boss_goo", 10)
        notice_in_map("[Camera de cristal]:Ati spart metinul corespunzator.")
	 notice_in_map("[Camera de cristal]:Il veti intalni pe Beran-Setaou. Ce veti face ?")
	 d.kill_all()
        end
    when skipia_boss_goo.timer begin
        game.set_event_flag("Grotte_zugang",0)
        d.new_jump_all(201, 8432, 10669)
        d.setf("grotte_boss", 1)
        d.spawn_mob(9012, 64, 142)
        end
    when 8031.kill or 8032.kill or 8033.kill or 8034.kill with pc.in_dungeon() and d.getf("grotte_boss") == 2 begin
    local n =d.getf("count") + 1
    d.setf("count", n) 
    notice_in_map("[Camera de cristal]:Ati spart pana acum "..n.." metine.")
    if n > 2 then
    local t = number(1,4)
    notice_in_map("[Camera de cristal]:Beran-Setaou este foarte furios.")
	notice_in_map("[Camera de cristal]:Cheama si mai multe metine.")
    if 1 == t then
    d.regen_file("data/dungeon/skia_boss1.txt")
    elseif 2 == t then
    d.regen_file("data/dungeon/skia_boss2.txt")
    elseif 3 == t then
    d.regen_file("data/dungeon/skia_boss3.txt")
    else
    d.regen_file("data/dungeon/skia_boss4.txt")
    end
    end
    end
    when 2493.kill with pc.in_dungeon() and d.getf("grotte_boss") == 2 begin
        d.setf("grotte_boss", 3)
        notice_all("Cu o ultima suflare de speranta liderul "..pc.get_name().."")
        notice_all("Urmat de razboinici lui de încredere, au reusit sã invinga Dragonul Albastru.")
        timer("skipia_boss_end", 60)
		d.spawn_mob(9012, 64, 142)
        d.kill_all()
        d.clear_regen()
        end

    when login with pc.in_dungeon() and d.getf("grotte_boss") == 2 begin
    pc.set_warp_location(73 , 1825, 12207)
    end
    when login with pc.in_dungeon() and d.getf("grotte_boss") == 1 begin
        timer("skipia_boss_end", 3600)    
        d.set_regen_file("data/dungeon/skia_boss.txt")
        local t = number(1,4)
        if 1 == t then
            d.regen_file("data/dungeon/skia_boss1.txt")
            elseif 2 == t then
            d.regen_file("data/dungeon/skia_boss2.txt")
            elseif 3 == t then
            d.regen_file("data/dungeon/skia_boss3.txt")
            else
            d.regen_file("data/dungeon/skia_boss4.txt")
        end
        local o = number(1,4)
        if 1 == o then
            d.regen_file("data/dungeon/skia_boss1.txt")
            elseif 2 == o then
            d.regen_file("data/dungeon/skia_boss2.txt")
            elseif 3 == o then
            d.regen_file("data/dungeon/skia_boss3.txt")
            else
            d.regen_file("data/dungeon/skia_boss4.txt")
            end    
        d.setf("grotte_boss", 2)
        d.notice("[Camera de cristal]:Aveti la dispozitie 60 de minute sa îi capturati sufletul lui Beran.")
        d.setf("count", 0)
        pc.set_warp_location(73 , 1825, 12207)
        end

    when login with pc.in_dungeon() and d.getf("grotte_boss") == 3 begin -- begin
    --pc.warp(181700, 1220600)
    end
    when skipia_boss_end.timer begin
        d.exit_all()
        end
    when skipia_boss_ende.timer begin
        kill_all_in_map(201)
        game.set_event_flag("Grotte_zugang",0)
        d.setf("grotte_boss", 1)
        d.exit_all()
    end
    when login with pc.get_map_index() != 201 or not pc.in_dungeon() begin
    pc.setqf("erlaubt",0)
    end
    end
end  
pc.get_map_index() == 73 begin-verifica sa fie corect indexul mapei.

[ Postat de pe Android ] Imagine
Avatar utilizator
pixuletzz
Nou Venit

Nou Venit
Mesaje: 22
Membru din: 20 Sep 2018, 20:35
Regat: Chunjo
Aprecieri: 3  
Mulţumiri: 0
Medalii

Da , e corect indexul.
Avatar utilizator
pixuletzz
Nou Venit

Nou Venit
Mesaje: 22
Membru din: 20 Sep 2018, 20:35
Regat: Chunjo
Aprecieri: 3  
Mulţumiri: 0
Medalii

UP , cineva?
Avatar utilizator
FrankManfred
Nou Venit

Nou Venit
Mesaje: 48
Membru din: 30 Sep 2017, 19:28
Aprecieri: 12  
Mulţumiri: 0
Discord: Copiază ID
Medalii

Cauta alt quest Functional
Avatar utilizator
Titan
Metin Master

Metin Master
Mesaje: 2783
Membru din: 01 Iun 2015, 15:09
Server: In curand.
Regat: Chunjo
Aprecieri: 42  
Mulţumiri: 377  
  Rezolvări prob.: 3
Discord: Copiază ID
 Contact:
Medalii

Verifică toate pc.get_map_index(), și d.new_jump_all(201, 8432, 10669) unde 201 este index-ul mapei iar restul coordonatele ei.
Imagine
Afișează semnătura
Avatar utilizator
Titan
Metin Master

Metin Master
Mesaje: 2783
Membru din: 01 Iun 2015, 15:09
Server: In curand.
Regat: Chunjo
Aprecieri: 42  
Mulţumiri: 377  
  Rezolvări prob.: 3
Discord: Copiază ID
 Contact:
Medalii

Răspuns primit, topic mutat în probleme rezolvate.
Imagine
Afișează semnătura
Închis
Răspunsuri
1
Vizualizări
226
Răspunsuri
6
Vizualizări
308
Răspunsuri
4
Vizualizări
327
Răspunsuri
6
Vizualizări
450

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 16 vizitatori