Merhabalar,
Official Additional Equipment Page sistemini eklemeye çalışıyorum hatalar aldığım için anlatımı farklı zamanlarda 3 kere tekrarladım en son bu hatada takıldım uzun bir araştırma yaptım çözümü bulamadım. Syserr şu şekilde:
class GridSlotWindow(SlotWindow) sadece ui.py içerisinde bulduğum için yedeğimle karşılaştırdım ve tek bir ekleme var şu şekilde:
Gerekliyse ismi geçen diğer dosyaları da ekleyebilirim.
Official Additional Equipment Page sistemini eklemeye çalışıyorum hatalar aldığım için anlatımı farklı zamanlarda 3 kere tekrarladım en son bu hatada takıldım uzun bir araştırma yaptım çözümü bulamadım. Syserr şu şekilde:
0607 15:13:09962 :: Traceback (most recent call last):
0607 15:13:09963 :: File "networkModule.py", line 247, in SetGamePhase
0607 15:13:09963 :: File "game.py", line 90, in __init__
0607 15:13:09963 :: File "interfaceModule.py", line 297, in MakeInterface
0607 15:13:09963 :: File "interfaceModule.py", line 172, in __MakeWindows
0607 15:13:09963 :: File "uiInventory.py", line 260, in __init__
0607 15:13:09963 :: File "uiInventory.py", line 406, in __LoadWindow
0607 15:13:09963 :: File "uiInventory.py", line 478, in SetInventoryPage
0607 15:13:09963 :: File "uiInventory.py", line 547, in RefreshBagSlotWindow
0607 15:13:09963 :: AttributeError
0607 15:13:09963 :: :
0607 15:13:09963 :: 'GridSlotWindow' object has no attribute 'SetItemSlot'
0607 15:13:09963 ::
0607 15:13:09963 :: File "networkModule.py", line 247, in SetGamePhase
0607 15:13:09963 :: File "game.py", line 90, in __init__
0607 15:13:09963 :: File "interfaceModule.py", line 297, in MakeInterface
0607 15:13:09963 :: File "interfaceModule.py", line 172, in __MakeWindows
0607 15:13:09963 :: File "uiInventory.py", line 260, in __init__
0607 15:13:09963 :: File "uiInventory.py", line 406, in __LoadWindow
0607 15:13:09963 :: File "uiInventory.py", line 478, in SetInventoryPage
0607 15:13:09963 :: File "uiInventory.py", line 547, in RefreshBagSlotWindow
0607 15:13:09963 :: AttributeError
0607 15:13:09963 :: :
0607 15:13:09963 :: 'GridSlotWindow' object has no attribute 'SetItemSlot'
0607 15:13:09963 ::
class GridSlotWindow(SlotWindow) sadece ui.py içerisinde bulduğum için yedeğimle karşılaştırdım ve tek bir ekleme var şu şekilde:
class GridSlotWindow(SlotWindow)::
class GridSlotWindow(SlotWindow):
def __init__(self):
SlotWindow.__init__(self)
self.startIndex = 0
def __del__(self):
SlotWindow.__del__(self)
def RegisterWindow(self, layer):
self.hWnd = wndMgr.RegisterGridSlotWindow(self, layer)
def ArrangeSlot(self, StartIndex, xCount, yCount, xSize, ySize, xBlank, yBlank):
self.startIndex = StartIndex
wndMgr.ArrangeSlot(self.hWnd, StartIndex, xCount, yCount, xSize, ySize, xBlank, yBlank)
self.startIndex = StartIndex
def GetStartIndex(self):
return self.startIndex