Register for your free account! | Forgot your password?

You last visited: Today at 02:38

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Tower BUG

Discussion on Tower BUG within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
KillHumans's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 416
Received Thanks: 95
Tower BUG

I can't put the KeyStone at the Seal.


I have change the quest to english.

Don't work.

Don't solve the BUG.

Sometimes, work.
KillHumans is offline  
Old 03/18/2014, 20:39   #2
 
KillHumans's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 416
Received Thanks: 95
#revive
KillHumans is offline  
Old 03/18/2014, 21:51   #3


 
elite*gold: 6
Join Date: Aug 2009
Posts: 1,611
Received Thanks: 859
How about to post the quest?
.ŋight is offline  
Old 03/18/2014, 22:22   #4
 
KillHumans's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 416
Received Thanks: 95
Quote:
Originally Posted by .ŋight View Post
How about to post the quest?
Code:
quest deviltower_zone begin
    state start begin
        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 logout begin
			pc.remove_item(30300, pc.count_item(30300))
			pc.remove_item(30301, pc.count_item(30301))
			pc.remove_item(30302, pc.count_item(30302))
		end
	when deviltower_man.chat.locale.deviltower_man_chat begin
                if pc.get_level() < 40 then
                        say_title("Guard of the Demon Tower:")
                        say("")
                        ---                                                   l
                        say("This tower is abounds with demons.")
                        say("Only the strongest can reach the top.")
                        say("It is said, that nobody who enters")
                        say("the tower has left it alive.")
                        say("You cannot enter it, because you have not")
                        say("reached level 40 yet.")
                else
                        say_title("Guard of the Demon Tower:")
                        say("")
                        ---                                                   l
                        say("This tower is abounds with demons.")
                        say("Only the strongest can reach the top.")
                        say("It is said, that nobody who enters")
                        say("the tower has left it alive.")
                        say("Do you still want to enter the Demon Tower?")
                        say("")
                        local s = select("Enter.", "Leave.")
                        if s == 1 then
                                -- warp into!
                                pc.warp(216500,727000)
                        end
            end
        end
        when devil_stone1.kill begin
            timer("devil_stone1_1", 6)
        end
        when devil_stone1_1.timer begin
            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")
        end
        when devil_stone3.kill begin
            d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[3][1], special.devil_tower[3][2], "data/dungeon/deviltower4_regen.txt")
            d.check_eliminated()
        end
        function get_4floor_stone_pos()
	    local positions = 
			{
				{368, 629}, {419, 630}, {428, 653}, {422, 679},
				{395, 689}, {369, 679}, {361, 658},
			}
            for i = 1, 6 do
                local j = number(i, 7)
                if i != j then
                    local t = positions[i];
                    positions[i] = positions[j];
                    positions[j] = t;
                end
            end
            return positions
        end
        when 8016.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
            d.setf("level", 4)
            local positions = deviltower_zone.get_4floor_stone_pos()
            for i = 1, 6 do
                chat(positions[i][1], positions[i][2])
                d.set_unique("fake" .. i , d.spawn_mob(8017, positions[i][1], positions[i][2]))
            end
            chat(positions[7][1], positions[7][2])
            local vid = d.spawn_mob(8017, positions[7][1], positions[7][2])
            chat(vid)
            d.set_unique("real", vid)
	    server_loop_timer('devil_stone4_update', 10, pc.get_map_index())
	    server_timer('devil_stone4_fail1', 5*60, pc.get_map_index())

            d.notice("You arrived at the Gate of Choice on the 3rd floor.");
            d.notice("Many false Metin stones will irritate your eyes and ears.");
            d.notice("Find the right Metin stone and destroy it within 15 Minutes");
            d.notice("It is the only way to pass this gate.");
            d.notice("");
        end

        when devil_stone4_fail1.server_timer begin
            if d.select(get_server_timer_arg()) then
                d.notice("Minutes left: 10")
		server_timer('devil_stone4_fail2', 5*60, get_server_timer_arg())
            end
        end

        when devil_stone4_fail2.server_timer begin
            if d.select(get_server_timer_arg()) then
                d.notice("Minutes left: 5")
		server_timer('devil_stone4_fail', 5*60, get_server_timer_arg())
            end
        end

        when devil_stone4_fail.server_timer begin
            if d.select(get_server_timer_arg()) then
                d.notice("The time is over.")
                d.exit_all()
		clear_server_timer('devil_stone4_update', get_server_timer_arg())
            end
        end

        when devil_stone4_update.server_timer begin
            if d.select(get_server_timer_arg()) then
                if not d.is_unique_dead("real") then
                    for i = 1, 6 do
                        if d.getf("fakedead" .. i) == 0 then
                            if d.unique_get_hp_perc("fake" .. i) < 50 then
                                d.purge_unique("fake" .. i)
                                d.setf("fakedead" .. i, 1)
                                d.notice("The wrong Metinstones disappear...");
                            end
                        end
                    end
                else
                    server_timer("devil_stone4_end", 5, get_server_timer_arg())
                    d.notice("You proved yourself and showed good instinct.");
                    d.notice("You have destroyed the correct Metin stone")
		    clear_server_timer('devil_stone4_fail1', get_server_timer_arg())
		    clear_server_timer('devil_stone4_fail2', get_server_timer_arg())
		    clear_server_timer('devil_stone4_fail', get_server_timer_arg())
                end
            else
		server_timer('devil_stone4_stop_timer', 1, get_server_timer_arg())
            end
        end

        when devil_stone4_stop_timer.server_timer begin
	    clear_server_timer('devil_stone4_update', get_server_timer_arg())
        end

        when devil_stone4_end.server_timer begin
            if d.select(get_server_timer_arg()) then
			clear_server_timer('devil_stone4_update', get_server_timer_arg())
			clear_server_timer('devil_stone4_fail1', get_server_timer_arg())
			clear_server_timer('devil_stone4_fail2', get_server_timer_arg())
			clear_server_timer('devil_stone4_fail', get_server_timer_arg())

                d.setf("level", 5)
                d.setf("stone_count", 5)
                d.notice("You arrived at the Signed Gate on the 5th floor.")
                d.notice("On this floor many monsters guard the Closing Stone,")
                d.notice("which you must pass to arrive on the 6th floor")
                d.notice("A few monsters have a key that can be used")
                d.notice("to open the Closing Stone.")
                d.notice("Open the Closing Stone within 20 Minutes")
                d.notice(" to advance to the 6th floor.")
                d.notice("")
                d.jump_all(special.devil_tower[4][1], special.devil_tower[4][2])
		server_timer('devil_stone5_fail1', 5*60, get_server_timer_arg())
		clear_server_timer('devil_stone4_update', get_server_timer_arg())

                d.set_regen_file("data/dungeon/deviltower5_regen.txt")

                d.spawn_mob(20073, 421, 452)
                d.spawn_mob(20073, 380, 460)
                d.spawn_mob(20073, 428, 414)
                d.spawn_mob(20073, 398, 392)
                d.spawn_mob(20073, 359, 426)
            end
        end
        when devil_stone5_fail1.server_timer begin
            if d.select(get_server_timer_arg()) then
                d.notice("Minutes left: 15")
		server_timer('devil_stone5_fail2', 5*60, get_server_timer_arg())
            end
        end

        when devil_stone5_fail2.server_timer begin
            if d.select(get_server_timer_arg()) then
                d.notice("Minutes left: 10")
		server_timer('devil_stone5_fail3', 5*60, get_server_timer_arg())
            end
        end

        when devil_stone5_fail3.server_timer begin
            if d.select(get_server_timer_arg()) then
                d.notice("Minutes left: 5")
		server_timer('devil_stone5_fail', 5*60, get_server_timer_arg())
            end
        end

        when devil_stone5_fail.server_timer begin
            if d.select(get_server_timer_arg()) then
                d.notice("The time is over.")
                d.exit_all()
            end
        end

        when 1062.kill with pc.in_dungeon() and d.getf("level") == 5 begin
            local KILL_COUNT_FOR_DROP_KEY = 50
            local n =d.getf("count") + 1
            d.setf("count", n)
            if n == KILL_COUNT_FOR_DROP_KEY then
                game.drop_item(50084, 1)
                d.setf("count", 0)
            end
        end
        when devil_stone5.take with item.vnum == 50084 begin
            npc.purge()
            item.remove()
            d.setf("stone_count", d.getf("stone_count") - 1)
            if d.getf("stone_count") <= 0 then
                d.setf("level", 6)
                d.clear_regen()
                d.regen_file("data/dungeon/deviltower6_regen.txt")

                d.notice("You have opened Closing Stone.")
                d.notice("You will now arrive on the 6th. floor.")
                d.notice("Destroy all monsters on the 6th floor,")
                d.notice("the floor of the Demons King.")
                d.jump_all(special.devil_tower[5][1], special.devil_tower[5][2])
		clear_server_timer('devil_stone5_fail1', get_server_timer_arg())
		clear_server_timer('devil_stone5_fail2', get_server_timer_arg())
		clear_server_timer('devil_stone5_fail3', get_server_timer_arg())
		clear_server_timer('devil_stone5_fail', get_server_timer_arg())
            else
                d.notice("You opened the Signet! There are "..d.getf("stone_count").."left:")
            end
        end

        when devil_stone6.kill begin
            d.kill_all()
            d.check_eliminated()
            local reward_alchemist = {20074, 20075, 20076}
            d.spawn_mob(reward_alchemist[number(1,3)], 425, 216);
            d.setqf("can_refine", 1)
        end

   when 20074.chat."About the Top floor of Demon Tower.." with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 and npc.lock() begin
          say(""..mob_name(20074)..":")
          say("The Armour Blacksmith of Demon tower")
          say("They found the way to reach 7th floor.")
          say("It requires a lot of ability and skills to go there.")
          say("Hmmmm...")
          say("After I examined your status to go up stairs.....")
          wait()
          if pc.level >=75 then
          say(""..mob_name(20074)..":")
              say("You are good to go up.")
              say("I will let you know the way..")
              timer("devil_jump_7", 6)
              npc.unlock()
              d.purge()
              return
          end
          say(""..mob_name(20074)..":")
          say("You need more training")
          say("to go up there....")
          say("Come back when you have more experience.")

		say("")
		wait()
		pc.warp(590500, 110500)
		return
	    end
   when 20075.chat."About the Top floor of Demon Tower.." with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 and npc.lock() begin
		   say(""..mob_name(20075)..":")
          say("The Armour Blacksmith of Demon tower")
          say("They found the way to reach 7th floor.")
          say("It requires a lot of ability and skills to go there.")
          say("Hmmmm...")
          say("After I examined your status to go up stairs.....")
          wait()
          if pc.level >=75 then
               say(""..mob_name(20075)..":") 
			   say("You are good to go up.")
              say("I will let you know the way..")
              timer("devil_jump_7", 6)
              npc.unlock()
              d.purge()
              return
          end
		   say(""..mob_name(20075)..":") 
          say("You need more training")
          say("to go up there....")
          say("Come back when you have more experience.")
		say("")
		wait()
		pc.warp(590500, 110500)
		return
    end
   when 20076.chat."About the Top floor of Demon Tower.." with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 and npc.lock() begin
		   say(""..mob_name(20076)..":")
          say("The Armour Blacksmith of Demon tower")
          say("They found the way to reach 7th floor.")
          say("It requires a lot of ability and skills to go there.")
          say("Hmmmm...")
          say("After I examined your status to go up stairs.....")
          wait()
          if pc.level >=75 then
               say(""..mob_name(20076)..":") 
			   say("You are good to go up.")
              say("I will let you know the way..")
              timer("devil_jump_7", 6)
              npc.unlock()
              d.purge()
              return
          end
		   say(""..mob_name(20076)..":") 
          say("You need more training")
          say("to go up there....")
          say("Come back when you have more experience.")
		say("")
		wait()
		pc.warp(590500, 110500)
		return
	    end

   when devil_jump_7.timer begin
		d.clear_regen()

		d.spawn_mob(8018, 639, 658)
		d.spawn_mob(8018, 611, 637)
		d.spawn_mob(8018, 596, 674)
		d.spawn_mob(8018, 629, 670)

		d.setf("level", 7)

		d.jump_all(2048+590, 6656+638)
	end
	
	when 8018.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
		local cont = d.getf("7_stone_kill") + 1
		d.setf("7_stone_kill", cont)

		if cont >= 4 then
			d.setf("7_stone_kill", 0)
			d.set_regen_file("data/dungeon/deviltower7_regen.txt")
        end
	end

	when 8019.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
		game.drop_item(30300, 1)
	end

	when 30300.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
		pc.remove_item("30300", 1)

		local pct = number(1,10)

		if pct == 1 then
			game.drop_item(30302, 1)
			d.clear_regen()
		else
			game.drop_item(30301, 1)
			
		end
	end

	when 30302.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
		-- 8??? ??

			if d.getf( "level" ) != 7 then
				pc.remove_item( "30302", 1)
				return
			end
			
		say("with this map, i can warp to next!")
		pc.remove_item("30302", 1)
	    timer("devil_jump_8", 6)
		d.clear_regen()
	end
						
	--------------------------------------------
	-- 8? ???? 9? ??
	--------------------------------------------
	when devil_jump_8.timer begin
		d.setf("level", 8)
		d.jump_all(2048+590, 6656+403)
		d.set_regen_file("data/dungeon/deviltower8_regen.txt")
		d.spawn_mob(20366, 640, 460)
		local _count= pc.count_item(30302)-- ? ???? ???
		pc.remove_item(30302,_count)
		
	end

	when 1040.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
		local pct1 = number(1, 5)

		if pct1 == 1 and d.getf("level") == 8 then
			local pct2 = number(1, 10)
			if pct2 == 1 then
				-- ?? ?? ??
				game.drop_item(30304, 1)
			else
				-- ?? ?? ??
				game.drop_item(30303, 1)
			end
		else
			return
		end
	end

	when 20366.take with item.vnum == 30304 begin
		-- ?? ?? 9? ??
		npc.purge()
		item.remove()
		timer("devil_jump_9", 6)
	end

	---------------------------------------------
	-- 9? ???? ????
	---------------------------------------------
	when devil_jump_9.timer begin
		d.setf("level", 9)
		d.jump_all(2048+590, 6656+155)
		d.regen_file("data/dungeon/deviltower9_regen.txt")
	end

	when 1093.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
		d.kill_all()
		timer("devils_catacomb_jump", 6)
		horse.set_level(21)  
		pc.give_item2(30024,2)
		say("Aqui tens a tua recompensa.")
		say_reward(" 2 Refinações Supremas")
		say("Se ainda não tens cavalo militar,")
		say("acabaste de ficar com um.")
		say_reward("Uma arma valiosa.")
		say_reward("Um escudo valioso.")
		notice_all(""..pc.getname().." matou o fantasma da morte!")
		local item_table =
		{ 7130 , 7150 , 3130 , 3150 , 3160 , 140 , 170 , 180 , 5090 , 5120 , 2140 , 2180 , 2170 , 1100 , 1120 , 1130 , 150 , 250 , 190 }
		local Irandom = number(1,table.getn(item_table) )
		local reward = item_table[Irandom]
		pc.give_item2(reward, 1 )
		{ 13060 , 13080 , 13100 , 13120 }
		local Irandom = number(1,table.getn(item_table) )
		local reward = item_table[Irandom]
		pc.give_item2(reward, 1 )
	end
end
end
KillHumans is offline  
Old 03/23/2014, 02:33   #5
 
KillHumans's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 416
Received Thanks: 95
#push!
KillHumans is offline  
Reply


Similar Threads Similar Threads
wtb> +12 fan and tower.
09/30/2013 - Conquer Online 2 Trading - 1 Replies
As the title says, im looking to buy fan and tower +12. Paypal ready.
LFM tower
01/06/2013 - Dekaron - 0 Replies
hey guys, need a few more people for tower (or only 1 :D) ofc come with skill hack,pm me when your interested and i ll say where to meet in-game
(REQ)Icy Tower unlock all tower
08/15/2012 - Facebook - 0 Replies
any1 knows how to unlock all towers :confused: tnx
Fan and Tower
01/23/2012 - CO2 Private Server - 6 Replies
Is this good? I putted it in UseItem.cs. #region HeavenFan case 201003: case 201004: case 201005: case 201006: case 201007: case 201008:
Tower?
11/22/2009 - Metin2 Private Server - 4 Replies
Hallo, Tower = Homeserver oder?



All times are GMT +1. The time now is 02:38.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.