Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 HEMEN TIKLA!
Konu içeriğindeki başka bir forum ismi düzeltildi, paylaşım için teşekkürler
unfortunately this solution not work, but thank you for try to helpI'm not perfect coder but you can try
Find def LoadMap(self): and replace
Kod:def LoadMap(self): background.Initialize() for i in xrange(self.SLOT_COUNT): id = net.GetAccountCharacterSlotDataInteger(i, net.ACCOUNT_CHARACTER_SLOT_ID) if id == 0: GetObject=self.dlgBoard.GetChild self.backGroundImg1 = GetObject("BackGround") self.backGroundImg1.Show() else: self.backGroundImg1.Hide() MAPS_LIST = [ {"x": 30000, "y": 40000, "map_name": "metin2_map_a1"}, {"x": 12300, "y": 32100, "map_name": "metin2_map_n_desert_01"}, {"x": 78300, "y": 84400, "map_name": "map_a2"}, {"x": 78000, "y": 62000, "map_name": "map_n_snowm_01"}, {"x": 86100, "y": 55600, "map_name": "metin2_map_b1"}, {"x": 35600, "y": 50200, "map_name": "metin2_map_c1"}, ] map_random = MAPS_LIST[app.GetRandom(0,len(MAPS_LIST)-1)] background.LoadMap(map_random["map_name"], map_random["x"], map_random["y"], 0) background.SetShadowLevel(background.SHADOW_ALL) chr.SelectInstance(self.slot) player.SetMainCharacterIndex(self.slot) chr.SetPixelPosition(map_random["x"], map_random["y"])
And find
Kod:self.CharacterSlot_2_Name.SetFontColor(0.8549, 0.8549, 0.8549) self.CharacterSlot_3_Name.SetFontColor(0.8549, 0.8549, 0.8549) self.slot = index self.LoadMap() self.isCameraMoving = True self.cameraMovementProgress = 0.0
Replace
Kod:self.CharacterSlot_2_Name.SetFontColor(0.8549, 0.8549, 0.8549) self.CharacterSlot_3_Name.SetFontColor(0.8549, 0.8549, 0.8549) self.slot = index self.LoadMap() if self.__AreAllSlotEmpty(): self.isCameraMoving = False else: self.isCameraMoving = True self.cameraMovementProgress = 0.0
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 9
- Görüntüleme
- 588
- Cevaplar
- 1
- Görüntüleme
- 252
- Cevaplar
- 2
- Görüntüleme
- 603
- Cevaplar
- 9
- Görüntüleme
- 777
- Cevaplar
- 12
- Görüntüleme
- 473