Jump to content

help me to adjust this system


Recommended Posts

  • Bot

Hi, i just implement dice system and i have a little problem with another system that i have, and that system is WJ ENABLE TRADABL.. i try it to modify and make it to work but i don't figure out how to   doing to make working like exchange window 

here is the uidice.py PasteBin

And i have this errors in sysser : 

0429 12:16:04754 :: Traceback (most recent call last):

0429 12:16:04754 ::   File "game.py", line 987, in EndDice

0429 12:16:04754 ::   File "interfaceModule.py", line 971, in EndDice

0429 12:16:04754 ::   File "uiDice.py", line 291, in CloseDialog

0429 12:16:04754 ::   File "uiDice.py", line 310, in Close

0429 12:16:04754 :: AttributeError
0429 12:16:04754 :: : 
0429 12:16:04754 :: 'int' object has no attribute 'GetInventoryPage'
0429 12:16:04754 :: 

 

 

Edited by Cryptex
  • Lmao 1

english_banner.gif

Link to comment
Share on other sites

    def SetInventoryPage(self, page):
        self.inventoryPageIndex = page
        self.inventoryTab[(page+1)%4].SetUp()
        self.inventoryTab[(page+2)%4].SetUp()
        self.inventoryTab[(page+3)%4].SetUp()
        self.RefreshBagSlotWindow()

and look

return self.inventoryPageIndex*player.INVENTORY_PAGE_SIZE + local

Edited by Device41
word add
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


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