Çözüldü Yeni ESC Görünümü

Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

Afraz

Cehalet yenilmesi gereken en büyük düşmandır.
Yardımsever Üye
MT Üye
Mesaj
678
Çözümler
30
Beğeni
181
Puan
604
Selamlar, Yeni esc görünümü yapıyorum fakat sadece tga lar ve systemdialog.py'si mevcut. Systemdialog.py'yi kendi serverime göre düzenleyip attıktan sonra locale >tr>ui
Syserr veriyor.


Syserr:
0116 21:14:16711 :: Traceback (most recent call last):

0116 21:14:16711 ::   File "networkModule.py", line 247, in SetGamePhase

0116 21:14:16711 ::   File "game.py", line 131, in __init__

0116 21:14:16711 ::   File "interfaceModule.py", line 386, in MakeInterface

0116 21:14:16711 ::   File "interfaceModule.py", line 301, in __MakeDialogs

0116 21:14:16712 ::   File "uiSystem.py", line 33, in LoadDialog

0116 21:14:16712 ::   File "uiSystem.py", line 42, in __LoadSystemMenu_Default

0116 21:14:16712 :: AttributeError
0116 21:14:16712 :: :
0116 21:14:16712 :: 'ImageBox' object has no attribute 'SAFE_SetEvent'
0116 21:14:16712 ::


Yardım edebilicek varmı ?
 
Çözüm
aynı hata

s:
0116 22:11:17433 :: Traceback (most recent call last):

0116 22:11:17433 ::   File "networkModule.py", line 247, in SetGamePhase

0116 22:11:17433 ::   File "game.py", line 131, in __init__

0116 22:11:17433 ::   File "interfaceModule.py", line 386, in MakeInterface

0116 22:11:17434 ::   File "interfaceModule.py", line 301, in __MakeDialogs

0116 22:11:17434 ::   File "uiSystem.py", line 33, in LoadDialog

0116 22:11:17434 ::   File "uiSystem.py", line 42, in __LoadSystemMenu_Default

0116 22:11:17434 :: AttributeError
0116 22:11:17434 :: :
0116 22:11:17434 :: 'ImageBox' object has no attribute 'SAFE_SetEvent'
0116 22:11:17434 ::
8955 eklentisini görüntüle

Birde üstte zaten aynısı var.
class imageboxun içine ekle bakim
ui.py aç class button 'un en sonuna şunu ekle

def SAFE_SetEvent(self, func, *args):
self.eventFunc = __mem_func__(func)
self.eventArgs = args

tab ayarını yap test et
 
ui.py aç class button 'un en sonuna şunu ekle

def SAFE_SetEvent(self, func, *args):
self.eventFunc = __mem_func__(func)
self.eventArgs = args

tab ayarını yap test et
aynı hata

s:
0116 22:11:17433 :: Traceback (most recent call last):

0116 22:11:17433 ::   File "networkModule.py", line 247, in SetGamePhase

0116 22:11:17433 ::   File "game.py", line 131, in __init__

0116 22:11:17433 ::   File "interfaceModule.py", line 386, in MakeInterface

0116 22:11:17434 ::   File "interfaceModule.py", line 301, in __MakeDialogs

0116 22:11:17434 ::   File "uiSystem.py", line 33, in LoadDialog

0116 22:11:17434 ::   File "uiSystem.py", line 42, in __LoadSystemMenu_Default

0116 22:11:17434 :: AttributeError
0116 22:11:17434 :: :
0116 22:11:17434 :: 'ImageBox' object has no attribute 'SAFE_SetEvent'
0116 22:11:17434 ::
Screenshot_12.png


Birde üstte zaten aynısı var.
 
aynı hata

s:
0116 22:11:17433 :: Traceback (most recent call last):

0116 22:11:17433 ::   File "networkModule.py", line 247, in SetGamePhase

0116 22:11:17433 ::   File "game.py", line 131, in __init__

0116 22:11:17433 ::   File "interfaceModule.py", line 386, in MakeInterface

0116 22:11:17434 ::   File "interfaceModule.py", line 301, in __MakeDialogs

0116 22:11:17434 ::   File "uiSystem.py", line 33, in LoadDialog

0116 22:11:17434 ::   File "uiSystem.py", line 42, in __LoadSystemMenu_Default

0116 22:11:17434 :: AttributeError
0116 22:11:17434 :: :
0116 22:11:17434 :: 'ImageBox' object has no attribute 'SAFE_SetEvent'
0116 22:11:17434 ::
8955 eklentisini görüntüle

Birde üstte zaten aynısı var.
class imageboxun içine ekle bakim
 
Çözüm
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst