quest deviltower_zone begin
state start begin
when login with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
loop_timer("check_dungeon_time", 1)
loop_timer("dodajczas", 1)
end
when dodajczas.timer with pc.in_dungeon() begin
local timee=d.getf("czas")
d.setf("czas", timee+1)
end
when check_dungeon_time.timer with pc.in_dungeon() begin
local timer = d.getf("czas")
local min = math.floor(timer/60)
local sek = timer-min*60
local pokaz_czas = (min..":"..sek)
local pozostalo = d.count_monster()
local wspolnie = d.getf("zabitychogolnie")
local zabitych_przez_ciebie = pc.getqf("zabitychprzezcb")
local pietro_show = d.getf("level")
local players = d.getf("gracze")
cmdchat("showDtTimer")
cmdchat("setDtCounters "..pokaz_czas.."|"..zabitych_przez_ciebie.."|"..wspolnie.."|"..pozostalo.."|"..players.."|"..pietro_show.."")
end
when kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
if not npc.is_pc() then
local zabitych_ogolnie = d.getf("zabitychogolnie")
local zabitych_przez_ciebie = pc.getqf("zabitychprzezcb")
pc.setqf("zabitychprzezcb", zabitych_przez_ciebie+1)
d.setf("zabitychogolnie", zabitych_ogolnie+1)
end
end
when login begin
if pc.get_map_index() == 66 then
if pc.get_x() < 2048+88 or pc.get_y() < 6656+577 or pc.get_x() > 2048+236 or pc.get_y() > 6656+737 then
pc.warp((5376+532)*100, (512+596+4)*100, 65)
end
pc.set_warp_location(65, 5376+532, 512+596+4)
elseif pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
pc.set_warp_location(65, 5376+532, 512+596+4)
end
end
when deviltower_man.chat.locale.deviltower_man_chat begin
if pc.get_level() < 40 then
say(locale.deviltower_man_say_you_cant)
else
say(locale.deviltower_man_say)
local s = select(locale.deviltower_enter,locale.deviltower_no_enter)
if s == 1 then
pc.warp(216500,727000)
end
end
end
when devil_stone1.kill begin
timer("devil_stone1_1", 6)
pc.setqf("zabitychprzezcb",1)
end
when devil_stone1_1.timer begin
local mapto7= pc.count_item(30302) -- Die Karte der Zin Grotte wurde aus deinem Inventar entfernt
pc.remove_item(30302,mapto7)
local boxto7= pc.count_item(30300) -- Die Unbekannte Alte Kiste wurde aus deinem Inventar entfernt
pc.remove_item(30300,boxto7)
d.new_jump_all(66, special.devil_tower[1][1], special.devil_tower[1][2])
d.regen_file("data/dungeon/deviltower2_regen.txt")
d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/deviltower3_regen.txt")
d.setf("zabitychogolnie", 1)
d.setf("level", 1)
d.setf("gracze", 1)
pc.setqf("zalogowano", 1)
if pc.getqf("zalogowano") < 2 then
pc.setqf("zalogowano", 3)
local graczy = d.getf("gracze")
d.setf("gracze", graczy+1)
return
else
return
end
d.setf("czas", 61)
d.setf("level", 2)
end
quest written in a few minutes. it isn't perfect. it can be better but i'm sooo lazy. gui isn't mine, i will only release it.
quest deviltower_zone begin
state start begin
when login with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
loop_timer("check_dungeon_time", 1)
loop_timer("dodajczas", 1)
end
when dodajczas.timer with pc.in_dungeon() begin
local timee=d.getf("czas")
d.setf("czas", timee+1)
end
when check_dungeon_time.timer with pc.in_dungeon() begin
local timer = d.getf("czas")
local min = math.floor(timer/60)
local sek = timer-min*60
local pokaz_czas = (min..":"..sek)
local pozostalo = d.count_monster()
local wspolnie = d.getf("zabitychogolnie")
local zabitych_przez_ciebie = pc.getqf("zabitychprzezcb")
local pietro_show = d.getf("level")
local players = d.getf("gracze")
cmdchat("showDtTimer")
cmdchat("setDtCounters "..pokaz_czas.."|"..zabitych_przez_ciebie.."|"..wspolnie.."|"..pozostalo.."|"..players.."|"..pietro_show.."")
end
when kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
if not npc.is_pc() then
local zabitych_ogolnie = d.getf("zabitychogolnie")
local zabitych_przez_ciebie = pc.getqf("zabitychprzezcb")
pc.setqf("zabitychprzezcb", zabitych_przez_ciebie+1)
d.setf("zabitychogolnie", zabitych_ogolnie+1)
end
end
when login begin
if pc.get_map_index() == 66 then
if pc.get_x() < 2048+88 or pc.get_y() < 6656+577 or pc.get_x() > 2048+236 or pc.get_y() > 6656+737 then
pc.warp((5376+532)*100, (512+596+4)*100, 65)
end
pc.set_warp_location(65, 5376+532, 512+596+4)
elseif pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
pc.set_warp_location(65, 5376+532, 512+596+4)
end
end
when deviltower_man.chat.locale.deviltower_man_chat begin
if pc.get_level() < 40 then
say(locale.deviltower_man_say_you_cant)
else
say(locale.deviltower_man_say)
local s = select(locale.deviltower_enter,locale.deviltower_no_enter)
if s == 1 then
pc.warp(216500,727000)
end
end
end
when devil_stone1.kill begin
timer("devil_stone1_1", 6)
pc.setqf("zabitychprzezcb",1)
end
when devil_stone1_1.timer begin
local mapto7= pc.count_item(30302) -- Die Karte der Zin Grotte wurde aus deinem Inventar entfernt
pc.remove_item(30302,mapto7)
local boxto7= pc.count_item(30300) -- Die Unbekannte Alte Kiste wurde aus deinem Inventar entfernt
pc.remove_item(30300,boxto7)
d.new_jump_all(66, special.devil_tower[1][1], special.devil_tower[1][2])
d.regen_file("data/dungeon/deviltower2_regen.txt")
d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/deviltower3_regen.txt")
d.setf("zabitychogolnie", 1)
d.setf("level", 1)
d.setf("gracze", 1)
pc.setqf("zalogowano", 1)
if pc.getqf("zalogowano") < 2 then
pc.setqf("zalogowano", 3)
local graczy = d.getf("gracze")
d.setf("gracze", graczy+1)
return
else
return
end
d.setf("czas", 61)
d.setf("level", 2)
end
quest written in a few minutes. it isn't perfect. it can be better but i'm sooo lazy. gui isn't mine, i will only release it.
dl in attachment
it's a god and nice ideea but because setf?
I think it's better game.event_flag for this quest.
demon tower upgrade for pservers? 05/14/2012 - Metin2 Private Server - 6 Replies does it exist ? if someone know any demon tower upgrade for pserver pls post here the link , i really need it.
thanks
help Demon tower problem 01/08/2012 - Metin2 Private Server - 0 Replies hi all
i seem to have a problem on the 4th lvl of the demon tower as there are no stones and the 15 minute timer dont work
any help would be great as in stumped.....using KAY331 6.1 server
thanks
How to copy a Demon Tower? 09/17/2011 - Metin2 - 1 Replies Hi everyone!
I've got problem ... I want to copy a Demon Tower
and paste it in the other place. So I want to have
two Towers on one map. Is it possible?
Can someone help me? I can't find any tutorials and
helpfully threads :(
Demon tower coords 08/13/2011 - Metin2 Private Server - 0 Replies Im searching for a coords to put armour blacksmith, weapon, etc, Thanks
[RELEASE]Upgrade Normal - Demon Tower by ugo100 08/07/2010 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 27 Replies Instructions:
-You must replace the files and root.eix root.epk with files that are in the archive.
-You must press F7 to upload the items you want in a tower ...
-You must press F8 to upload normally ....
-Obviously you have to put the item in the first slot ...
Download : MEGAUPLOAD - The leading online storage and file delivery service
Scansion : Virustotal. MD5: f71985e3f0667cc74ba1332b320bc93d