Jump to content

problem in 4 Inventory Page


Go to solution Solved by TMP4,

Recommended Posts



i was add 4 Inventory Page


but Only one IV appeared and the second did not appear !!
spacer.png

 


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()

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Contributor
  • Solution

Those are images.

Inventory page II not showing because it is under the III and IV inventory page's button image in your case.

 

So you have to change the Page I and II image to the small one like III and IV, and edit I and II's x and y coordinates to place it in the right.

(locale_xy.eix-epk inventorywindow.py)

 

Some tutorial not mentioning such things cause it is straightforward they think.

Edited by TMP4
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.