Ich habe ein Problem mit dieser Quest hier ...
Nach d.exitall() von der bosskammer aus werde ich und mein dungeon team nicht
rausgeschmissen! sie warp wieder an die gleich stelle wie d . new_jump_all ( 177 , 880 , 6154 )
Woran kann das liegen ?
Nach d.exitall() von der bosskammer aus werde ich und mein dungeon team nicht
rausgeschmissen! sie warp wieder an die gleich stelle wie d . new_jump_all ( 177 , 880 , 6154 )
Woran kann das liegen ?
Code:
quest orumcek_zindani_3 begin
state start begin
when 2010.kill or 2011.kill or 2012.kill or 2013.kill or 2014.kill with pc.get_map_index() == 177 begin
if party.is_party() then
local anahtar = party.getf("anahtar")
party.setf("anahtar",anahtar +1)
if anahtar < 10 then
party.chat(" Tebrikler Bir Anahtar Daha Buldunuz. ")
game.drop_item("27996")
party.chat(" Boss Odası İçin Gerekli Anahtar Sayısı : "..10-anahtar.." ")
else
party.chat(" Boss Odası İçin Gerekli Anahtara Sahipsin. ")
party.chat(" Kat Görevlisinden Boss Odasına İlerleyin. ")
party.chat(" NOT: Sadece Grup Lideri İşlemi Yapabilir. ")
end
end
end
when login with pc.get_map_index() == 177 begin
if pc.get_empire() == 1 then
pc.set_warp_location(1, 4693,9642)
elseif pc.get_empire() == 2 then
pc.set_warp_location(21, 557,1579)
elseif pc.get_empire() == 3 then
pc.set_warp_location(41, 9696,2784)
end
end
when login with pc.get_map_index() >= 1770000 and pc.get_map_index() < 1780000 begin
if d.getf("orumcek0") == 0 then
d.notice(" Örümceğin İnine Hoş Geldin..! ")
d.setf("orumcek0",1)
timer("orumcekmob",3)
end
end
when orumcekmob.timer begin
if d.getf("orumcek1") == 0 then
d.notice(" İlerleyebilmek için örümcekleri yok etmelisin. ")
d.setf("orumcek1",1)
d.regen_file("data/dungeon/orumcek/orumcek_mob.txt")
d.set_warp_at_eliminate(4, d.get_map_index(), (880), (6154), "data/dungeon/orumcek/orumcek_kralice.txt")
end
end
when 2991.kill with pc.get_map_index() >= 1770000 and pc.get_map_index() < 1780000 begin
d.notice(" Kraliçe Örümceği Kestiniz. Tebrikler... ")
timer("yumurtametin",3)
end
when yumurtametin.timer begin
d.notice(" Yumurtaları Yok Et! ")
d.regen_file("data/dungeon/orumcek/orumcek_yumurta.txt")
d.setf("yumurta",0)
end
when 2095.kill with pc.get_map_index() >= 1770000 and pc.get_map_index() < 1780000 begin
local yumurta = d.getf("yumurta")
d.setf("yumurta", yumurta + 1)
if yumurta == 5 then
d.notice(" Bir ses yaklaşıyor... ")
timer("bosscagir",2)
end
end
when bosscagir.timer begin
d.notice(" Kral Örümcek Ortaya Çıktı... ")
d.regen_file("data/dungeon/orumcek/orumcek_boss.txt")
end
when 2094.kill with pc.get_map_index() >= 1770000 and pc.get_map_index() < 1780000 begin
d.setf("orumcek0",0)
d.setf("orumcek1",0)
notice_all(" "..pc.get_name().." grubu Kral Örümceği Yok Etti. ")
timer("dungeoncikis",5)
end
when dungeoncikis.timer begin
d.exit_all()
end
when login with pc.get_map_index() >= 1770000 and pc.get_map_index() < 1780000 begin
if pc.get_empire() == 1 then
pc.set_warp_location(1, 4693,9642)
elseif pc.get_empire() == 2 then
pc.set_warp_location(21, 557,1579)
elseif pc.get_empire() == 3 then
pc.set_warp_location(41, 9696,2784)
end
end
when 20088.chat." Kral Örümcek " with pc.get_map_index() == 177 begin
if party.is_party() then
if party.is_leader() then
if pc.count_item(27996) < 10 then
say(" Yeterli Anahtarın Yok ")
else
say_title(" Merhaba "..pc.get_name().." ")
say(" Yeterli anahtarın var seni ve arkadaşlarını [ENTER] içeri gönderiyorum. ")
pc.remove_item(27996,10)
d.new_jump_all(177, 880,6154)
end
else
say(" Sadece party lideri içeri sokabilir. ")
end
else
say(" Party olmadan giriş yapamazsın ")
end
end
end
end