- Mesaj
- 749
- Çözümler
- 41
- Beğeni
- 182
- Puan
- 609
- Ticaret Puanı
- 0
Merhaba;
Affectlerde playtime gösterme sistemini ekledim fakat böyle syserr basıyor;
İlk bir kere girdim düzgündü gir çık yaptım hata vermeye başladı ve icon gözükmemeye başladı.
game.py eklediğim kodlar bu;
Affectlerde playtime gösterme sistemini ekledim fakat böyle syserr basıyor;
Kod:
0629 05:14:09540 :: Unknown Server Command ClientLogonStart 0 | ClientLogonStart
0629 05:14:19587 :: Exception
0629 05:14:19587 :: AttributeError
0629 05:14:19587 :: :
0629 05:14:19587 :: "'AutoPotionImage' object has no attribute 'imageLoaded'"
0629 05:14:19587 :: in
0629 05:14:19587 :: <bound method AutoPotionImage.__del__ of <uiAffectShower.AutoPotionImage object at 0x06474330>>
0629 05:14:19587 :: ignored
0629 05:14:19587 :: Exception
0629 05:14:19587 :: AttributeError
0629 05:14:19587 :: :
0629 05:14:19587 :: "'AutoPotionImage' object has no attribute 'imageLoaded'"
0629 05:14:19587 :: in
0629 05:14:19587 :: <bound method AutoPotionImage.__del__ of <uiAffectShower.AutoPotionImage object at 0x06474E30>>
0629 05:14:19587 :: ignored
0629 05:14:19587 :: Exception
0629 05:14:19587 :: AttributeError
0629 05:14:19587 :: :
0629 05:14:19587 :: "'ImageBox' object has no attribute 'imageLoaded'"
0629 05:14:19587 :: in
0629 05:14:19587 :: <bound method ImageBox.__del__ of <ui.ImageBox object at 0x064748B0>>
0629 05:14:19587 :: ignored
İlk bir kere girdim düzgündü gir çık yaptım hata vermeye başladı ve icon gözükmemeye başladı.
game.py eklediğim kodlar bu;
Python:
Bul:
def BINARY_OnQuestConfirm(self, msg, timeout, pid)
Üstüne ekle:
# LOGON
def BINARY_InitPlayTime(self, play_time):
if self.affectShower:
self.affectShower.SetPlayTime(play_time)
def BINARY_UpdatePlayTime(self, play_time):
if self.affectShower:
self.affectShower.OnUpdatePlayTime(play_time)
# END LOGON
Bul:
"MyShopPriceList" : self.__PrivateShop_PriceList,
Üstüne ekle:
# LOGON
"ClientLogonStart" : self.BINARY_InitPlayTime,
"ClientLogonUpdate" : self.BINARY_UpdatePlayTime,
# END LOGON