Çözüldü Karakter bilgileri penceresi takılı kalıyor

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ı.

okcoder1134

MT Üye
MT Üye
Mesaj
265
Çözümler
16
Beğeni
154
Puan
734
Ticaret Puanı
0
"C"ye basınca açılan karakter bilgileri ekranı ışınlanınca ekranda kalıyor.
ve kapatmaya çalışınca kapanmıyor.
"C"ye tekrar basınca üzerine 2. bir karakter bilgileri penceresi açılıyor.
syserr şunu gösteriyor :
Kod:
0429 16:55:55752 :: Traceback (most recent call last):

0429 16:55:55752 ::   File "ui.py", line 3609, in CallEvent

0429 16:55:55752 ::   File "ui.py", line 137, in __call__

0429 16:55:55753 ::   File "ui.py", line 119, in __call__

0429 16:55:55753 ::   File "uiCharacter.py", line 497, in Close

0429 16:55:55753 :: AttributeError
0429 16:55:55753 :: :
0429 16:55:55753 :: 'NoneType' object has no attribute 'Hide'
0429 16:55:55753 ::

0429 16:55:56376 :: Traceback (most recent call last):

0429 16:55:56376 ::   File "uiCharacter.py", line 448, in <lambda>

0429 16:55:56377 ::   File "uiCharacter.py", line 938, in __OverInStatButton

0429 16:55:56377 ::   File "uiCharacter.py", line 954, in __ShowStatToolTip

0429 16:55:56377 :: AttributeError
0429 16:55:56377 :: :
0429 16:55:56377 :: 'NoneType' object has no attribute 'ClearToolTip'
0429 16:55:56377 ::

0429 16:55:56399 :: Traceback (most recent call last):

0429 16:55:56399 ::   File "uiCharacter.py", line 449, in <lambda>

0429 16:55:56399 ::   File "uiCharacter.py", line 951, in __OverOutStatButton

0429 16:55:56400 ::   File "uiCharacter.py", line 959, in __HideStatToolTip

0429 16:55:56400 :: AttributeError
0429 16:55:56400 :: :
0429 16:55:56400 :: 'NoneType' object has no attribute 'Hide'
0429 16:55:56400 ::
 
Çözüm
Sanırım official bonus tablosu kullanıyorsunuz
Linkleri görebilmek için giriş yap veya kayıt ol.
burdaki adımları uygulayın

Python:
####### s3ri0uX™ FG #######
##### aka xAgnesRoseX #####

## @ interfacemodule.py @ ##
#Search:
def Close(self):

#In this function search
if self.wndChat:
            self.wndChat.Destroy()

#Add under:
        if self.wndCharacter:
            self.wndCharacter.Close()
        else:
            if self.wndCharacter:
                self.wndCharacter.Hide()


#Search:
def HideAllWindows(self):

#In this function search:
        if self.wndCharacter:
            self.wndCharacter.Hide()

#Replace with:
        if self.wndCharacter:
            self.wndCharacter.Close()
        else:
            if self.wndCharacter...
Sanırım official bonus tablosu kullanıyorsunuz
Linkleri görebilmek için giriş yap veya kayıt ol.
burdaki adımları uygulayın

Python:
####### s3ri0uX™ FG #######
##### aka xAgnesRoseX #####

## @ interfacemodule.py @ ##
#Search:
def Close(self):

#In this function search
if self.wndChat:
            self.wndChat.Destroy()

#Add under:
        if self.wndCharacter:
            self.wndCharacter.Close()
        else:
            if self.wndCharacter:
                self.wndCharacter.Hide()


#Search:
def HideAllWindows(self):

#In this function search:
        if self.wndCharacter:
            self.wndCharacter.Hide()

#Replace with:
        if self.wndCharacter:
            self.wndCharacter.Close()
        else:
            if self.wndCharacter:
                self.wndCharacter.Hide()


#search:
def ToggleCharacterWindow(self, state

#Replace with:
    def ToggleCharacterWindow(self, state):
        if FALSE == player.IsObserverMode():
            if FALSE == self.wndCharacter.IsShow():
                self.OpenCharacterWindowWithState(state)
            else:
                if state == self.wndCharacter.GetState():
                    self.wndCharacter.OverOutItem()
                    self.wndCharacter.Close()            #FIX
                else:
                    self.wndCharacter.SetState(state)


## @ uicharacter.py @##

#Search:
        for titleBarValue in self.titleBarDict.itervalues():
            titleBarValue.SetCloseEvent(ui.__mem_func__(self.Close))

#Or:
        for titleBarValue in self.titleBarDict.itervalues():
            titleBarValue.SetCloseEvent(ui.__mem_func__(self.Hide))

Replace with this:
        for titleBarValue in self.titleBarDict.itervalues():
            titleBarValue.SetCloseEvent(ui.__mem_func__(self.Close))
        else:
            titleBarValue.SetCloseEvent(ui.__mem_func__(self.Hide))

#Search
        if self.chDetailsWnd and self.chDetailsWnd.IsShow():
            self.chDetailsWnd.Hide()

#Check is on hide
self.chDetailsWnd.Hide()
 
Çözüm
Sanırım official bonus tablosu kullanıyorsunuz
Linkleri görebilmek için giriş yap veya kayıt ol.
burdaki adımları uygulayın

Python:
####### s3ri0uX™ FG #######
##### aka xAgnesRoseX #####

## @ interfacemodule.py @ ##
#Search:
def Close(self):

#In this function search
if self.wndChat:
            self.wndChat.Destroy()

#Add under:
        if self.wndCharacter:
            self.wndCharacter.Close()
        else:
            if self.wndCharacter:
                self.wndCharacter.Hide()


#Search:
def HideAllWindows(self):

#In this function search:
        if self.wndCharacter:
            self.wndCharacter.Hide()

#Replace with:
        if self.wndCharacter:
            self.wndCharacter.Close()
        else:
            if self.wndCharacter:
                self.wndCharacter.Hide()


#search:
def ToggleCharacterWindow(self, state

#Replace with:
    def ToggleCharacterWindow(self, state):
        if FALSE == player.IsObserverMode():
            if FALSE == self.wndCharacter.IsShow():
                self.OpenCharacterWindowWithState(state)
            else:
                if state == self.wndCharacter.GetState():
                    self.wndCharacter.OverOutItem()
                    self.wndCharacter.Close()            #FIX
                else:
                    self.wndCharacter.SetState(state)


## @ uicharacter.py @##

#Search:
        for titleBarValue in self.titleBarDict.itervalues():
            titleBarValue.SetCloseEvent(ui.__mem_func__(self.Close))

#Or:
        for titleBarValue in self.titleBarDict.itervalues():
            titleBarValue.SetCloseEvent(ui.__mem_func__(self.Hide))

Replace with this:
        for titleBarValue in self.titleBarDict.itervalues():
            titleBarValue.SetCloseEvent(ui.__mem_func__(self.Close))
        else:
            titleBarValue.SetCloseEvent(ui.__mem_func__(self.Hide))

#Search
        if self.chDetailsWnd and self.chDetailsWnd.IsShow():
            self.chDetailsWnd.Hide()

#Check is on hide
self.chDetailsWnd.Hide()

Sorunum Çözüldü teşekkür ederim :) <3
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst