game.py //Arat self.enableXMasBoom = False self.startTimeXMasBoom = 0.0 self.indexXMasBoom = 0 // Altına ekle self.mapNameTextLine = ui.TextLine() self.mapNameTextLine.SetWindowHorizontalAlignCenter() self.mapNameTextLine.SetHorizontalAlignCenter() self.mapNameTextLine.SetFontName(localeInfo.UI_DEF_FONT) self.mapNameTextLine.SetFontColor(10, 10, 0) self.mapNameTextLine.SetFeather() self.mapNameTextLine.SetOutline() self.mapNameTextLine.Show() //Arat def ShowMapName(self, mapName, x, y): //Kod Bloğunu tamamen değiştir. def ShowMapName(self, mapName, x, y): if self.interface: self.interface.SetMapName(mapName) try: mapNameT = localeInfo.MINIMAP_ZONE_NAME_DICT[mapName] self.mapNameTextLine.SetText(mapNameT) self.mapNameTextLine.SetPosition((wndMgr.GetScreenWidth() - 130) / 2, 155) except: self.mapNameTextLine.SetText(mapName) localeinfo.py //Arat MINIMAP_ZONE_NAME_DICT //Komple Değiştir. MINIMAP_ZONE_NAME_DICT = { "metin2_map_a1" : MAP_A1, "map_a2" : MAP_A2, "metin2_map_a3" : MAP_A3, "metin2_map_b1" : MAP_B1, "map_b2" : MAP_B2, "metin2_map_b3" : MAP_B3, "metin2_map_c1" : MAP_C1, "map_c2" : MAP_C2, "metin2_map_c3" : MAP_C3, "map_n_snowm_01" : MAP_SNOW, "metin2_map_n_flame_01" : MAP_FLAME, "metin2_map_n_desert_01" : MAP_DESERT, "metin2_map_milgyo" : MAP_TEMPLE, "metin2_map_spiderdungeon" : MAP_SPIDER, "metin2_map_deviltower1" : MAP_SKELTOWER, "metin2_map_guild_01" : MAP_AG, "metin2_map_guild_02" : MAP_BG, "metin2_map_guild_03" : MAP_CG, "metin2_map_trent" : MAP_TREE, "metin2_map_trent02" : MAP_TREE2, "metin2_map_WL_01" : MAP_WL, "metin2_map_nusluck01" : MAP_NUSLUCK, "Metin2_map_CapeDragonHead" : MAP_CAPE, "metin2_map_Mt_Thunder" : MAP_THUNDER, "metin2_map_dawnmistwood" : MAP_DAWN, "metin2_map_BayBlackSand" : MAP_BAY, "metin2_map_spiderdungeon_02" : MAP_SPIDERDUNGEON_02, "metin2_map_t1" : MAP_T1, "metin2_map_t2" : MAP_T2, "metin2_map_t3" : MAP_T3, "metin2_map_t4" : MAP_T4, "metin2_map_t5" : MAP_T4, "metin2_map_monkeydungeon" : MAP_MONKEY_DUNGEON, "metin2_map_monkeydungeon_02" : MAP_MONKEY_DUNGEON2, "metin2_map_monkeydungeon_03" : MAP_MONKEY_DUNGEON3, "metin2_map_wedding_01" : MAP_WEDDING_01, "gm_guild_build" : MAP_GUILD_BUILD, "metin2_map_duel" : MAP_DUEL, "metin2_map_sungzi_flame_pass01" : MAP_SUNGZI_FLAME_PASS_01, "metin2_map_sungzi_flame_pass02" : MAP_SUNGZI_FLAME_PASS_02, "metin2_map_sungzi_flame_pass03" : MAP_SUNGZI_FLAME_PASS_03, "metin2_map_sungzi_flame_hill_01" : MAP_SUNGZI_FLAME_HILL_01, "metin2_map_sungzi_flame_hill_02" : MAP_SUNGZI_FLAME_HILL_02, "metin2_map_sungzi_flame_hill_03" : MAP_SUNGZI_FLAME_HILL_03, "metin2_map_sungzi_snow" : MAP_SUNGZI_SNOW, "metin2_map_sungzi_snow_pass01" : MAP_SUNGZI_SNOW_PASS01, "metin2_map_sungzi_snow_pass02" : MAP_SUNGZI_SNOW_PASS02, "metin2_map_sungzi_snow_pass03" : MAP_SUNGZI_SNOW_PASS03, "metin2_map_sungzi_desert_01" : MAP_SUNGZI_DESERT_01, "metin2_map_sungzi_desert_hill_01" : MAP_SUNGZI_DESERT_HILL_01, "metin2_map_sungzi_desert_hill_02" : MAP_SUNGZI_DESERT_HILL_02, "metin2_map_sungzi_desert_hill_03" : MAP_SUNGZI_DESERT_HILL_03, "metin2_map_ew02" : MAP_E, "metin2_map_empirewar01" : MAP_EMPIREWAR01, "metin2_map_empirewar02" : MAP_EMPIREWAR02, "metin2_map_empirewar03" : MAP_EMPIREWAR03, "map_n_snowm_02" : MAP_N_SNOWM_02, "metin2_map_milgyo_a" : MAP_MILGYO_A, "metin2_map_n_desert_02" : MAP_N_DESERT_02, "metin2_map_n_flame_02" : MAP_N_FLAME_02, "metin2_map_a2_1" : MAP_A2_1, "metin2_map_trent_a" : MAP_TRENT_A, "metin2_map_trent02_a" : MAP_TRENT02_A, "metin2_map_skipia_dungeon_01" : MAP_SKIPIA_DUNGEON_01, "metin2_map_skipia_dungeon_02" : MAP_SKIPIA_DUNGEON_02, "metin2_map_oxevent" : MAP_OXEVENT, "metin2_map_skipia_dungeon_boss" : MAP_SKIPIA_DUNGEON_BOSS, "metin2_map_skipia_dungeon_boss2" : MAP_SKIPIA_DUNGEON_BOSS_2, "metin2_map_devilsCatacomb" : MAP_DEVILCATACOMB, "metin2_map_spiderdungeon_03" : MAP_SPIDERDUNGEON_03, "metin2_guild_village_01" : MAP_GUILD_01, "metin2_guild_village_02" : MAP_GUILD_02, "metin2_guild_village_03" : MAP_GUILD_03, "metin2_map_n_flame_dungeon_01" : MAP_N_FLAME_DUNGEON_01, "metin2_map_n_snow_dungeon_01" : MAP_N_SNOW_DUNGEON_01, "metin2_map_e1" : MAP_E, "metin2_guild_war1" : MAP_GUILD_WAR1, "metin2_guild_war2" : MAP_GUILD_WAR2, "metin2_guild_war3" : MAP_GUILD_WAR3, "metin2_guild_war4" : MAP_GUILD_WAR4, "metin2_12zi_stage" : MAP_CZ_DUNGEON, "metin2_map_n_flame_dragon" : MAP_N_FLAME_DRAGON, "metin2_map_battlefied" : MAP_BATTLE_FIELD, "metin2_map_defensewave" : MAP_DEFENSE_WAVE, "metin2_map_defensewave_port" : MAP_DEFENSE_WAVE_PORT, "metin2_map_miniboss_01" : MAP_MINIBOSS_01, "metin2_map_miniboss_02" : MAP_MINIBOSS_02, } locale_game.txt //Ekle MAP_A1 (Yongan Bölgesi) MAP_A2 (Seungryong Vadisi) MAP_A2_1 MAP_A3 (Yayang Bölgesi) MAP_AG (Jungrang) MAP_B1 (Joan Bölgesi) MAP_B2 (Imji Vadisi) MAP_B3 (Bokjung Bölgesi) MAP_BATTLE_FIELD (Savaþ Bölgesi) MAP_BAY (Nefrit Körfezi) MAP_BAYBLACKSAND (Nefrit Körfezi) MAP_BG (Waryong) MAP_C1 (Pyungmoo Bölgesi) MAP_C2 (Bangsan Vadisi) MAP_C3 (Bakra Bölgesi) MAP_CAPE (Ejderha Ateþi Burnu) MAP_CAPEDRAGONHEAD (Ejderha Ateþi Burnu) MAP_CG (Imha) MAP_CZ_DUNGEON (Zodyak Tapýnaðý) MAP_DAWN (Gautama Uçurumu) MAP_DAWNMISTWOOD (Gautama Uçurumu) MAP_DAWNMIST_DUNGEON_01 (Efsunlu Orman) MAP_DEFENSE_WAVE (Gemi savunmasý) MAP_DEFENSE_WAVE_PORT (Liman) MAP_DESERT (Yongbi Çölü) MAP_DEVILCATACOMB (Þeytan Katakombu) MAP_DEVILTOWER1 (Þeytan Kulesi) MAP_DUEL (Eðitim Dövüþü Arenasý) MAP_E (Koloni) MAP_GUILD_BUILD (Yönetici Bölgesi) MAP_EMPIREWAR01 (Kale Savaþý) MAP_EMPIREWAR02 (Kale Savaþý) MAP_EMPIREWAR03 (Kale Savaþý) MAP_FLAME (Doyyumhwan) MAP_GUILD_01 (Jungrang) MAP_GUILD_02 (Waryong) MAP_GUILD_03 (Imha) MAP_HOLYPLACE_DESERT (Ýmparatorluk Savaþý - Çöl Diyarý) MAP_HOLYPLACE_FLAME (Ýmparatorluk Savaþý - Ateþ Diyarý) MAP_HOLYPLACE_ICE (Ýmparatorluk Savaþý - Buz Daðý) MAP_MILGYO (Hwang Tapýnaðý) MAP_MILGYO_A MAP_MINIBOSS_01 (Mavi zindan) MAP_MINIBOSS_02 (Kýrmýzý zindan) MAP_MONKEY_DUNGEON (Hasun Dong) MAP_MONKEY_DUNGEON2 (Jungsun Dong) MAP_MONKEY_DUNGEON3 (Sangsun Dong) MAP_MONKEY_DUNGEON_11 (Hasun Dong) MAP_MONKEY_DUNGEON_12 (Hasun Dong) MAP_MONKEY_DUNGEON_13 (Hasun Dong) MAP_MT_THUNDER (Yýldýrým Daðlarý) MAP_MT_TH_DUNGEON_01 (Ochao Tapýnaðý) MAP_NUSLUCK (Devler Diyarý) MAP_NUSLUCK01 (Devler Diyarý) MAP_N_DESERT_01 (Yongbi Çölü) MAP_N_DESERT_02 MAP_N_FLAME_01 (Ateþ Diyarý) MAP_N_FLAME_02 MAP_N_FLAME_DRAGON (Meley'in Ýni) MAP_N_FLAME_DUNGEON_01 (Kýrmýzý Ejderha Kalesi) MAP_N_SNOWM_01 (Sohan Daðý) MAP_N_SNOWM_02 MAP_N_SNOW_DUNGEON_01 (Nemere Gözlemevi) MAP_N_THREEWAY (Seungryong Vadisi) MAP_OXEVENT (OX-yarýþmasý) MAP_PATHWAY_DESERT_01 (Ýmparatorluk Savaþý - Çöl Diyarý) MAP_PATHWAY_DESERT_02 (Ýmparatorluk Savaþý - Çöl Diyarý) MAP_PATHWAY_DESERT_03 (Ýmparatorluk Savaþý - Çöl Diyarý) MAP_PATHWAY_FLAME_01 (Ýmparatorluk Savaþý - Ateþ Diyarý) MAP_PATHWAY_FLAME_02 (Ýmparatorluk Savaþý - Ateþ Diyarý) MAP_PATHWAY_FLAME_03 (Ýmparatorluk Savaþý - Ateþ Diyarý) MAP_PATHWAY_ICE_01 (Ýmparatorluk Savaþý - Buz Daðý) MAP_PATHWAY_ICE_02 (Oyun Parký) MAP_PATHWAY_ICE_03 (Ýmparatorluk Savaþý - Buz Daðý) MAP_SKELTOWER (Gumsan Kulesi) MAP_SKIPIA_DUNGEON_01 (Sürgün Maðarasý) MAP_SKIPIA_DUNGEON_011 MAP_SKIPIA_DUNGEON_012 MAP_SKIPIA_DUNGEON_013 MAP_SKIPIA_DUNGEON_02 (Sürgün Maðarasý 2) MAP_SKIPIA_DUNGEON_021 MAP_SKIPIA_DUNGEON_022 MAP_SKIPIA_DUNGEON_023 MAP_SKIPIA_DUNGEON_BOSS (Ejderha Tapýnaðý) MAP_SKIPIA_DUNGEON_BOSS_1 (Örümcek Zindaný 1) MAP_SKIPIA_DUNGEON_BOSS_2 (Örümcek Zindaný 2) MAP_SKIPIA_DUNGEON_BOSS_3 (Örümcek Zindaný 3) MAP_SNOW (Sohan Daðý) MAP_SPIDER (Kuahlo Dong) MAP_SPIDERDUNGEON (Örümcek Zindaný 1) MAP_SPIDERDUNGEON_02 (Örümcek Zindaný 2) MAP_SPIDERDUNGEON_02_1 (Örümcek Zindaný 2) MAP_SPIDERDUNGEON_03 (Örümcek Zindaný 3) MAP_SUNGZI (Ýmparatorluk Savaþý) MAP_SUNGZI_DESERT_01 (Ýmparatorluk Savaþý - Çöl Diyarý) MAP_SUNGZI_DESERT_HILL_01 (Ýmparatorluk Savaþý - Çöl Diyarý) MAP_SUNGZI_DESERT_HILL_02 (Ýmparatorluk Savaþý - Çöl Diyarý) MAP_SUNGZI_DESERT_HILL_03 (Ýmparatorluk Savaþý - Çöl Diyarý) MAP_SUNGZI_FLAME_HILL_01 (Ýmparatorluk Savaþý - Ateþ Diyarý) MAP_SUNGZI_FLAME_HILL_02 (Ýmparatorluk Savaþý - Ateþ Diyarý) MAP_SUNGZI_FLAME_HILL_03 (Ýmparatorluk Savaþý - Ateþ Diyarý) MAP_SUNGZI_SNOW (Ýmparatorluk Savaþý - Buz Daðý) MAP_SUNGZI_SNOW_PASS01 (Ýmparatorluk Savaþý - Buz Daðý) MAP_SUNGZI_SNOW_PASS02 (Ýmparatorluk Savaþý - Buz Daðý) MAP_SUNGZI_SNOW_PASS03 (Ýmparatorluk Savaþý - Buz Daðý) MAP_SUNGZI_FLAME_PASS_01 (Ýmparatorluk Savaþý - Ateþ Daðý) MAP_SUNGZI_FLAME_PASS_02 (Ýmparatorluk Savaþý - Ateþ Daðý) MAP_SUNGZI_FLAME_PASS_03 (Ýmparatorluk Savaþý - Ateþ Daðý) MAP_T1 (Lonca Savaþý Bölgesi) MAP_T2 (Lonca Savaþý Bölgesi) MAP_T3 (Lonca Savaþý Bölgesi) MAP_T4 (Lonca Savaþý Bölgesi) MAP_TEMPLE (Hwang Tapýnaðý) MAP_THUNDER (Yýldýrým Daðlarý) MAP_TREE (Lungsam) MAP_TRENT (Hayalet Ormaný) MAP_TRENT02 (Kýrmýzý Orman) MAP_TRENT02_A (Kýzýl Orman) MAP_TRENT_A MAP_WEDDING_01 (Düðün Köyü) MAP_WL (Yýlan Vadisi) MAP_WL_01 (Yýlan Vadisi) MAP_GUILD_WAR1 (Lonca Savaþý) MAP_GUILD_WAR2 (Lonca Savaþý) MAP_GUILD_WAR3 (Lonca Savaþý) MAP_GUILD_WAR4 (Lonca Savaþý)