game.py aç //arat def LoncaIstatistikOpen(self): //kod bloğunu değiştir def LoncaIstatistikOpen(self): if self.__IsBlockedmap(): chat.AppendChat(1, "|cffff0000 Bu tablo sadece lonca savaşı bölgesinde açılabilir. ") return import net net.SendChatPacket("/loncaistatistik") import uiloncaistatistik self.loncaistatistik = uiloncaistatistik.LoncaIstatistik() self.loncaistatistik.Show() def __IsBlockedmap(self): Blocked_MAPS = [ "season1/metin2_map_oxevent", "season2/metin2_map_guild_inside01", "season2/metin2_map_empirewar01", "season2/metin2_map_empirewar02", "season2/metin2_map_empirewar03", "metin2_map_dragon_timeattack_01", "metin2_map_dragon_timeattack_02", "metin2_map_dragon_timeattack_03", "metin2_map_skipia_dungeon_boss", "metin2_map_skipia_dungeon_boss2", "metin2_map_devilsCatacomb", "metin2_map_deviltower1", "metin2_a2", "metin2_map_a1", "metin2_map_a2", "metin2_map_a3", "metin2_map_b1", "metin2_map_b2", "metin2_map_b3", "metin2_map_c1", "metin2_map_c2", "metin2_map_c3", "metin2_map_t1", "metin2_map_t2", "metin2_map_t4", "metin2_map_t5", "metin2_map_guild01", "metin2_map_guild02", "metin2_map_guild03", "metin2_map_ortakmap", "metin2_map_trentdungeon", "metin2_map_wedding_01", "metin2_map_ring", "metin2_map_gemi", "gm_guild_build", "metin2_map_duel" "map_n_snowm_01", "metin2_map_n_desert_01", "metin2_map_guild_01", "metin2_map_guild_02", "metin2_map_guild_03", "metin2_guild_village_01", "metin2_guild_village_02", "metin2_guild_village_03", "metin2_map_milgyo", "metin2_map_monkeydungeon", "metin2_map_monkeydungeon_02", "metin2_map_monkeydungeon_03", "metin2_map_n_flame_01", "metin2_map_spiderdungeon", "metin2_map_spiderdungeon_02", "metin2_map_spiderdungeon_03", "metin2_map_trent", "metin2_map_trent02", "metin2_map_WL_01", "metin2_map_nusluck01", "metin2_map_skipia_dungeon_01", "metin2_map_skipia_dungeon_02", "metin2_map_CapeDragonHead", "metin2_map_BayBlackSand", "metin2_map_MT_Thunder", "metin2_map_dawnmistwood", ] if str(background.GetCurrentMapName()) in Blocked_MAPS: return TRUE return FALSE