i was add 4 Inventory Page
but Only one IV appeared and the second did not appear !!
it was showing this error
0615 08:38:14573 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0615 08:38:28249 :: Traceback (most recent call last):
0615 08:38:28249 :: File "networkModule.py", line 247, in SetGamePhase
0615 08:38:28249 :: File "game.py", line 97, in __init__
0615 08:38:28250 :: File "interfaceModule.py", line 285, in MakeInterface
0615 08:38:28250 :: File "interfaceModule.py", line 169, in __MakeWindows
0615 08:38:28250 :: File "uiInventory.py", line 262, in __init__
0615 08:38:28251 :: File "uiInventory.py", line 401, in __LoadWindow
0615 08:38:28251 :: File "uiInventory.py", line 466, in SetInventoryPage
0615 08:38:28251 :: AttributeError
0615 08:38:28252 :: :
0615 08:38:28252 :: 'InventoryWindow' object has no attribute 'inventoryPageIndex'
0615 08:38:28252 ::
but i solved with
I have replaced
def SetInventoryPage(self, page):
self.inventoryTab[self.inventoryPageIndex].SetUp()
self.inventoryPageIndex = page
self.inventoryTab[self.inventoryPageIndex].Down()
self.RefreshBagSlotWindow()
for
def SetInventoryPage(self, page):
self.inventoryPageIndex = page
self.inventoryTab[0].SetUp()
self.inventoryTab[1].SetUp()
self.inventoryTab[2].SetUp()
self.inventoryTab[3].SetUp()
if len(self.inventoryTab) >=page:
self.inventoryTab
and Only one IV appeared and the second did not appear !!
what is the solve ?
.Down()
self.RefreshBagSlotWindow()