Jump to content
  • Register Now

    Sign up and take advantage of the features of our community! Some forums are only accessible to our members!

  • 1

problem in 4 Inventory Page


Syrex
Go to solution Solved by TMP4,

Question



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 Syrex (see edit history)
Link to post

2 answers to this question

Recommended Posts

  • 0
  • Solution
Posted (edited)

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 (see edit history)
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.