Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 HEMEN TIKLA!
Screenshots added.
I have solved all the errors, the only thing left is that when you have not created any character YET everything looks bad, after you create the first character, instead everything is fine in the creation of the characters, has anyone solved it?
Not yet, unfortunately..I have solved all the errors, the only thing left is that when you have not created any character YET everything looks bad, after you create the first character, instead everything is fine in the creation of the characters, has anyone solved it?
And another problem is within 3 second below if you changing your character, press the 'W' key button and hold on .
I have solved all the errors, the only thing left is that when you have not created any character YET everything looks bad, after you create the first character, instead everything is fine in the creation of the characters, has anyone solved it?
I'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
- 253
- Cevaplar
- 2
- Görüntüleme
- 603
- Cevaplar
- 9
- Görüntüleme
- 778
- Cevaplar
- 12
- Görüntüleme
- 473