Jump to content

Quest basica... QoL


Braunwald

Recommended Posts

... mas que facilita um pouco a vida 


 

Spoiler

 

--[[Quest original by: Braunwald ]]--

quest map_name begin
    state start begin
		
		when login with pc.is_gm() and pc.get_name() == "Braunwald" begin
			local table_name = {   
				  [1] = {"metin2_map_a1"},
				  [3] = {"metin2_map_a3"},
				  [4] = {"metin2_map_guild_01"},
				 [21] = {"metin2_map_b1"},
				 [23] = {"metin2_map_b3"},
				 [24] = {"metin2_map_guild_02"},
				 [41] = {"metin2_map_c1"},
				 [43] = {"metin2_map_c3"},
				 [44] = {"metin2_map_guild_03"},
				 [61] = {"map_n_snowm_01"},
				 [62] = {"metin2_map_n_flame_01"},
				 [63] = {"metin2_map_n_desert_01"},
				 [64] = {"map_n_threeway"},
				 [65] = {"metin2_map_milgyo"},
				 [65] = {"outside(metin2_map_deviltower1)"},
				 [67] = {"metin2_map_trent"},
				 [68] = {"metin2_map_trent02"},
				 [69] = {"metin2_map_wl_01"},
				 [70] = {"metin2_map_nusluck01"},
				 [71] = {"metin2_map_spiderdungeon_02"},
				 [72] = {"metin2_map_skipia_dungeon_01"},
				 [73] = {"metin2_map_skipia_dungeon_02"},
				 [81] = {"metin2_map_wedding_01"},
				[103] = {"metin2_map_t1"},
				[104] = {"metin2_map_spiderdungeon"},
				[105] = {"metin2_map_t2"},
				[110] = {"metin2_map_t3"},
				[111] = {"metin2_map_t4"},
				[112] = {"metin2_map_duel"},
				[101] = {"arena_pvp"},
				[113] = {"metin2_map_oxevent "},
				[114] = {"metin2_map_sungzi"},
				[118] = {"metin2_map_sungzi_flame_hill_01"},
				[119] = {"metin2_map_sungzi_flame_hill_02"},
				[120] = {"metin2_map_sungzi_flame_hill_03"},
				[121] = {"metin2_map_sungzi_snow"},
				[122] = {"metin2_map_sungzi_snow_pass01"},
				[123] = {"metin2_map_sungzi_snow_pass02"},
				[124] = {"metin2_map_sungzi_snow_pass03"},
				[125] = {"metin2_map_sungzi_desert_01"},
				[126] = {"metin2_map_sungzi_desert_hill_01"},
				[127] = {"metin2_map_sungzi_desert_hill_02"},
				[128] = {"metin2_map_sungzi_desert_hill_03"},
				[181] = {"metin2_map_empirewar01"},
				[182] = {"metin2_map_empirewar02"},
				[183] = {"metin2_map_empirewar03"},
				[200] = {"gm_guild_build"},
				[208] = {"metin2_map_skipia_dungeon_boss"},
				[193] = {"metin2_map_spiderdungeon_03"},
				[217] = {"metin2_map_spiderdungeon_03"},
				[301] = {"metin2_map_capedragonhead"},
				[302] = {"metin2_map_dawnmistwood"},
				[303] = {"metin2_map_BayBlackSand"},
				[304] = {"metin2_map_mt_thunder"},
				[351] = {"metin2_map_n_flame_dungeon_01"},
				[352] = {"metin2_map_n_snow_dungeon_01"},

			}
			syschat("Coordinate:"..pc.getx()*100 ..", "..pc.gety()*100 .." Index:["..pc.get_map_index().."] Name:["..table_name[pc.get_map_index()][1].."] Local:["..pc.get_local_x()..", "..pc.get_local_y().."]")
		
		end		
	end
end

 

 

edit: Sou capaz de fazer uma quest, mas não um spoiler :D

  • Thanks 2
Link to comment
  • 2 weeks later...

A quest de cima dava erro nas dungeons e etc...

Quest fix:

 

Spoiler
quest map_name begin
    state start begin
		
		when login with pc.is_gm() begin
			local table_name = {   
				  [1] = {"metin2_map_a1"},
				  [3] = {"metin2_map_a3"},
				  [4] = {"metin2_map_guild_01"},
				 [21] = {"metin2_map_b1"},
				 [23] = {"metin2_map_b3"},
				 [24] = {"metin2_map_guild_02"},
				 [41] = {"metin2_map_c1"},
				 [43] = {"metin2_map_c3"},
				 [44] = {"metin2_map_guild_03"},
				 [61] = {"map_n_snowm_01"},
				 [62] = {"metin2_map_n_flame_01"},
				 [63] = {"metin2_map_n_desert_01"},
				 [64] = {"map_n_threeway"},
				 [65] = {"metin2_map_milgyo"},
				 [67] = {"metin2_map_trent"},
				 [68] = {"metin2_map_trent02"},
				 [69] = {"metin2_map_wl_01"},
				 [70] = {"metin2_map_nusluck01"},
				 [71] = {"metin2_map_spiderdungeon_02"},
				 [72] = {"metin2_map_skipia_dungeon_01"},
				 [73] = {"metin2_map_skipia_dungeon_02"},
				 [81] = {"metin2_map_wedding_01"},
				[103] = {"metin2_map_t1"},
				[104] = {"metin2_map_spiderdungeon"},
				[105] = {"metin2_map_t2"},
				[110] = {"metin2_map_t3"},
				[111] = {"metin2_map_t4"},
				[112] = {"metin2_map_duel"},
				[113] = {"metin2_map_oxevent "},
				[114] = {"metin2_map_sungzi"},
				[118] = {"metin2_map_sungzi_flame_hill_01"},
				[119] = {"metin2_map_sungzi_flame_hill_02"},
				[120] = {"metin2_map_sungzi_flame_hill_03"},
				[121] = {"metin2_map_sungzi_snow"},
				[122] = {"metin2_map_sungzi_snow_pass01"},
				[123] = {"metin2_map_sungzi_snow_pass02"},
				[124] = {"metin2_map_sungzi_snow_pass03"},
				[125] = {"metin2_map_sungzi_desert_01"},
				[126] = {"metin2_map_sungzi_desert_hill_01"},
				[127] = {"metin2_map_sungzi_desert_hill_02"},
				[128] = {"metin2_map_sungzi_desert_hill_03"},
				[181] = {"metin2_map_empirewar01"},
				[182] = {"metin2_map_empirewar02"},
				[183] = {"metin2_map_empirewar03"},
				[200] = {"gm_guild_build"},
				[208] = {"metin2_map_skipia_dungeon_boss"},
				[193] = {"metin2_map_spiderdungeon_03"},
				[217] = {"metin2_map_spiderdungeon_03"},
				[301] = {"metin2_map_capedragonhead"},
				[302] = {"metin2_map_dawnmistwood"},
				[303] = {"metin2_map_BayBlackSand"},
				[304] = {"metin2_map_mt_thunder"},
				[351] = {"metin2_map_n_flame_dungeon_01"},
				[352] = {"metin2_map_n_snow_dungeon_01"},

			}
			if table_name[pc.get_map_index()] == nil then return end
			syschat("Coordinate:"..pc.getx()*100 ..", "..pc.gety()*100 .." Index:["..pc.get_map_index().."] Name:["..table_name[pc.get_map_index()][1].."] Local:["..pc.get_local_x()..", "..pc.get_local_y().."]")
		
		end		
	end
end

 

 

  • Like 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...