Çözüldü Dracarys Renewal game Option Syserr

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

MCB

Premium Üye
Premium Üye
MT Üye
Mesaj
218
Çözümler
16
Beğeni
60
Puan
109
Ticaret Puanı
0
Kod:
0222 19:46:12521 ::   File "ui.py", line 1602, in CallEvent

0222 19:46:12521 ::   File "ui.py", line 88, in __call__

0222 19:46:12521 ::   File "ui.py", line 70, in __call__

0222 19:46:12521 ::   File "uiSystem.py", line 128, in __ClickGameOptionButton

0222 19:46:12521 ::   File "uiGameOptionNew.py", line 47, in __init__

0222 19:46:12521 ::   File "uiGameOptionNew.py", line 127, in __LoadWindow

0222 19:46:12521 ::   File "uiGameOptionNew.py", line 219, in CreateOptionWindow

0222 19:46:12521 :: AttributeError
0222 19:46:12521 :: :
0222 19:46:12521 :: 'int' object has no attribute 'GetLocalPosition'
0222 19:46:12521 ::

Bu syserri alıyorum bilgisi olan varmı
 
Çözüm
'ImageBox' object has no attribute 'SetRenderingRect' hatası alanlar için..

ui.py:
arat:
class RadioButton(Button):
içinde arat:
    def RegisterWindow(self, layer):
Altına ekle :
    if app.ENABLE_NEW_GAMEOPTION:
        def SetRenderingRect(self, left, top, right, bottom):
            wndMgr.SetRenderingRect(self.hWnd, left, top, right, bottom)       

arat:
class ImageBox(Window):

içinde arat :
    def GetHeight(self):
Altına ekle :
    if app.ENABLE_NEW_GAMEOPTION:
        def SetRenderingRect(self, left, top, right, bottom):
            wndMgr.SetRenderingRect(self.hWnd, left, top, right, bottom)

Diğer hatalar için Zenaris Filesten yardım alabilirsin fonksiyonları çok harışık olduğu için ne yaptığımı çok...
bu syserrin çözümünü bekleyenler çok. umarım burada çözülür :D
 
class Window(object):

Kod:
    def GetLocalPosition(self):
        return wndMgr.GetWindowLocalPosition(self.hWnd)

altına ekleyip denermisin

Kod:
    def GetLeft(self):
        x, y = self.GetLocalPosition()
        return x

    def GetGlobalLeft(self):
        x, y = self.GetGlobalPosition()
        return x

    def GetTop(self):
        x, y = self.GetLocalPosition()
        return y

    def GetGlobalTop(self):
        x, y = self.GetGlobalPosition()
        return y

    def GetRight(self):
        return self.GetLeft() + self.GetWidth()

    def GetBottom(self):
        return self.GetTop() + self.GetHeight()
 
bu syserrin çözümünü bekleyenler çok. umarım burada çözülür :D
class Window(object):

Kod:
    def GetLocalPosition(self):
        return wndMgr.GetWindowLocalPosition(self.hWnd)

altına ekleyip denermisin

Kod:
    def GetLeft(self):
        x, y = self.GetLocalPosition()
        return x

    def GetGlobalLeft(self):
        x, y = self.GetGlobalPosition()
        return x

    def GetTop(self):
        x, y = self.GetLocalPosition()
        return y

    def GetGlobalTop(self):
        x, y = self.GetGlobalPosition()
        return y

    def GetRight(self):
        return self.GetLeft() + self.GetWidth()

    def GetBottom(self):
        return self.GetTop() + self.GetHeight()
1708628497593.png

1708628526685.png


şuanda bu syserr var
 
bu hatayı eklerken bende almıştım ama nasıl düzelttiğimi hatırlamıyorum eklediğim dosyaları yolluyorum karşılastır istersen
1708631219937.png


karşılaştırdım bi kaç değişiklik yaptım locale_interfaceye eklenmesi gereken şeyleri eklediğimde oyun seçenekleri açılmıyor bu şekilde syserr veriyor
dc : venom5214 bana burdan ulaşma şansın varmı soruna bakalım çözebilirsek çözümünü paylaşalım burdan
 
  • Beğen
Tepkiler: MCB
Kod:
0223 02:13:13423 :: [GameOption]LoadCatetoryOptions optionIndex: 0 categoryIndex: 0
0223 02:13:52617 :: Traceback (most recent call last):

0223 02:13:52617 ::   File "ui.py", line 1598, in CallEvent

0223 02:13:52617 ::   File "ui.py", line 88, in __call__

0223 02:13:52617 ::   File "ui.py", line 79, in __call__

0223 02:13:52617 ::   File "uiGameOptionNew.py", line 167, in SetOptionType

0223 02:13:52617 ::   File "uiGameOptionNew.py", line 188, in SetCategoryType

0223 02:13:52617 ::   File "uiGameOptionNew.py", line 449, in UpdateScrollBar

0223 02:13:52617 :: AttributeError
0223 02:13:52617 :: :
0223 02:13:52617 :: 'ImageBox' object has no attribute 'SetRenderingRect'
0223 02:13:52617 ::
 
'ImageBox' object has no attribute 'SetRenderingRect' hatası alanlar için..

ui.py:
arat:
class RadioButton(Button):
içinde arat:
    def RegisterWindow(self, layer):
Altına ekle :
    if app.ENABLE_NEW_GAMEOPTION:
        def SetRenderingRect(self, left, top, right, bottom):
            wndMgr.SetRenderingRect(self.hWnd, left, top, right, bottom)       

arat:
class ImageBox(Window):

içinde arat :
    def GetHeight(self):
Altına ekle :
    if app.ENABLE_NEW_GAMEOPTION:
        def SetRenderingRect(self, left, top, right, bottom):
            wndMgr.SetRenderingRect(self.hWnd, left, top, right, bottom)

Diğer hatalar için Zenaris Filesten yardım alabilirsin fonksiyonları çok harışık olduğu için ne yaptığımı çok hatırlamıyorum..
 
Çözüm
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst