Problema Catacomba Diavolului !

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Avatar utilizator
NewHero
Fost Moderator

Fost Moderator
Mesaje: 1331
Membru din: 24 Iun 2014, 00:44
Server: Metin2NewHero
Regat: Jinno
Aprecieri: 215  
Mulţumiri: 35  
Discord: Copiază ID
 Contact:
Medalii

Salut .
Am si eu o mica problema la Catacomba Diavolului , mai exact la etajul 1 , cand pun cheia pe statuie nu imi apare nimic , nu ma teleporteaza , primesc aceasta erroare in syserr : Imagine Am schimbat vreo 3 quest-uri si tot degeaba , problema se manifesta numai la etajul 1 ...
Quest-ul pe care il am este acesta :
-------------------------------
-- SERVERFILE BY HOPE v2
-------------------------------
quest devils_catacomb begin
state start begin
when 20367.chat."Intrã în Catacomba Diavolului" with pc.get_level() < 75 and pc.get_map_index() != 206 begin
say_title("Paznicul catacombei:")
say("")
say("Nu voi lasa în Catacomba Diavolului un")
say("cavaler lipsit de experienþã ca tine.")
say("")
say("Este pentru siguranþa ta.")
say("")
say_reward("Nivel necesar: 75")
say("")
end
when 20367.chat."Intrã în Catacomba Diavolului" with pc.get_level() >= 75 and pc.get_map_index() != 206 begin
say_title("Paznicul catacombei:")
say("")
say("Doreºti sã intri în Catacomba Diavolului?")
say("")
local s = select("Da, vreau sã intru.", "Nu, vreau sã plec.")
if s == 1 then
if pc.count_item(30319) < 1 then
say_title("Paznicul catacombei:")
say("")
say("Nu poþi intra fãrã ")
say_item_vnum(30319)
say("")
return
end
pc.warp(314700,1210100)
end
end
when 20367.chat."Înapoi în Templul Întunecat" with pc.get_map_index() == 206 begin
say_title("Paznicul catacombei:")
say("")
say("Eºti sigur cã vrei sã te dai bãtut")
say("ºi sã te întorci în Templul Întunecat?")
say("")
local s = select("Da, sunt prea slab.", "Nu!")
if s == 1 then
pc.warp(591400, 99900)
end
end
function get_devil_base()
local x = pc.get_local_x()
local y = pc.get_local_y()
if pc.get_map_index() == 206 and x > 30 and y > 45 and x < 450 and y < 450 then
return 1
end
if pc.get_map_index() >= 2060000 and pc.get_map_index() < 2070000 then
if x > 30 and y > 45 and x < 450 and y < 450 then
return 1
elseif x > 540 and y > 39 and x < 1000 and y < 462 then
return 2
elseif x > 1048 and y > 35 and x < 1455 and y < 458 then
return 3
elseif x > 31 and y > 541 and x < 564 and y < 1058 then
return 4
elseif x > 650 and y > 540 and x < 1050 and y < 955 then
return 5
elseif x > 1175 and y > 576 and x < 1420 and y < 810 then
return 6
elseif x > 46 and y > 1091 and x < 102 and y < 1164 then
return 7
end
end
return 0
end
function register_player(vid)
local player_count = d.getf("player_count")
player_count = player_count + 1
d.setf("player_count", tonumber(player_count))
d.setf(string.format("player%d", player_count), tonumber(vid))
end
function unregister_player(vid)
local player_count = d.getf("player_count")
local found = false
for i = 1, player_count, 1 do
if found == true then
d.setf(string.format("player%d", tonumber(i)), d.getf(string.format("player%d", i+1)))
end
p = d.getf("player"..tostring(i))
if p == vid then
i = i -1
found = true
end
end
if found == true then
d.setf("player_count", tonumber(player_count - 1))
end
end
function get_players()
local players = {}
local player_count = d.getf("player_count")
for i = 1, player_count, 1 do
players = d.getf("player"..tostring(i))
end
return players
end
function checkbase3item(pindex)
local self_checked = false
local self = pc.select(d.getf("player"..tostring(pindex)))
if pc.count_item(30319) < 1 and self_checked == false then
warp_to_village()
else
pc.remove_item(30319, 1)
end
if pc.get_vid() == self then
self_checked = true
end
pc.select(self)
end
function get_remaining_minutes()
local m = 60 - (get_global_time() - d.getf("start_time"))/60
if m <= 1 then
return "un minut"
else
return string.format("%d de minute", m)
end
end
when login with devils_catacomb.get_devil_base() == 1 begin
addimage(20, 12, "catacombs.tga")
say("")
say("")
say("")
say("")
say_title("Catacomba Diavolului: Nivel 1")
say("")
say("Distruge creaturile pentru a primi Cheia")
say("Suflet Cristalizat. Aceasta deschide poarta")
say("etajului 2.")
say("")
say_item("Cheie suflet cristalizat", 30311, "")
pc.remove_item(30311, pc.count_item(30311))
pc.remove_item(30312, pc.count_item(30312))
end
when kill with devils_catacomb.get_devil_base() == 1 begin
chance = math.random ( 1 , 100 )
if chance == 1 then
game.drop_item(30311, 1)
end
end
when 30101.take with item.vnum == 30311 and devils_catacomb.get_devil_base() == 1 begin
if not party.is_party() then
say_title("Statuia Kud:")
say("")
say("Trebuie sã fii intr-o grupã.")
say("")
return
end
if not party.is_leader() then
say_title("Statuia Kud:")
say("")
say("Trebuie sã fi liderul unei grupe.")
say("")
return
end
if party.is_leader() then
item.remove()
npc.purge()
say_title("Statuia Kud:")
say("")
say("Intrarea a fost deblocatã.")
say("Treci repede!")
say("")
wait()
say_title("Statuia Kud:")
say("")
say("Aici începe adevãrata aventurã. De acum ai o")
say("orã pentru a explora Catacomba Diavolului.")
say("")
wait()
d.new_jump_all(206, 3626, 12083)
d.clear_regen()
d.regen_file("data/dungeon/devilscatacomb/base2_regen.txt")
d.regen_file("data/dungeon/devilscatacomb/base2_npc.txt")
d.setf("doors", 0)
d.setf("start_time", get_global_time())
server_timer("dc_time_expired", 60*60, d.get_map_index())
server_timer("dc_time_notice", 30*60, d.get_map_index())
server_timer("dc_time_notice", 45*60, d.get_map_index())
server_timer("dc_time_notice", 50*60, d.get_map_index())
server_timer("dc_time_notice", 55*60, d.get_map_index())
end
end
when login with pc.in_dungeon() == true and devils_catacomb.get_devil_base() != 0 begin
pc.set_warp_location(65, 5914, 999)
devils_catacomb.register_player(pc.get_vid())
loop_timer("base7_smashout", 10)
if party.is_leader() == true then
d.setf("leader", pc.get_vid())
end
if devils_catacomb.get_devil_base() != 2 then return end
say_title("Catacomba Diavolului: Nivel 2")
say("")
say("Sparge porþile ºi distruge sigiliul pentru")
say("a trece mai departe.")
say("Ti-au mai rãmas "..devils_catacomb.get_remaining_minutes()..".")
say("")
end
when logout with pc.in_dungeon() == true and devils_catacomb.get_devil_base() > 1 begin
devils_catacomb.unregister_player(pc.get_vid())
end
when 30111.kill or 30112.kill or 30113.kill or 30114.kill or 30115.kill or 30116.kill or 30117.kill or 30118.kill or 30119.kill with pc.in_dungeon() == true and devils_catacomb.get_devil_base() == 2 begin
d.setf("doors", d.getf("doors") + 1)
d.notice("Aþi spart "..d.getf("doors").." uºi din 11.")
end
when 30103.click with pc.in_dungeon() == true and devils_catacomb.get_devil_base() == 2 and pc.get_vid() == d.getf("leader") begin
if d.getf("doors") < 11 then
say_title("Piatrã Testoasã:")
say("")
say("Ai spart doar "..d.getf("doors").." uºi din 11.")
say("Revin-o când le-ai spart pe toate.")
say("")
return
end
npc.lock()
say_title("Piatrã Testoasã:")
say("")
say("Doar cei care au cap mumificat pot trece")
say("mai departe.")
say("")
say_reward("Dacã nu ai cap mumificat vei fi teleportat")
say_reward("afarã din Catacomba Diavolului.")
say("")
wait()
local s = select("Da, lasã-ma sã trec.", "Nu am capul mumificat.")
if s == 1 then
if pc.count_item(30319) < 1 then
say_title("Piatrã Testoasã:")
say("")
say("Nu ai capul mumificat.")
say("Vei fi teleportat afarã din Catacomba Diavolului.")
say("")
pc.warp(591400, 99900)
return
end
say_title("Piatrã Testoasã:")
say("")
say("Imediat vei fi teleportat la nivelul 3.")
say("")
timer("base3_jump", 4)
wait()
else
say_title("Piatrã Testoasã:")
say("")
say("Nu ai capul mumificat.")
say("Vei fi teleportat afarã din Catacomba Diavolului.")
say("")
wait()
pc.warp(591400, 99900)
end
end
when base3_jump.timer begin
if d.getf("base3jump") == 1 then
return
end
d.setf("base3jump", 1)
d.purge()
if pc.count_item(30319) < 1 then
d.exit_all()
else
pc.remove_item(30319, 1)
end

d.jump_all(4443, 12282)
d.notice("Cautã piatra Metin corectã ºi distruge-o.")
d.notice("Ti-au mai rãmas "..devils_catacomb.get_remaining_minutes()..".")
d.clear_regen()
d.regen_file("data/dungeon/devilscatacomb/base3_regen.txt")
d.regen_file("data/dungeon/devilscatacomb/base3_stone_regen.txt")
end
when 8038.kill with pc.in_dungeon() == true and devils_catacomb.get_devil_base() == 3 and d.getf("warp_countdown_mode") != 1 begin
local stone_count = d.getf("stone_count")
stone_count = stone_count + 1
if stone_count >= 5 or number(1, 5) == 5 then
d.notice("Ai gãsit piatra Metin corectã. Acum vei fi teleportat la nivelul 4.")
d.setf("warp_countdown_mode", 1)
server_timer("base4_jump", 4, pc.get_map_index())
else
d.setf("stone_count", stone_count + 1)
d.notice("Piatra Metin este falsã. Gãseºte-o pe cea adevãratã.")
end
end
when base4_jump.server_timer begin
if d.select(get_server_timer_arg()) then
d.purge()
d.jump_all(3144, 12617)
d.clear_regen()
d.regen_file("data/dungeon/devilscatacomb/base4_regen.txt")
end
end
when 30104.click with pc.in_dungeon() == true and devils_catacomb.get_devil_base() == 4 begin
npc.purge()
say_title("Fragment de Runã:")
say("")
say("Ai gãsit ieºirea din labirint!")
say("")
server_timer("base5_jump", 4, pc.get_map_index())
end
when base5_jump.server_timer begin
if d.select(get_server_timer_arg()) then
d.purge()
d.jump_all(3918, 12922)
d.notice("Înfrânge Gardienii Demoni pentru a primi Totemul Schimonosit. Dupã ce ai gãsit totemul du-te")
d.notice("ºi pune-l pe obeliscul din vârful muntelui.")
d.notice("Ti-au mai rãmas "..devils_catacomb.get_remaining_minutes()..".")
local pos =
{
{850, 588},
{714, 655},
{701, 817},
{987, 838},
{994, 657},
}
cid = number(1, 5)
d.spawn_mob(2591, pos[cid][1], pos[cid][2])

d.regen_file("data/dungeon/devilscatacomb/base5_regen.txt")
end
end
when 2591.kill with pc.in_dungeon() == true and devils_catacomb.get_devil_base() == 5 begin
game.drop_item(30312, 1)
end
when 30102.take with item.vnum == 30312 and pc.in_dungeon() == true and devils_catacomb.get_devil_base() == 5 begin
item.remove()
d.purge()
d.notice("Ecoul strigãtului de sânge coagulat se aude din adâncul Catacombei Diavolului.")
d.notice("Charon s-a trezit!")
d.jump_all(4339, 12702)
d.clear_regen()
d.spawn_mob(2597, 1305, 703)
d.regen_file("data/dungeon/devilscatacomb/base6_regen.txt")
server_loop_timer('base6_update', 10, pc.get_map_index())
d.notice("Înfrânge-l pe Charon ºi demonii lui pentru a trece la urmãtorul nivel.")
d.notice("Ti-au mai rãmas "..devils_catacomb.get_remaining_minutes()..".")
end
when base6_update.server_timer begin
if not d.select(get_server_timer_arg()) then
server_timer("base6_update_stop_timer", 1, get_server_timer_arg())
return
end
end
when 2597.kill with pc.in_dungeon() == true and devils_catacomb.get_devil_base() == 6 begin
say("L-ai învis pe Charon! Ai ajuns la ultimul[ENTER]nivel al Catacombei Diavolului![ENTER]")
server_timer("base7_jump", 5, get_server_timer_arg())
end
when base6_update_stop_timer.server_timer begin
clear_server_timer("base6_update", get_server_timer_arg())
end
when base7_jump.server_timer begin
clear_server_timer("base6_update", get_server_timer_arg())
if not d.select(get_server_timer_arg()) then
return
end
d.purge()
d.jump_all(3146, 13185)
d.clear_regen()
d.regen_file("data/dungeon/devilscatacomb/base7_regen.txt")
d.set_unique("boss", d.spawn_mob(2598, 74, 1105))
server_loop_timer("base7_boss_update", 10, get_server_timer_arg())
d.notice("Înfruntã-l pe Azrael!")
d.notice("Ti-au mai rãmas "..devils_catacomb.get_remaining_minutes()..".")
d.setf("level", 7)
end
when base7_boss_update.server_timer begin
if d.select(get_server_timer_arg()) then
if d.is_unique_dead("boss") then
d.clear_regen()
d.purge()
clear_server_timer("dc_time_expired", get_server_timer_arg())
say_in_map(d.get_map_index(), color256(255, 230, 186).."Catacomba Diavolului:[ENTER][ENTER]"..color256(196, 196, 196).."Azrael a fost ucis. Înºfârsit[ENTER]pacea se poate reîntoarce în Catacombe.[ENTER]Acum vei fi teleportat afarã.[ENTER]")
server_timer("base7_update_stop_timer", 1, get_server_timer_arg())
server_timer("dc_end_jump", 60, get_server_timer_arg())
end
return
end
server_timer("base7_update_stop_timer", 1, get_server_timer_arg())
end
when 2598.kill begin
if pc.level <= 105 then
notice_all("Catacomba Diavolului: "..pc.get_name ().." l-a infrant pe Azrael!")
pc.give_item2("50186",1)
else
syschat("Limita acestui monstru este de Lv.105")
end
end
when base7_update_stop_timer.server_timer begin
clear_server_timer("base7_boss_update", get_server_timer_arg())
end
when base7_smashout.timer begin
if d.getf("level") == 7 and devils_catacomb.get_devil_base() != 7 and d.select(pc.get_map_index()) then
d.jump_all(3146, 13185)
end
end
when dc_end_jump.server_timer begin
if d.select(get_server_timer_arg()) then
d.setf("level", 0)
clear_server_timer("dc_time_expired", get_server_timer_arg())
clear_server_timer("base7_smashout", get_server_timer_arg())
clear_server_timer("base7_update_stop_timer", get_server_timer_arg())
clear_server_timer("base7_boss_update", get_server_timer_arg())
clear_server_timer("base6_update_stop_timer", get_server_timer_arg())
clear_server_timer("base6_update", get_server_timer_arg())
clear_server_timer("base5_jump", get_server_timer_arg())
clear_server_timer("base4_jump", get_server_timer_arg())
d.clear_regen()
d.exit_all()
end
end
when dc_time_expired.server_timer begin
if d.select(get_server_timer_arg()) then
d.setf("level", 0)
d.notice("Timpul a expirat. Vei fi teleportat afarã din Catacomba Diavolului.")
clear_server_timer("base7_smashout", get_server_timer_arg())
clear_server_timer("base7_update_stop_timer", get_server_timer_arg())
clear_server_timer("base7_boss_update", get_server_timer_arg())
clear_server_timer("base6_update_stop_timer", get_server_timer_arg())
clear_server_timer("base6_update", get_server_timer_arg())
clear_server_timer("base5_jump", get_server_timer_arg())
clear_server_timer("base4_jump", get_server_timer_arg())
d.clear_regen()
d.exit_all()
end
end

when dc_time_notice.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Ti-au mai rãmas "..devils_catacomb.get_remaining_minutes()..".")
end
end

end
end

Multumesc frumos !
În curând un nou server de Metin2 level 250.
Votați doar dacă v-ar interesa să jucați pe un server de mai jos.
Strawpoll:https://strawpoll.com/u5h4uz6cp/
Website(În curând online):https://metin2newhero.ro/
Server discord M2NH:https://discord.gg/PAwehr4
Afișează semnătura
Avatar utilizator
NewHero
Fost Moderator

Fost Moderator
Mesaje: 1331
Membru din: 24 Iun 2014, 00:44
Server: Metin2NewHero
Regat: Jinno
Aprecieri: 215  
Mulţumiri: 35  
Discord: Copiază ID
 Contact:
Medalii

UP !
În curând un nou server de Metin2 level 250.
Votați doar dacă v-ar interesa să jucați pe un server de mai jos.
Strawpoll:https://strawpoll.com/u5h4uz6cp/
Website(În curând online):https://metin2newhero.ro/
Server discord M2NH:https://discord.gg/PAwehr4
Afișează semnătura
Avatar utilizator
Pongo A.K.A Titan
Utilizator interzis !

Utilizator interzis !
Mesaje: 2028
Membru din: 01 Sep 2016, 16:08
Regat: Jinno
Aprecieri: 35  
Mulţumiri: 261  
 Contact:
Medalii

quest devilscave begin
    state start begin    
        when login begin
            if pc.get_map_index() == 10 then
                pc.set_warp_location(10, 3148, 12098)
            end
        end    
when 30121.chat."Catacomba Diavolului" begin
if pc . get_level ( ) <= 75 then   
say_title ( "Gardian" )
say("")
say_reward("Pentru a putea intra trebuie ca nivelul tau sa fie mai mare de 75 !");
return
end
if party . is_party ( ) then 
else 
say_reward( "Nu poti intra de unu singur aici...trebuie sa fii intr-o grupa." ) 
say("")
return
end
say_title ( "Gardian" )
say("Eu te pot conduce in catacomba diavolului")say(",dar sa stii ca nu faci fata singur acolo")
say("si te sfatuiesc sa iti iei cei mai buni prieteni cu tine pentru a birui in fata lu Azrael.")
say("Toti membri din grupa trebuie sa aiba peste nivelul 75!")
say("")
local dc_login = select("Vreau sa intru", "Nu vreau")
if dc_login == 1 then
pc.warp(314800, 1209800)
else
say_title("Gardian:")
say("Va inteleg.")
say("Cand esti pregatit poti sa te intorci inapoi aici.")
return
end
end
        
                                    
--Ebene 1        
        when login with pc.get_map_index() == 10 begin
            game.set_event_flag(("dcgamer"), game.get_event_flag("dcgamer")+1)
            game.set_event_flag(("dc_versuche"), game.get_event_flag("dc_versuche")+1)            
            say_title("Catacomba Diavolului")    
            say("Pentru a trece la nivelul 2 ai nevoie de o")
            say_item("Cheie Rubin", 50150, "")
            say("Dupa ce gasiti cheia va veti duce si o veti pune pe statuie!")
            say("")
            say_reward("Mult noroc!")
            say("")
            pc.setqf("sksgedroppt", 0)
        end
        when kill with not npc.is_pc() and pc.get_map_index() == 10 begin 
            local sks = number(1,50)
            if sks==1 and pc.getqf("sksgedroppt")==0 then
                pc.setqf("sksgedroppt", 1)
                chat("Ai gasit Cheia Rubin!")
                game.drop_item(50150, 1)    
        
            end
        end
--Puertas

        when 30101.take with item.vnum == 50150 begin
         if party.is_party() then
            item.remove()
            say("Felicitari...acum veti fi teleportati la nivelul 2")
            wait()
            say("Pentru a putea trece mai departe de acest obstacol va trebui sa cauti drumul cel bun pana la portalul ce te va duce la etajul urmator.Grabeste-te timpul se scurge.....tic tac  ")
            wait()
            
            timer("devils_catacomb_goto_ebene3", 5)
    else
                say("Tu nu mai apartii nici unui grup")
            end
 end
 
            
            
            when devils_catacomb_goto_ebene3.timer begin
            d.new_jump_all(10, 3617, 12074)
            say("~~Pentru a putea trece mai departe gaseste drumul cel bun!~~")
            say("~~Si da click pe portal pentru a putea trece cu grupul mai departe~~")
            d.regen_file("data/dungeon/dc_regen_ebene2.txt")
            d.regen_file("data/dungeon/dc_regen_tore_unten.txt")
            d.regen_file("data/dungeon/dc_regen_tore_left.txt")
            d.spawn_mob(30104, 741, 221)
        end
                      
--Ebene 2
        
        when 30104.chat."Esti pregatit pentru Etajul 3 ?" begin
            if party.is_leader() then
                     else
             say("Tu si grupul tau veti fi teleportati la etajul 3")
                     return
                     end
                     npc.purge()
                  say_reward("Statuia Broasca Testoasa")
            say("Bravo ai trecut mai departe!..Aici te va astepta o porovocare care tine mai mult de noroc.Trebuie sa gasesti in acest tinut metinul cel adevarat si sa il distrugi.")
            wait()
            d.notice("Tu si echipa ta veti fi teleportati mai departe")
            timer("devils_catacomb_goto_ebene8", 5)
end
            when devils_catacomb_goto_ebene8.timer begin
            d.new_jump_all(10, 4427, 12284)

            d.setf("goto_ebene3", 0)
            d.notice("Pentru a putea trece mai departe gaseste metinul adevarat si distrugel")
            d.regen_file("data/dungeon/dc_regen_ebene3.txt")
            local metindv = number(1,4)
            if metindv==1 then
                d.spawn_mob(8028, 1264, 238)
                d.spawn_mob(8028, 1148, 350)
                d.spawn_mob(8028, 1151, 155)
                d.spawn_mob(8029, 1351, 149)
            end
            if metindv==2 then
                d.spawn_mob(8028, 1351, 348)
                d.spawn_mob(8028, 1148, 350)
                d.spawn_mob(8029, 1151, 155)
                d.spawn_mob(8028, 1351, 149)
            end
            if metindv==3 then
                d.spawn_mob(8028, 1351, 348)
                d.spawn_mob(8029, 1148, 350)
                d.spawn_mob(8028, 1151, 155)
                d.spawn_mob(8028, 1351, 149)
            end
            if metindv==4 then
                d.spawn_mob(8029, 1351, 348)
                d.spawn_mob(8028, 1148, 350)
                d.spawn_mob(8028, 1151, 155)
                d.spawn_mob(8028, 1351, 149) 
            end
end
        when 8028.kill with pc.in_dungeon() begin
            d.notice("Acest metin este fals")
        end
        when 8029.kill with pc.in_dungeon() begin
            d.notice("Ai gasit metinul cel bun!")
            timer("devils_catacomb_goto_ebene4", 5)
        end
--Ebene 4 (Labirint)
        when devils_catacomb_goto_ebene4.timer begin
            d.new_jump_all(10, 3143, 12657)
            d.setf("Laberinto", 1)
            d.spawn_mob(30103, 500, 720) 
            d.regen_file("data/dungeon/dc_regen_ebene4_portale.txt")
            d.regen_file("data/dungeon/dc_regen_ebene8.txt")
            d.notice("Gaseste o cale de iesire din acest labirit")
            d.notice("Catre statuia Broastei Testoase")
            if game.get_event_flag("dc_is_wartung") == 1 then
            end
        end            
        when 30103.chat."Cursa Iadului" with pc.in_dungeon() begin
            say("Felicitari ati ajuns la etajul 5")
            npc.purge()
            timer("devils_catacomb_goto_ebene5", 5)
        end
--Ebene 6 (Tartaros)
        when devils_catacomb_goto_ebene5.timer begin
            d.new_jump_all(10, 3917, 12925)
            d.notice("Tartarus detine cheia catre etajul urmator")
            d.notice("Pentru a o obtine trebuie sa omori cat mai multi..depinde de norocul tau.")
            d.spawn_mob(30102, 848, 739)
            d.regen_file("data/dungeon/dc_regen_ebene5.txt")
            local tartaros = number(1,5)
            if tartaros==1 then
                d.spawn_mob(2593, 991, 848)
                d.spawn_mob(2594, 999, 652)
                d.spawn_mob(2594, 848, 577)
                d.spawn_mob(2594, 703, 644)
                d.spawn_mob(2594, 692, 817)
            end
            if tartaros==2 then
                d.spawn_mob(2594, 991, 848)
                d.spawn_mob(2593, 999, 652)
                d.spawn_mob(2594, 848, 577)
                d.spawn_mob(2594, 703, 644)
                d.spawn_mob(2594, 692, 817)
            end
            if tartaros==3 then
                d.spawn_mob(2594, 991, 848)
                d.spawn_mob(2594, 999, 652)
                d.spawn_mob(2593, 848, 577)
                d.spawn_mob(2594, 703, 644)
                d.spawn_mob(2594, 692, 817)
            end
            if tartaros==4 then
                d.spawn_mob(2594, 991, 848)
                d.spawn_mob(2594, 999, 652)
                d.spawn_mob(2594, 848, 577)
                d.spawn_mob(2593, 703, 644)
                d.spawn_mob(2594, 692, 817)
            end
            if tartaros==5 then
                d.spawn_mob(2594, 991, 848)
                d.spawn_mob(2594, 999, 652)
                d.spawn_mob(2594, 848, 577)
                d.spawn_mob(2594, 703, 644)
                d.spawn_mob(2593, 692, 817)
            end
        end        
        when 2594.kill with pc.in_dungeon() begin
        d.notice("Din pacate acest monstru nu a avut cheia la el.")
        end    
        when 2593.kill with pc.in_dungeon() begin
            game.set_event_flag((""..pc.get_name().."ap_send"), game.get_event_flag(""..pc.get_name().."ap_send") + 5)
            local Reward = 5
            local Achievement = "Höllenbastard"
            local killcount = pc.getqf("2593")
            local actual_achievement_points = pc.getqf("achievement_points")
            pc.setqf("2593", killcount + 1)
            pc.setqf("achievement_points", actual_achievement_points + Reward)
            cmdchat("achievement ".. Achievement .."_getötet#".. killcount + 1  .."%".. actual_achievement_points + Reward .."")
            d.notice("Bastardul Iadului a fost invins si cheia de la portal era la el!")
            game.drop_item(50151, 1)
        end    
        when 30102.take with item.vnum == 50151 begin
            item.remove()
            npc.purge()
            say_reward("Aceasta cheie se potriveste perfect.Tu si echipa ta veti putea trece mai departe.")
            d.notice("Felicitari veti trece mai departe!")
            timer("devils_catacomb_goto_ebene6", 5)
         end 
--Ebene 7 (Charon)
        when devils_catacomb_goto_ebene6.timer begin
            d.new_jump_all(10, 4411, 12736)
            d.notice("Felicitari pentru ca ati putut ajunge pana aici!")
            d.notice("Pentru a putea trece la ultimul nivel va trebuie sa il omorati pe Charon!")
            d.regen_file("data/dungeon/dc_regen_ebene6.txt")
        end        
        when 2597.kill with pc.in_dungeon() begin
            game.set_event_flag((""..pc.get_name().."ap_send"), game.get_event_flag(""..pc.get_name().."ap_send") + 8)
            local Reward = 8
            local Achievement = "Charon"
            local killcount = pc.getqf("2597")
            local actual_achievement_points = pc.getqf("achievement_points")
            pc.setqf("2597", killcount + 1)
            --pc.setqf("achievement_points", actual_achievement_points + Reward)
            cmdchat("achievement ".. Achievement .."_getötet#".. killcount + 1  .."%".. actual_achievement_points + Reward .."")
            pc.give_item2(30320)
            chat("L-ati doborat si pe Charon!")
            d.notice("Sunteti foarte buni...")
            d.notice("Pregatitiva pentru al infrunta pe Marele Azrael")
            timer("devils_catacomb_goto_ebene7", 10)
        end
--Ebene 8 (Azrael)
        when devils_catacomb_goto_ebene7.timer begin
            d.new_jump_all(10, 3147, 13191)
            d.notice("~~Omoaral pe Azrael pentru a primi o recompensa!~~")
            d.regen_file("data/dungeon/dc_regen_ebene7.txt")
        end
        when 2598.kill with pc.in_dungeon() begin
        d.kill_all()
        notice_all("Felicitari Azrael a fost invins.")
        timer("ebane_end_jump", 65)
        end
when ebane_end_jump.timer begin
        d.new_jump_all(65, 5376+535 , 512+480) 
        end
end
end
 ! Mesaj de la: Pongo A.K.A Titan
Cand credeati ca am sa mor
M-am ridicat ca un invingator
Afișează semnătura
Avatar utilizator
NewHero
Fost Moderator

Fost Moderator
Mesaje: 1331
Membru din: 24 Iun 2014, 00:44
Server: Metin2NewHero
Regat: Jinno
Aprecieri: 215  
Mulţumiri: 35  
Discord: Copiază ID
 Contact:
Medalii

Pongo multumesc frumos dar tot aceeasi erroare imi da ... Imagine Alte pareri , sugestii ...
În curând un nou server de Metin2 level 250.
Votați doar dacă v-ar interesa să jucați pe un server de mai jos.
Strawpoll:https://strawpoll.com/u5h4uz6cp/
Website(În curând online):https://metin2newhero.ro/
Server discord M2NH:https://discord.gg/PAwehr4
Afișează semnătura
Avatar utilizator
NewHero
Fost Moderator

Fost Moderator
Mesaje: 1331
Membru din: 24 Iun 2014, 00:44
Server: Metin2NewHero
Regat: Jinno
Aprecieri: 215  
Mulţumiri: 35  
Discord: Copiază ID
 Contact:
Medalii

up !
În curând un nou server de Metin2 level 250.
Votați doar dacă v-ar interesa să jucați pe un server de mai jos.
Strawpoll:https://strawpoll.com/u5h4uz6cp/
Website(În curând online):https://metin2newhero.ro/
Server discord M2NH:https://discord.gg/PAwehr4
Afișează semnătura
Avatar utilizator
NewHero
Fost Moderator

Fost Moderator
Mesaje: 1331
Membru din: 24 Iun 2014, 00:44
Server: Metin2NewHero
Regat: Jinno
Aprecieri: 215  
Mulţumiri: 35  
Discord: Copiază ID
 Contact:
Medalii

up
În curând un nou server de Metin2 level 250.
Votați doar dacă v-ar interesa să jucați pe un server de mai jos.
Strawpoll:https://strawpoll.com/u5h4uz6cp/
Website(În curând online):https://metin2newhero.ro/
Server discord M2NH:https://discord.gg/PAwehr4
Afișează semnătura
Avatar utilizator
NewHero
Fost Moderator

Fost Moderator
Mesaje: 1331
Membru din: 24 Iun 2014, 00:44
Server: Metin2NewHero
Regat: Jinno
Aprecieri: 215  
Mulţumiri: 35  
Discord: Copiază ID
 Contact:
Medalii

up
În curând un nou server de Metin2 level 250.
Votați doar dacă v-ar interesa să jucați pe un server de mai jos.
Strawpoll:https://strawpoll.com/u5h4uz6cp/
Website(În curând online):https://metin2newhero.ro/
Server discord M2NH:https://discord.gg/PAwehr4
Afișează semnătura
Avatar utilizator
NewHero
Fost Moderator

Fost Moderator
Mesaje: 1331
Membru din: 24 Iun 2014, 00:44
Server: Metin2NewHero
Regat: Jinno
Aprecieri: 215  
Mulţumiri: 35  
Discord: Copiază ID
 Contact:
Medalii

upp
În curând un nou server de Metin2 level 250.
Votați doar dacă v-ar interesa să jucați pe un server de mai jos.
Strawpoll:https://strawpoll.com/u5h4uz6cp/
Website(În curând online):https://metin2newhero.ro/
Server discord M2NH:https://discord.gg/PAwehr4
Afișează semnătura
Avatar utilizator
NewHero
Fost Moderator

Fost Moderator
Mesaje: 1331
Membru din: 24 Iun 2014, 00:44
Server: Metin2NewHero
Regat: Jinno
Aprecieri: 215  
Mulţumiri: 35  
Discord: Copiază ID
 Contact:
Medalii

up !
În curând un nou server de Metin2 level 250.
Votați doar dacă v-ar interesa să jucați pe un server de mai jos.
Strawpoll:https://strawpoll.com/u5h4uz6cp/
Website(În curând online):https://metin2newhero.ro/
Server discord M2NH:https://discord.gg/PAwehr4
Afișează semnătura
Avatar utilizator
Cukycuky
Nivel 3

Nivel 3
Mesaje: 347
Membru din: 23 Iun 2016, 11:51
Regat: Jinno
Aprecieri: 9  
Mulţumiri: 15  
Medalii

Cod: Selectaţi tot

quest devilscave begin
    state start begin
--Konfiguration   
        when 20351.chat."DC Configuration!" with game.get_event_flag("block_dc_config") == 0 and pc.is_gm begin
			game.set_event_flag("dc_is_ok",1)
			game.set_event_flag("block_dc_config",1)
			game.set_event_flag("dc_versuche",1)
		end
--Eintritt fehlgeschlagen
        --when 20351.chat."Catacombele Diavolului" with game.get_event_flag("dc_is_ok") == 1 and pc.getqf("can_in_dc") == 0 and pc.get_level() > 80 begin
			--say_title("Gardian :")
			--say("")
			--say_reward("Nu poti intra in Catacombele Diavoului.")
			--say("")
			--say_reward("Mai intai am nevoie de o relicva a Ingerului cu Coasa!")
			--say_reward("Iar apoi te voi lasa sa intri...!")
        --end
        --when 20351.chat."Catacombele Diavolului" with game.get_event_flag("dc_is_ok") == 1 and pc.getqf("can_in_dc") == 1 and pc.get_level() < 80 begin
            --say_title("Gardian :")
            --say("")
            --say_reward("Imi pare rau, insa esti prea slab pentru a te lasa sa pasesti in aceste locuri sumbre...")
            --say("")
        --end
--Sensenmannrelikt Abgabe!
        --when 20351.take with item.vnum == 30122 and pc.getqf("can_in_dc") == 0 begin
            --if pc.get_level() < 80 then
                --say_title("Gardian :")
                --say("")
                --say_reward("Ai nevoie de nivelul 80 si o relicva de la Ingerul cu Coasa, pentru a trece!")
                --say("")
            --else
                --item.remove()
                --say_title("Gardian :")
                --say("")
                --say_reward("Poti intra acum in Catacombele Diavolului...")
                --say("")
                --pc.setqf("can_in_dc", 1)
            --end
        --end
--Eintritt    
        when 20351.chat."Catacombele Diavolului" with game.get_event_flag("dc_is_ok") == 1 and pc.getqf("can_in_dc") == 0 begin
            if pc.get_level() < 80 then 
                say_title("Gardian :")
                say("")
                say_reward("Esti inca prea slab pentru a pasi in aceste locuri sumbre...")
                say("")
            else
                say_title("Gardian :")
                say("")
                say("Pana in aceasta clipa... "..game.get_event_flag("dcgamer").." razboinici neinfricati au incercat, ")
                say("si... "..game.get_event_flag("dc_geschaft").." au fost infranti in incercarea de`a infrange aceasta creeatura terifianta, ")
                say("De`al infrange pe Azrael!")
                wait()
                say_title("Gardian :")
                say("")
                say_reward("Vrei sa incercei si tu?")
                say_reward("esti, "..game.get_event_flag("dc_versuche")..". Razboinic care, ")
                say_reward("incearca.!")
                say("")
                pc.setqf("Nivel", 1)
                local dc_login = select("Du`ma acolo.", "Abandoneaza.")
                if dc_login == 1 then
                    pc.warp(415200, 4209200)
                elseif dc_login == 2 then
                    return
                end
            end
        end            
--Ebene 1        

        
        when login with pc.get_map_index() == 302 begin
            game.set_event_flag(("dcgamer"), game.get_event_flag("dcgamer")+1)
            game.set_event_flag(("dc_versuche"), game.get_event_flag("dc_versuche")+1)
            if pc.getqf("Nivel") == 1 then
            say_title("Catacomele Diavolului")
            say("Pentru a trece la urmatorul nivel al catacombei, trebuie sa gasiti : ")
            say_item("Cheie Suflet de Cristal", 30311, "") --Die "--" vor say_item entfernen wenn beim Login text das Item als Bild angezeigt werden soll das man braucht
            say(", iar apoi punetio pe Monumentul lui Kud!")
            say("Cheia Suflet de Cristal, poate fi gasita la monstri.")
            say("Atentie, ai doar 90 de minute la dispozitie.")
            say("")
            say_reward("...mult noroc...")
            say("")
            timer("dc10", 600)
            pc.setqf("sksgedroppt", 0)
        else
            warp_all_to_village()
            end
        end
        when kill with not npc.is_pc() and pc.get_map_index() == 302 begin 
            local sks = number(1,15)
            if sks==1 and pc.getqf("sksgedroppt")==0 then
                pc.setqf("sksgedroppt", 1)
                chat("O Cheie Suflet de Cristal a fost dropata.")
                game.drop_item(30311, 1)
            else
                chat("Acest monstru, nu detine nici o cheie.")
            end
        end
        when 30101.take with item.vnum == 30311 begin
            chat("Ve`i fi trimis in ce`l dea`l doilea nivel al Catacombelor Diavolului")
            pc.remove_item("30311")
            d.new_jump_all(209, 4632, 42082)
            d.regen_file("data/dungeon/devilcave/dc_regen_ebene2.txt")
            d.regen_file("data/dungeon/devilcave/dc_regen_tore_unten.txt")
            d.regen_file("data/dungeon/devilcave/dc_regen_tore_left.txt")
            d.spawn_mob(30103, 741, 221)
            d.setf("Nivel", 2)
        end    
        
        when login with pc.in_dungeon() begin
            if d.getf("Nivel") == 2 then
            chat("Ai ajuns la al doilea nivel al Catacombelor Diavolului.")
            chat("Distruge totul in calea ta, pana ce ve`i fi ajuns la Testoasa de Piatra.")
            chat("Dute, ai doar 10 minute puse in fata ta.")
            timer("dc1", 600)
        end
            if d.getf("Nivel") == 3 then
            chat("Gaseste si distruge piatra metin cea adevarata...")
            chat("Grabestete, ai 20 de minute la dispozite.")
            timer("dc2", 1200)
        end
            if d.getf("Nivel") == 4 then
            chat("Gaseste o cale de`a parasi acest labirint tenebru...")
            chat("si la fel inscripia de pe runa magica...")
            chat("Fugi, timpul trece...")
            timer("dc3", 900)
            d.spawn_mob(30104, 500, 800)
            d.spawn_mob(10800, 328, 779)
            d.spawn_mob(10801, 70, 672)
            d.spawn_mob(10802, 142, 865)
            d.spawn_mob(10803, 433, 935)
            d.spawn_mob(10804, 243, 854)
            d.spawn_mob(10805, 182, 667)
        end
            if d.getf("Nivel") == 5 then
            chat("Gaseste, si ucide bestia numita Tartaros, pentru obtine un totem special si a putea trece la urmatorul nivel...")
            chat("Du apoi totemul pe deal, la monument.")
            chat("...timpul trece, asa ca viteza ta este esetinala...")
            timer("dc4", 900)
            d.spawn_mob(30104, 500, 800)
        end
            if d.getf("Nivel") == 6 then
            chat("...Charon, solia morti te asteapta...ucide`l!")
            chat("Atentie, ai doar 15 minute la dispozitie.")
            timer("dc5", 900)
            d.spawn_mob(30104, 500, 800)
        end
            if d.getf("Nivel") == 7 then
            chat("...brrr, ai ajuns, acum va trebui sa ucizi ...")
            chat("...Ai 15 minute puse in fata ta!")
            timer("dc6", 900)
            d.spawn_mob(30104, 500, 800)
        end
        end
        
        
        when dc1.timer begin
            chat("...nu mai poti sta aici, trebuie sa iesi altfel mi`e teama ca vei`...")
            warp_all_to_village( pc.get_map_index() , 5 )
        end     


        when dc10.timer begin
            chat("Ai 80 de minute pentru a cutreiera Catacombele Diavolului.")
            timer("dc20", 600)
        end
        
        when dc20.timer begin
            chat("Timp ramas : 70 de minute, grabestete!")
            timer("dc30", 600)
        end    
        when dc30.timer begin
            chat("Timp ramas : 60 de minute, grabestete!")
            timer("dc40", 600)
        end        
        when dc40.timer begin
            chat("Timp ramas : 50 de minute, grabestete!")
            timer("dc50", 600)
        end        
        when dc50.timer begin
            chat("Timp ramas : 40 de minute, grabestete!")
            timer("dc60", 600)
        end        
        when dc60.timer begin
            chat("Timp ramas : 30 de minute, grabestete!")
            timer("dc70", 600)
        end        
        when dc70.timer begin
            chat("Timp ramas : 20 de minute, grabestete!")
            timer("dc80", 600)
        end        
        when dc80.timer begin
            chat("Timp ramas : 10 de minute, grabestete!")
            timer("dc110", 600)
        end
        when dc110.timer begin
            chat("Timpul tau, a trecut...ve`i fi trimis acasa...")
            warp_all_to_village( pc.get_map_index() , 5 )
        end                     
--Ebene 2
        when 30103.chat."Spre a`l treilea nivel..." begin
            npc.purge()
            say_reward("Inscripite:")
            say("Mai este inca un lung drum.")
            wait()
            d.new_jump_all(209, 5427, 42282)
            d.setf("Nivel", 3)
            d.regen_file("data/dungeon/devilcave/dc_regen_ebene3.txt")
            local metindv = number(1,4)
            if metindv==1 then
                d.spawn_mob(8029, 1351, 348)
                d.spawn_mob(8029, 1148, 350)
                d.spawn_mob(8029, 1151, 155)
                d.spawn_mob(8028, 1351, 149)
            end
            if metindv==2 then
                d.spawn_mob(8029, 1351, 348)
                d.spawn_mob(8029, 1148, 350)
                d.spawn_mob(8028, 1151, 155)
                d.spawn_mob(8029, 1351, 149)
            end
            if metindv==3 then
                d.spawn_mob(8029, 1351, 348)
                d.spawn_mob(8028, 1148, 350)
                d.spawn_mob(8029, 1151, 155)
                d.spawn_mob(8029, 1351, 149)
            end
            if metindv==4 then
                d.spawn_mob(8028, 1351, 348)
                d.spawn_mob(8029, 1148, 350)
                d.spawn_mob(8029, 1151, 155)
                d.spawn_mob(8029, 1351, 149) 
            end
        
        end
        
        when 8029.kill with pc.in_dungeon() begin
            chat("O piatra metin falsa a fost distrusa.")
        end
        when 8028.kill with pc.in_dungeon() begin
            chat("Piatra metin, ce-a adevarata a fost distursa.")
            chat("In curand ve`i fi trimis in cel de`al patrulea nivel al Catacombelor Diavolului.")
            timer("devils_catacomb_goto_ebene4", 2)
        end    
        when dc2.timer begin
            chat("Timpul tau a expirat, vei fi trimis acasa!")
            warp_all_to_village( pc.get_map_index() , 5 )
        end    

        
--Ebene 4 (Labyrinth)
        when devils_catacomb_goto_ebene4.timer begin
            d.new_jump_all(209, 4143, 42657)
            d.setf("Nivel", 4)
        end
        
        when 30104.chat."Inscripite" with pc.in_dungeon() begin
            say_title("Ai ajuns destul de departe.")
            timer("dc3", 6000)
            chat("Ai gasit, calea ce-a dreapta.")
            chat("Nivelul 5 al Catacombelor Diavolului...te asteapta!")
            timer("devils_catacomb_goto_ebene5", 5)
        end
        when dc3.timer begin
            chat("Timpul tau a expirat, vei fi trimis acasa!")
            warp_all_to_village( pc.get_map_index() , 5 )
        end    
--Ebene 6 (Tartaros)
        when devils_catacomb_goto_ebene5.timer begin
            d.new_jump_all(209, 4917, 42925)
            d.spawn_mob(30102, 848, 739)
            d.setf("Nivel", 5)
            d.regen_file("data/dungeon/devilcave/dc_regen_ebene5.txt")
            local tartaros = number(1,4)
            if tartaros==1 then
                d.spawn_mob(2593, 991, 848)
            end
            if tartaros==2 then
                d.spawn_mob(2593, 999, 652)
            end
            if tartaros==3 then
                d.spawn_mob(2593, 848, 577)
            end
            if tartaros==4 then
                d.spawn_mob(2593, 703, 644)
            end
            if tartaros==5 then
                d.spawn_mob(2593, 692, 817)
            end
        end        
        
        when 2593.kill with pc.in_dungeon() begin
            chat("Tartaros a fost infrant, acum...")
            chat("du totemul, croiesteti drum pana la monument in mijlocul dealului.")
            game.drop_item(30312, 1)
        end    
        when 30102.take with item.vnum == 30312 begin
            timer("dc4", 6000)
            item.remove()
            npc.purge()
            say_reward("...")
            chat("Ve-i fi transportat la ce-l dea`l saselea nivel al Catacombelor Diavolului")
            timer("devils_catacomb_goto_ebene6", 5)
        end
        when dc4.timer begin
            chat("Timpul tau a expirat, vei fi trimis acasa!")
            warp_all_to_village( pc.get_map_index() , 5 )
        end    
--Ebene 7 (Charon)
        when devils_catacomb_goto_ebene6.timer begin
            d.new_jump_all(209, 5422, 42782)
            d.setf("Nivel", 6)
            d.regen_file("data/dungeon/devilcave/dc_regen_ebene6.txt")
        end
        
        when 2597.kill with pc.in_dungeon() begin
            timer("dc5", 6000)
            d.kill_all()
            chat("Ai reusit, ai ivins Solia Mortii...")
            chat("Acum...printul intunecat Azrael, te asteapta!")
            timer("devils_catacomb_goto_ebene7", 10)
        end
        when dc5.timer begin
            chat("Timpul tau a expirat, vei fi trimis acasa!")
            warp_all_to_village( pc.get_map_index() , 5 )
        end    
--Ebene 8 (Azrael)
		when devils_catacomb_goto_ebene7.timer begin
			 d.new_jump_all(209, 4147, 43191)
			d.setf("Ebene", 7)
			d.regen_file("data/dungeon/devilcave/dc_regen_ebene7.txt")
        end
	
        when 2598.kill with pc.in_dungeon() begin
			game.set_event_flag(("dc_geschaft"), game.get_event_flag("dc_geschaft")+1)
			local level = pc.get_level()            
			chat("...ai ucis Intunericul...s`a terminat...")
			chat("Ve`ti fi trimis acasa in cateva minute...")
			chat("Te rugam sa adunci obiectele care iti apartin, inainte de`a fi prea tarziu!.")
			d.kill_all()
			d.kill_all()
			notice_all("Grupul lui : "..pc.get_name().." a ucis Printul Intunecat.")
			timer("goout_from_dc", 120)
			d.spawn_mob(9012, 74, 1159)    
        end
        
        when dc6.timer begin
			chat("Timpul tau a expirat, vei fi trimis acasa!")
			warp_all_to_village( pc.get_map_index() , 5 )
			end
        when goout_from_dc.timer begin
			warp_all_to_village( pc.get_map_index() , 3 )
			end
	end
end
Închis
Răspunsuri
4
Vizualizări
452
Răspunsuri
2
Vizualizări
234
Răspunsuri
4
Vizualizări
201
Răspunsuri
0
Vizualizări
150

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

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