Jump to content
  • 0

help me to adjust this system


Cryptex

Question

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
Link to post

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

    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 post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



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